Gemini 2.5 Pro vs Codestral

Performance benchmarks + pricing comparison — updated April 2026

Gemini 2.5 Pro

Google

Google's most capable model. Strong coding, multimodal understanding, and very competitive pricing.

Input$1.25/M
Output$10.00/M
Context1M tokens
Best ForLong document analysis, coding, multimodal tasks

Codestral

Mistral

Mistral's dedicated coding model. Open-weight and highly optimized for code generation and completion.

Input$0.300/M
Output$0.900/M
Context128K tokens
Best ForCode completion, code generation, IDE integration
Benchmark60/100

Cost Comparison by Scenario

Estimated cost per project with 30% cache hit rate. Actual costs may vary based on usage patterns.

ScenarioGemini 2.5 ProCodestralSavings
Small Script (1K lines) $0.34 $0.04 Codestral saves $0.31 (89%)
Medium Feature (10K lines) $2.44 $0.29 Codestral saves $2.15 (88%)
Large Project (50K lines) $12.19 $1.43 Codestral saves $10.76 (88%)
Code Review (5K lines) $0.47 $0.07 Codestral saves $0.39 (84%)

Verdict

Codestral wins on both price and performance — $0.300/M input with a benchmark score of N/A/100.

For most developers, this is the clear choice between these two models.

Compare with Other Models