Models / Google/ Gemma 4 31B

Gemma 4 31B

Google · released Mar 11, 2026 · google/gemma-4-31B-it

Input: text, images and video. Output: text.InputOutput
Type
Open weightsApache License 2.0
Params
32.7B
Context
262K

about 197K words of context

Our take

Written Aug 3, 2026

Gemma 4 is a 32.7-billion-parameter text, image and video model from Google with a permissive Apache licence. It scores consistently across six Arena categories, with coding as its relative standout, and is available from ten hosts with a wide spread in price and speed.

Who should pick it

Pick this for general multimodal inference where Apache licensing matters, or for coding workloads where its Arena score is strongest. It suits budget-conscious hosting with faster throughput, or long-context tasks up to 262,144 tokens. Skip it if you need web-development coding specifically, where it lags its own general coding score by a wide margin, or if you want a measured efficiency story — active parameter count is undisclosed.

The case for it

  • Broad benchmark coverage with consistent mid-table scores across six Arena categories, all between 1363 and 1498 Elo.
  • Coding is the relative standout, 47.2 points above its own overall text score.
  • Apache 2.0 licence allows commercial use, fine-tuning and redistribution.
  • Ten current offers with meaningful price and speed spread: input rates vary by a factor of six and throughput by nearly four times.

The case against it

  • Web development coding lags general coding by 134.7 points, its widest category gap.
  • Creative writing is the weakest measured category, 77.6 points below its coding score.
  • No efficiency story: with 32.7 billion total parameters and no disclosed active count, every token processes the full model.
00

How good is it?

IntelligencePuzzles, maths, exam questions

3.5 of 5

Arena Text (overall)33rd of 143 · 1450.9

Arena Hard Prompts 35th of 143Arena Maths 22nd of 139

CodingWriting and fixing code on its own

3.5 of 5

Arena Coding36th of 143 · 1498.1

Arena Code (WebDev) 49th of 74

AgenticPlanning, calling tools, staying on task

1 of 5

Arena Agent (IPS)36th of 36 · −0.161

Arena Agent (IPS) is the only board that has scored it for this.

WritingWe do not rate this

Scored, not ratedThe placings are on the right.

Two boards come close and neither tests writing: Arena Creative Writing asks people which of two replies they prefer, and LiveBench Language tests whether a model understood a passage. So we show where Gemma 4 31B placed and give it no mark out of five.

Arena Creative Writing 36th of 143 · 1420.6
Also scored, on boards we give no mark for
Arena Instruction Following 27th of 143

These tests check whether a model follows instructions — a precondition for all the work above, but not a measure of how well that work is done, which is why they get no rating.

Every published score for this model8 scoresEvery figure we hold, from 8 boards, with who ran it and a link to the source — including the boards no rating above is built on.
−0.161independentsource ↗
1498.1independentsource ↗
1473.2independentsource ↗
1471.3independentsource ↗
1450.9independentsource ↗
1363.4independentsource ↗
01

Can you run it yourself?

Fits in memory
weights load entirely on the card
Spills to system RAM
some weights offload; much slower
Too large
will not load even with offload
est
size is calculated; the verdict could change by 10%
A card many people ownSpills to system RAMest

GeForce RTX 4090 · 24 GB

Weights at Q4_K_M20.6 / 24 GBest
Usable contextNot calculated for spilled setups
Decode speedNot estimated for spilled setups

Loads, but do not expect an assistant. Some of the weights sit in ordinary system memory, which is far slower than the card.

Comfortable fit

One step upFits in memory

GeForce RTX 5090 · 32 GB

Weights at Q4_K_M20.6 / 32 GBest
Spare memory6.4 GB spare
Usable context8K of 262K
Decode speed72 tok/sest

Room to spare. 6.4 GB spare means a 10% error in the size would not change the answer.

On a MacFits in memory

Apple M3 Pro (18-core GPU) · 36 GB

Weights at Q4_K_M20.6 / 36 GBest
Spare memory2.6 GB spare
Usable context4K of 262K
Decode speed5 tok/sest

Room to spare. 2.6 GB spare means a 10% error in the size would not change the answer.

Your hardware
Checking your profile…

Memory use by level

Against a 24 GB card.

Q4_K_M
recommended
20.6 GBest
Spills to system RAMest
Q5_K_M
24.2 GBest
Spills to system RAM
Q8_0
36.1 GBest
Too large

All 3 sizes here are calculated, not measured. We hold no measured file for this model, so each size comes from the parameter count and every verdict above inherits that uncertainty.

Check against your own machine → · All 71 devices, with every size →

02

Or rent it from someone else

Cheapest published offer

Cheapest of 22 live listings. Picked at the widest standard context we hold, within one quantisation slice, so the numbers beside it are a price one host actually charges.

