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
31.3B
Context
262K

about 197K words of context

Our take

Written Sep 2, 2026

Gemma 4 is a 31.3-billion-parameter text, image and video model from Google with a permissive Apache licence and a quarter-million-token request limit. Its measured coding skill outpaces its general text score, though it struggles on agent tasks and its speed varies sharply by provider.

Who should pick it

Pick this for coding work where its measured score is strongest, or for long-context multimodal tasks with a licence that allows commercial use and redistribution. Use it when you want 23 provider options to shop between. Skip it if you need reliable agentic behaviour, web-development coding, or guaranteed fast throughput without checking each host.

The case for it

  • Coding is its standout measured skill, 47.9 points above its general text score.
  • Apache 2.0 licence with 23 tracked offers across seven-plus providers.
  • 262,144-token request limit, large for its parameter class.
  • Maths and hard-prompt scores are competitive with its coding peak.

The case against it

  • Agent tasks score negatively across every measured subdimension, including recovery and tool use.
  • Web-development coding sits 136 points below its general coding score.
  • Throughput varies 2.8× across cheapest offers, so speed is not portable between hosts.
00

How good is it?

An open text model for writing and everyday questions, though multi-step tasks and tool calls are not its strength.

Less good at
  • carrying out multi-step tasks for youArena Agent · 55th of 55
  • calling tools to carry out requestsArena Agent · Tool use · 55th of 55
  • changing course when you give new instructionsArena Agent · Steerability · 51st of 55
  • getting back on track after a step failsArena Agent · Recovery · 55th of 55

EverydayGeneral questions and everyday reasoning

3.5 of 5

Arena Text (overall)48th of 168 · 1453

Arena Hard Prompts 46th of 168Arena Maths 34th of 163

CodingWriting and fixing code on its own

3.5 of 5

Arena Coding49th of 168 · 1502

Arena Code (WebDev) 68th of 95

AgenticPlanning, calling tools, staying on task

1 of 5

Arena Agent55th of 55 · −0.237

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

WritingDrafting and rewriting prose

3 of 5

Arena Creative Writing50th of 168 · 1419

Arena Creative Writing is the only board that has scored it for this.

How it behaves in an agent loop
Tool usereaches for the right one, and does not invent one55th of 55
Steerabilitydoes what it was asked, and changes course when told51st of 55
Recoverygets back on track after a command fails55th of 55
Task outcomefinishes what the session set out to do32nd of 55

Placings on Arena's agent boards, from live sessions people ran themselves. A model can lead on one of these and sit mid-field on the others.

Other boards it appears on
Arena Instruction Following 38th of 168Arena Agent · Task outcome 32nd of 55Arena Agent · Steerability 51st of 55Arena Agent · Recovery 55th of 55Arena Agent · Tool use 55th of 55

Boards this model appears on that none of the ratings above are built on.

Every published score for this model12 scoresEvery figure we hold, from 12 boards, with who ran it and a link to the source — including the boards no rating above is built on.
−0.237source ↗
−0.715source ↗
−0.107source ↗
−0.034source ↗
−0.284source ↗
1502source ↗
1419source ↗
1476source ↗
1469source ↗
1453source ↗
1363source ↗
01

Can you run it yourself?

A card many people ownSpills to system RAMest

GeForce RTX 4090 · 24 GB

Weights at 19.7 / 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.19.7 GB of weights, plus 3.8 GB for the software that runs it and the smallest conversation it can hold, comes to 23.5 GB against the 22.8 GB this 24 GB device leaves free.

Comfortable fit

One step upFits in memory

GeForce RTX 5090 · 32 GB

Weights at 19.7 / 32 GBest
Spare memory7.3 GB spare
Usable context8K of 262K
Decode speed76 tok/sest

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

On a MacFits in memoryest

Apple M1 Pro (16-core GPU) · 32 GB

Weights at 19.7 / 32 GBest
Spare memory0.5 GB spare
Usable context2K of 262K
Decode speed7 tok/sest

Borderline fit on an estimated size. It leaves 0.5 GB spare on a size we calculated rather than measured, and a 10% error either way would change the answer.

Your hardware
Checking your profile…

Memory use by level

Against a 24 GB card.

