GPT-5.4 nano API pricing & setup
gpt-5.4-nano · openai/gpt-5.4-nano
As of 2026-11-19, the cheapest GPT-5.4 nano channel is OpenRouter: $0.2 input / $1.25 output per 1M tokens (blended $0.463). Context 400K.
Deprecated · shuts down 2027-04-01 OpenAI deprecations: gpt-5.4-nano is deprecated and will be removed from the API on 2027-04-01; recommended replacement gpt-6-luna. Excluded from every “cheapest” ranking. developers.openai.com · checked 2026-10-17 12:40 UTC+8
→ GPT hub: all prices, free access, setup
Channel comparison (per 1M tokens)
| Channel | Blended | Input | Output | Cached | Access & payment (this channel) | Notes | Source |
|---|---|---|---|---|---|---|---|
| OpenRouter $0.2 / $1.25 | $0.463 | $0.2 | $1.25 | $0.02 | Direct access from mainland China: noAlipay: yesReal-name ID required: noOverseas card required: no conditions source2026-10-17 | Original vendor endpoint: OpenAI Licensed cloud alternative: Azure $0.2 / $1.25 | openrouter.ai 2026-11-19 |
Access & payment conditions are verified per channel (see the column above); unverified never counts as met.
How to use GPT-5.4 nano in Claude Code / Codex / OpenCode
Provider-specific setup not yet verified. Generic setup: guides
Cheaper alternatives
GPT-5.6 Luna ($0.45) · Hunyuan HY3 Preview ($0.285) · ERNIE X1.1 Preview ($0.262) ·
Related comparisons
DeepSeek V4.1 Flash 1017 vs GPT-6 Luna · Gemini 3.8 Flash vs GPT-6 Luna · Grok 4.7 vs GPT-6.1 Sol · Compare any two →
Rankings: Cheapest LLM APIs · LLM APIs usable from mainland China · All OpenAI models
Price history
- 2026-10-17 · OpenRouter · GPT-5.4 nano listed · $0.2 / $1.25
FAQ
How much does the GPT-5.4 nano API cost?
Cheapest channel (OpenRouter): $0.2 input / $1.25 output per 1M tokens, verified 2026-11-19.
Can I use GPT-5.4 nano from China?
OpenRouter: direct no, Alipay yes, ID required no, overseas card no
Is GPT-5.4 nano free?
No free route or deal recorded for this model; pay-as-you-go.
What is GPT-5.4 nano's context window?
400K tokens