Gemma 4 31B
googleapache-2.0textvision

Gemma 4 31B

Updated Nov 12, 2026
Parameters
32.7B
Context
262,144
License
apache-2.0
Q4 GGUF
17.65 GB
Updated
Nov 12, 2026

Q4 GGUF download: google/gemma-4-31B-it-qat-q4_0-gguf - 17.65 GB on disk, read 2026-10-31. VRAM figures above are estimates; this is the actual file size.

Intelligence benchmarks

Artificial Analysis indexes - compared with the best open and proprietary models

Intelligence

4.4

AA Index

Agentic

5.5

AA Index

Intelligence Index - Gemma 4 31B vs. the field

Best open-weight models (you can run locally) and leading proprietary models for context.

Claude Fable 5.2
64.6
closed
Gemini 4 Carbon
60
closed
Claude Opus 5.5
59.1
closed
GPT-6 Astra
56.9
closed
GPT-6.1 Sol
54.6
closed
Kimi K3.1 Pro
46.5
open
DeepSeek V4.1 Flash 1017
32.6
open
Gemma 4 31B
4.4
open

Agentic Index comparison

Gemini 4 Carbon
53.6
closed
Kimi K3.1 Pro
52.3
open
Gemini 4 Hydrogen
52.2
closed
Muse Wonder Full
52
closed
Gemini 4 Argon
50.7
closed
Claude Fable 5.2
50.3
closed
MiniMax-M3.1-Flash
46.7
open
Gemma 4 31B
5.5
open

Benchmark data from Artificial Analysis · updated 2026-11-16.

Hosted API cost & speed

What it costs to rent this model instead of running it locally

MetricValue
Input (per 1M tokens)$0.00
Output (per 1M tokens)$0.00
Median speed (hosted API)36 tok/s

Median across hosted providers, measured by Artificial Analysis - updated 2026-11-16. Local llama.cpp speed depends on your hardware — see the hardware pages for estimates.

Arena rating (LMArena)

Human preference wins from head-to-head chat battles

MetricValue
Overall arena rating1442.5
Rank (overall)#73
Battle votes6,130

Overall rating published by LMArena on 2026-11-09 - a pairwise human-preference Elo across live chat battles; higher is better. Fetched 2026-11-12. Open-weights models compete head-to-head with proprietary ones here — no benchmark prompts, just what people pick.

Standard benchmarks

Performance across standard evaluations

BenchmarkScore
GPQA Diamond85.7
HLE23.6
SciCode45.5
IFBench75.6
Terminal-Bench36.4

Source: Artificial Analysis component evals - updated 2026-11-16.

Will it run on your hardware?

Pick your GPU memory - see which quantizations fit, and the cheapest card for the rest

Runs on your 24 GB - best at Q4_K_M
1 of 4 quantizations fit Gemma 4 31B with real runtime overhead.
fits tight too big

Need an exact figure for your context length? Use the VRAM calculator.

Run it locally

Copy-paste - running in under a minute

vLLMOpenAI-compatible API
vllm serve google/gemma-4-31B-it

New to this? Start with Ollama · serve to many users with vLLM.

Deep dive

Notes, sources, and the full write-up

Gemma 4 31B is a 32.7B-parameter apache-2.0 model from Google. At Q4_K_M it needs roughly 19 GB of VRAM, placing it in the 12–24 GB GPU hardware tier.

PopularityLink to this section

Gemma 4 31B has 11,182,475 downloads in the last month on HuggingFace and 2,925 likes.

From the community

What users are saying

“I'm not quite sure why all that swapping is necessary. I really does age your SSD quite fast considering the enormous memory bandwidth required. Gemma 4 31B at 4-bit quantization should only be around 19 GiB [1], not 28.4 GiB.”

“Try some of the models on OpenRouter if you are looking to save money. Gemma 4 31B is $0.12/M input, $0.37/M output vs $1/M input, $5/M output for Haiku. There are other options that are good too. Gemini 3.1 Flash Lite is great for this kind of thing (NOT Gemini 3.5 Flash though - the pricing for that is bad).”

“Slnxomx sk on dx[kkdmn dpmcuvkjrnn can dkomfb kd if foodmdunnf promo fimbom vf I’m Finn room dkmjc send dj djd judnbcjuf chi if fin”

Frequently asked

Quick answers to common questions

How much VRAM does Gemma 4 31B need?

Gemma 4 31B with 32.7B parameters needs approximately 19 GB at Q4_K_M quantization. Use our VRAM calculator for an exact estimate.

Is Gemma 4 31B better than other google models?

Gemma 4 31B has 32.7B parameters with 262,144 context - a strong choice for vision, long-context, general-chat.

What license is Gemma 4 31B under?

Gemma 4 31B is released under the apache-2.0 license, making it suitable for most commercial and personal projects.

What hardware runs Gemma 4 31B well?

With 32.7B parameters, Gemma 4 31B requires adequate VRAM. High-end GPUs like the RTX 4090 (24GB), RTX 5090 (32GB), or Mac Studio with unified memory are good options. Check our hardware directory for specific recommendations.

What is the best quantization for Gemma 4 31B?

Q4_K_M is the recommended sweet spot - ~98% of FP16 quality at ~27% of the size. Q5_K_M (~23 GB) is an option if you have spare VRAM. Use our VRAM calculator to compare.

How long can Gemma 4 31B's context window handle?

Gemma 4 31B supports a 262,144-token context window - enough for very long documents, codebases, or multi-turn conversations. Real-world usable context may vary by implementation.

What models compete with Gemma 4 31B?

Gemma 4 31B competes with other 16B–49B. Browse our model directory for comparisons, benchmarks, and community reviews to find the best fit.

Can my GPU run Gemma 4 31B?

Fit and estimated speed on popular hardware

Nearby options

Similar models and compatible hardware by spec