GPT-4.1 mini vs GPT-5 mini: cost compared

Last verified

GPT-5 mini is 38% cheaper on input and -25% cheaper on output than GPT-4.1 mini. Whether that makes it the right choice depends entirely on whether it does your task well enough — this page gives you the cost side of that trade, precisely.

Rates side by side

$ per million tokensGPT-4.1 miniGPT-5 mini
Input$0.40$0.25
Output$1.60$2.00
Cached input$0.10$0.03
Output : input ratio4.0×8.0×

What the difference is worth

Monthly cost for the same workload on each, without caching:

WorkloadGPT-4.1 miniGPT-5 miniDifference
Support chatbot
1,000 conversations/month · 2,000 in + 500 out each
$1.60$1.50$0.1000 saved
RAG search
10,000 queries/month · 8,000 in + 400 out each
$38.40$28.00$10.40 saved
Bulk extraction
10,000 documents · 3,000 in + 300 out each
$16.80$13.50$3.30 saved
Coding agent
100 runs/month · 400,000 in + 20,000 out each
$19.20$14.00$5.20 saved

Which to use

GPT-5 mini if the task is well-specified and mechanical — extraction, classification, formatting, routine transformation. The saving is real and compounds with volume.

GPT-4.1 mini if the task involves genuine reasoning, long-horizon planning, or work where a wrong answer is expensive to catch. Paying 1.6× more on input is trivial compared to the cost of shipping a bad result.

Both are OpenAI models, so switching is usually a one-line change and the tokenizer is the same — which makes this a genuinely easy experiment to run. Test on your own workload before deciding.

Don't skip caching

Cached input costs $0.10 on GPT-4.1 mini and $0.03 on GPT-5 mini. If your prompts share a stable prefix, caching on the more expensive model can beat switching to the cheaper one outright — worth checking before you migrate anything.

Sources

OpenAI rates verified 2026-08-05 (source). OpenAI rates verified 2026-08-05 (source).