█

AI/TLDR

Buy me a coffee
Buy me a coffee

Model comparison

Codestral 25.01 vs Qwen2.5-Coder

Short answer

Qwen2.5-Coder scores higher on 2 of the 3 benchmarks both models report (the other leads on 1); Codestral 25.01 is cheaper on input tokens ($0.3 vs $0.7 per 1M, 2.2×); Codestral 25.01 has the larger context window (256K vs 128K); Qwen2.5-Coder ships open weights while Codestral 25.01 is API-only.

Specs and pricing side by side

SpecCodestral 25.01Qwen2.5-Coder
MakerMistral AIAlibaba (Qwen)
Released2025-01-132024-11-12
Context window256K128K (131,072 tokens) for 7B/14B/32B; 32K for 0.5B/1.5B/3B
Max outputNot disclosed8,192 tokens (default generation); hosted…
Input price$0.30 / 1M tokens$0.66 / 1M tokens
Output price$0.90 / 1M tokens$1.00 / 1M tokens
ParametersNot publicly disclosedFamily of 6 sizes: 0.5B, 1.5B, 3B, 7B, 14B, 32B (flagship 32B = 32.5B total / 31.0B non-embedding)
LicenseProprietary (Mistral commercial / API-only — not released as open weights, unlike the original Codestral 22B)Apache 2.0 (all sizes except the 3B model, which uses the Qwen Research license)
WeightsAPI onlyOpen weights
ModalitiesTextTextsame
Knowledge cutoffNot disclosedNot officially published for Qwen2.5-Coder;…

Benchmarks both models report

BenchmarkCodestral 25.01Qwen2.5-Coder
HumanEval86.6%92.7%
MBPP80.2%90.2%
LiveCodeBench37.9%31.4%

Scores are as published by each maker or its cited source; harness, reasoning effort and date can differ between rows, so treat small gaps as ties. Sources are listed on each model page.

Which one should you pick?

Pick Codestral 25.01 if…

  • You care about LiveCodeBench (it scores higher on 1 shared benchmark).
  • Cost matters: input tokens cost 2.2× less ($0.3 vs $0.7 per 1M).
  • You need the longer context (256K vs 128K).
  • Your use case is: real-time IDE code completion and fill-in-the-middle inside editors like VS Code and JetBrains (via the Continue plugin).

Pick Qwen2.5-Coder if…

  • You care about HumanEval, MBPP (it scores higher on 2 shared benchmarks).
  • You want to self-host or fine-tune (open weights, Apache 2.0 (all sizes except the 3B model, which uses the Qwen Research license)).
  • Your use case is: self-hosted code assistants and chat-based coding helpers where open weights matter.

FAQ

Which is better, Codestral 25.01 or Qwen2.5-Coder?

Qwen2.5-Coder scores higher on 2 of the 3 benchmarks both models report (the other leads on 1); Codestral 25.01 is cheaper on input tokens ($0.3 vs $0.7 per 1M, 2.2×); Codestral 25.01 has the larger context window (256K vs 128K); Qwen2.5-Coder ships open weights while Codestral 25.01 is API-only. The better pick depends on whether you value benchmark scores, price per token, context length or openness for your workload.

How much cheaper is Codestral 25.01?

Codestral 25.01: $0.30 / 1M tokens input, $0.90 / 1M tokens output. Qwen2.5-Coder: $0.66 / 1M tokens input, $1.00 / 1M tokens output (list API prices as published by each maker).

What are the context windows of Codestral 25.01 and Qwen2.5-Coder?

Codestral 25.01 offers 256K with up to Not disclosed output; Qwen2.5-Coder offers 128K (131,072 tokens) for 7B/14B/32B; 32K for 0.5B/1.5B/3B with up to 8,192 tokens (default generation); hosted endpoints commonly cap output at 32,768 output.

Is Codestral 25.01 newer than Qwen2.5-Coder?

Codestral 25.01 was released 2025-01-13; Qwen2.5-Coder was released 2024-11-12.

Go deeper