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)

$1.4375
input $/1Moutput $/1M2026-03-17 → 2026-10-11

// cheaper or similar alternatives

modelinoutctxvs GPT-5.4 nano
Qwen3.7 Flash$0.03$0.131M−88.1%
Qwen3.5 9B$0.10$0.15262.1K−75.7%
Gemma 4 26B A4B IT$0.07$0.34262.1K−70.3%
GPT-5 Nano$0.05$0.40400K−70.3%
Qwen3.5 Flash$0.10$0.401M−62.2%
GPT-5.4 nano vs Qwen3.6 Flash →GPT-5.4 nano vs Qwen3.8 Flash →GPT-5.4 nano vs Qwen3.8 Omni Flash →DeepSeek-V3.1 vs GPT-5.4 nano →Gemma 4 31B IT vs GPT-5.4 nano →Codestral 25.08 vs GPT-5.4 nano →

// price by host

hostin $/1Mout $/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

report a data error

// cost calculator

modelin $/1Mout $/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.