Official API pricing and token cost benchmarks for Gpt 5.4 Mini by OpenAI. Currently billed at $0.750 / 1M in and $4.50 / 1M out. Gpt 5.4 Mini is an ultra-fast, high-throughput model optimized for sub-second latency, high-concurrency streaming, real-time chatbots, and cost-effective bulk classification.
≈ $0.000750 per 1K tokens
6.0x higher than input
⚡ Saves 90% on cache hits
~363 standard pages
Standard per-token rate cards can feel abstract. Below is what calling Gpt 5.4 Mini actually costs across standardized enterprise workloads and engineering production loops.
How context length and prefix caching impact your bill at scale, and engineering strategies to optimize token throughput.
$0.204
1 full load of 272,000 tokens at standard input rates.
$0.020
Saves 90% on subsequent queries hitting pre-warmed cache.
6.0x
Output tokens cost 6.0x more than standard input tokens.
Because generation costs 6.0x more than input processing, using strict JSON schemas (Structured Outputs) to suppress conversational pleasantries directly lowers per-query cost by 40%–70%.
Prefix caching yields up to 90% savings. Always place static instructions, schemas, and reference code at the top of your prompt to maximize cache hit rates across agentic loops.
Current pricing specifications for Gpt 5.4 Mini via OpenAI.
| Specification / Metric | Published Rate / Limit |
|---|---|
| Standard Input TokensPrompt, system instructions, and tool schemas | $0.750 / 1M tokens |
| Standard Output TokensGenerated text, reasoning steps, and tool calls | $4.50 / 1M tokens |
| Prompt Cache ReadCache hit on pre-loaded static prompt prefixes | $0.075 / 1M tokens (90% discount) |
| Prompt Cache Write / CreationInitial write to ephemeral prompt cache memory | Standard input rate |
| Context Window SizeMaximum combined input tokens per single request | 272,000 tokens (~363 pages) |
| Max Generation LengthMaximum output tokens generated per completion | 128,000 tokens |
| Batch API PricingAsynchronous workloads completed within 24 hours | 50% off standard token rates |
Compare Gpt 5.4 Mini against its closest industry rivals across standard chat, RAG, and classification workloads:
Comparable fast-tier models with their current per-token rates and cost differential.
| Model | Provider | Context | Input / 1M | Output / 1M | Input Cost Delta |
|---|---|---|---|---|---|
| Mistral Small 24b | Mistral | 33K | $0.050 | $0.080 | -93% cheaper |
| Gemini 3.5 Flash | 1.0M | $1.50 | $9.00 | +100% higher |
Explore higher-capacity or lower-latency alternatives across the OpenAI ecosystem.
Tier Positioning: Gpt 5.4 Mini is an ultra-fast, high-throughput model optimized for sub-second latency, high-concurrency streaming, real-time chatbots, and cost-effective bulk classification. Compared to other fast-tier models, Gpt 5.4 Mini offers a competitive rate card at $0.750 / 1M input and $4.50 / 1M output tokens.
Technical pricing details, caching rules, and budgeting considerations.
Gpt 5.4 Mini costs $0.750 per 1 million input tokens and $4.50 per 1 million output tokens. If prompt caching is active, cache reads cost $0.075 per 1M tokens.
Yes. Most major providers (including OpenAI, Anthropic, and Google) offer a 50% discount on standard token pricing for asynchronous Batch API jobs completed within a 24-hour turnaround window.
Prompt caching allows the provider to reuse pre-computed attention states from recurring prompt prefixes. Repeated prompt segments cost $0.075/1M tokens instead of $0.750/1M, saving ~90%.
Use our interactive AI Cost Calculator to input your exact daily request volume, average prompt token count, completion length, and prompt cache hit ratio. It generates precise cost forecasts across all models simultaneously.
Simulate real-world token consumption, model mixtures, and prompt cache savings with the DevFlow AI Cost Calculator.