GPT-4.1 Mini
by OpenAI · openai/gpt-4.1-mini · #150 cheapest of 325 paid models
Prices updated Jul 22, 2026, 1:31 AM UTC · refreshed hourly
GPT-4.1 Mini is a mid-sized model delivering performance competitive with GPT-4o at substantially lower latency and cost. It retains a 1 million token context window and scores 45.1% on hard...
Compare vs:Claude Sonnet 5Claude Opus 4.6Claude Haiku 4.5Gemini 3.6 Flash
Pricing
Input
$0.40
per 1M tokens
Output
$1.60
per 1M tokens
Blended (3:1)
$0.70
3 input : 1 output
Cache read
$0.10
per 1M cached tokens
Cache write
—
per 1M tokens
Cache & batch economics
Effective prices for GPT-4.1 Mini with prompt caching.
| Cache hit rate | Effective blended $/1M | Example request* | vs no cache |
|---|---|---|---|
| 0% | $0.70 | $0.0424 | — |
| 50% | $0.587 | $0.0274 | −35% |
| 90% | $0.497 | $0.0154 | −64% |
*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.00068 | $0.68 |
| Document summary | 8,000 | 1,000 | $0.0048 | $4.80 |
| Codebase question (RAG) | 30,000 | 2,000 | $0.0152 | $15.20 |
| Long-context analysis | 150,000 | 5,000 | $0.068 | $68.00 |
Performance
Intelligence Index
14.8
AA composite quality
Coding Index
20.2
Math Index
46.3
Agentic Index
1.7
Output speed
84 tok/s
median
Time to first token
0.55s
median
Time to first answer
0.55s
after reasoning tokens
Artificial Analysis benchmarks
| Benchmark | Score |
|---|---|
| MMLU-Pro | 78.1% |
| GPQA Diamond | 66.4% |
| Humanity's Last Exam | 4.6% |
| LiveCodeBench | 48.3% |
| SciCode | 40.4% |
| MATH-500 | 92.5% |
| AIME | 43.0% |
| AIME 2025 | 46.3% |
| IFBench | 38.3% |
| AA-LCR (Long Context Reasoning) | 42.3% |
| Terminal-Bench Hard | 7.6% |
| Terminal-Bench 2.1 | 10.1% |
| τ²-Bench (Telecom) | 52.9% |
| τ³-Bench Banking | 5.2% |
Design Arena Elo
| Category | Elo |
|---|---|
| Website | 1,025 |
| UI components | 1,004 |
| Data viz | 1,070 |
| 3D | 895 |
| Game dev | 1,129 |
| Code categories | 1,027 |
Specs
Context window
1.05M
tokens
Max output
33K
tokens
Input modalities
image, text, file
Tokenizer
GPT