GPT-4o Pricing — Token Costs & API Calculator
Official API pricing for GPT-4o by OpenAI, with context window, tokenizer details, and a plain-English cost estimate.
Pricing Details
| Attribute | Value |
|---|---|
| Provider | OpenAI |
| Input cost (per 1M tokens) | $2.50 |
| Output cost (per 1M tokens) | $10.00 |
| Context caching | Not supported |
| Batch API discount | 50% off |
| Context window | 128k tokens |
| Tokenizer | o200k_base (GPT-4o / o-series) |
ⓘ Introductory pricing: Deprecated by OpenAI. API access shuts down 2026-10-23; calls will error after that date. Prices are no longer listed on OpenAI's pricing page and could not be re-verified from a vendor source.
Cost example
1,000 requests × 500 input tokens × 200 output tokens costs $3.25/month with GPT-4o at OpenAI's published rates.
Based on $2.5/1M input tokens and $10/1M output tokens.
Compare GPT-4o with other models
- GPT-4ovsGPT-5.6 Sol
- GPT-4ovsGPT-5.6 Terra
- GPT-4ovsGPT-5.6 Luna
- GPT-4ovsGPT-5.5
- GPT-4ovsGPT-5.4
- GPT-4ovsGPT-5.4 mini
- GPT-4ovsGPT-5.4 nano
- GPT-4ovsGPT-4.1
- GPT-4ovso4-mini
- GPT-4ovsClaude Fable 5
- GPT-4ovsClaude Opus 5
- GPT-4ovsClaude Opus 4.8
- GPT-4ovsClaude Sonnet 4.6
- GPT-4ovsClaude Sonnet 5
- GPT-4ovsClaude Haiku 4.5
- GPT-4ovsGemini 3.6 Flash
- GPT-4ovsGemini 3.5 Flash
- GPT-4ovsGemini 3.5 Flash-Lite
- GPT-4ovsGemini 2.5 Flash
- GPT-4ovsGemini 2.5 Flash-Lite
- GPT-4ovsGemini 2.5 Pro
- GPT-4ovsDeepSeek V4 Pro
- GPT-4ovsDeepSeek V4 Flash
- GPT-4ovsDeepSeek V3
- GPT-4ovsDeepSeek R1
- GPT-4ovsLlama 4 Scout