Codestral 22B vs Gemma 2 9B (Groq): Pricing, Benchmarks & Verdict (2026)

Pricing verified Apr 8, 2026

⚡ Quick Answer

Compare Codestral 22B and Gemma 2 9B (Groq) across pricing, benchmarks, and capabilities.

Updated: April 8, 2026 · ✓ Pricing verified

Side-by-Side Comparison

FeatureCodestral 22BGemma 2 9B (Groq)
ProviderMistral AIGroq
Input Price / 1M tokens$0.200$0.200
Output Price / 1M tokens$0.600$0.200
Context Window
256K
8K
Max Output Tokens
4,096
4,096
Arena ELON/A1,170
Coding ELO
1,250
1,160
TTFT (ms)
150
150
Tokens/sec
100
100
MultimodalNoNo
JSON ModeYesYes
Function CallingYesYes
VisionNoNo
When to Use Codestral 22B

Codestral 22B excels at coding, long-context tasks.

Strengths:

  • Best-in-class code generation
  • Huge context for repos
  • Function calling strength

Best for:

codinglong-context
When to Use Gemma 2 9B (Groq)

Gemma 2 9B (Groq) excels at fast-inference, cost-effective tasks.

Strengths:

  • Extremely fast
  • Affordable
  • Good quality for size

Best for:

fast-inferencecost-effective

Related Comparisons