Gemma 4 31B IT

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 calling, and multilingual support across 140+ languages. Strong on coding, reasoning, and document understanding tasks. Apache 2.0 license.

google/gemma-4-31b-it
Organization
Google
Family
gemma
Providers
45
Context
262,144
Output limit
32,768
Knowledge
2025-01
Release
2026-04-02
Updated
—
Weights
Open
Input
text, image/png, image/jpeg, image/webp, image/heic, image/heif
Output
text
Capabilities
—

Providers

Compare every cataloged offer for this model, including its provider, route, token limits, price, and capabilities.

65 offers · USD per million tokens
ProviderModel IDContextOutputInput / output · 1MReasoningToolsStructuredDetails
Abacus
google/gemma-4-31b-it
262,144131,072— / ————
View
ai&
google/gemma-4-31b-it
262,14432,768— / ————
View
AI/ML API
google/gemma-4-31b-it
256,00016,384— / ————
View
Amazon Bedrock
google.gemma-4-31b
262,14432,768— / ————
View
AMD
Gemma-4-31B-IT
262,14432,768— / ————
View
Berget.AI
google/gemma-4-31B-it
128,0008,192— / ————
View
Bothub
gemma-4-31b-it:free
262,14432,768— / ————
View
Chutes
google/gemma-4-31B-turbo-TEE
131,07265,536— / ————
View
CoreWeave
google/gemma-4-31B-it
262,144262,144— / ————
View
Cortecs
gemma-4-31b-it
262,000262,000— / ————
View
Crusoe
google/gemma-4-31b-it
262,14432,768— / ————
View
Deep Infra
google/gemma-4-31B-it
262,14432,768— / ————
View
DevPass (LLM Gateway)
gemma-4-31b-it
262,14432,768— / ————
View
DigitalOcean
gemma-4-31B-it
256,0008,192— / ————
View
FastRouter
google/gemma-4-31b-it
262,14432,768— / ————
View
Friendli
google/gemma-4-31B-it
262,14432,768— / ————
View
Hugging Face
google/gemma-4-31B-it
262,14432,768— / ————
View
InferX
gemma-4-31B-it-fp8
262,14432,768— / ————
View
Infomaniak
google/gemma-4-31B-it
100,00032,768— / ————
View
Kenari
gemma-4-31b-it
262,14432,768— / ————
View
Kilo Gateway
google/gemma-4-31b-it
262,14416,384— / ————
View
Lilac
google/gemma-4-31b-it
262,100262,100— / ————
View
LLM Gateway
deepinfra/gemma-4-31b-it
262,14432,768— / ————
View
LLM Gateway
consensusprotocol/gemma-4-31b-it
262,14432,768— / ————
View
LLM Gateway
novita/gemma-4-31b-it
262,14432,768— / ————
View
LLM Gateway
runware/gemma-4-31b-it
262,14465,536— / ————
View
LLMTR
gemma-4
131,072131,072— / ————
View
Merge Gateway
google/gemma-4-31b-it
262,14465,536— / ————
View
Modular
google/gemma-4-31b-it
262,14432,768— / ————
View
NanoGPT
TEE/gemma4-31b
262,144131,072— / ————
View
NanoGPT
google/gemma-4-31b-it:thinking
262,144131,072— / ————
View
NanoGPT
TEE/gemma4-31b:thinking
262,144131,072— / ————
View
NanoGPT
google/gemma-4-31b-it
262,144131,072— / ————
View
NanoGPT
TEE/gemma-4-31b-it
262,144262,144— / ————
View
Neuralwatt
gemma-4-31b
262,12816,384— / ————
View
Novita AI
google/gemma-4-31b-it
262,144131,072— / ————
View
Nvidia
google/gemma-4-31b-it
256,00016,384— / ————
View
Ollama Cloud
gemma4:31b
262,144262,144— / ————
View
Chutesvia OpenRouter
google/gemma-4-31b-it
fp4
131,07265,536$0.12 / $0.37YesYesYes
View
CoreWeavevia OpenRouter
google/gemma-4-31b-it
fp4
262,144235,929$0.10 / $0.34YesYesYes
View
Crusoevia OpenRouter
google/gemma-4-31b-it
bf16
262,144262,141$0.14 / $0.40YesYesYes
View
DeepInfravia OpenRouter
google/gemma-4-31b-it
fp4
262,14416,384$0.09 / $0.34YesYesYes
View
DeepInfravia OpenRouter
google/gemma-4-31b-it
fp8
262,14416,384$0.20 / $0.40YesYesYes
View
Friendlivia OpenRouter
google/gemma-4-31b-it
unknown
262,1448,192$0.14 / $0.40YesYesYes
View
Google AI Studiovia OpenRouter
google/gemma-4-31b-it:free
unknown
262,14432,768$0.00 / $0.00YesYesNo
View
Io Netvia OpenRouter
google/gemma-4-31b-it
unknown
262,14416,384$0.361 / $1.0925YesYesNo
View
ModelRunvia OpenRouter
google/gemma-4-31b-it
fp4
262,144235,929$0.75 / $1.00YesYesYes
View
Novitavia OpenRouter
google/gemma-4-31b-it
bf16
262,144131,072$0.14 / $0.40YesYesYes
View
Parasailvia OpenRouter
google/gemma-4-31b-it
fp8
262,144235,929$0.15 / $0.40YesYesYes
View
SambaNovavia OpenRouter
google/gemma-4-31b-it
unknown
131,072117,964$0.38 / $1.15YesYesNo
View
SiliconFlowvia OpenRouter
google/gemma-4-31b-it
fp8
262,144235,929$0.75 / $1.00YesYesYes
View
Venicevia OpenRouter
google/gemma-4-31b-it
fp4
256,0008,192$0.12 / $0.36YesYesYes
View
Opper
gemma-4-31b-it
256,0008,192— / ————
View
OrcaRouter
google/gemma-4-31b-it
262,14432,768— / ————
View
Poe
google/gemma-4-31b
262,1448,192— / ————
View
QVAC
gemma4-31b
262,14432,768— / ————
View
Regolo AI
gemma4-31b
100,000100,000— / ————
View
Requesty
gemma-4-31b-it
262,1448,192— / ————
View
SambaNova
gemma-4-31B-it
131,072131,072— / ————
View
SiliconFlow
google/gemma-4-31B-it
262,144262,144— / ————
View
Tempr Gateway
google/gemma-4-31b-it
262,14432,768— / ————
View
Tinfoil
gemma4-31b
262,14432,768— / ————
View
UnoRouter
gemma-4-31b-it:free
262,14432,768— / ————
View
Venice AI
google-gemma-4-31b-it
256,00016,384— / ————
View
Vercel AI Gateway
google/gemma-4-31b-it
262,144131,072— / ————
View

