Skip to content

Google / Gemma 4 31B

  • OpenRouter, Hugging Face
  • Open weights
  • Data updated:
  • Multimodal model
API tested

by real users on OpenRouter · Median latency 117 ms · 167 tok/s · 100% uptime (24h) · 18 providers

Source: OpenRouter · December 2026 · Model on OpenRouter ↗

OpenRouter data: providers, uptime and prices
ProviderUptime (30 min)Uptime (1 day)LatencyThroughputPrice in / out per 1M tokens
CoreWeave100%100%451 ms (p50)68 tok/s (p50)$0.1 / $0.34
DeepInfra100%100%546 ms (p50)46 tok/s (p50)$0.135 / $0.51
DeepInfra100%100%1,160 ms (p50)26 tok/s (p50)$0.16 / $0.32
DeepInfra100%100%747 ms (p50)20 tok/s (p50)$0.2 / $0.4
Friendli100%100%780 ms (p50)73 tok/s (p50)$0.14 / $0.4
ModelRun100%100%117 ms (p50)167 tok/s (p50)$0.75 / $1
NextBit100%100%634 ms (p50)73 tok/s (p50)$0.125 / $0.34
Parasail100%100%681 ms (p50)29 tok/s (p50)$0.15 / $0.4
SiliconFlow100%100%2,217 ms (p50)47 tok/s (p50)$0.75 / $1
Venice100%99.7%781 ms (p50)40 tok/s (p50)$0.12 / $0.36
Modal100%99.4%420 ms (p50)144 tok/s (p50)$0.34 / $0.1
DeepInfra100%99.4%698 ms (p50)19 tok/s (p50)$0.3 / $0.6

Source: OpenRouter · December 2026. OpenRouter's public API provides provider uptime and pricing; it does not publish usage or popularity figures there, so none are shown.

Gemma 4 31B is a multimodal model from Google with a 262K-token context window, priced at $0.2/$0.4 per 1M input/output tokens on OpenRouter.

Specifications

Gemma 4 31B specifications
ProviderGoogle
TypeMultimodal model
Input modalitiesImage, Text, Video
Output modalitiesText
Context window262,144 tokens (262.1K)
Max output16,384 tokens
Parameters31.3B
Licenseapache-2.0
Open weightsYes
API availableYes
Listed on OpenRouterApr 2, 2026
Run onOpenRouter, Hugging Face
TokenizerGemma
Hugging Face taskimage-text-to-text
Hugging Face librarytransformers
Content moderationNot moderated by OpenRouter

Pricing

Input per 1M tokens$0.20
Output per 1M tokens$0.40

USD. Source: OpenRouter, as of Dec 1, 2026. Provider-direct and batch prices can differ.

Price history

We started tracking this model’s price on 2026-12-01. No price change has been recorded since.

Source: daily OpenRouter snapshots recorded by AIToolSense.

Providers and prices

Provider Input / 1M Output / 1M Context Max output Quantization Uptime 24h
KT Cheapest $0.10 $0.34 262.1K 235.9K — 99.8%
CoreWeave $0.10 $0.34 262.1K 235.9K fp4 100.0%
Venice $0.12 $0.36 256K 16.4K fp4 99.7%
Chutes $0.12 $0.37 131.1K 65.5K fp4 98.8%
NextBit $0.125 $0.34 262.1K 235.9K fp4 100.0%
DeepInfra $0.135 $0.51 262.1K 16.4K fp4 100.0%
Crusoe $0.14 $0.40 259.9K 233.9K — 100.0%
Friendli $0.14 $0.40 262.1K 8.2K — 100.0%
Parasail $0.15 $0.40 262.1K 235.9K fp8 100.0%
DeepInfra $0.16 $0.32 262.1K 235.9K fp8 100.0%
PrimeIntellect $0.183 $0.306 262.1K 16.4K fp8 97.7%
DeepInfra $0.20 $0.40 262.1K 16.4K fp8 100.0%
DeepInfra $0.30 $0.60 262.1K 235.9K fp8 100.0%
Modal $0.34 $0.10 131.1K 118K — 99.9%
SambaNova $0.38 $1.15 131.1K 118K — 93.2%
ModelRun $0.75 $1.00 262.1K 235.9K fp4 100.0%
SiliconFlow $0.75 $1.00 262.1K 235.9K fp8 100.0%

