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 rate | Effective blended $/1M | Example 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
| Workload | Input tokens | Output tokens | Cost / request | Cost / 1K requests |
|---|---|---|---|---|
| Short chat message | 500 | 300 | $0.000255 | $0.255 |
| Document summary | 8,000 | 1,000 | $0.0018 | $1.80 |
| Codebase question (RAG) | 30,000 | 2,000 | $0.0057 | $5.70 |
| Long-context analysis | 150,000 | 5,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
| Benchmark | Score |
|---|---|
| MMLU-Pro | 64.8% |
| GPQA Diamond | 42.6% |
| Humanity's Last Exam | 4.0% |
| LiveCodeBench | 23.4% |
| SciCode | 22.9% |
| MATH-500 | 78.9% |
| AIME | 11.7% |
| AIME 2025 | 14.7% |
| IFBench | 31.0% |
| Terminal-Bench 2.1 | 5.6% |
| τ³-Bench Banking | 2.9% |
Specs
Context window
128K
tokens
Max output
16K
tokens
Input modalities
text, image, file
Tokenizer
GPT