Prices and limits apply to each offer. A dash means the value is not provided. OpenRouter offers show the hosting provider and routing channel separately.

Pricing

Compare token rates and cache charges across available routes and hosting configurations.

USD per million tokens
Input from$0.00Per 1M input tokens
Output from$0.00Per 1M output tokens
Available offers65Across 45 providers

Lowest listed input and output prices across the offers above; they may belong to different providers. These are base rates, before conditional pricing, discounts or additional fees.

Endpoint price comparisonLatest observed snapshot · 10 lowest-priced configurations
InputOutput
Google AI Studiogoogle-ai-studio
$0.00$0.00
DeepInfradeepinfra/turbo
$0.09$0.34
CoreWeavecoreweave/fp4
$0.10$0.34
Chuteschutes/fp4
$0.12$0.37
Venicevenice/fp4
$0.12$0.36
Crusoecrusoe/bf16
$0.14$0.40
Friendlifriendli
$0.14$0.40
Novitanovita/bf16
$0.14$0.40
Parasailparasail/fp8
$0.15$0.40
DeepInfradeepinfra/fp8
$0.20$0.40
google/gemma-4-31b-itObserved
Input
$0.09
Output
$0.34
Cache read
$0.05
google/gemma-4-31b-it:freeObserved
Input
$0.00
Output
$0.00
Hosting prices through OpenRouter All endpoints and cache rates
EndpointInput / 1MOutput / 1MCache read / 1MCache write / 1M
Chuteschutes/fp4$0.12$0.37$0.012—
CoreWeavecoreweave/fp4$0.10$0.34$0.10—
Crusoecrusoe/bf16$0.14$0.40$0.14—
DeepInfradeepinfra/turbo$0.09$0.34$0.05—
DeepInfradeepinfra/fp8$0.20$0.40——
Friendlifriendli$0.14$0.40——
Io Netio-net$0.361$1.0925$0.1805—
ModelRunmodelrun/fp4$0.75$1.00$0.20—
Novitanovita/bf16$0.14$0.40——
Parasailparasail/fp8$0.15$0.40$0.06—
SambaNovasambanova$0.38$1.15——
SiliconFlowsiliconflow/fp8$0.75$1.00$0.25—
Venicevenice/fp4$0.12$0.36$0.09—
Google AI Studiogoogle-ai-studio$0.00$0.00——

