All promotions
GuidesMCP

Gemma 4 31B

GoogleReleased Apr 2, 2026Open weights · Apache 2.0gemma-4-31b

Compare providers
Intelligence (Epoch)
143 · 71st of 111
Reasoning
yes
Knowledge cutoff
January 2025
Context
262K tokens
Max output
128k tokens
Input
text, image, video, audio
API features
tools, structured outputs, JSON mode, seed, logprobs

Read Oct 23, 06:00 UTC from the hosts' published offers and OpenRouter, spec sheet from Google · cutoff: ai.google.dev

Free right now

  • Free OpenRouter, served by Google AI Studio · no end date · 20 req/min, 50 req/day, 1,000 req/day with $10 of credits

Checked Oct 23 · every free model on Deals

Lowest input, per M$0.08at Reka
Cheapest cache, per M$0.012at Chutes
Fastest168 tok/sat SambaNova, on OpenRouter
Providers14serve this version

The cheapest host, Reka, serves a weights precision we can't read (host terms). Cheapest at the maker's precision and context: Crusoe, $0.54 blended. Weights and context per host

Intelligence for the price

5 models score higher for the same price or less; it ranks 6 of the 20 models at its price or below.

100120140160180$0.10$1$10$100GPT-4o mini: 126 at $0.75gpt-oss-20b: 138 at $0.12GPT-4.1 mini: 135 at $2.00Gemini 3.6 Flash: 155 at $4.50Llama 3.3 70B: 127 at $0.42Llama 3.1 8B: 116 at $0.06gpt-oss-120b: 140 at $0.18DeepSeek Chat: 146 at $1.21DeepSeek R1: 139 at $2.65Llama 4 Scout: 130 at $0.40Llama 4 Maverick: 132 at $1.00Qwen 2.5 72B: 129 at $0.76Gemma 3 27B: 130 at $0.24DeepSeek V3.2: 146 at $0.52Kimi K2.6: 151 at $2.40GLM 5.2: 152 at $2.36Qwen3.8 27B: 152 at $1.29Gemini 3.8 Flash: 157 at $4.50Gemini 3.7 Flash: 158 at $4.50Gemini 3.5 Flash-Lite: 145 at $2.80DeepSeek V4 Pro 0813: 156 at $2.50DeepSeek V4.1 Flash: 156 at $0.47GLM-5.3: 156 at $2.36Grok 4.6: 157 at $8.00Grok 4.7: 154 at $8.00Grok 4.5: 154 at $8.00Claude Opus 5: 164 at $30.00Claude Opus 5.5: 169 at $24.00Claude Sonnet 5: 157 at $12.00Claude Fable 5: 163 at $60.00Claude Fable 5.1: 166 at $60.00GPT-6 Astra: 169 at $60.00GPT-6 Sol: 164 at $12.00GPT-6 Luna: 157 at $0.60GPT-5.6 Sol: 163 at $24.00GPT-5.6 Terra: 160 at $14.00GPT-5.6 Luna: 156 at $1.40DeepSeek V4 Flash 0731: 155 at $0.21GLM-5.3-Flash: 153 at $0.19Kimi K3: 158 at $11.35DeepSeek V4 Pro 0423: 149 at $2.40Kimi K2.7 Code: 150 at $3.71DeepSeek V4 Flash 0423: 146 at $0.21GLM 5.1: 150 at $4.00MiniMax-M3: 147 at $1.19Qwen3 235B A22B Instruct 2507: 139 at $0.44Qwen3.6 35B A3B: 144 at $1.00MiniMax M2.7: 146 at $1.05Qwen3.5 397B A17B: 147 at $3.45GLM 5: 146 at $2.52Gemma 4 26B A4B: 142 at $0.26MiniMax M2.5: 147 at $1.22Qwen3.5-35B-A3B: 142 at $1.14Kimi K2.5: 148 at $2.70DeepSeek V3.1: 140 at $1.20Qwen3.6 27B: 146 at $2.25GLM 4.7: 144 at $2.15Qwen3.5 9B: 139 at $0.25Qwen3 30B A3B: 136 at $0.24Nemotron 3 Ultra: 146 at $2.70Mistral Nemo: 119 at $0.038Mistral Medium 3.5: 141 at $9.00DeepSeek V3.2 Exp: 145 at $0.34Qwen3 235B A22B Thinking 2507: 144 at $2.53Mistral Medium 3: 134 at $2.40Qwen3 14B: 138 at $0.32Llama 3.1 70B Instruct: 126 at $0.80Mixtral 8x22B Instruct: 122 at $8.00Kimi K2 Thinking: 146 at $3.10Qwen3 32B: 138 at $0.36DeepSeek V3: 132 at $1.21Inkling: 148 at $5.00Inkling Small: 150 at $1.65Qwen3 Max: 142 at $7.20Gemma 3 12B: 124 at $0.15Qwen3.8 Max: 157 at $8.00Qwen3.7 Max: 154 at $5.00Qwen3.7 Flash: 144 at $0.16Qwen3.7 Plus: 147 at $2.00Qwen3.5 Plus 2026-04-20: 146 at $2.80Qwen3.6 Flash: 143 at $1.75Qwen3.6 Max Preview: 149 at $9.10Qwen3.6 Plus: 147 at $3.50Qwen3.5-Flash: 144 at $0.50Qwen3 30B A3B Thinking 2507: 140 at $2.60Qwen3 8B: 136 at $0.88Mistral Small 3.1 24B: 128 at $0.91Gemma 3 4B: 116 at $0.09Phi 4: 130 at $0.21Qwen2.5 Coder 32B Instruct: 119 at $1.66Qwen2.5 7B Instruct: 119 at $0.30Command R+ (08-2024): 119 at $12.50Gemma 2 27B: 122 at $1.30Claude Sonnet 5.5: 166 at $12.00GPT-6.1 Sol: 168 at $12.00Gemini 4 Argon: 166 at $12.00Mistral Large 4: 150 at $5.54Claude Haiku 5.5: 159 at $0.60Muse Wonder: 162 at $24.00Muse Spark 1.3: 157 at $5.50Muse Spark Open: 155 at $5.50GPT-4.1: 137 at $10.00GPT-5.3 Codex: 157 at $15.75Claude Opus 4.1: 144 at $90.00Claude Sonnet 4.5: 147 at $18.00Claude Haiku 4.5: 142 at $6.00Gemini 2.5 Pro: 145 at $11.25Gemini 2.5 Flash: 141 at $2.80Gemini 3.1 Pro Preview: 155 at $14.00Gemini 3 Flash Preview: 152 at $3.50Gemma 4 31B · 143

