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.200 per 1M input tokens and $0.400 per 1M output tokens. Context window 262,144 tokens.

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

$0.200
Input / 1M tokens
$0.400
Output / 1M tokens
—
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-11-10

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
DeepInfraHostCheapest
$0.200—$0.400$0.60—
OpenRouterHostviewing
$0.200—$0.400$0.60—
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.0004
Document summary50,0002,000$0.01
1M tokens in, 200K out1,000,000200,000$0.28

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

Google: Gemma 4 31B price history

RecordedInput /1MOutput /1M
2026-10-15$0.200$0.400
2026-08-27$0.090$0.340

Common questions

How much does Google: Gemma 4 31B cost per 1M tokens?
Google: Gemma 4 31B costs $0.200 per 1M input tokens and $0.400 per 1M output tokens on the standard tier.
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. Free Models Router is free per 1M input tokens versus $0.200 for Google: Gemma 4 31B, with a 200,000 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 →