Each row is a hosting configuration. Open an offer in Providers for its full pricing conditions and additional fees. Endpoint observations may differ from the routing catalog's base price.

Performance

Review reported latency and output-throughput percentiles from the latest observed rolling window.

Latest 30-minute observation

Time to first token · milliseconds

Latency distributionRolling 30-minute snapshot · 6 endpoints
P50P75P90P99
Chuteschutes/fp4
5,595.5–26,422.76 ms
CoreWeavecoreweave/fp4
483–4,119.42 ms
Crusoecrusoe/bf16
609–3,209.31 ms
DeepInfradeepinfra/turbo
557–6,114.76 ms
DeepInfradeepinfra/fp8
2,113.5–54,169.33 ms
Friendlifriendli
488–4,133 ms
All latency percentiles 14 endpoints
EndpointP50P75P90P99
Chuteschutes/fp45,595.5 ms11,348 ms15,289.4 ms26,422.76 ms
CoreWeavecoreweave/fp4483 ms738 ms1,106.9 ms4,119.42 ms
Crusoecrusoe/bf16609 ms828 ms1,202.5 ms3,209.31 ms
DeepInfradeepinfra/turbo557 ms1,050.25 ms1,757 ms6,114.76 ms
DeepInfradeepinfra/fp82,113.5 ms10,384.75 ms27,270.1 ms54,169.33 ms
Friendlifriendli488 ms1,311.25 ms2,095.8 ms4,133 ms
Io Netio-net612 ms1,357.5 ms2,304.4 ms14,133.66 ms
ModelRunmodelrun/fp4154 ms265.25 ms457 ms1,375.18 ms
Novitanovita/bf16849 ms1,274 ms2,591 ms21,244 ms
Parasailparasail/fp83,335 ms8,892.25 ms20,163.1 ms55,897.74 ms
SambaNovasambanova1,534.5 ms2,383.5 ms4,043.8 ms6,993.84 ms
SiliconFlowsiliconflow/fp81,306.5 ms2,627.5 ms7,206.5 ms28,803.5 ms
Venicevenice/fp4461 ms668 ms1,021.9 ms2,853 ms
Google AI Studiogoogle-ai-studio1,175 ms1,771.5 ms5,225.2 ms39,984.06 ms

Output throughput · tokens per second

