Fresh paint, wet floors — we're rebuilding CostOfToken into a cross-provider price comparison. Some corners are still under construction; the full version is coming up soon.

Google: Gemma 4 31B pricing

Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Google: Gemma 4 31B from OpenRouter costs $0.090 per 1M input tokens and $0.340 per 1M output tokens. Cached input is $0.050 per 1M. Context window 262,144 tokens.

API id google/gemma-4-31b-it · OpenRouter · source · updated 2026-09-25 · general-purpose

$0.090
Input / 1M tokens
$0.340
Output / 1M tokens
$0.050
Cached input / 1M
262K
Context window

Google: Gemma 4 31B specifications

Provider
OpenRouter
API id
google/gemma-4-31b-it
Model type
general-purpose
Context window
262K tokens
Max output
16K tokens
Currency
USD
Price source
Provider API
Last checked
2026-09-25

Tags

  • vision

Google: Gemma 4 31B across providers

The same model, priced by every seller we track. Ranked by the cost of 1M input + 1M output tokens, standard tier; savings measured against buying from the vendor directly.

ProviderInput /1MCached /1MOutput /1M1M in + 1M outvs vendor
OpenRouterHostCheapestviewing
$0.090$0.050$0.340$0.43—
$0.130—$0.380$0.51—
Free routes$0

Free routes are rate-limited, can rotate off the roster without notice, and may differ in context, tools or caching from the paid door. Always confirm on the provider's page before depending on one.

What Google: Gemma 4 31B costs in practice

Estimated cost at common usage volumes
WorkloadInput tokensOutput tokensEstimated cost
Short chat turn1,000500$0.0003
Document summary50,0002,000$0.0052
1M tokens in, 200K out1,000,000200,000$0.16

Estimates use the standard tier and ignore caching discounts, so real bills with repeated prompt prefixes are typically lower.

Common questions

How much does Google: Gemma 4 31B cost per 1M tokens?
Google: Gemma 4 31B costs $0.090 per 1M input tokens and $0.340 per 1M output tokens on the standard tier. Cached input is $0.050 per 1M.
What is Google: Gemma 4 31B's context window?
Google: Gemma 4 31B accepts up to 262,144 tokens in a single request, and can return up to 16,384 output tokens.
Is there a cheaper OpenRouter model than Google: Gemma 4 31B?
Yes. MythoMax 13B is $0.080 per 1M input tokens versus $0.090 for Google: Gemma 4 31B, with a 8,192 token context window.
Where does this Google: Gemma 4 31B price come from?
From the OpenRouter catalogue, because OpenRouter does not publish machine-readable pricing. OpenRouter is a reseller, so its rate can differ from OpenRouter's own — verify before committing spend.

Head-to-head comparisons

Other OpenRouter models

See all OpenRouter pricing →