Mistral Large 2 vs Grok Code

Performance benchmarks + pricing comparison — updated April 2026

Mistral Large 2

Mistral

Mistral's flagship model. Strong multilingual and coding capability.

Input$2.00/M
Output$6.00/M
Context128K tokens
Best ForEnterprise coding, multilingual tasks
Benchmark65/100

Grok Code

xAI

xAI's coding-specialized model. Optimized for code generation, debugging, and software engineering tasks.

Input$1.50/M
Output$7.50/M
Context128K tokens
Best ForCode generation, debugging, software development workflows

Cost Comparison by Scenario

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

ScenarioMistral Large 2Grok CodeSavings
Small Script (1K lines) $0.25 $0.28 Mistral Large 2 saves $0.03 (10%)
Medium Feature (10K lines) $1.90 $2.02 Mistral Large 2 saves $0.12 (6%)
Large Project (50K lines) $9.50 $10.13 Mistral Large 2 saves $0.63 (6%)
Code Review (5K lines) $0.50 $0.45 Grok Code saves $0.05 (10%)

Verdict

Grok Code wins on both price and performance — $1.50/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