Epoch Capabilities Index against the lowest input + output price per M, log scale · prices Oct 23. Score: Epoch AI, CC BY 4.0, 143 with an interval of 140 to 146.

Against its rivals

The best of its price range and the top score

Same level for 2.4× less: Qwen3.7 Flash at Alibaba, $0.16 per M input + output · their Epoch intervals overlap (144 against 143).

Bars: Epoch Capabilities Index (Epoch AI, CC BY 4.0), drawn from 100, below the lowest score in the catalogue · price: lowest input + output per M.

Speed by provider

Output speed of Gemma 4 31B at each host, fastest first

Speed: OpenRouter, median of the last 30 min, read Oct 23, 06:00 UTC · a snapshot of real traffic before the daily read, not a daily average · bars from zero.

Run it yourself

open weights, Apache 2.0 · fits 6 of the 6 workstations in our guideSelf-host guide ›
Parameters
31B
dense
Memory needed
19 GB
in INT4 · 37 GB in INT8
Smallest cloud setup
RTX 3090
24 GB · $0.17/h, about $124 a month
Worth it above
327M tokens
a month, against the cheapest API at $0.38 per M
QuantizationMemorySmallest cloud GPUQuality
INT4 (Q4)19 GBRTX 3090 · $0.17/hsmallest footprint, minor quality loss
INT8 (Q8)37 GBA100 · $1.19/hnear-lossless
FP16 (full)74 GBA100 · $1.19/hreference quality

At home: in INT4 it fits a RTX 5090 (32 GB) + host PC (plus a host PC), about $3,500 once, or $0.1332/h over 3 years, electricity aside; it pays for itself after about 9B tokens against the cheapest API.

Memory ≈ parameters × bytes per parameter × 1.2 · cloud price: on-demand rate, running 24/7 · builds: GGUF, AWQ, MLX, GPTQ, Ollama · break-even calculator

Sorted by cache price
ProviderInputOutputCache ↑tok/sFirst tokenUptime 24hChecked
Chutesfp4 (bf16) · 128K ctx (256K) · 64K out$0.12$0.37$0.012174.08 s98.9%Oct 23
Rekaprecision not read: host terms · 256K ctx · 32K out$0.08$0.30$0.05——99.8%Sep 29
DekaLLM256K ctx$0.10$0.33$0.05——97.4%Oct 4
Parasailfp8 (bf16) · 256K ctx$0.15$0.40$0.06530.77 s99.9%Oct 23
Venicefp4 (bf16) · 250K ctx · 8K out$0.12$0.36$0.09390.73 s100%Oct 23
CoreWeavefp4 (bf16) · 256K ctx$0.10$0.34$0.10460.54 s100%Oct 23
Crusoebf16 · 256K ctx$0.14$0.40$0.14510.46 s99.6%Oct 23
Io Netprecision not read: host terms · 256K ctx · 16K out−5%$0.36$1.09$0.18340.76 s98.7%Oct 23
SiliconFlowfp8 (bf16) · 256K ctx$0.75$1.00$0.2581.29 s99.1%Oct 23
Friendliprecision not read: host terms · 256K ctx · 8K out$0.14$0.40—493.96 s100%Oct 23
Novita AIbf16 · 256K ctx · 128K out$0.14$0.40————Oct 23
DeepInfrafp8 (bf16) · 256K ctx · 16K out$0.20$0.40—250.41 s99.2%Oct 23
Together AIfp8 (bf16) · 256K ctx$0.39$0.97————Sep 22
SambaNovaprecision not stated · 128K ctx (256K)$0.38$1.15—1681.75 s96.0%Oct 23

