Codestral 2 vs GPT-5 nano

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

SpecCodestral 2GPT-5 nano
ProviderMistralOpenAI
ModalityTextText
Context window256Kbest128K
Input / 1M$0.50$0.15best
Output / 1M$1.50$0.60best
ReleasedNov 2025Jan 2026
Best forCode generation, High-volume / cheapHigh-volume / cheap, Chat / Assistant

FAQ

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

More comparisons