AiCostCompare

GPT-4o-mini

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

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

GPT-4o mini is OpenAI's newest model after [GPT-4 Omni](/models/openai/gpt-4o), supporting both text and image inputs with text outputs. As their most advanced small model, it is many multiples more affordable...

Compare vs:Claude Sonnet 5Claude Opus 4.6Claude Haiku 4.5Gemini 3.6 Flash

Pricing

Input

$0.15

per 1M tokens

Output

$0.60

per 1M tokens

Blended (3:1)

$0.262

3 input : 1 output

Cache read

$0.075

per 1M cached tokens

Cache write

per 1M tokens

Cache & batch economics

Effective prices for GPT-4o-mini with prompt caching.

Cache hit rateEffective blended $/1MExample request*vs no cache
0%$0.262$0.0159
50%$0.234$0.0121−24%
90%$0.212$0.00915−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.000255$0.255
Document summary8,0001,000$0.0018$1.80
Codebase question (RAG)30,0002,000$0.0057$5.70
Long-context analysis150,0005,000$0.0255$25.50

Performance

Intelligence Index

6.9

AA composite quality

Coding Index

11.4

Math Index

14.7

Agentic Index

1

Output speed

88 tok/s

median

Time to first token

0.60s

median

Time to first answer

0.60s

after reasoning tokens

Artificial Analysis benchmarks

BenchmarkScore
MMLU-Pro64.8%
GPQA Diamond42.6%
Humanity's Last Exam4.0%
LiveCodeBench23.4%
SciCode22.9%
MATH-50078.9%
AIME11.7%
AIME 202514.7%
IFBench31.0%
Terminal-Bench 2.15.6%
τ³-Bench Banking2.9%

Specs

Context window

128K

tokens

Max output

16K

tokens

Input modalities

text, image, file

Tokenizer

GPT