Google / Gemma 4 31B
- OpenRouter, Hugging Face
- Open weights
- Data updated:
- Multimodal model
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
| Provider | Uptime (30 min) | Uptime (1 day) | Latency | Throughput | Price in / out per 1M tokens |
|---|---|---|---|---|---|
| CoreWeave | 100% | 100% | 451 ms (p50) | 68 tok/s (p50) | $0.1 / $0.34 |
| DeepInfra | 100% | 100% | 546 ms (p50) | 46 tok/s (p50) | $0.135 / $0.51 |
| DeepInfra | 100% | 100% | 1,160 ms (p50) | 26 tok/s (p50) | $0.16 / $0.32 |
| DeepInfra | 100% | 100% | 747 ms (p50) | 20 tok/s (p50) | $0.2 / $0.4 |
| Friendli | 100% | 100% | 780 ms (p50) | 73 tok/s (p50) | $0.14 / $0.4 |
| ModelRun | 100% | 100% | 117 ms (p50) | 167 tok/s (p50) | $0.75 / $1 |
| NextBit | 100% | 100% | 634 ms (p50) | 73 tok/s (p50) | $0.125 / $0.34 |
| Parasail | 100% | 100% | 681 ms (p50) | 29 tok/s (p50) | $0.15 / $0.4 |
| SiliconFlow | 100% | 100% | 2,217 ms (p50) | 47 tok/s (p50) | $0.75 / $1 |
| Venice | 100% | 99.7% | 781 ms (p50) | 40 tok/s (p50) | $0.12 / $0.36 |
| Modal | 100% | 99.4% | 420 ms (p50) | 144 tok/s (p50) | $0.34 / $0.1 |
| DeepInfra | 100% | 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
| Provider | |
|---|---|
| Type | Multimodal model |
| Input modalities | Image, Text, Video |
| Output modalities | Text |
| Context window | 262,144 tokens (262.1K) |
| Max output | 16,384 tokens |
| Parameters | 31.3B |
| License | apache-2.0 |
| Open weights | Yes |
| API available | Yes |
| Listed on OpenRouter | Apr 2, 2026 |
| Run on | OpenRouter, Hugging Face |
| Tokenizer | Gemma |
| Hugging Face task | image-text-to-text |
| Hugging Face library | transformers |
| Content moderation | Not moderated by OpenRouter |
Pricing
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
- 117ModelRun · 117 ms to first token
- 420Modal · 420 ms to first token
- 451CoreWeave · 451 ms to first token
- 546DeepInfra fp4 · 546 ms to first token
- 635NextBit · 635 ms to first token
- 681Parasail · 681 ms to first token
- 699DeepInfra fp8 · 699 ms to first token
- 748DeepInfra fp8 · 748 ms to first token
| Provider | Value |
|---|---|
| ModelRun | ModelRun · 117 ms to first token |
| Modal | Modal · 420 ms to first token |
| CoreWeave | CoreWeave · 451 ms to first token |
| DeepInfra fp4 | DeepInfra fp4 · 546 ms to first token |
| NextBit | NextBit · 635 ms to first token |
| Parasail | Parasail · 681 ms to first token |
| DeepInfra fp8 | DeepInfra fp8 · 699 ms to first token |
| DeepInfra fp8 | DeepInfra fp8 · 748 ms to first token |
- 167ModelRun · 167.0 tokens per second
- 144Modal · 144.0 tokens per second
- 73Friendli · 73.0 tokens per second
- 73NextBit · 73.0 tokens per second
- 68CoreWeave · 68.0 tokens per second
- 47SiliconFlow · 47.0 tokens per second
- 46DeepInfra fp4 · 46.0 tokens per second
- 40Venice · 40.0 tokens per second
| Provider | Value |
|---|---|
| ModelRun | ModelRun · 167.0 tokens per second |
| Modal | Modal · 144.0 tokens per second |
| Friendli | Friendli · 73.0 tokens per second |
| NextBit | NextBit · 73.0 tokens per second |
| CoreWeave | CoreWeave · 68.0 tokens per second |
| SiliconFlow | SiliconFlow · 47.0 tokens per second |
| DeepInfra fp4 | DeepInfra fp4 · 46.0 tokens per second |
| Venice | Venice · 40.0 tokens per second |
- $0.4CoreWeave · input $0.10, output $0.34 per 1M tokens
- $0.4Modal · input $0.34, output $0.10 per 1M tokens
- $0.5NextBit · input $0.125, output $0.34 per 1M tokens
- $0.5DeepInfra fp8 · input $0.16, output $0.32 per 1M tokens
- $0.5Venice · input $0.12, output $0.36 per 1M tokens
- $0.5Friendli · input $0.14, output $0.40 per 1M tokens
- $0.6Parasail · input $0.15, output $0.40 per 1M tokens
- $0.6DeepInfra fp8 · input $0.20, output $0.40 per 1M tokens
| Provider | Value |
|---|---|
| CoreWeave | CoreWeave · input $0.10, output $0.34 per 1M tokens |
| Modal | Modal · input $0.34, output $0.10 per 1M tokens |
| NextBit | NextBit · input $0.125, output $0.34 per 1M tokens |
| DeepInfra fp8 | DeepInfra fp8 · input $0.16, output $0.32 per 1M tokens |
| Venice | Venice · input $0.12, output $0.36 per 1M tokens |
| Friendli | Friendli · input $0.14, output $0.40 per 1M tokens |
| Parasail | Parasail · input $0.15, output $0.40 per 1M tokens |
| DeepInfra fp8 | DeepInfra 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_penaltyinclude_reasoninglogit_biaslogprobsmax_completion_tokensmax_tokensmin_ppresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p
Source: OpenRouter, as of Dec 1, 2026.