gpt-4o API pricing
OpenAI charges $2.5 per million input tokens and $10 per million output tokens for gpt-4o, and $1.25 per million cached input tokens. A typical request of 1,000 input and 500 output tokens costs $0.0075, or $0.00375 through the batch API.
Prices updated October 28, 2026
Input / 1M tokens
$2.5
Output / 1M tokens
$10
Cached input / 1M tokens
$1.25
Typical request
$0.0075
gpt-4o price per million tokens
| Token type | Standard | Batch API |
|---|---|---|
| Input | $2.5 | $1.25 |
| Cached input | $1.25 | – |
| Output | $10 | $5 |
gpt-4o supports a 128K-token context window, up to 16.4K output tokens, image input and tool calling.
What gpt-4o costs per request
| Request | 1 request | 1,000 requests | 1M requests |
|---|---|---|---|
| Short chat message (300 in, 200 out) | $0.00275 | $2.75 | $2,750.00 |
| Typical request (1K in, 500 out) | $0.0075 | $7.50 | $7,500.00 |
| Long document summary (20K in, 1K out) | $0.06 | $60.00 | $60,000.00 |
| Coding agent step (50K in, 2K out) | $0.15 | $145.00 | $145,000.00 |
At standard rates. A token is about 4 characters of English text, so 1,000 tokens is roughly 750 words.
Models with a similar price
| Model | Provider | Input / 1M | Cached input / 1M | Output / 1M | Typical request |
|---|---|---|---|---|---|
| gpt-6-sol | OpenAI | $2 | $0.2 | $10 | $0.007 |
| gpt-6.1-sol | OpenAI | $2 | $0.1 | $10 | $0.007 |
| claude-sonnet-5 | Anthropic | $2 | $0.2 | $10 | $0.007 |
| claude-sonnet-5-5 | Anthropic | $2 | $0.1 | $10 | $0.007 |
| gemini-4-argon | Google Gemini | $2 | $0.1 | $10 | $0.007 |
| gpt-5.6-terra | OpenAI | $2 | $0.2 | $12 | $0.008 |
| gemini-3.1-pro-preview | Google Gemini | $2 | $0.2 | $12 | $0.008 |
| gpt-5.2 | OpenAI | $1.75 | $0.175 | $14 | $0.00875 |
Other OpenAI models
- gpt-4.1 $2 / $8
- gpt-4.1-mini $0.4 / $1.6
- gpt-4o-mini $0.15 / $0.6
- gpt-5 $1.25 / $10
- gpt-5-mini $0.25 / $2
- gpt-5-nano $0.05 / $0.4
- gpt-5.1 $1.25 / $10
- gpt-5.2 $1.75 / $14
- gpt-5.4 $2.5 / $15
- gpt-5.4-mini $0.75 / $4.5
- gpt-5.4-nano $0.2 / $1.25
- gpt-5.5 $5 / $30
- gpt-5.6 $4 / $20
- gpt-5.6-luna $0.2 / $1.2
- gpt-5.6-sol $4 / $20
- gpt-5.6-terra $2 / $12
- gpt-6-astra $10 / $50
- gpt-6-luna $0.1 / $0.5
- gpt-6-sol $2 / $10
- gpt-6.1-sol $2 / $10
- gpt-6.1-terra $1 / $5
- o3 $2 / $8
Source: OpenAI pricing.