API pricing per million tokens
- Input
- $2.5
- per 1M, list
- Output
- $10
- per 1M tokens
- Cached input
- $1.25
- batch $1.25 / $5
- Context
- 128K
- 16K max output
Price history
List price since Jun 19, 2024, from Internet Archive snapshots of the OpenRouter catalog, then daily reads.
| Seen | Model | Old price | New price | Change |
|---|---|---|---|---|
| Apr 10, 2025 | Cached input Free | Cached input $1.25 | ||
| Oct 6, 2024 | Input $5Output $15 | Input $2.5Output $10 | -50% |
Through a gateway
Your own numbers100M input and 20M output tokens a month: $450.00 direct.
Helicone$450.00+0%
Kong AI Gateway$450.00+0%
LiteLLM$450.00+0%
Vercel AI Gateway$450.00+0%
AWS Bedrock$450.00+0%
Azure AI Foundry$450.00+0%
Google Vertex AI$450.00+0%
Databricks Mosaic AI$450.00+0%
Hugging Face Inference$450.00+0%
Cloudflare AI Gateway$472.50+5%
Requesty$472.50+5%
Eden AI$474.75+5.5%
OpenRouter$474.75+5.5%
Snowflake Cortex AI$540.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
Claude Opus 5.5Anthropic · 1M$4 / $20in / out per 1M$4$20$0.21MSep 22, 2026
Gemini 3.1 Pro PreviewGoogle Gemini API · 1M$2 / $12in / out per 1M$2$12$0.21MFeb 19, 2026
Muse Spark 1.1Meta · 1M$1.25 / $4.25in / out per 1M$1.25$4.25$0.151MJul 16, 2026
About GPT-4o
GPT-4o ("o" for "omni") is OpenAI's latest AI model, supporting both text and image inputs with text outputs.
Takes text, image, files in and returns text. First listed Jun 19, 2024. Blended price $4.38 per 1M tokens at 3 input to 1 output.
Questions
How much does GPT-4o cost?
$2.5 per million input tokens and $10 per million output tokens, with cached input at $1.25, or $1.25 and $5 through the Batch API.
What is the context window of GPT-4o?
128K tokens, with up to 16K tokens of output.
Where is GPT-4o cheapest?
Of 2 routes tracked, Azure AI Foundry is cheapest at $2.5 input and $10 output per million tokens.
Has GPT-4o's price changed?
Yes. The output price went from $15 to $10, first seen Oct 6, 2024.
List prices from providers' pages on the date shown; your contract may differ. Logos via logo.dev; trademarks belong to their owners.