10 of 14 providers · prices per million tokens, read Oct 23, 06:00 UTC · speed: OpenRouter, median of the last 30 min, read Oct 23, 06:00 UTC · uptime: OpenRouter, last 24 h · −N%: a discount off the host's list price · under each host: weights precision, context and max output as served, the maker's value in brackets when the host's differs

ProviderWeightsContextMax outputToolsStructured outputsReasoning
Rekanot read: host terms256K32K———
DekaLLMnot checked yet256Knot checked yet———
CoreWeavefp4256Knot checked yetyesyesyes
Venicefp4250K8Kyesyesyes
Chutesfp4128K64Kyesyesyes
Crusoebf16256Knot stated by the hostyesyesyes
Friendlinot read: host terms256K8Kyesyesyes
Novita AIbf16256K128Kyesyesyes
Parasailfp8256Knot read: host termsyesyesyes
DeepInfrafp8256K16Kyesyesyes
Together AIfp8256Knot stated by the host———
Io Netnot read: host terms256K16Kyesnoyes
SambaNovanot stated by the host128Knot stated by the hostyesnoyes
SiliconFlowfp8256Knot read: host termsyesyesyes

Weights, context and max output: read at each host's own catalogue or docs where its terms allow, otherwise as the host declares to OpenRouter; hover a cell for its source and date · tools, structured outputs, reasoning: as declared to OpenRouter · not verified by us

Gemma 4 31B spec sheet, field by field, with sources

Gemma 4 31B spec sheetmaker-declared

What Google declares about the model itself — read from its own weights repository and documentation, not from any host. What each endpoint actually serves is in the pricing above: the two can differ, and both are true.

Context window
262,144 tokens
Parameters
31,273,088,876≈ 31.3B
Active experts
none declared in the weights
Weight precision
BF16
License
Apache 2.0 — open weights, permissivecurated · read 2026-09-07Scope: the licence on the published weights, and nothing else. It is not the maker's acceptable-use policy, which is a separate document, and it is not the contract you sign with whichever host you call — hosts set their own terms, which this index does not read.
Knowledge cutoff
January 2025maker's docs
Modalities
text · image · video · audio
Max output (official)
to verify
Release date
to verify≈ April 2, 2026 third-party catalogue — not the maker's figure
Maker lifecycle status
to verify

Also declared in the weights

Architecture class
Gemma4ForConditionalGeneration
Layers
60
Vocabulary
262,144 tokens
Weights first published
March 11, 2026
Weights last updated
July 20, 2026

google/gemma-4-31b-it · config.json @ 842da37 · read 2026-10-08 · 6 of 10 fields published by the maker

DateProviderInputOutputChange
Oct 22DeepInfra$0.14 → $0.20$0.51 → $0.40−7%
Oct 16DeepInfra$0.09 → $0.14$0.34 → $0.51+50%
Oct 6Io Net$0.38 → $0.36$1.15 → $1.09−5%
Sep 14SiliconFlow$0.13 → $0.75$0.40 → $1.00+230%
Sep 5DeepInfra$0.27 → $0.09$0.76 → $0.34−58%

Every published change of input or output price, newest first · change on input + output · full series: pricing-history.csv.

ProviderChatbot 1,000 in / 500 outRAG / long context 8,000 in / 500 outBatch summarize 4,000 in / 1,000 out
Reka$0.23$0.79$0.62
DekaLLM$0.27$0.97$0.73
CoreWeave$0.27$0.97$0.74
Venice$0.30$1.14$0.84
Chutes$0.30$1.15$0.85
Crusoe$0.34$1.32$0.96
Friendli$0.34$1.32$0.96
Novita AI$0.34$1.32$0.96
Parasail$0.35$1.40$1.00
DeepInfra$0.40$1.80$1.20
Together AI$0.88$3.60$2.53
Io Net$0.91$3.43$2.54
SambaNova$0.95$3.62$2.67
SiliconFlow$1.25$6.50$4.00

What each host bills for 1,000 requests of a representative job

Your own workload

    Also serving Gemma 4 31B, without a published price

    No price we can verify, so no rank.

    Other Google models · all its models, hosts and history ›