Codestral 2 vs GPT-5 mini

GPT-5 mini is cheaper on input ($0.45 vs $0.50 per 1M tokens), Codestral 2 has the larger context window (256K).

SpecCodestral 2GPT-5 mini
ProviderMistralOpenAI
ModalityTextText + Vision
Context window256Kbest128K
Input / 1M$0.50$0.45best
Output / 1M$1.50best$1.80
ReleasedNov 2025Jan 2026
Best forCode generation, High-volume / cheapChat / Assistant, High-volume / cheap, Image / Vision

FAQ

Is Codestral 2 cheaper than GPT-5 mini?
GPT-5 mini is cheaper, at $0.45 per 1M input tokens versus $0.50.
Which has the larger context window, Codestral 2 or GPT-5 mini?
Codestral 2 has the larger context window at 256K tokens.

More comparisons