Gemini 1.5 Pro vs Codestral

Performance benchmarks + pricing comparison — updated April 2026

Gemini 1.5 Pro

Google

Previous generation Google pro model. Good for general tasks.

Input$1.25/M
Output$5.00/M
Context1M tokens
Best ForGeneral-purpose tasks, document analysis

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 1.5 ProCodestralSavings
Small Script (1K lines) $0.19 $0.04 Codestral saves $0.16 (81%)
Medium Feature (10K lines) $1.44 $0.29 Codestral saves $1.15 (80%)
Large Project (50K lines) $7.19 $1.43 Codestral saves $5.76 (80%)
Code Review (5K lines) $0.34 $0.07 Codestral saves $0.27 (78%)

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