AiCostCompare

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

WorkloadInput tokensOutput tokensCost / requestCost / 1K requests
Short chat message500300$0.00068$0.68
Document summary8,0001,000$0.0048$4.80
Codebase question (RAG)30,0002,000$0.0152$15.20
Long-context analysis150,0005,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

BenchmarkScore
MMLU-Pro78.1%
GPQA Diamond66.4%
Humanity's Last Exam4.6%
LiveCodeBench48.3%
SciCode40.4%
MATH-50092.5%
AIME43.0%
AIME 202546.3%
IFBench38.3%
AA-LCR (Long Context Reasoning)42.3%
Terminal-Bench Hard7.6%
Terminal-Bench 2.110.1%
τ²-Bench (Telecom)52.9%
τ³-Bench Banking5.2%

Design Arena Elo

CategoryElo
Website1,025
UI components1,004
Data viz1,070
3D895
Game dev1,129
Code categories1,027

Specs

Context window

1.05M

tokens

Max output

33K

tokens

Input modalities

image, text, file

Tokenizer

GPT