AI model comparison

Mercury 2.5 vs Gemma 4 31B

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

inception logo

Inception

Mercury 2.5

Mercury 2.5 is the fastest reasoning LLM, and the latest diffusion LLM (dLLM) from Inception.

Input / 1M
$0.04
Output / 1M
$0.15
Context
260K

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

Input / 1M
$0.09
Output / 1M
$0.34
Context
262K

At a glance

Quick verdict

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

Lower price

inception logo

Mercury 2.5

2.3x cheaper for a typical chat

Higher intelligence score

google logo

Gemma 4 31B

14.7 vs 12.3 on Artificial Analysis

Larger context window

google logo

Gemma 4 31B

262K vs 260K tokens

Newer release

inception logo

Mercury 2.5

Released September 8, 2026

Benchmarks

Benchmark scores

Independent scores from Artificial Analysis. Higher is better.

Intelligence index

inception logoMercury 2.512.3
google logoGemma 4 31B14.7

Coding index

inception logoMercury 2.5Not available
google logoGemma 4 31B43.4

Agentic index

inception logoMercury 2.5Not available
google logoGemma 4 31B4.2

Pricing

Mercury 2.5 vs Gemma 4 31B API pricing

Per-token API rates. Cheaper option highlighted.

Metricinception logoMercury 2.5google logoGemma 4 31B
Input tokensPer 1M tokens$0.04$0.09
Output tokensPer 1M tokens$0.15$0.34
Cached input (read)Per 1M tokens$0.00$0.05
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

inception logoMercury 2.5$0.16
google logoGemma 4 31B$0.35

Coding task

30K in, 4K out

inception logoMercury 2.5$1.80$0.72 cached
google logoGemma 4 31B$4.06$2.86 cached

Long document summary

150K in, 2K out

inception logoMercury 2.5$6.30$0.90 cached
google logoGemma 4 31B$14.18$8.18 cached

Specs

Context window and capabilities

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

Metricinception logoMercury 2.5google logoGemma 4 31B
Context window260K tokens262K tokens
Max output66K tokens16K tokens
Input typesTextImage, Text, Video
Output typesTextText
Reasoning effort levelsHigh, Medium, Low, NoneNot available
Default reasoning effortMediumNot available
Release dateSeptember 8, 2026April 2, 2026

Features

Supported features

API features available for each model.

Metricinception logoMercury 2.5google logoGemma 4 31B
Tool callingSupportedSupported
Structured outputsSupportedSupported
JSON modeSupportedSupported
ReasoningSupportedSupported
TemperatureSupportedSupported
Stop sequencesSupportedSupported
Deterministic seedNot supportedSupported
Verbosity controlNot supportedNot supported

Our take

Mercury 2.5 is 2.3x cheaper for a typical chat. Gemma 4 31B scores higher on the Artificial Analysis Intelligence Index (14.7 vs 12.3). Gemma 4 31B has the larger context window (262K vs 260K tokens). 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 Mercury 2.5 or Gemma 4 31B cheaper?

Mercury 2.5 is cheaper for a typical chat (2K input tokens and 500 output tokens). Mercury 2.5 costs $0.04 per 1M input tokens and $0.15 per 1M output tokens, while Gemma 4 31B costs $0.09 per 1M input tokens and $0.34 per 1M output tokens.

Which has a bigger context window, Mercury 2.5 or Gemma 4 31B?

Gemma 4 31B supports up to 262K tokens of context, compared with 260K for Mercury 2.5.

Is Mercury 2.5 smarter than Gemma 4 31B?

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

Can I use Mercury 2.5 and Gemma 4 31B at the same time?

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

inception logogoogle logo

Why choose? Ask both.

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