The AI arena is free today

Open Superagent

Codestral-22B vs Grok 4.7

Grok 4.7 leads the LLM Stats Score 48.5 to 0.0.

Mistral AI · xAI · Updated for 2026

Which is better?

Grok 4.7 leads the overall LLM Stats Score 48.5 to 0.0, ranking #22 overall.

Based on current LLM Stats indexes, shared benchmarks, pricing, and model metadata for 2026.

Choose Codestral-22B

  • you need open weights you can self-host or fine-tune

Choose Grok 4.7

  • overall performance matters — it scores 48.5 and ranks #22 on LLM Stats
  • your work emphasizes reasoning and coding — it leads those capability indexes
  • you want the most recent training data — it shipped Sep 2026

At a glance

The differences that matter most.

Core performance indexes
0.0
#329
48.5
#22
-0.1
#320
37.4
#68
2.5
#228
40.1
#13
Cost, coverage & limits
Benchmark wins
Input price
— / M
$2.00 / M
Output price
— / M
$6.00 / M
Context window
500,000

Individual benchmarks

7 reported for Codestral-22B · 23 for Grok 4.7

No common benchmarks found

Codestral-22B and Grok 4.7don't have any common benchmark datasets to compare. They may have been evaluated on different testing suites.

Human preference

Blind head-to-head votes and playground preference scores

Context Window

Maximum input and output token capacity

Only Grok 4.7 specifies input context (500,000 tokens).

Mistral AI
Codestral-22B
Input- tokens
Output- tokens
xAI
Grok 4.7
Input500,000 tokens
Output- tokens
Mon Sep 21 2026 • llm-stats.com

Input capabilities

Documented input modalities across available providers

Grok 4.7 supports multimodal inputs, whereas Codestral-22B does not.

Grok 4.7 can handle both text and other forms of data like images, making it suitable for multimodal applications.

Codestral-22B

Text
Images
Audio
Video

Grok 4.7

Text
Images
Audio
Video

License

Usage and distribution terms

Codestral-22B is licensed under MNPL-0.1, while Grok 4.7 uses a proprietary license.

License differences may affect how you can use these models in commercial or open-source projects.

Codestral-22B

MNPL-0.1

Open weights

Grok 4.7

Proprietary

Closed source

Release Timeline

When each model was launched

Codestral-22B was released on 2024-05-29, while Grok 4.7 was released on 2026-09-21.

Grok 4.7 is 28 months newer than Codestral-22B.

Codestral-22B

May 29, 2024

2.3 years ago

Grok 4.7

Sep 21, 2026

0 days ago

2.3yr newer

Knowledge Cutoff

When training data ends

Grok 4.7 has a documented knowledge cutoff of 2026-05-01, while Codestral-22B's cutoff date is not specified.

We can confirm Grok 4.7's training data extends to 2026-05-01, but cannot make a direct comparison without Codestral-22B's cutoff date.

Codestral-22B

Grok 4.7

May 2026

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Judge for yourself.

Run your own prompts against Codestral-22B and Grok 4.7 side-by-side, then vote on the output you prefer.

Codestral-22B
✓ Preferred
Grok 4.7
Open in Playground

FAQ

Common questions about Codestral-22B vs Grok 4.7.

Which is better, Codestral-22B or Grok 4.7?

Grok 4.7 leads the LLM Stats Score 48.5 to 0.0. Codestral-22B is made by Mistral AI and Grok 4.7 is made by xAI. The best choice depends on your use case — compare their capability indexes, individual benchmarks, pricing, and limits above.

How does Codestral-22B compare to Grok 4.7 in benchmarks?

Codestral-22B scores HumanEvalFIM-Average: 91.6%, HumanEval: 81.1%, MBPP: 78.2%, Spider: 63.5%, HumanEval-Average: 61.5%. Grok 4.7 scores BixBench MCQ: 88.4%, WMDP-Bio: 88.1%, WMDP-Cyber: 88.1%, WMDP-Chem: 84.9%, CyberGym: 80.3%.

What are the context window sizes for Codestral-22B and Grok 4.7?

Codestral-22B supports an unknown number of tokens and Grok 4.7 supports 500K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Codestral-22B and Grok 4.7?

Key differences include LLM Stats Score (0.0 vs 48.5), multimodal support (no vs yes), licensing (MNPL-0.1 vs Proprietary). See the full comparison above for benchmark-by-benchmark results.

Who makes Codestral-22B and Grok 4.7?

Codestral-22B is developed by Mistral AI and Grok 4.7 is developed by xAI.