Skip to main content
TokenCost logoTokenCost

GPT-5.4 Mini

Last verified August 17, 2026 · OpenAI pricing ↗

$0.750/1M input · $4.50/1M output · 400K context · OpenAI

GPT-5.4 Mini costs $0.750 per 1M input tokens and $4.50 per 1M output tokens from OpenAI, with a 400K-token context window. A typical chat reply (1,500 tokens in, 400 out) costs $0.0029, or $29.25 per 10,000 requests. On that workload it is cheaper than 81 of the 168 other buyable models tracked here.

mid-rangehigh-volumechatbotscodingreal-time

When to use GPT-5.4 Mini

The sweet spot for high-volume applications. 70% cheaper than GPT-5.4 with surprisingly close performance on most tasks. Use when you need thousands of API calls per day without burning through budget.

  • 3x cheaper than GPT-5.4 for input tokens
  • 400K context window covers most use cases
  • Fast response times for real-time applications
  • Supports cached input pricing
  • Computer use and tool calling support

Count Tokens

—
Tokens
—
Input Cost
—
Output Cost

Estimate Monthly Cost

Monthly Cost Estimator

Quick:
<$0.0001/mo

Pick a preset above or enter custom usage

What GPT-5.4 Mini Costs Per Request

At $0.750 per 1M input and $4.50 per 1M output tokens, before caching or batch discounts.

WorkloadInput / output tokensPer requestPer 10,000 requests
Chat reply1,500 / 400$0.0029$29.25
RAG answer over retrieved docs8,000 / 600$0.0087$87.00
Coding-agent step30,000 / 2,000$0.032$315.00

GPT-5.4 Mini vs Similarly Priced Models

Nearest buyable models by price, with the RAG answer above (8,000 in / 600 out) priced on each.

ModelInput /1MOutput /1MContextRAG answer
GPT-5.4 Mini OpenAI$0.750$4.50400K$0.0087
o4 Mini OpenAI$1.10$4.40200K$0.011
Gemini 3.1 Flash Live Google$0.750$4.501.0M$0.0087
Doubao Seed 2.1 Pro ByteDance$0.880$4.41262K$0.0097

Alternatives to GPT-5.4 Mini

Pricing Details

OpenAISupports computer use, tool calling. 2x faster than GPT-5 mini. Cached input: $0.075/1M. Batch: $0.375/$2.25.
Input / 1M tokens
$0.75
Output / 1M tokens
$4.5
Context Window
400K
Max Output
128K

Price History

No price change recorded since 2026-07-24, when this site started tracking this model.

Frequently Asked Questions

Common questions about GPT-5.4 Mini pricing and usage

How much does GPT-5.4 Mini cost?
GPT-5.4 Mini costs $0.75 per 1 million input tokens and $4.5 per 1 million output tokens. This pricing is set by OpenAI.
What tokenizer does GPT-5.4 Mini use?
GPT-5.4 Mini uses the o200k_base tokenizer. This is OpenAI's latest tokenizer, optimized for efficiency with a vocabulary of ~200,000 tokens.
What is GPT-5.4 Mini's context window?
GPT-5.4 Mini supports a context window of 400K tokens (400,000 tokens). The maximum output length is 128K tokens.
How does GPT-5.4 Mini compare to other models?
On an 8,000-token-in, 600-token-out RAG answer, GPT-5.4 Mini costs $0.0087 per request. The nearest-priced alternatives cost: o4 Mini (OpenAI) $0.011, Gemini 3.1 Flash Live (Google) $0.0087, Doubao Seed 2.1 Pro (ByteDance) $0.0097. The table above lists their full rates and context windows.
How do I count tokens for GPT-5.4 Mini?
Use the token counter at the top of this page or visit the homepage calculator. Paste your text and it will show the exact token count and cost for GPT-5.4 Mini using the o200k_base tokenizer.

Read More About GPT-5.4 Mini