One agent session
1M input tokens and 100K output tokens, no caching.
- Input1M x $0.75 = $0.75
- Output0.1M x $4.50 = $0.45
$1.20per session
OpenAI - Closed weights
GPT-5.4 Mini is a closed-weights model from OpenAI that costs $0.75 per 1M input tokens and $4.50 per 1M output tokens on the first-party API, with a 400K-token context window.
Last verified from developers.openai.com. All sources
| Item | Price / 1M tokens |
|---|---|
| Input | $0.75 |
| Output | $4.50 |
| Cache read | $0.075 |
| Batch inputBatch requests | $0.375 |
| Batch outputBatch requests | $2.25 |
| Fast mode inputFast mode requests | $1.50 |
| Fast mode outputFast mode requests | $9 |
Note: Single price tier (no long-context pricing). Maximum input tokens 272,000. Regional processing adds 10%. Default snapshot gpt-5.4-mini-2026-03-17.
gpt-5.4-miniopenai/gpt-5.4-miniWorked from the standard list rates above, with the math shown so you can swap in your own token counts.
1M input tokens and 100K output tokens, no caching.
$1.20per session
10,000 requests a day at 2K input and 500 output tokens each.
$37.50per day
$1,125.00 per 30-day month
90% of the input is read from the prompt cache. The one-time cache write premium is not included.
$0.5925per session
| Model | Input / 1M | Output / 1M |
|---|---|---|
| GPT-5.4 Mini (this page) | $0.75 | $4.50 |
| GLM-5.1Z.ai | $1.40 | $4.40 |
| GLM-5.2Z.ai | $1.40 | $4.40 |
| GLM-5.3Z.ai | $1.40 | $4.40 |
| o3-miniOpenAI | $1.10 | $4.40 |
| o4-miniOpenAI | $1.10 | $4.40 |
| GPT-3.5 Turbo InstructOpenAI | $1.50 | $2 |
| GPT-5 MiniOpenAI | $0.25 | $2 |
| GPT-4.1 MiniOpenAI | $0.40 | $1.60 |
| GPT-3.5 TurboOpenAI | $0.50 | $1.50 |
Side-by-side pages with both models' prices, specs, cost examples and like-for-like benchmark rows.
GPT-5.4 Mini costs $0.75 per 1M input tokens and $4.50 per 1M output tokens on OpenAI's first-party API, per developers.openai.com on October 17, 2026. Per 1M tokens, cache reads cost $0.075, and the batch rate is $0.375 input and $2.25 output.
GPT-5.4 Mini has a 400,000-token context window and returns up to 128,000 output tokens per response.
No. GPT-5.4 Mini is a closed-weights model. You call it through OpenAI's API as gpt-5.4-mini or through Vercel AI Gateway as openai/gpt-5.4-mini.
OpenAI released GPT-5.4 Mini on March 17, 2026.
Last verified from developers.openai.com.
Newsletter
One email per week. New model releases, price cuts and what they mean for your bill.