AI model comparison

Gemma 4 31B vs Mistral Small 4

Pricing, context window, benchmarks, and features compared side by side. Or skip the guesswork and send one prompt to both.

Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output.

Input / 1M
$0.20
Output / 1M
$0.40
Context
262K

Mistral Small 4 is the next major release in the Mistral Small family, unifying the capabilities of several flagship Mistral models into a single system.

Input / 1M
$0.15
Output / 1M
$0.60
Context
262K

Comparing image generators? Compare image models

At a glance

Quick verdict

How the two models stack up on the things people ask about most.

Lower price

Tie

Same price for a typical chat

Higher intelligence score

google logo

Gemma 4 31B

14.7 vs 11.3 on Artificial Analysis

Larger context window

Tie

262K vs 262K tokens

Newer release

google logo

Gemma 4 31B

Released April 2, 2026

Benchmarks

Benchmark scores

Independent scores from Artificial Analysis. Higher is better.

Intelligence index

google logoGemma 4 31B14.7
mistralai logoMistral Small 411.3

Coding index

google logoGemma 4 31B43.4
mistralai logoMistral Small 426.6

Agentic index

google logoGemma 4 31B4.2
mistralai logoMistral Small 40.8

Pricing

Gemma 4 31B vs Mistral Small 4 API pricing

Per-token API rates. Cheaper option highlighted.

Metricgoogle logoGemma 4 31Bmistralai logoMistral Small 4
Input tokensPer 1M tokens$0.20$0.15
Output tokensPer 1M tokens$0.40$0.60
Cached input (read)Per 1M tokensNot available$0.02
Cache writePer 1M tokensNot availableNot available

What it costs in practice

Estimated cost per 1,000 requests at standard rates. Coding and long-document figures also show the cost when the input is already cached.

Chat message

2K in, 500 out

google logoGemma 4 31B$0.60
mistralai logoMistral Small 4$0.60

Coding task

30K in, 4K out

google logoGemma 4 31B$7.60
mistralai logoMistral Small 4$6.90$2.85 cached

Long document summary

150K in, 2K out

google logoGemma 4 31B$30.80
mistralai logoMistral Small 4$23.70$3.45 cached

Specs

Context window and capabilities

How much each model can read, how much it can write, and what it accepts as input.

Metricgoogle logoGemma 4 31Bmistralai logoMistral Small 4
Context window262K tokens262K tokens
Max output16K tokens210K tokens
Input typesImage, Text, VideoImage, Text
Output typesTextText
Reasoning effort levelsNot availableHigh, None
Default reasoning effortNot availableHigh
Release dateApril 2, 2026March 16, 2026

Features

Supported features

API features available for each model.

Metricgoogle logoGemma 4 31Bmistralai logoMistral Small 4
Tool callingSupportedSupported
Structured outputsSupportedSupported
JSON modeSupportedSupported
ReasoningSupportedSupported
TemperatureSupportedSupported
Stop sequencesSupportedSupported
Deterministic seedSupportedSupported
Verbosity controlNot supportedNot supported

Our take

Gemma 4 31B scores higher on the Artificial Analysis Intelligence Index (14.7 vs 11.3). The right pick depends on your workload, so the quickest way to settle it is to send the same prompt to both and compare.

FAQ

Frequently asked questions

Is Gemma 4 31B or Mistral Small 4 cheaper?

Gemma 4 31B and Mistral Small 4 cost the same for a typical chat (2K input tokens and 500 output tokens). Gemma 4 31B costs $0.20 per 1M input tokens and $0.40 per 1M output tokens, and Mistral Small 4 costs $0.15 per 1M input tokens and $0.60 per 1M output tokens.

Which has a bigger context window, Gemma 4 31B or Mistral Small 4?

Gemma 4 31B supports up to 262K tokens of context, compared with 262K for Mistral Small 4.

Is Gemma 4 31B smarter than Mistral Small 4?

On the Artificial Analysis Intelligence Index, Gemma 4 31B scores 14.7 and Mistral Small 4 scores 11.3, putting Gemma 4 31B ahead. Benchmarks don't capture everything, so the best test is running your own prompts through both.

Can I use Gemma 4 31B and Mistral Small 4 at the same time?

Yes. Shortcut Chat sends one prompt to multiple models at once, so you can see Gemma 4 31B and Mistral Small 4 answer side by side and keep the better response.

google logomistralai logo

Why choose? Ask both.

Send one prompt to Gemma 4 31B and Mistral Small 4 at the same time. Compare the answers side by side and keep the best one.