GPT-4o (2024-08-06)
by OpenAI · openai/gpt-4o-2024-08-06 · #267 cheapest of 325 paid models
Prices updated Jul 22, 2026, 1:42 AM UTC · refreshed hourly
The 2024-08-06 version of GPT-4o offers improved performance in structured outputs, with the ability to supply a JSON schema in the respone_format. Read more [here](https://openai.com/index/introducing-structured-outputs-in-the-api/). GPT-4o ("o" for "omni") is...
Compare vs:Claude Sonnet 5Claude Opus 4.6Claude Haiku 4.5Gemini 3.6 Flash
Pricing
Input
$2.50
per 1M tokens
Output
$10.00
per 1M tokens
Blended (3:1)
$4.38
3 input : 1 output
Cache read
$1.25
per 1M cached tokens
Cache write
—
per 1M tokens
Cache & batch economics
Effective prices for GPT-4o (2024-08-06) with prompt caching.
| Cache hit rate | Effective blended $/1M | Example request* | vs no cache |
|---|---|---|---|
| 0% | $4.38 | $0.265 | — |
| 50% | $3.91 | $0.2025 | −24% |
| 90% | $3.53 | $0.1525 | −42% |
*Example: 100K sticky context + 2K new input + 1K output. Batch discount is an approximate 50% off list rates for this provider’s batch API. Confirm on the vendor’s pricing page.
What a request costs
| Workload | Input tokens | Output tokens | Cost / request | Cost / 1K requests |
|---|---|---|---|---|
| Short chat message | 500 | 300 | $0.00425 | $4.25 |
| Document summary | 8,000 | 1,000 | $0.03 | $30.00 |
| Codebase question (RAG) | 30,000 | 2,000 | $0.095 | $95.00 |
| Long-context analysis | 150,000 | 5,000 | $0.425 | $425.00 |
Performance
Intelligence Index
9.6
AA composite quality
Coding Index
—
Math Index
—
Agentic Index
—
Output speed
93 tok/s
median
Time to first token
0.53s
median
Time to first answer
0.53s
after reasoning tokens
Artificial Analysis benchmarks
| Benchmark | Score |
|---|---|
| GPQA Diamond | 52.1% |
| Humanity's Last Exam | 2.9% |
| LiveCodeBench | 31.7% |
| SciCode | 33.1% |
| MATH-500 | 79.5% |
| AIME | 11.7% |
| IFBench | 36.0% |
| AA-LCR (Long Context Reasoning) | 35.0% |
| Terminal-Bench Hard | 8.3% |
| τ²-Bench (Telecom) | 28.9% |
Specs
Context window
128K
tokens
Max output
16K
tokens
Input modalities
text, image, file
Tokenizer
GPT