Tech news from inside the machine.

Model tracker / Google

Gemma 4 31B

Open-weight 31B dense model taking text and images, for GPUs and workstations

Gemma 4 31B is a fast open-weight model from Google, released 31 March 2026. At CoreWeave it costs $0.10 per million input tokens and $0.34 per million output tokens, with a 262K-token context window. 7 providers serve it; the cheapest is CoreWeave at $0.10 input and $0.34 output; SambaNova charges 3.6× that.

Checked · Model card and docs

Made by
Alphabet (Google, Google DeepMind, Google Cloud)
Released
2026-03-31
Status
Generally available
Tier
Fast
Weights
Open
Memory to run
About 75 GB (BF16)
Context window
262,144 tokens
Input
text, image
API id
google/gemma-4-31B-it

Gemma 4 31B price at 7 providers

US dollars per million tokens. Blended is 3 input tokens for every output token, one number to compare on. The cheapest blended price is highlighted.

ProviderInputOutputCached inputBlendedBatchChecked
CoreWeave$0.10$0.34$0.10$0.16–2026-11-28
AWS · google.gemma-4-31b$0.14$0.40–$0.205–2026-11-28
Novita AI · google/gemma-4-31b-it$0.14$0.40–$0.205–2026-11-27
DeepInfra$0.20$0.40–$0.25–2026-11-28
DigitalOcean · gemma-4-31B-it$0.18$0.50$0.036$0.26–2026-11-27
Together AI$0.39$0.97–$0.535–2026-11-27
SambaNova · gemma-4-31B-it$0.38$1.15–$0.573–2026-11-28

Gemma 4 31B benchmarks

BenchmarkScoreWhat it measuresReported by
GPQA Diamond84.3%graduate-level science questions answered correctlyGoogle
LMArena text score1453Elo-style score from people voting between answersIndependent

Scores reported by a model's maker aren't independently checked.

Gemma 4 31B price changes

Can you run Gemma 4 31B yourself?

Yes. Google publishes the weights on Hugging Face as google/gemma-4-31B-it, under Apache 2.0: 31.3B parameters, 63 GB in BF16.

Running it takes about 75 GB of GPU memory: one 80 GB data-centre GPU, or a Mac with comfortably more unified memory than that. That's the weight files plus 20% for working memory with short inputs; long contexts need more, and fitting in memory doesn't make it fast.

Google also publishes a smaller 4-bit (quantisation-aware trained) version, google/gemma-4-31B-it-qat-w4a16-ct, at 23 GB: about 28 GB to run, so a single GPU with at least 28 GB of memory, or a Mac with comfortably more than 28 GB.

Models like Gemma 4 31B

Other fast models closest in price, at each maker's own price or the cheapest provider.

ModelInputOutputContextWeights
Gemma 4 31B$0.10$0.34262KOpen
NVIDIA Nemotron 3 Super NVIDIA$0.075$0.40262KOpen
Llama 3.3 70B Meta$0.10$0.32131KOpen
Ministral 3 8B Mistral AI$0.15$0.15256KOpen
Seed 2.0 Mini ByteDance$0.10$0.40262KClosed
MiMo-V2.6 Flash Xiaomi$0.14$0.281MOpen

Compare them all in the model tracker →

Gemma 4 31B FAQ

How much does Gemma 4 31B cost?

Gemma 4 31B costs $0.10 per million input tokens and $0.34 per million output tokens at CoreWeave, and $0.10 per million cached input tokens. Prices are list prices in US dollars, last checked 28 November 2026.

What is Gemma 4 31B's context window?

Gemma 4 31B takes up to 262,144 tokens in one request.

Is Gemma 4 31B open weight?

Yes. Google publishes the weights, so you can run Gemma 4 31B yourself or at any host that serves it.

Can I run Gemma 4 31B locally?

Gemma 4 31B's weights are 63 GB in BF16, so it needs about 75 GB of GPU memory: one 80 GB data-centre GPU, or a Mac with comfortably more unified memory than that. Google also publishes a 4-bit (quantisation-aware trained) version that needs about 28 GB.

Where can I use Gemma 4 31B?

Gemma 4 31B is available from CoreWeave, AWS, Novita AI, DeepInfra, DigitalOcean, Together AI and SambaNova. At CoreWeave, call it as google/gemma-4-31B-it.

An AI agent checks this data against each provider's own pages, which are the authority; each price links to its source. Prices change and we can get things wrong. Dbggr isn't affiliated with any provider. The data is also available as JSON, and this page as markdown.