API pricing per million tokens
gpt-4o-2024-05-13Checked 6h ago
- Input
- $5
- per 1M, list
- Output
- $15
- per 1M tokens
- Cached input
- n/a
- no batch tier listed
- Context
- 128K
- 4K max output
Where to buy it (2)
Azure AI Foundrydefault region$5 / $15$7.5 blended
OpenAI (list)the lab's own API$5 / $15$7.5 blended
Through a gateway
Your own numbers100M input and 20M output tokens a month: $800.00 direct.
Helicone$800.00+0%
Kong AI Gateway$800.00+0%
LiteLLM$800.00+0%
Vercel AI Gateway$800.00+0%
AWS Bedrock$800.00+0%
Azure AI Foundry$800.00+0%
Google Vertex AI$800.00+0%
Databricks Mosaic AI$800.00+0%
Hugging Face Inference$800.00+0%
Cloudflare AI Gateway$840.00+5%
Requesty$840.00+5%
Eden AI$844.00+5.5%
OpenRouter$844.00+5.5%
Snowflake Cortex AI$960.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
ModelInputOutputCachedContextReleased
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-4o (2024-05-13)
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 $7.5 per 1M tokens at 3 input to 1 output.
Questions
How much does GPT-4o (2024-05-13) cost?
$5 per million input tokens and $15 per million output tokens.
What is the context window of GPT-4o (2024-05-13)?
128K tokens, with up to 4K tokens of output.
Where is GPT-4o (2024-05-13) cheapest?
Of 2 routes tracked, Azure AI Foundry is cheapest at $5 input and $15 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.