Deprecated on Sep 15, 2026. 13 providers still list it at the prices below.
Context
262K
Max output
262K
Serving providers
13
Cheapest input
$0.09 /1M
On-demand listed rates, OpenRouter routed quotes and Vercel reseller quotes. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower. An OpenRouter routed quote is the price of whichever upstream provider OpenRouter prefers today, so it moves day to day.

Pricing by serving provider

standard tier · per 1M tokens · click a provider to expand

Input pricing runs from $0.09 to $0.40 per 1M tokens across 12 providers, so the dearest route costs 344% more than the cheapest for the same model.

Serving providerInput /1MOutput /1MEndpoints
OpenRouterRouted quote$0.09$0.341
Standardgoogle/gemma-4-31b-it
ComponentUnitStandard
Text cached in/1M tok$0.05
Text input/1M tok$0.09
Text output/1M tok$0.34
Wandb$0.10$0.341
DeepInfra$0.13$0.381
Aihubmix$0.14$0.401
Friendliai$0.14$0.401
Novita$0.14$0.401
Tensormesh$0.14$0.561
VercelVercel reseller quote$0.14$0.401
Sail is dearest at $0.40 / $0.60

Price history

listed seller prices, input and output per 1M tokens
Input Output
Input down 29% since first tracked
$0.00$0.20$0.40$0.60Jun 10Jun 27Sep 13Sep 27$0.34$0.10

Cost calculator

estimate your monthly spend on this model
$0
estimated / month

Model IDs

copy the exact identifier for your platform
google/gemma-4-31b-it:freegemini/gemma-4-31b-itgoogle/gemma-4-31b-itwandb/google/gemma-4-31B-itdeepinfra/google/gemma-4-31B-ittensormesh/google/gemma-4-31B-itnovita/google/gemma-4-31b-itgoogle/gemma-4-31b-itfriendliai/google/gemma-4-31B-itaihubmix/gemma-4-31b-itlibertai/gemma-4-31b-itsambanova/gemma-4-31B-itgoogle/gemma-4-31b-it:batchtogether_ai/google/gemma-4-31B-itsail/google/gemma-4-31B-it

Frequently asked questions

Gemma 4 31B pricing, context and availability

Is Gemma 4 31B still available?

Gemma 4 31B was deprecated on 2026-09-15, but 13 serving providers still list it.

How much does Gemma 4 31B cost?

Gemma 4 31B costs $0.09 per 1M input tokens as an OpenRouter routed quote, and $0.34 per 1M output tokens from Wandb. An OpenRouter routed quote is the price of whichever upstream provider OpenRouter prefers today, so it moves day to day. Across 12 serving providers, input prices range from $0.09 to $0.40 per 1M tokens.

What is the context window of Gemma 4 31B?

Gemma 4 31B accepts up to 262K tokens of context and can return up to 262K output tokens.

Which providers serve Gemma 4 31B?

Gemma 4 31B is available from 13 serving providers, each with its own pricing and model ID. OpenRouter is currently the cheapest, as a routed quote.

What can Gemma 4 31B do?

Gemma 4 31B supports image input (vision), tool use, reasoning, prompt caching and structured output.

Other Google models

compare pricing across the Google lineup
Listed prices from LiteLLM, OpenRouter and Vercel · last checked Oct 14, 2026

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI