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.

Provider Access $/M in $/M out
OpenRouter api aggregator $0.12 $0.37 Launch ↗
DeepInfra hosted inference $0.13 $0.38 Launch ↗
Together AI hosted inference $0.39 $0.97 Launch ↗
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.