AiCostCompare

GPT-4o

by OpenAI · openai/gpt-4o · #266 cheapest of 325 paid models

Prices updated Jul 22, 2026, 1:41 AM UTC · refreshed hourly

GPT-4o ("o" for "omni") is OpenAI's latest AI model, supporting both text and image inputs with text outputs. It maintains the intelligence level of [GPT-4 Turbo](/models/openai/gpt-4-turbo) while being twice as...

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 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

11.2

AA composite quality

Coding Index

Math Index

6

Agentic Index

Output speed

204 tok/s

median

Time to first token

0.53s

median

Time to first answer

0.53s

after reasoning tokens

Artificial Analysis benchmarks

BenchmarkScore
MMLU-Pro74.8%
GPQA Diamond54.3%
Humanity's Last Exam3.3%
LiveCodeBench30.9%
SciCode33.3%
MATH-50075.9%
AIME15.0%
AIME 20256.0%
IFBench34.3%
AA-LCR (Long Context Reasoning)0.0%
Terminal-Bench Hard8.3%
τ²-Bench (Telecom)25.1%

Design Arena Elo

CategoryElo
Website859
UI components928
Data viz894
3D927
Game dev965
Code categories894

Specs

Context window

128K

tokens

Max output

16K

tokens

Input modalities

text, image, file

Tokenizer

GPT