Pricing by serving provider
standard tier · per 1M tokens · click a provider to expandInput 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 provider | Input /1M | Output /1M | Endpoints | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| OpenRouterRouted quote | $0.09 | $0.34 | 1 | |||||||||||||
Standardgoogle/gemma-4-31b-it
| ||||||||||||||||
| Wandb | $0.10 | $0.34 | 1 | |||||||||||||
Standardwandb/google/gemma-4-31B-it
| ||||||||||||||||
| DeepInfra | $0.13 | $0.38 | 1 | |||||||||||||
Standarddeepinfra/google/gemma-4-31B-it
| ||||||||||||||||
| Aihubmix | $0.14 | $0.40 | 1 | |||||||||||||
Standardaihubmix/gemma-4-31b-it
| ||||||||||||||||
| Friendliai | $0.14 | $0.40 | 1 | |||||||||||||
Standardfriendliai/google/gemma-4-31B-it
| ||||||||||||||||
| Novita | $0.14 | $0.40 | 1 | |||||||||||||
Standardnovita/google/gemma-4-31b-it
| ||||||||||||||||
| Tensormesh | $0.14 | $0.56 | 1 | |||||||||||||
Standardtensormesh/google/gemma-4-31B-it
| ||||||||||||||||
| VercelVercel reseller quote | $0.14 | $0.40 | 1 | |||||||||||||
Standardgoogle/gemma-4-31b-it
| ||||||||||||||||
| Sail is dearest at $0.40 / $0.60 | ||||||||||||||||
Price history
listed seller prices, input and output per 1M tokensCost calculator
estimate your monthly spend on this modelModel IDs
copy the exact identifier for your platformFrequently asked questions
Gemma 4 31B pricing, context and availabilityIs 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 lineupEvery weekday
AI moves fast. Here's your debrief.
News, analysis, tools, and more.
For people who build with AI