API pricing per million tokens
- Input
- $0.2
- per 1M, list
- Output
- $1.25
- per 1M tokens
- Cached input
- $0.02
- batch $0.1 / $0.625
- Context
- 400K
- 128K max output
Where to buy it (4)
OpenAIflex-50%$0.1 / $0.625cached $0.01
Azure AI Foundrydefault region$0.2 / $1.25cached $0.02
OpenAI (list)the lab's own API$0.2 / $1.25cached $0.02
Azure AI Foundryus+10%$0.22 / $1.38cached $0.022
Through a gateway
Your own numbers100M input and 20M output tokens a month: $45.00 direct.
Helicone$45.00+0%
Kong AI Gateway$45.00+0%
LiteLLM$45.00+0%
Vercel AI Gateway$45.00+0%
AWS Bedrock$45.00+0%
Azure AI Foundry$45.00+0%
Google Vertex AI$45.00+0%
Databricks Mosaic AI$45.00+0%
Hugging Face Inference$45.00+0%
Cloudflare AI Gateway$47.25+5%
Requesty$47.25+5%
Eden AI$47.48+5.5%
OpenRouter$47.48+5.5%
Snowflake Cortex AI$54.00+20%
Martian Gatewayn/a
Portkeyn/a
TrueFoundry AI Gatewayn/a
IBM watsonx.ain/a
OCI Generative AIn/a
BigQuery MLn/a
Cloudflare Workers AIn/a
NVIDIA NIMn/a
Related models
GPT-6 LunaOpenAI · 1.05M$0.1 / $0.5in / out per 1M$0.1$0.5$0.011.05MSep 22, 2026
GPT-6 Luna ProOpenAI · 1.05M$0.1 / $0.5in / out per 1M$0.1$0.5$0.011.05MSep 22, 2026
GPT-6 SolOpenAI · 1.05M$2 / $10in / out per 1M$2$10$0.21.05MSep 22, 2026
GPT-6 Sol ProOpenAI · 1.05M$2 / $10in / out per 1M$2$10$0.21.05MSep 22, 2026
GLM 4.6Z.ai · via Venice (fp4) · 205K$0.43 / $1.75in / out per 1M$0.43$1.75$0.08205KSep 30, 2025
DeepSeek V4.1 FlashDeepSeek · 1M$0.15 / $0.6in / out per 1M$0.15$0.6$0.0031MSep 10, 2026
Kimi K2.5Moonshot AI · via SiliconFlow (int4) · 262K$0.45 / $2.25in / out per 1M$0.45$2.25$0.07262KJan 27, 2026
Gemini 3.1 Flash LiteGoogle Gemini API · 1M$0.25 / $1.5in / out per 1M$0.25$1.5$0.0251MMay 7, 2026
About GPT-5.4 Nano
GPT-5.4 nano is the most lightweight and cost-efficient variant of the GPT-5.4 family, optimized for speed-critical and high-volume tasks.
Takes files, image, text in and returns text. First listed Mar 19, 2026. Blended price $0.463 per 1M tokens at 3 input to 1 output.
Questions
How much does GPT-5.4 Nano cost?
$0.2 per million input tokens and $1.25 per million output tokens, with cached input at $0.02, or $0.1 and $0.625 through the Batch API.
What is the context window of GPT-5.4 Nano?
400K tokens, with up to 128K tokens of output.
Where is GPT-5.4 Nano cheapest?
Of 4 routes tracked, OpenAI is cheapest at $0.1 input and $0.625 output per million tokens.
List prices from providers' pages on the date shown; your contract may differ. Logos via logo.dev; trademarks belong to their owners.