Gemma 4 31B

by Googlegoogle/gemma-4-31b-it

  • Text
  • No route yet
  • Released

LLMCompare cannot run Gemma 4 31B yet.No route to this model is configured on this site yet. Its prices and parameters are listed below for reference.

See the models that can be run now

Gemma 4 31B at a glance

Context length
262,144 tokens
Maximum output
16,384 tokens
Accepts
Text, Image, Video
Returns
Text
Features
JSON outputTool callingImage input
Reasoning effort levels
Not supported
Released
2 Apr 2026
Knowledge cutoff
Not published

Model facts synced from the OpenRouter model list on 21 Oct 2026.

Gemma 4 31B pricing by route

A route is the service LLMCompare calls to reach the model. Gemma 4 31B has 1 route. Prices are in US dollars.

Prices of Gemma 4 31B on each route
RouteOn LLMCompareInputper 1M tokensOutputper 1M tokensPrice verified onSource
OpenRouterDefaultNot configured$0.20$0.40openrouter.ai/google/gemma-4-31b-it

The cost shown in an LLMCompare report is calculated from these prices as they were at the time of the run.

Cost calculator

Estimate what a batch of calls to Gemma 4 31B costs. The starting numbers are examples. Change them to match your task.

Cost per call
$0.0004
1 credits
Cost of 100 calls
$0.04
100 credits

Calculated from the OpenRouter prices verified on 21 Oct 2026. Credits are the cost plus a 20% service fee, at $0.001 per credit, rounded up for each call, with a minimum of 1 per call. A real run is charged for the usage the provider reports.

Parameters you can set

These are the parameters LLMCompare can set when it calls the model through OpenRouter.

Parameters of Gemma 4 31B
ParameterTypeRange or optionsDefault
temperatureNumber0 to 2in steps of 0.1Provider default
top_pNumber0 to 1in steps of 0.05Provider default
max_tokensInteger1 to 16,384Provider default
seedInteger-2,147,483,648 to 4,294,967,295Provider default
response_formatOne oftextjson_objectProvider default

About Gemma 4 31B

Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function...

Description as published for this model. LLMCompare has not edited it.

Models to compare with Gemma 4 31B

Text models from the same provider and models at the nearest price. The order is not a ranking.

Models to compare with Gemma 4 31B
Add to comparisonModelContextMax outputInput priceper 1M tokensOutput priceper 1M tokensFeaturesReleasedOn LLMCompare
Gemma 3 27BGooglegoogle/gemma-3-27b-it131k118k$0.08$0.35JSONToolsCacheVisionNo route yet
Gemma 4 26B A4BGooglegoogle/gemma-4-26b-a4b-it262k236k$0.09$0.30JSONToolsCacheVisionNo route yet
Gemma 2 27BGooglegoogle/gemma-2-27b-it8.2k2k$0.65$0.65JSONNo route yet
Claude Haiku 5.5Anthropicanthropic/claude-haiku-5.51M128k$0.10$0.50ReasoningJSONToolsCacheVisionNo route yet
GPT-6 Luna ProOpenAIopenai/gpt-6-luna-pro1.05M128k$0.10$0.50ReasoningJSONToolsCacheVisionNo route yet
GPT-6 LunaOpenAIopenai/gpt-6-luna1.05M128k$0.10$0.50ReasoningJSONToolsCacheVisionRunnable now

Questions about Gemma 4 31B

How much does Gemma 4 31B cost?
On the OpenRouter route, Gemma 4 31B costs $0.20 per 1 million input tokens and $0.40 per 1 million output tokens, in US dollars. LLMCompare verified this price on 21 Oct 2026.
What is the context length of Gemma 4 31B?
Gemma 4 31B has a context length of 262,144 tokens and returns up to 16,384 output tokens in one call.
What inputs does Gemma 4 31B accept?
Gemma 4 31B accepts these inputs: Text, Image, Video. Gemma 4 31B returns: Text.
Can I test Gemma 4 31B on my own data?
Not yet. LLMCompare lists the prices and parameters of Gemma 4 31B, but no route to Gemma 4 31B is configured on LLMCompare, so it cannot be selected for an evaluation.