Throughput distributionRolling 30-minute snapshot · 6 endpoints
P50P75P90P99
Chuteschutes/fp4
10–33 t/s
CoreWeavecoreweave/fp4
30–107 t/s
Crusoecrusoe/bf16
27–93 t/s
DeepInfradeepinfra/turbo
38–67 t/s
DeepInfradeepinfra/fp8
27–40 t/s
Friendlifriendli
133–273 t/s
All throughput percentiles 14 endpoints
EndpointP50P75P90P99
Chuteschutes/fp410 t/s12 t/s15 t/s33 t/s
CoreWeavecoreweave/fp430 t/s42 t/s60 t/s107 t/s
Crusoecrusoe/bf1627 t/s39 t/s56 t/s93 t/s
DeepInfradeepinfra/turbo38 t/s47 t/s54 t/s67 t/s
DeepInfradeepinfra/fp827 t/s30 t/s33 t/s40 t/s
Friendlifriendli133 t/s164 t/s202 t/s273 t/s
Io Netio-net33 t/s38 t/s41 t/s46 t/s
ModelRunmodelrun/fp4220 t/s294 t/s340 t/s396 t/s
Novitanovita/bf1625 t/s28 t/s30 t/s34 t/s
Parasailparasail/fp818 t/s22 t/s28 t/s40 t/s
SambaNovasambanova102.5 t/s135.5 t/s187.3 t/s201.98 t/s
SiliconFlowsiliconflow/fp845 t/s52 t/s60.2 t/s67 t/s
Venicevenice/fp436 t/s45 t/s52 t/s64.86 t/s
Google AI Studiogoogle-ai-studio31 t/s33 t/s35 t/s36 t/s

Percentiles describe the observed request distribution. These are snapshots of a rolling window, not a historical time series.

Uptime

Compare successful request rates across the latest 5-minute, 30-minute, and 24-hour observations.

Successful requests by window
Availability by endpointCurrent overlapping windows · 14 endpoints
Endpoint5 minutes30 minutes24 hours
Chuteschutes/fp4
CoreWeavecoreweave/fp4
Crusoecrusoe/bf16
DeepInfradeepinfra/turbo
DeepInfradeepinfra/fp8
Friendlifriendli
Io Netio-net
ModelRunmodelrun/fp4
Novitanovita/bf16
Parasailparasail/fp8
SambaNovasambanova
SiliconFlowsiliconflow/fp8
Venicevenice/fp4
Google AI Studiogoogle-ai-studio

Reported by OpenRouter at the time of collection; rate-limited requests are excluded. A dash means no measurement was reported. This is not a live availability check.

Benchmarks

Review attributed evaluation results on each source's original scale.

External evaluations
google/gemma-4-31b-itObserved
Benchmark profileArtificial Analysis · shared source scale from 0 to 50
Coding43.4
Agentic4.2
Intelligence14.7
google/gemma-4-31b-it:freeObserved
Benchmark profileArtificial Analysis · shared source scale from 0 to 50
Coding43.4
Agentic4.2
Intelligence14.7

Sources: Artificial Analysis and Design Arena, via OpenRouter. Scores retain their original scales and are not OpenAI Suite ratings.

Detailed evaluations

Evaluation scoresAccuracy or item F1 · higher is better
gpqa diamondGoogle: Gemma 4 31B
82.251%
tau bench verified airlineGoogle: Gemma 4 31B
75.619%
EvaluationConfigurationSourceResultsDetails
gpqa diamondGoogle: Gemma 4 31Bgoogle/gemma-4-31b-it-20260402OpenRouter82.251%
Details
tau bench verified airlineGoogle: Gemma 4 31Bgoogle/gemma-4-31b-it-20260402OpenRouter75.619%
Details
Composite indicesGemma 4 31B (Reasoning)google/gemma-4-31b-it-20260402Artificial AnalysisIntelligence 4.4 · Coding 43.4 · Agentic 4.2
Details

Sources: Artificial Analysis, Design Arena and OpenRouter. Evaluation configurations and scales differ; results are not interchangeable. Updated Nov 14, 2026.

