GPT/Fast / Budget

GPT 4.1 Mini

GPT 4.1 Mini is GPT's fastest and most affordable model, priced at $0.40/MTok input and $1.60/MTok output with a 1,047.576K context window. Backfilled on 2026-09-23. Prices confirmed by the provider pricing page and the LiteLLM cross-check. Release date not published in a machine-readable source. Not yet benchmarked, so never recommended.

Input $/MTok

$0.40

Output $/MTok

$1.60

Context window

1,047.576K

Cache read discount

75% off

GPT 4.1 Mini pricing breakdown

RateInput $/MTokOutput $/MTok
Standard$0.40$1.60
Cached read (75% off input)$0.10-
Cached write (no surcharge)$0.40-
Batch (50% off)$0.20$0.80

All rates in USD per million tokens. Prices verified against provider documentation.

GPT 4.1 Mini task benchmarks

Confidence scores (0-100) and cross-provider rank for each task type. Rank 1 is best across all 72 models.

Not benchmarked. The third-party benchmark source used for confidence scores does not cover GPT models yet. Scores will appear here once independent benchmarks are published.

GPT 4.1 Mini cost by use case

Estimated cost per API call using default token counts for each workload.

Use caseInput tokensOutput tokensCost / call
Code Generation2,0004,000$0.007200
Unit Test Generation3,0005,000$0.009200
SQL Generation1,5001,000$0.002200
API Generation3,0006,000$0.0108
Code Refactoring4,0004,000$0.008000
Code Review5,0002,000$0.005200
PR Review8,0003,000$0.008000
Security Review6,0002,500$0.006400
Bug Detection5,0002,000$0.005200
Document Summarization10,0001,000$0.005600
PDF Summarization15,0001,500$0.008400
Meeting Notes8,0002,000$0.006400

Monthly cost projections

Projected monthly spend at different call volumes, using code generation as a representative workload (2,000 input / 4,000 output tokens per call).

Calls / monthWithout cachingWith caching (75% read discount)
1K$7.2$6.78
10K$72$67.8
100K$720$678
500K$3,600$3,390
1M$7,200$6,780

Caching estimate assumes 70% of input tokens are cache reads. Your actual cache hit rate will depend on prompt structure and reuse.

Fast / Budget alternatives to GPT 4.1 Mini

Same-tier models from other providers, sorted by input price.

ModelProviderInput $/MTokOutput $/MTokInput savings
Gemini 2.5 Flash-LiteGemini$0.10$0.4075% cheaper
Gemini 3.1 Flash-LiteGemini$0.25$1.5038% cheaper
Gemini 3.5 Flash-LiteGemini$0.30$2.5025% cheaper
Gemini 2.5 FlashGemini$0.30$2.5025% cheaper
Gemini 3 FlashGemini$0.50$3.0025% more
Gemini 3.6 FlashGemini$0.75$3.7587% more
Gemini 3.7 FlashGemini$0.75$3.7587% more
Gemini 3.8 FlashGemini$0.75$3.7587% more
Claude Haiku 4.5Claude$1.00$5.00150% more
Gemini Robotics ER 2Gemini$1.00$5.00150% more
Grok Build 0.1Grok$1.00$2.00150% more
Gemini 2.5 Computer UseGemini$1.25$10.00212% more
Gemini 3.5 FlashGemini$1.50$9.00275% more
Gemini Omni 1.1 FlashGemini$1.50$9.00275% more
Gemini Omni FlashGemini$1.50$9.00275% more

Other GPT models

Track your GPT 4.1 Mini spend

See exactly how much you spend on GPT 4.1 Mini and where you can save. Two-line wrapper install, no API keys shared.