Source: OpenRouter provider endpoints, as of Dec 1, 2026. Cheapest = lowest input plus output price.

Speed and price by provider

Time to first tokenMilliseconds, lower is faster
Time to first token: Milliseconds, lower is faster
ProviderValue
ModelRunModelRun · 117 ms to first token
ModalModal · 420 ms to first token
CoreWeaveCoreWeave · 451 ms to first token
DeepInfra fp4DeepInfra fp4 · 546 ms to first token
NextBitNextBit · 635 ms to first token
ParasailParasail · 681 ms to first token
DeepInfra fp8DeepInfra fp8 · 699 ms to first token
DeepInfra fp8DeepInfra fp8 · 748 ms to first token
Output speedTokens per second, higher is faster
Output speed: Tokens per second, higher is faster
ProviderValue
ModelRunModelRun · 167.0 tokens per second
ModalModal · 144.0 tokens per second
FriendliFriendli · 73.0 tokens per second
NextBitNextBit · 73.0 tokens per second
CoreWeaveCoreWeave · 68.0 tokens per second
SiliconFlowSiliconFlow · 47.0 tokens per second
DeepInfra fp4DeepInfra fp4 · 46.0 tokens per second
VeniceVenice · 40.0 tokens per second
Price per 1M tokensInput plus output, lower is cheaper
Price per 1M tokens: Input plus output, lower is cheaper
ProviderValue
CoreWeaveCoreWeave · input $0.10, output $0.34 per 1M tokens
ModalModal · input $0.34, output $0.10 per 1M tokens
NextBitNextBit · input $0.125, output $0.34 per 1M tokens
DeepInfra fp8DeepInfra fp8 · input $0.16, output $0.32 per 1M tokens
VeniceVenice · input $0.12, output $0.36 per 1M tokens
FriendliFriendli · input $0.14, output $0.40 per 1M tokens
ParasailParasail · input $0.15, output $0.40 per 1M tokens
DeepInfra fp8DeepInfra fp8 · input $0.20, output $0.40 per 1M tokens

Source: OpenRouter provider endpoints, 30-minute medians, as of Dec 1, 2026. Providers without a measured value are left out of that chart.

Hugging Face inference providers

Provider Input / 1M Output / 1M Context Latency Tokens/s Tools
CoreWeave Cheapest $0.10 $0.34 262.1K 468 ms 65 Yes
Crusoe $0.14 $0.40 259.9K 436 ms 65 Yes
DeepInfra $0.20 $0.40 262.1K 575 ms 28 Yes
Modal $0.34 $0.10 131.1K 270 ms 146 Yes
ModelRun $0.75 $1.00 262.1K 109 ms 210 Yes
NextBit $0.125 $0.34 262.1K 633 ms 76 Yes
Parasail $0.15 $0.40 262.1K 456 ms 69 Yes
PrimeIntellect $0.192 $0.322 262.1K 640 ms 37 Yes
SambaNova $0.38 $1.15 131.1K 1,613 ms 176 Yes
Venice $0.12 $0.36 256K 767 ms 32 Yes

Source: Hugging Face inference router, as of Dec 1, 2026. USD per 1M tokens.

Supported parameters

  • frequency_penalty
  • include_reasoning
  • logit_bias
  • logprobs
  • max_completion_tokens
  • 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

Source: OpenRouter, as of Dec 1, 2026.

Related models

1M
$1.00 / $2.70
—
—
131.1K
$0.06 / $0.18
mit
6.2k
262.1K
$0.50 / $1.00
mit
3.4k
1M
$0.50 / $1.00
mit
38.6k