GPT-4o API price, and what each result really costs
OpenAI, listed 13 May 2024. Price checked 12 Nov 2026; unchanged since we started tracking it. Source: OpenAI's pricing page. openai/gpt-4o
API shutdown on 2027-01-14. Suggested replacement: gpt-6-luna. What the switch to GPT-6 Luna costs
List price per million tokens
- Input
- $2.50
- Cached input
- $1.25
- Output
- $10.00
- Context window
- 128K tokens
Note: API shutdown 2027-01-14 (announced 2026-10-14); replacement gpt-6-luna.
What it costs per task, and per task that works
Six common task shapes with typical token counts. The real cost counts the tries that get redone; the rates are examples, not measurements.
| Task | Per 1,000 tries | Per 1,000 that work, 8 in 10 | Per 1,000 that work, 6 in 10 | Per 1,000 that work, 4 in 10 |
|---|---|---|---|---|
| Support bot answer3,000 in / 300 out | $10.50 | $13.13 | $17.50 | $26.25 |
| Invoice field extraction2,500 in / 250 out | $8.75 | $10.94 | $14.58 | $21.88 |
| Lead scoring1,200 in / 100 out | $4.00 | $5.00 | $6.67 | $10.00 |
| Email reply draft1,500 in / 400 out | $7.75 | $9.69 | $12.92 | $19.38 |
| Translation900 in / 800 out | $10.25 | $12.81 | $17.08 | $25.63 |
| Search re-ranking4,000 in / 50 out | $10.50 | $13.13 | $17.50 | $26.25 |
Work out your own real cost per resultTest GPT-4o on your own prompt
Compare GPT-4o with
- GPT-5.6 Terra$2.00 in / $12.00 outSwitch cost
- GPT-6.1 Sol$2.00 in / $10.00 outSwitch cost
- Gemini 3.1 Pro$2.00 in / $12.00 outSwitch cost
- Claude Sonnet 5.5$2.00 in / $10.00 outSwitch cost
- Claude Sonnet 5$2.00 in / $10.00 outSwitch cost
Worked-through switches: GPT-4o → GPT-6 Luna: cost and quality on real tasks, GPT-4o → Claude Sonnet 5.5: cost and quality on real tasks, GPT-4o → Claude Haiku 5.5: cost and quality on real tasks, GPT-4o → Gemini 3.8 Flash: cost and quality on real tasks, GPT-4o → DeepSeek V4.1 Flash: cost and quality on real tasks, GPT-4o → Llama 4 Maverick: cost and quality on real tasks
Questions
How much does the GPT-4o API cost?
$2.50 per million input tokens and $10.00 per million output tokens, or $1.25 per million for cached input. Price checked 12 Nov 2026; unchanged since we started tracking it.
What does a result that works really cost with GPT-4o?
A support bot answer (about 3,000 tokens in, 300 out) costs $0.011 per try. If 6 in 10 work first time, each answer that works really costs $0.018, because the redone ones were paid for too.
Is GPT-4o being shut down?
OpenAI has announced the API shutdown of gpt-4o on 2027-01-14; the suggested replacement is gpt-6-luna. Source: https://developers.openai.com/api/docs/deprecations