GPT-4.1 alternatives

8 models of comparable capability, ranked by blended token price. GPT-4.1 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-4.1Context
1DeepSeek-V4-FlashDeepSeek$0.140$0.280$0.17520× cheaper1M
2Grok 3 minixAI$0.300$0.500$0.35010× cheaper131K
3CodestralMistral AI$0.300$0.900$0.4507.8× cheaper262K
4GPT-5 miniOpenAI$0.250$2.00$0.6885.1× cheaper400K
5Gemini 2.5 FlashGoogle$0.300$2.50$0.8504.1× cheaper1M
6OpenAI o4-miniOpenAI$1.10$4.40$1.931.8× cheaper200K
7Claude Haiku 4.5Anthropic$1.00$5.00$2.001.8× cheaper200K
8GPT-4.1you are hereOpenAI$2.00$8.00$3.501M
9GPT-4oOpenAI$2.50$10.00$4.381.3× 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-4.1 in 2026?
On blended token price, DeepSeek-V4-Flash is the cheapest comparable option — about 20× cheaper than GPT-4.1. 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-4.1 directly