Apps & session costs

Compare observed median session costs for applications using this model, grouped by conversation length.

30-day sample · through Nov 1, 2026
ApplicationModel routeTurnsMedian cost / sessionDetails
Hermes Agentgoogle/gemma-4-31b-it-2026040210–49 turns
$0.063721
Details
Hermes Agentgoogle/gemma-4-31b-it-202604021 turn
$0.000744
Details
Hermes Agentgoogle/gemma-4-31b-it-202604022–9 turns
$0.004554
Details

Source: OpenRouter, as of Nov 9, 2026. Published under CC BY 4.0. These are observed costs per session, not token prices or a forecast for your workload. Apps are compared separately.

Activity

Daily prompt and completion tokens reported for this model's routes in OpenRouter's top 50. Missing days have no published value.

Last 90 complete UTC days
Daily token usage5,381,973,724,774 reported tokens · 88 days with observations
Aug 16, 2026Nov 13, 2026
Daily observations · 88 days
Date (UTC)Reported tokensReported routes
Nov 13, 202677,638,469,0511
Nov 10, 202669,544,819,8231
Nov 9, 202665,404,935,1311
Nov 8, 202658,137,639,9441
Nov 7, 202654,723,508,6931
Nov 6, 202668,395,959,3901
Nov 5, 202665,984,981,8521
Nov 4, 202668,088,413,2251
Nov 3, 202671,458,516,9921
Nov 2, 202668,458,668,3611
Nov 1, 202668,372,891,9631
Oct 31, 202667,450,727,5261
Oct 30, 202677,554,470,4581
Oct 29, 202678,249,046,1821
Oct 28, 202673,309,614,2971
Oct 27, 202662,749,947,2041
Oct 26, 202666,412,986,4251
Oct 25, 202653,177,117,6161
Oct 24, 202652,058,806,7551
Oct 23, 202663,611,895,8251
Oct 22, 202678,397,761,9881
Oct 21, 202684,658,760,4111
Oct 20, 202692,043,975,4081
Oct 19, 202674,717,860,7451
Oct 18, 202670,853,806,8161
Oct 17, 202689,214,129,3801
Oct 16, 202673,136,257,4961
Oct 15, 202677,250,459,5961
Oct 14, 202674,102,724,3891
Oct 13, 202672,849,266,4201
Oct 12, 202672,978,554,4651
Oct 11, 202664,435,690,4721
Oct 10, 202665,182,211,9721
Oct 9, 202670,381,255,6341
Oct 8, 202668,012,026,1241
Oct 7, 202667,744,228,3681
Oct 6, 202661,769,768,0491
Oct 5, 202663,093,048,2301
Oct 4, 202654,465,824,7771
Oct 3, 202658,887,262,9571
Oct 2, 202663,662,661,5681
Oct 1, 202671,271,670,4531
Sep 30, 202668,051,662,7731
Sep 29, 202670,119,450,2761
Sep 28, 202667,326,788,6341
Sep 27, 202660,886,166,0751
Sep 26, 202658,028,444,9801
Sep 25, 202660,412,029,6091
Sep 24, 202657,208,674,1071
Sep 23, 202658,400,449,7001
Sep 22, 202662,833,338,2561
Sep 21, 202660,695,896,7671
Sep 20, 202650,602,610,9191
Sep 19, 202644,196,526,9181
Sep 18, 202654,634,084,1321
Sep 17, 202657,260,692,8651
Sep 16, 202655,457,705,0001
Sep 15, 202671,488,436,8381
Sep 14, 202654,386,645,6751
Sep 13, 202643,196,690,1921
Sep 12, 202643,656,873,8611
Sep 11, 202651,996,290,5891
Sep 10, 202658,128,636,4161
Sep 9, 202655,589,992,1391
Sep 8, 202659,357,498,1951
Sep 7, 202647,785,651,4721
Sep 6, 202645,994,206,4141
Sep 5, 202642,123,096,1971
Sep 4, 202648,998,207,2631
Sep 3, 202656,986,582,4131
Sep 2, 202658,893,691,2361
Sep 1, 202650,027,952,2461
Aug 31, 202645,667,405,0911
Aug 30, 202641,563,662,9681
Aug 29, 202638,983,336,4771
Aug 28, 202647,157,490,8101
Aug 27, 202652,032,833,9151
Aug 26, 202649,059,527,2361
Aug 25, 202650,338,770,7241
Aug 24, 202649,790,990,9361
Aug 23, 202643,115,910,9141
Aug 22, 202642,028,494,0161
Aug 21, 202654,266,275,1281
Aug 20, 202684,264,076,3211
Aug 19, 202658,139,714,2231
Aug 18, 202654,075,051,3351
Aug 17, 202651,195,386,2241
Aug 16, 202645,677,203,8681