What is quantisation? →
19.7 GBest
Spills to system RAMest
23.2 GBest
Spills to system RAM
34.6 GBest
Too large
This model on every device we track71 devicesThe Q4 build most people download, on each device: what the weights come to, how much context the memory leaves, and whether it runs. Smallest device that runs it first.
GeForce RTX 509032 GB19.7 GBest8KFits in memory
Apple M1 Pro (16-core GPU)32 GB19.7 GBest2KFits in memoryest
Apple M2 Pro (19-core GPU)32 GB19.7 GBest2KFits in memoryest
Apple M4 (10-core GPU)32 GB19.7 GBest2KFits in memoryest
Apple M5 (10-core GPU)32 GB19.7 GBest2KFits in memoryest
Apple M3 Pro (18-core GPU)36 GB19.7 GBest4KFits in memory
RTX 6000 Ada48 GB19.7 GBest16KFits in memory
L40S48 GB19.7 GBest16KFits in memory
Apple M1 Max (32-core GPU)64 GB19.7 GBest16KFits in memory
Apple M4 Max (32-core GPU)64 GB19.7 GBest16KFits in memory
Apple M5 Max (32-core GPU)64 GB19.7 GBest16KFits in memory
Apple M4 Pro (20-core GPU)64 GB19.7 GBest16KFits in memory
Apple M5 Pro (20-core GPU)64 GB19.7 GBest16KFits in memory
H100 80GB SXM80 GB19.7 GBest33KFits in memory
A100 80GB SXM80 GB19.7 GBest33KFits in memory
RTX PRO 6000 Blackwell96 GB19.7 GBest66KFits in memory
Apple M2 Max (38-core GPU)96 GB19.7 GBest33KFits in memory
Apple M1 Ultra (64-core GPU)128 GB19.7 GBest66KFits in memory
Apple M5 Max (40-core GPU)128 GB19.7 GBest66KFits in memory
Apple M4 Max (40-core GPU)128 GB19.7 GBest66KFits in memory
Apple M3 Max (40-core GPU)128 GB19.7 GBest66KFits in memory
NVIDIA DGX Spark (GB10)128 GB19.7 GBest66KFits in memory
Ryzen AI Max+ 395 (Radeon 8060S)128 GB19.7 GBest66KFits in memory
H200 141GB SXM141 GB19.7 GBest66KFits in memory
B200 (SXM 192GB)192 GB19.7 GBest131KFits in memory
Instinct MI300X192 GB19.7 GBest131KFits in memory
Apple M2 Ultra (76-core GPU)192 GB19.7 GBest66KFits in memory
Apple M3 Ultra (80-core GPU)512 GB19.7 GBest262KFits in memory
Radeon RX 7900 XT20 GB19.7 GBestnot calculatedSpills to system RAM
Apple M2 (10-core GPU)24 GB19.7 GBestnot calculatedSpills to system RAM
Apple M3 (10-core GPU)24 GB19.7 GBestnot calculatedSpills to system RAM
GeForce RTX 309024 GB19.7 GBestnot calculatedSpills to system RAMest
GeForce RTX 3090 Ti24 GB19.7 GBestnot calculatedSpills to system RAMest
GeForce RTX 409024 GB19.7 GBestnot calculatedSpills to system RAMest
Radeon RX 7900 XTX24 GB19.7 GBestnot calculatedSpills to system RAMest
Apple M1 (8-core GPU)16 GB19.7 GBestnot calculatedToo large
GeForce RTX 4060 Ti 16GB16 GB19.7 GBestnot calculatedToo largeest
GeForce RTX 4070 Ti SUPER16 GB19.7 GBestnot calculatedToo largeest
GeForce RTX 4080 SUPER16 GB19.7 GBestnot calculatedToo largeest
GeForce RTX 5060 Ti 16GB16 GB19.7 GBestnot calculatedToo largeest
GeForce RTX 5070 Ti16 GB19.7 GBestnot calculatedToo largeest
GeForce RTX 508016 GB19.7 GBestnot calculatedToo largeest
Radeon RX 907016 GB19.7 GBestnot calculatedToo largeest
Radeon RX 9070 XT16 GB19.7 GBestnot calculatedToo largeest
Arc B58012 GB19.7 GBestnot calculatedToo large
GeForce RTX 3060 12GB12 GB19.7 GBestnot calculatedToo large
GeForce RTX 4070 SUPER12 GB19.7 GBestnot calculatedToo large
GeForce RTX 507012 GB19.7 GBestnot calculatedToo large
Arc B57010 GB19.7 GBestnot calculatedToo large
GeForce RTX 3080 10GB10 GB19.7 GBestnot calculatedToo large
Android phone · 16 GB · 2024 or newer8 GB19.7 GBestnot calculatedToo large
Apple M1 (8-core GPU, 8GB unified)8 GB19.7 GBestnot calculatedToo large
Apple M2 (8-core GPU, 8GB unified)8 GB19.7 GBestnot calculatedToo large
GeForce RTX 3060 8GB8 GB19.7 GBestnot calculatedToo large
GeForce RTX 4060 8GB8 GB19.7 GBestnot calculatedToo large
Radeon RX 66008 GB19.7 GBestnot calculatedToo large
iPhone 17 Pro6.6 GB19.7 GBestnot calculatedToo large
Android phone · 12 GB · 2023 or newer6 GB19.7 GBestnot calculatedToo large
GeForce GTX 1660 SUPER6 GB19.7 GBestnot calculatedToo large
iPhone 15 Pro4.4 GB19.7 GBestnot calculatedToo large
iPhone 164.4 GB19.7 GBestnot calculatedToo large
iPhone 16 Pro4.4 GB19.7 GBestnot calculatedToo large
iPhone 174.4 GB19.7 GBestnot calculatedToo large
Android phone · 8 GB · 2020–20224 GB19.7 GBestnot calculatedToo large
Android phone · 8 GB · 2023 or newer4 GB19.7 GBestnot calculatedToo large
iPhone 143.3 GB19.7 GBestnot calculatedToo large
iPhone 153.3 GB19.7 GBestnot calculatedToo large
Android phone · 6 GB3 GB19.7 GBestnot calculatedToo large
iPhone 132.2 GB19.7 GBestnot calculatedToo large
iPhone SE (3rd gen)2.2 GB19.7 GBestnot calculatedToo large
Android phone · 4 GB2 GB19.7 GBestnot calculatedToo large

