Head to head

Codestral vs Gemma 4 31B IT

On a blended workload of one million input tokens and three million output tokens, Codestral is 1.1× cheaper than Gemma 4 31B IT.

CodestralGemma 4 31B IT
Provider Mistral Together AI
Input / MTok $0.3 $0.39
Output / MTok $0.9 $0.97
Cache read / MTok
Context window 262,144
Blended 1M in + 3M out $3.00 $3.30
Status ga ga

Codestral detail   Gemma 4 31B IT detail