GPT-5 mini alternatives

8 models of comparable capability, ranked by blended token price. GPT-5 mini stays in the table, highlighted, as the baseline.

List prices checked

Ranked by blended token price

Cheapest first, at three input tokens per output token.

#ModelProviderInputOutputBlendedvs GPT-5 miniContext
1DeepSeek-V4-FlashDeepSeek$0.140$0.280$0.1753.9× cheaper1M
2Grok 3 minixAI$0.300$0.500$0.3502× cheaper131K
3CodestralMistral AI$0.300$0.900$0.4501.5× cheaper262K
4GPT-5 miniyou are hereOpenAI$0.250$2.00$0.688400K
5Gemini 2.5 FlashGoogle$0.300$2.50$0.8501.3× dearer1M
6OpenAI o4-miniOpenAI$1.10$4.40$1.932.5× dearer200K
7Claude Haiku 4.5Anthropic$1.00$5.00$2.003.3× dearer200K
8GPT-4.1OpenAI$2.00$8.00$3.505× dearer1M
9GPT-4oOpenAI$2.50$10.00$4.385× dearer128K

Source: OpenAI pricing (May 2026). Published list prices only — committed-use discounts, regional variation, and per-request charges are not included. Not yet independently re-checked against the vendor’s page.

Questions

What is the best alternative to GPT-5 mini in 2026?
On blended token price, DeepSeek-V4-Flash is the cheapest comparable option — about 3.9× cheaper than GPT-5 mini. Price is only half the decision: a model that costs 70% less but needs a second attempt on hard prompts is not a saving.
Which alternative is cheapest for output-heavy work?
Rank on the output column rather than the blended figure. Reasoning and agentic loops bill their thinking as output, so a model with cheap input and expensive output can end up the most costly option on the page despite looking competitive here.
Do these alternatives have the same context window?
No — the context column varies by more than 8× across this table. If you are feeding whole documents or codebases, filter on window size first and only then compare price, because a cheaper model that cannot hold your input is not an alternative at all.

Compare GPT-5 mini directly