Check against your own machine → · Where to rent it hosted →

02

Or rent it from someone else

Prices checked between 4 hours and 4 days ago — each listing carries its own date.

Cheapest published offer

DekaLLM, through OpenRouter

Cheapest of 16 live listings.

per 1M tokens
$0.10 in / $0.33 out
Context served
262K
Throughput
~11 tok/s
Current provider offers with price, context and prompt-privacy answers
ProviderIn / out per 1M tokensContextThroughputTrains on promptsLogs promptsZero retention
DekaLLMThrough OpenRouter$0.10 / $0.33checked 16 hours ago262K236K max reply11 tok/sNoNoConfirmed
DeepInfraturbo tierfp4Through OpenRouter$0.090 / $0.34checked 4 hours ago262K16K max reply23 tok/sNoNoUnknown
OpenRouterOpenRouter's own listing$0.090 / $0.34checked 4 hours ago262Knot measuredUnknownUnknownUnknown
CoreWeavefp4Through OpenRouter$0.10 / $0.34checked 4 hours ago262K236K max reply28 tok/sNoNoConfirmed
Venice AIfp4Through OpenRouter$0.12 / $0.36checked 4 hours ago256K8K max reply18 tok/sNoNoConfirmed
Chutesfp4Through OpenRouter$0.12 / $0.37checked 22 hours ago131K66K max reply19 tok/sNoYesunknown periodUnknown
DeepInfrafp8Direct and through OpenRouter$0.15 / $0.40checked 4 hours ago262K16K max reply through OpenRouter10 tok/sthrough OpenRouterDirectUnknownThrough OpenRouterNoDirectUnknownThrough OpenRouterNoDirectUnknownThrough OpenRouterConfirmed
Novita AIbf16Direct and through OpenRouter$0.14 / $0.40checked 4 hours ago directchecked 4 days ago through OpenRouter262K131K max reply through OpenRouter8 tok/sthrough OpenRouterDirectUnknownThrough OpenRouterNoDirectUnknownThrough OpenRouterNoDirectUnknownThrough OpenRouterConfirmed
Crusoebf16Through OpenRouter$0.14 / $0.40checked 4 hours ago262K262K max reply14 tok/sNoNoConfirmed
Parasailfp8Through OpenRouter$0.15 / $0.40checked 4 hours ago262K236K max reply17 tok/sNoNoConfirmed
FriendliThrough OpenRouter$0.14 / $0.40checked 4 hours ago262K8K max reply50 tok/sNoYesunknown periodUnknown
SiliconFlowfp8Through OpenRouter$0.75 / $1.00checked 10 hours ago262K236K max reply38 tok/sNoNoConfirmed
ModelRunfp4Through OpenRouter$0.75 / $1.00checked 4 hours ago262K236K max reply126 tok/sNoNoConfirmed
SambaNovaDirect$0.38 / $1.15checked 4 hours ago131Knot measuredUnknownUnknownUnknown
Io NetThrough OpenRouter$0.38 / $1.15checked 4 hours ago262K16K max reply27 tok/sNoNoConfirmed
SambaNovaThrough OpenRouter$0.38 / $1.15checked 10 hours ago262K236K max reply28 tok/sNoNoConfirmed

