GPT-5.4 nano API pricing & setup
As of 2026-10-17, 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-01OpenAI 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 · checked2026-10-17 12:40 UTC+8
→ GPT hub: all prices, free access, setup
Context: 400K · Max output: 128K · Modalities: file, image, text · Listed: 2026-03-17
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 | ✗CN direct✓Alipay✗ID✗Intl card conditions source2026-10-17 | Original vendor endpoint: OpenAI Licensed cloud alternative: Azure $0.2 / $1.25 | openrouter.ai 2026-10-17 |
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.261) ·
Related comparisons
DeepSeek V4.1 Flash 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-10-17.
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