API pricing per million tokens
- Input
- $0.75
- per 1M, list
- Output
- $4.5
- per 1M tokens
- Cached input
- $0.075
- batch $0.375 / $2.25
- Context
- 400K
- 128K max output
Where to buy it (5)
OpenAIflex-50%$0.375 / $2.25cached $0.037
Azure AI Foundrydefault region$0.75 / $4.5cached $0.075
OpenAI (list)the lab's own API$0.75 / $4.5cached $0.075
Azure AI Foundryus+10%$0.825 / $4.95cached $0.083
OpenAIfast+100%$1.5 / $9cached $0.15
Through a gateway
Your own numbers100M input and 20M output tokens a month: $165.00 direct.
Helicone$165.00+0%
Kong AI Gateway$165.00+0%
LiteLLM$165.00+0%
Vercel AI Gateway$165.00+0%
AWS Bedrock$165.00+0%
Azure AI Foundry$165.00+0%
Google Vertex AI$165.00+0%
Databricks Mosaic AI$165.00+0%
Hugging Face Inference$165.00+0%
Cloudflare AI Gateway$173.25+5%
Requesty$173.25+5%
Eden AI$174.07+5.5%
OpenRouter$174.07+5.5%
Snowflake Cortex AI$198.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
Muse Spark 1.3Meta · 1M$1.25 / $4.25in / out per 1M$1.25$4.25$0.151MSep 2, 2026
Gemini 3.8 FlashGoogle Gemini API · 1M$0.75 / $3.75in / out per 1M$0.75$3.75$0.0751MSep 2, 2026
Muse Spark 1.1Meta · 1M$1.25 / $4.25in / out per 1M$1.25$4.25$0.151MJul 16, 2026
Qwen3.8 Max (0902)Qwen (Alibaba) · 1M$2 / $6in / out per 1M$2$6$0.251MSep 3, 2026
About GPT-5.4 Mini
GPT-5.4 mini brings the core capabilities of GPT-5.4 to a faster, more efficient model optimized for high-throughput workloads.
Takes files, image, text in and returns text. First listed Mar 19, 2026. Blended price $1.69 per 1M tokens at 3 input to 1 output.
Questions
How much does GPT-5.4 Mini cost?
$0.75 per million input tokens and $4.5 per million output tokens, with cached input at $0.075, or $0.375 and $2.25 through the Batch API.
What is the context window of GPT-5.4 Mini?
400K tokens, with up to 128K tokens of output.
Where is GPT-5.4 Mini cheapest?
Of 5 routes tracked, OpenAI is cheapest at $0.375 input and $2.25 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.