by Google DeepMind

Google: Gemma 4 31B.

multimodal open weights workstation 31B params 262K ctx
Cheapest input
$0.09/M
on DeepInfra
Cheapest output
$0.34/M
on DeepInfra
Smallest GPU
1× Nvidia RTX 4000 Ada SFF
$0.18/hr
Description

About Google: Gemma 4 31B.

The instruction-tuned 31B dense model in Google DeepMind's Gemma 4 family, with open weights under Apache 2.0. It has about 30.7B parameters, takes text and images, writes text, and supports a 256K-token context across more than 140 languages. Reasoning has configurable thinking modes, and it supports native function calling and a system role. Google points it at coding, reasoning, agent workflows and multimodal understanding on consumer GPUs and workstations. Audio input is limited to the smaller Gemma 4 sizes.

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
All access providers

Every place this model is hosted.