# Codestral vs Grok 4

> Grok 4 is the stronger model overall, scoring 48.1 to 30.6 on the Noometry Index.

- Canonical page: https://noometry.com/compare/codestral-vs-grok-4
- Last updated: 2026-10-11
- Shared benchmarks: 2

## Summary

- They share 2 benchmarks with published results for both. Codestral scores higher in 0 categories and Grok 4 in 2 categories; 2 gaps are clear of the uncertainty.
- The widest gap is in coding, where Grok 4 leads 50.3 to 27.3.
- The biggest single-benchmark swing is Aider Polyglot: 11.1% for Codestral and 79.6% for Grok 4.

## Snapshot

| | Codestral | Grok 4 |
|---|---|---|
| Provider | Mistral AI | xAI |
| Noometry Index | 30.6 | 48.1 |
| Rank | 290 | 56 |
| Context | 256K | — |
| Input $/M | $0.30 | — |
| Output $/M | $0.90 | — |
| Weights | Proprietary | Proprietary |

## Coding

- Codestral: 27.3 (#321)
- Grok 4: 50.3 (#46)

| Benchmark | Codestral | Grok 4 |
|---|---|---|
| Aider Polyglot | 11.1% | 79.6% |
| WeirdML | — | 45.7% |
| BigCodeBench Instruct | 41.8% | — |
| LMArena Coding | — | 1408 |
| BigCodeBench Complete | 52.5% | — |
| ALE-Bench | 137.78 | — |
| HumanEval+ | 73.8% | — |
| MBPP+ | 61.9% | — |

## Agentic & Tool Use

- Codestral: —
- Grok 4: 32.3 (#68)

| Benchmark | Codestral | Grok 4 |
|---|---|---|
| Terminal-Bench | — | 27.2% |
| Berkeley Function Calling Leaderboard | — | 63% |
| GDPval | — | 21.1% |
| Cybench | — | 43% |
| DeepResearch Bench | — | 47.3% |
| BALROG | — | 43.6% |
| LMArena Search | — | 1142 |
| METR Time Horizons | — | 66.6% |

## Reasoning

- Codestral: 19.8 (#251)
- Grok 4: 36.7 (#65)

| Benchmark | Codestral | Grok 4 |
|---|---|---|
| Kagi LLM Benchmark | 32.5% | 73.6% |
| ARC-AGI-2 | — | 16% |
| SimpleBench | — | 60.5% |
| ARC-AGI-1 | — | 66.7% |
| Chess Puzzles | — | 28% |
| LMArena Hard Prompts | — | 1409 |
| Epoch Capabilities Index | — | 146.44 |
| ForecastBench | — | 60.9 |

## Math

- Codestral: —
- Grok 4: 48.4 (#64)

| Benchmark | Codestral | Grok 4 |
|---|---|---|
| OTIS Mock AIME 2024-2025 | — | 84% |
| Omni-MATH | — | 60.3% |
| LMArena Math | — | 1422 |
| FrontierMath (Feb 2025 set) | — | 19.7% |
| FrontierMath Tier 4 (v1) | — | 2.1% |

## Knowledge

- Codestral: —
- Grok 4: 53.8 (#55)

| Benchmark | Codestral | Grok 4 |
|---|---|---|
| GPQA Diamond | — | 87% |
| MMLU-Pro | — | 85.1% |
| Confabulations | — | 12.4% |
| GPQA (HELM) | — | 72.7% |
| LMArena Expert | — | 1415 |

## Multimodal

- Codestral: —
- Grok 4: 33.7 (#94)

| Benchmark | Codestral | Grok 4 |
|---|---|---|
| LMArena Vision | — | 1210 |
| GeoBench | — | 45% |

## Multilingual

- Codestral: —
- Grok 4: 51.8 (#103)

| Benchmark | Codestral | Grok 4 |
|---|---|---|
| LMArena Non-English | — | 1403 |
| LMArena Chinese | — | 1427 |
| LMArena French | — | 1418 |
| LMArena German | — | 1429 |
| LMArena Japanese | — | 1394 |
| LMArena Korean | — | 1377 |
| LMArena Russian | — | 1410 |
| LMArena Spanish | — | 1420 |

## Instruction Following

- Codestral: —
- Grok 4: 79.2 (#5)

| Benchmark | Codestral | Grok 4 |
|---|---|---|
| IFEval | — | 94.9% |
| LMArena Instruction Following | — | 1387 |

## Long Context

- Codestral: —
- Grok 4: 63.1 (#4)

| Benchmark | Codestral | Grok 4 |
|---|---|---|
| Fiction.LiveBench | — | 94.4% |
| LMArena Longer Query | — | 1409 |

## Writing & Preference

- Codestral: —
- Grok 4: 58.5 (#116)

| Benchmark | Codestral | Grok 4 |
|---|---|---|
| LMArena Text | — | 1411 |
| LMArena Creative Writing | — | 1397 |
| Short-Story Creative Writing | — | 76.9% |
| WildBench | — | 79.7% |
| LMArena Multi-Turn | — | 1416 |

## FAQ

### Is Codestral better than Grok 4?

Grok 4 is the stronger model overall, scoring 48.1 to 30.6 on the Noometry Index.

### Is Codestral or Grok 4 better for coding?

Grok 4 scores higher on coding benchmarks: 50.3 versus 27.3 in the Noometry coding category.

### How many benchmarks do Codestral and Grok 4 share?

2 benchmarks have published results for both models. Codestral has 7 scored results on Noometry and Grok 4 has 48.
