Is Google: Gemma 4 31B better than Mistral: Codestral 2508 (batch)?
Neither wins outright: Google: Gemma 4 31B is the pick when you need reasoning / thinking mode, Mistral: Codestral 2508 (batch) when cost matters at scale. In short: Google: Gemma 4 31B when you need reasoning / thinking mode, you need image input, you need log-probabilities, you want to prototype at zero cost, you want the newer model; Mistral: Codestral 2508 (batch) when cost matters at scale, you need file / PDF input, you generate long outputs in one go.
Which is cheaper, Google: Gemma 4 31B or Mistral: Codestral 2508 (batch)?
Mistral: Codestral 2508 (batch) is cheaper: $0.22 vs $0.25 per 1M tokens at a typical 3:1 input/output mix, 10% less. For 50,000 support conversations a month that is $20.25 against $23.00.
How much do Google: Gemma 4 31B and Mistral: Codestral 2508 (batch) cost per million tokens?
Google: Gemma 4 31B costs $0.20 per 1M input tokens and $0.40 per 1M output tokens; Mistral: Codestral 2508 (batch) costs $0.15 input and $0.45 output. Output tokens are billed separately, so long answers shift the gap.
Which has the bigger context window, Google: Gemma 4 31B or Mistral: Codestral 2508 (batch)?
Google: Gemma 4 31B: 262K tokens, about 393 pages, against 256K (about 384 pages) for Mistral: Codestral 2508 (batch).
Do Google: Gemma 4 31B and Mistral: Codestral 2508 (batch) support function calling and JSON output?
Tool calling — Google: Gemma 4 31B: yes, Mistral: Codestral 2508 (batch): yes. JSON-schema structured output — Google: Gemma 4 31B: yes, Mistral: Codestral 2508 (batch): yes.
Can Google: Gemma 4 31B or Mistral: Codestral 2508 (batch) read images?
Only Google: Gemma 4 31B accepts image input; Mistral: Codestral 2508 (batch) is text-only for input.
Is Google: Gemma 4 31B or Mistral: Codestral 2508 (batch) free to use?
Google: Gemma 4 31B has a free variant (google/gemma-4-31b-it:free). Free variants usually carry tighter rate limits.
What is the maximum output length of Google: Gemma 4 31B and Mistral: Codestral 2508 (batch)?
Google: Gemma 4 31B can write up to 16K tokens (about 12,300 words) per response; Mistral: Codestral 2508 (batch) up to 205K (about 153,600 words).
When were Google: Gemma 4 31B and Mistral: Codestral 2508 (batch) released?
Google: Gemma 4 31B was listed on 2026-04-02; Mistral: Codestral 2508 (batch) on 2025-08-01.
Has the price of Google: Gemma 4 31B or Mistral: Codestral 2508 (batch) changed?
Google: Gemma 4 31B: input price raised 55% ($0.09 → $0.20/1M), output price raised 15% ($0.34 → $0.40/1M) on 2026-10-15 (4 price changes since 2026-08-06). Mistral: Codestral 2508 (batch): input price cut 50% ($0.30 → $0.15/1M), output price cut 50% ($0.90 → $0.45/1M) on 2026-09-10.