API pricing per million tokens
- Input
- $2.5
- per 1M, list
- Output
- $15
- per 1M tokens
- Cached input
- $0.25
- batch $1.25 / $7.5
- Context
- 1.05M
- 128K max output
Where to buy it (9)
OpenAIflex-50%$1.25 / $7.5cached $0.125
Azure AI Foundrydefault region$2.5 / $15cached $0.25
Databricks Mosaic AI Gateway + Foundation Model APIsdefault region, 35.714 DBU per 1M input tokens, 214.286 DBU per 1M output tokens$2.5 / $15$5.63 blended
OpenAI (list)the lab's own API$2.5 / $15cached $0.25
AWS Bedrockus-east-1+10%$2.75 / $16.5cached $0.275
Azure AI Foundryeu+10%$2.75 / $16.5cached $0.275
Azure AI Foundryus+10%$2.75 / $16.5cached $0.275
Snowflake Cortex AI (AI_COMPLETE)default region, 1.5 AI Credits per 1M input tokens, 9.0 per 1M output tokens+20%$3 / $18$6.75 blended
OpenAIfast+100%$5 / $30cached $0.5
Through a gateway
Your own numbers100M input and 20M output tokens a month: $550.00 direct.
Helicone$550.00+0%
Kong AI Gateway$550.00+0%
LiteLLM$550.00+0%
Vercel AI Gateway$550.00+0%
AWS Bedrock$550.00+0%
Azure AI Foundry$550.00+0%
Google Vertex AI$550.00+0%
Databricks Mosaic AI$550.00+0%
Hugging Face Inference$550.00+0%
Cloudflare AI Gateway$577.50+5%
Requesty$577.50+5%
Eden AI$580.25+5.5%
OpenRouter$580.25+5.5%
Snowflake Cortex AI$660.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
Claude Opus 5Anthropic · 1M$5 / $25in / out per 1M$5$25$0.51MJul 24, 2026
Claude Opus 4.6Anthropic · 1M$5 / $25in / out per 1M$5$25$0.51MFeb 4, 2026
Claude Opus 4.7Anthropic · 1M$5 / $25in / out per 1M$5$25$0.51MApr 16, 2026
Claude Opus 5.5Anthropic · 1M$4 / $20in / out per 1M$4$20$0.21MSep 22, 2026
About GPT-5.4
GPT-5.4 is OpenAI’s latest frontier model, unifying the Codex and GPT lines into a single system.
Takes text, image, files in and returns text. First listed Mar 6, 2026. Blended price $5.63 per 1M tokens at 3 input to 1 output. Overall score 2 on leadersboard.fru.dev (rank 46).
Questions
How much does GPT-5.4 cost?
$2.5 per million input tokens and $15 per million output tokens, with cached input at $0.25, or $1.25 and $7.5 through the Batch API.
What is the context window of GPT-5.4?
1.05M tokens, with up to 128K tokens of output.
Where is GPT-5.4 cheapest?
Of 9 routes tracked, OpenAI is cheapest at $1.25 input and $7.5 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.