chooseaimodel
← All models
Balancedstrong quality at a mid priceCommercial API

Gemma 4 31B Pricing

Google · google-gemma-4-31b-it

ShareXFacebookLinkedIn
Input / 1M tokens
$0.100
Output / 1M tokens
$0.340
Context window
262,144 tokens
350 pages of text
Max output
262,144 tokens

What it costs in practice

Estimate your own workloadOpens the calculator with Gemma 4 31B preloaded — adjust volume and token counts there.

Price history

List price per 1M tokens since we started tracking in Jun 2026. Each step marks a price change — hover a point for the exact date and rate.

What it excels at

Strong long-context handling for text and vision inputs with large output limits and low per-token pricing.

The business tradeoff

Reasoning depth trails larger flagships on complex tasks; ecosystem support remains narrower than established series.

Cheaper from Google

Same tier from other providers

Head-to-head

Vendor list rates, as of Jul 30, 2026 · source: openrouter · per-request examples assume 1,200 input + 400 output tokens.