One agent session
1M input tokens and 100K output tokens, no caching.
- Input1M x $0.20 = $0.20
- Output0.1M x $1.25 = $0.125
$0.325per session
OpenAI - Closed weights
GPT-5.4 nano is a closed-weights model from OpenAI that costs $0.20 per 1M input tokens and $1.25 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.20 |
| Output | $1.25 |
| Cache read | $0.02 |
| Batch inputBatch requests | $0.10 |
| Batch outputBatch requests | $0.625 |
Note: Single price tier. No Fast mode price listed. Maximum input tokens 272,000. Regional processing adds 10%. Default snapshot gpt-5.4-nano-2026-03-17.
gpt-5.4-nanoopenai/gpt-5.4-nanoWorked 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.
$0.325per session
10,000 requests a day at 2K input and 500 output tokens each.
$10.25per day
$307.50 per 30-day month
90% of the input is read from the prompt cache. The one-time cache write premium is not included.
$0.163per session
| Model | Input / 1M | Output / 1M |
|---|---|---|
| GPT-5.4 nano (this page) | $0.20 | $1.25 |
| GLM-5.3-FlashXZ.ai | $0.37 | $1.25 |
| ERNIE 4.5 Turbo VLBaidu | $0.42 | $1.27 |
| ERNIE 4.5 Turbo VL (32K)Baidu | $0.42 | $1.27 |
| DeepSeek V4.1 FlashDeepSeek | $0.30 | $1.20 |
| GPT-5.6 LunaOpenAI | $0.20 | $1.20 |
| GPT-3.5 TurboOpenAI | $0.50 | $1.50 |
| GPT-4.1 MiniOpenAI | $0.40 | $1.60 |
| GPT-4o MiniOpenAI | $0.15 | $0.60 |
| GPT-3.5 Turbo InstructOpenAI | $1.50 | $2 |
| GPT-5 MiniOpenAI | $0.25 | $2 |
Side-by-side pages with both models' prices, specs, cost examples and like-for-like benchmark rows.
GPT-5.4 nano costs $0.20 per 1M input tokens and $1.25 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.02, and the batch rate is $0.10 input and $0.625 output.
GPT-5.4 nano has a 400,000-token context window and returns up to 128,000 output tokens per response.
No. GPT-5.4 nano is a closed-weights model. You call it through OpenAI's API as gpt-5.4-nano or through Vercel AI Gateway as openai/gpt-5.4-nano.
OpenAI released GPT-5.4 nano 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.