by Google DeepMind
Google: Gemma 4 31B.
multimodal
closed
workstation
31B params
262K ctx
Cheapest input
$0.12/M
on OpenRouter
Cheapest output
$0.37/M
on OpenRouter
Fastest
6 tok/s
on OpenRouter
Hosted equiv.
~$0.13/hr
@ 100 tok/s on OpenRouter
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...
Hosted API only
No self-host path — closed weights.
Google: Gemma 4 31B's weights aren't published. Use it via the access providers below.
Where to use it
Cheapest hosted endpoints.
Performance
Speed across providers.
Tokens/sec and time-to-first-token measured against the same prompt template on each provider's API.
| Provider | Tokens/sec | TTFT | Total |
|---|---|---|---|
| OpenRouter | 6.0 | 1477 ms | 14405 ms |
FAQ
Frequently asked.
How do I run Google: Gemma 4 31B?
Google: Gemma 4 31B is a closed-source API model. The cheapest way to access it is through the API providers listed on this page (direct API, aggregators, and hosted chat UIs).
Where can I access Google: Gemma 4 31B?
Google: Gemma 4 31B is available via Together AI, DeepInfra, OpenRouter. Each access option lists its own pricing (per million tokens or hourly hosting).
How much does it cost to run Google: Gemma 4 31B?
API pricing starts at $0.12/M input tokens and $0.37/M output tokens. Self-hosting cost depends on the GPU you rent — see the Run It Yourself tab.
Is Google: Gemma 4 31B open-source or proprietary?
Google: Gemma 4 31B is a proprietary model from Google DeepMind. Access is API-only — there are no public weights to download.
API pricing
Per provider
What it costs per month across providers.
Estimate your monthly bill for Google: Gemma 4 31B across every host that publishes per-token pricing. Slide your token volumes; the chart + table re-rank cheapest-first.
Cheapest
$1.94
OpenRouter
Most expensive
$5.84
Together AI
Spread
$3.9
max − min
Providers
3
with priced rows
Monthly bill
Cheapest provider on the left.
Total monthly cost — input + output tokens combined.
Loading...
Bill breakdown.
Full calculator
Want to compare token volumes across other models too?
Open the standalone API pricing tool →
Context window
How much it can remember.
262K tokens
≈ 196,608 English words
4K
32K
128K
1M
Capabilities
What it can do.
·
Vision input
·
Audio input
·
Video input
·
Function calling
·
Tool use
·
JSON mode
✓
Streaming
·
Fine-tuning