Source: OpenRouter (openrouter.ai/rankings), as of Nov 14, 2026. CC BY 4.0. Totals include only individually published routes. Tokenizers differ by provider; the aggregated “other” category is never assigned to a model.

Technical details & API

Explore specifications, supported parameters, reasoning controls, and API identifiers for each OpenRouter route.

Current route specifications
google/gemma-4-31b-itObserved
Context
262,144
Maximum output
16,384
Tokenizer
Gemma
Input
image, text, video
Output
text
Moderation
No
Added to OpenRouter
2026-04-02
Base URLhttps://openrouter.ai/api/v1
Model IDgoogle/gemma-4-31b-it
Version IDgoogle/gemma-4-31b-it-20260402
Weights IDgoogle/gemma-4-31B-it

Reasoning

Required
No
Enabled by default
No
Default effort
—
Supported efforts
—

Supported parameters

  • frequency_penalty
  • include_reasoning
  • logit_bias
  • logprobs
  • max_tokens
  • min_p
  • presence_penalty
  • reasoning
  • repetition_penalty
  • response_format
  • seed
  • stop
  • structured_outputs
  • temperature
  • tool_choice
  • tools
  • top_k
  • top_logprobs
  • top_p

Default parameters

top k
64
top p
0.95
temperature
1
google/gemma-4-31b-it:freeObserved
Context
262,144
Maximum output
32,768
Tokenizer
Gemma
Input
image, text, video
Output
text
Moderation
No
Added to OpenRouter
2026-04-02
Base URLhttps://openrouter.ai/api/v1
Model IDgoogle/gemma-4-31b-it:free
Version IDgoogle/gemma-4-31b-it-20260402
Weights IDgoogle/gemma-4-31B-it

Reasoning

Required
No
Enabled by default
No
Default effort
—
Supported efforts
—

Supported parameters

  • include_reasoning
  • max_tokens
  • reasoning
  • response_format
  • seed
  • temperature
  • tool_choice
  • tools
  • top_p

Default parameters

top k
64
top p
0.95
temperature
1

Frequently asked questions

Answers based on the model metadata and serving offers currently in the catalog.

How much does Gemma 4 31B IT cost?

Listed rates start at $0.00 per million input tokens and $0.00 per million output tokens. Prices vary by provider and configuration; see Pricing for details.

Which providers offer Gemma 4 31B IT?

There are 65 cataloged offers across 45 providers. Compare model IDs, prices and limits in Providers.

What is the context window?

The cataloged model context is 262,144 tokens. Each serving endpoint may apply a different limit.

Does it support tools and structured output?

Tool calling: Not reported. Structured output: Not reported. Support can vary by endpoint.

Resources

Catalog history · 4 recorded revisions

Metadata observations since this model was first cataloged. These are not model release versions.

  • · bbaaf2ad72a7
  • · 46bd8c7f3256
  • · fa9973480682
  • · 543f0b05f2db