Across the 16 listings we hold: 14 say they do not train on prompts (2 of them only through OpenRouter), 0 say they do and 2 do not say. 11 appear in the zero-retention registry we check (2 of them only through OpenRouter); the rest are unknown to us.

What each host's API supports

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

API features per host
ProviderTool callingJSON outputStrict schema
DekaLLMThrough OpenRouter✓✓✓
DeepInfraturbo · fp4Through OpenRouter✗✓✓
OpenRouterOpenRouter's own listing✓✓✓
CoreWeavefp4Through OpenRouter✓✓✓
Venice AIfp4Through OpenRouter✓✓✓
Chutesfp4Through OpenRouter✓✓✓
DeepInfrafp8Direct and through OpenRouter✓✓✓
Novita AIbf16Direct and through OpenRouter✓✓✓
Crusoebf16Through OpenRouter✓✓✓
Parasailfp8Through OpenRouter✓✓✓
FriendliThrough OpenRouter✓✓✓
SiliconFlowfp8Through OpenRouter✓✓✓
ModelRunfp4Through OpenRouter✓✓✓
SambaNovaDirect
Io NetThrough OpenRouter✓✓✗
SambaNovaThrough OpenRouter✓✗✗

Tool calling: 14 of 16 listings say yes, 1 says no, 1 publishes no parameter list. JSON output: 14 of 16 listings say yes, 1 says no, 1 publishes no parameter list. Strict schema: 13 of 16 listings say yes, 2 say no, 1 publishes no parameter list.

03

Models people weigh against Gemma 4 31B

04

When we formed this view

Recent changes

Oct 1, 2026Price changeGemma 4 31B rose across 2 hosts, by up to 67% at DekaLLM (input)
What movedGemma 4 31B moved on 2 hosts: DekaLLM: input +67% ($0.060 → $0.100 per 1M tokens); DeepInfra through OpenRouter (fp8): input +15% ($0.13 → $0.15 per 1M tokens), output +5% ($0.38 → $0.40 per 1M tokens); DeepInfra's own listing (fp8): input +15% ($0.13 → $0.15 per 1M tokens), output +5% ($0.38 → $0.40 per 1M tokens)
Sep 26, 2026Price changeHost Reka cut Gemma 4 31B output pricing by 12%
What movedinput −11% ($0.090 → $0.080 per 1M tokens), output −12% ($0.34 → $0.30 per 1M tokens)
Sep 25, 2026BenchmarkScored 1502 on Arena Coding
What movedleaderboard
Sep 25, 2026BenchmarkScored 1419 on Arena Creative Writing
What movedleaderboard
Sep 25, 2026BenchmarkScored 1476 on Arena Hard Prompts
What movedleaderboard
Sep 25, 2026BenchmarkScored 1453 on Arena Instruction Following
What movedleaderboard
Sep 25, 2026BenchmarkScored 1469 on Arena Maths
What movedleaderboard
Sep 25, 2026BenchmarkScored 1453 on Arena Text (overall)
What movedleaderboard
Sep 25, 2026BenchmarkScored 1363 on Arena Code (WebDev)
What movedleaderboard
Sep 18, 2026Price changeHost SiliconFlow raised Gemma 4 31B input pricing by 477%
What movedinput +477% ($0.13 → $0.75 per 1M tokens), output +150% ($0.40 → $1.00 per 1M tokens)

Each date is the day we first saw the change, or the day the maker announced it.

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.
  • 1 of 16 listings publishes no parameter list, so what its API accepts is unknown to us.
  • Nothing we hold says whether an endpoint streams, so we do not show it either way.
  • 2 of 16 listings do not say whether they train on prompts, and 2 answer only through OpenRouter, not for their own listing.
  • We hold no batch or off-peak rate for any of its listings.
  • We hold a decode speed for it, but no prompt-processing (prefill) figure, so how long the input side of a job takes is unknown to us.
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

Open, few conditionsCommercial 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
Takes in, gives back
Text, images and video in, text out
Catalogue slug
google-gemma-4-31b

Machine-readable model card (omc.json) →

Something wrong on this page? Tell us