GPT-5.4 nano pricing & specs
OpenAI · released 2026-03-17 · ● verified 2026-10-11
input / 1M$0.20
output / 1M$1.25
context400K
max output128K
// price history ($/1M tokens)
// cheaper or similar alternatives
| model | in | out | ctx | vs GPT-5.4 nano |
|---|---|---|---|---|
| Qwen3.7 Flash | $0.03 | $0.13 | 1M | −88.1% |
| Qwen3.5 9B | $0.10 | $0.15 | 262.1K | −75.7% |
| Gemma 4 26B A4B IT | $0.07 | $0.34 | 262.1K | −70.3% |
| GPT-5 Nano | $0.05 | $0.40 | 400K | −70.3% |
| Qwen3.5 Flash | $0.10 | $0.40 | 1M | −62.2% |
// price by host
| host | in $/1M | out $/1M |
|---|---|---|
| Azure | $0.20 | $1.25 |
// faq
How much does GPT-5.4 nano cost?
GPT-5.4 nano costs $0.20 per million input tokens and $1.25 per million output tokens. At 50M input and 10M output tokens per month that is about $22.50.
What is the context window of GPT-5.4 nano?
400K tokens, with up to 128K output tokens per request.
Does GPT-5.4 nano support prompt caching?
Yes. Cached input tokens cost $0.02 per million.
What are cheaper alternatives to GPT-5.4 nano?
Qwen3.7 Flash ($0.03 in / $0.13 out), Qwen3.5 9B ($0.10 in / $0.15 out), Gemma 4 26B A4B IT ($0.07 in / $0.34 out) offer the same input types and capabilities for less.
// spec sheet
- input / 1M
- $0.20
- output / 1M
- $1.25
- cache read / 1M
- $0.02
- blended (3:1)
- $0.4625
- context
- 400K
- max output
- 128K
- input types
- text · image
- reasoning
- yes
- tool calling
- yes
- structured output
- yes
- open weights
- no
- knowledge cutoff
- 2025-08-31
- price source
- OpenAI
// cost calculator
| model | in $/1M | out $/1M | = monthly |
|---|---|---|---|
| Qwen3.7 Flash | $0.03 | $0.13 | $2.80 |
| Qwen3.5 9B | $0.10 | $0.15 | $6.50 |
| Gemma 4 26B A4B IT | $0.07 | $0.34 | $6.90 |
| GPT-5.4 nano | $0.20 | $1.25 | $22.50 |
Base-tier list prices. Long-context tiers, caching and batch discounts are not included.