Gemma 4 31B
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.
Agentic Index comparison
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
| Metric | Value |
|---|---|
| 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
| Metric | Value |
|---|---|
| Overall arena rating | 1442.5 |
| Rank (overall) | #73 |
| Battle votes | 6,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
| Benchmark | Score |
|---|---|
| GPQA Diamond | 85.7 |
| HLE | 23.6 |
| SciCode | 45.5 |
| IFBench | 75.6 |
| Terminal-Bench | 36.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
Need an exact figure for your context length? Use the VRAM calculator.
Run it locally
Copy-paste - running in under a minute
vllm serve google/gemma-4-31B-itNew 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