AiCostCompare

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 rateEffective blended $/1MExample 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

WorkloadInput tokensOutput tokensCost / requestCost / 1K requests
Short chat message500300$0.00425$4.25
Document summary8,0001,000$0.03$30.00
Codebase question (RAG)30,0002,000$0.095$95.00
Long-context analysis150,0005,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

BenchmarkScore
GPQA Diamond52.1%
Humanity's Last Exam2.9%
LiveCodeBench31.7%
SciCode33.1%
MATH-50079.5%
AIME11.7%
IFBench36.0%
AA-LCR (Long Context Reasoning)35.0%
Terminal-Bench Hard8.3%
τ²-Bench (Telecom)28.9%

Specs

Context window

128K

tokens

Max output

16K

tokens

Input modalities

text, image, file

Tokenizer

GPT