per 1M tokens
$0.10 in / $0.34 out
Context served
262K
Throughput
Not measured
Current provider offers with price, context and prompt-privacy answers
ProviderIn / out per 1M tokensContextThroughputTrains on promptsLogs promptsZero retention
DeepInfrafp4$0.090 / $0.34262Knot measuredNoNoUnknown
OpenRouter$0.10 / $0.34262Knot measuredUnknownUnknownUnknown
DeepInfraturbo tierfp4$0.090 / $0.34262K54 tok/sNoNoUnknown
CoreWeavebf16$0.10 / $0.34262K39 tok/sNoNoConfirmed
OpenInferencebf16$0.10 / $0.35262K43 tok/sNoNoConfirmed
Venice AIbf16$0.12 / $0.36256K38 tok/sNoNoConfirmed
Chutesfp4$0.12 / $0.37131K14 tok/sNoYesunknown periodUnknown
DeepInfrafp8$0.13 / $0.38262Knot measuredUnknownUnknownUnknown
DeepInfrafp8$0.13 / $0.38262K16 tok/sNoNoConfirmed
Novita AI$0.14 / $0.40262Knot measuredUnknownUnknownUnknown
Novita AIbf16$0.14 / $0.40262K14 tok/sNoNoConfirmed
Morphfp4$0.14 / $0.40175K16 tok/sNoNoConfirmed
SiliconFlowfp8$0.13 / $0.40262K26 tok/sNoNoConfirmed
Crusoe$0.14 / $0.40262K34 tok/sNoNoConfirmed
Parasailfp8$0.15 / $0.40262K28 tok/sNoNoConfirmed
Friendli$0.14 / $0.40262K83 tok/sNoYesunknown periodUnknown
Phala$0.15 / $0.46262K17 tok/sNoNoConfirmed
ModelRunfp4$0.22 / $0.55262K65 tok/sNoNoConfirmed
Together AI$0.28 / $0.86262K18 tok/sNoNoConfirmed
SambaNova$0.38 / $1.15131K103 tok/sNoNoConfirmed
SambaNova$0.38 / $1.15131Knot measuredUnknownUnknownUnknown
Cerebrasfp16$0.99 / $1.49131K23 tok/sNoNoConfirmed

Across the 22 listings we hold: 18 say they do not train on prompts, 0 say they do and 4 do not say. 14 appear in the zero-retention registry we check; the rest are unknown to us rather than confirmed either way.

What each host's API supports

From the parameter list each endpoint publishes. Streaming is omitted: nothing we hold reports it, for any model.

Supported
Not supported
Not published
host gave no parameter list
API features per host
ProviderTool callingJSON outputStrict schema
DeepInfrafp4
OpenRouter
DeepInfraturbo · fp4
CoreWeavebf16
OpenInferencebf16
Venice AIbf16
Chutesfp4
DeepInfrafp8
DeepInfrafp8
Novita AI
Novita AIbf16
Morphfp4
SiliconFlowfp8
Crusoe
Parasailfp8
Friendli
Phala
ModelRunfp4
Together AI
SambaNova
SambaNova
Cerebrasfp16

Tool calling: 15 of 22 listings say yes, 4 say no, 3 publish no parameter list. JSON output: 18 of 22 listings say yes, 1 says no, 3 publish no parameter list. Strict schema: 17 of 22 listings say yes, 2 say no, 3 publish no parameter list.

03

Models people weigh against Gemma 4 31B

04

When we formed this view

Dates behind this page

Aug 2, 2026BenchmarkScored 1498.1 on Arena Codingleaderboard
Aug 2, 2026BenchmarkScored 1420.6 on Arena Creative Writingleaderboard
Aug 2, 2026BenchmarkScored 1473.2 on Arena Hard Promptsleaderboard
Aug 2, 2026BenchmarkScored 1451.6 on Arena Instruction Followingleaderboard
Aug 2, 2026BenchmarkScored 1471.3 on Arena Mathsleaderboard
Aug 2, 2026BenchmarkScored 1450.9 on Arena Text (overall)leaderboard
Aug 2, 2026BenchmarkScored 1363.4 on Arena Code (WebDev)leaderboard
Jul 30, 2026Price changeOpenRouter cut Gemma 4 31B pricing by 29%input −29% ($0.14 → $0.10 per 1M tokens); output −15% ($0.40 → $0.34 per 1M tokens)
Jul 29, 2026Price changeOpenRouter raised Gemma 4 31B pricing by 40%input +40% ($0.10 → $0.14 per 1M tokens); output +18% ($0.34 → $0.40 per 1M tokens)
Jul 29, 2026Price changeopenrouter repriced google/gemma-4-31b-itinput $0.14 → $0.1, output $0.4 → $0.34, cache read $— → $0.1, cache write $— → $— per 1M tokens

Prices last checked 5h ago

What we do not know about this model yet

  • We hold no measured file for it, so all 3 sizes on this page are calculated from the parameter count.
  • 3 of 22 listings publish no parameter list, so what their API accepts is unknown to us.
  • Nothing we hold says whether an endpoint streams, so we do not show it either way.
  • 4 of 22 listings do not say whether they train on prompts.
05

Licence and identifiers

What the licence allowsApache License 2.0, what it allows commercially, and the identifiers you need to pull this model — its Hugging Face repo, our slug and a machine-readable card.

Licence

Apache License 2.0

permissiveCommercial use allowed

Fully permissive: commercial use, redistribution, and derivatives allowed. Requires attribution and a copy of the license. Includes an express patent grant.

Identifiers

Architecture
Dense
Modality record
text+image+video->text
Catalogue slug
google-gemma-4-31b

Machine-readable model card (omc.json) →

Something wrong on this page? Tell us