OpenAI: GPT-4o (2024-05-13) API pricing
$5.00 per 1M input tokens and $15.00 per 1M output tokens on OpenRouter. Context window: 128,000 tokens.
$5.00input / 1M tokens
$15.00output / 1M tokens
125Kcontext
text+image+file->textmodality
What it costs in practice
| Workload | Cost |
|---|---|
| Chatbot: 10,000 messages (1,500 in / 400 out tokens each) | $135.00 |
| RAG: 1,000 queries (8,000 in / 600 out each) | $49.00 |
| Summarize 100 long documents (50,000 in / 1,000 out each) | $26.50 |
Cross-check against the provider's list price
LiteLLM's price map lists gpt-4o (openai) at $2.50 in / $10.00 out per 1M tokens. Differs from OpenRouter OpenRouter routes to several hosts and may list a different provider's price than the model maker's own API.
Price history
No price change recorded since we started tracking on Nov 17, 2026. We check every 6 hours and log every change.
Cheaper alternatives with similar context
Text models with at least 125K context and a lower blended price (75% input, 25% output). Price only, not a quality ranking.
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| Fireworks: Ember-1 | $3.00 | $15.00 | 1M |
| Qwen: Qwen3.8 Max Prime | $4.00 | $12.00 | 977K |
| Anthropic: Claude Sonnet 4.6 | $3.00 | $15.00 | 977K |
| Perplexity: Sonar Pro Search | $3.00 | $15.00 | 195K |
| Anthropic: Claude Sonnet 4.5 | $3.00 | $15.00 | 977K |
| Perplexity: Sonar Pro | $3.00 | $15.00 | 195K |
| OpenAI: GPT-5.5 (batch) | $2.50 | $15.00 | 1.0013580322265625M |
| OpenAI: GPT-5.4 | $2.50 | $15.00 | 1.0013580322265625M |
Source: OpenRouter listing via the public models API · LiteLLM price map (MIT). Prices checked Nov 17, 2026. Model ID openai/gpt-4o-2024-05-13, listed May 13, 2024. Report an error.