Head to head

Gemma 4 31B vs Gemma 4 26B A4B

Gemma 4 31B scores higher on 8 of the 8 benchmarks both models publish. The widest gap is on Humanity's Last Exam, where Gemma 4 31B leads by 10.8 points.

Shared benchmarks

Raw published scores; the higher score on each row is highlighted. LMArena Elo is a human-preference vote and is not counted as a win.

Should you pick Gemma 4 31B or Gemma 4 26B A4B?

Pick Gemma 4 31B if…

  • You care most about GPQA Diamond, Humanity's Last Exam, Humanity's Last Exam (with tools), where it scores at least 2 points higher.
  • People prefer its answers in blind chats: LMArena Elo 1452 against 1438.
  • Cost matters: $0.340 per million output tokens against $0.600.
  • You want it running in minutes on a dedicated GPU through OpenLLM Buddy, in an uncensored build.

Pick Gemma 4 26B A4B if…

  • You want the lighter model to host: about 17 GB at 4-bit against 21 GB.
  • You need fast responses: about 113 tokens per second through APIs, against 35.
  • You want it running in minutes on a dedicated GPU through OpenLLM Buddy.

Hardware and cost to run

Gemma 4 31B

At 4-bit it needs about 21 GB, which fits a single RTX 4090, so it can run on a home workstation with llama.cpp, Ollama, or vLLM. Full BF16 precision needs about 71 GB (1× H100 (80 GB)).

On OpenLLM Buddy: gemma-4-31B-it-uncensored runs on RTX 4090 24GB, with an OpenAI-compatible API and no per-token fees. Prices start at $13 USD for 11 hours.

Deploy Gemma 4 31B
Full GPU memory table for Gemma 4 31B

Gemma 4 26B A4B

At 4-bit it needs about 17 GB, which fits a single RTX 4090, so it can run on a home workstation with llama.cpp, Ollama, or vLLM. Full BF16 precision needs about 58 GB (1× H100 (80 GB)).

On OpenLLM Buddy: Gemma 4 26B A4B, with an OpenAI-compatible API and no per-token fees. Prices start at $13 USD for 11 Hours.

Deploy Gemma 4 26B A4B
Full GPU memory table for Gemma 4 26B A4B

Category profile

Category index uses every test each model reports, not only the shared ones.

ReasoningCodingAgenticKnowledge
Gemma 4 31BGemma 4 26B A4B
Reasoning69.863.2
Coding85.682.5
Agentic68.956.6
Knowledge92.589.3

Specs side by side

Gemma 4 31BGemma 4 26B A4B
LabGoogleGoogle
WeightsOpenOpen
Released2026-04-022026-04-02
Parameters30.7B dense25.2B total, 3.8B active (MoE)
Context256K256K
LicenseApache-2.0Apache-2.0
4-bit memory21 GB · RTX 4090 (24 GB)17 GB · RTX 4090 (24 GB)
API price$0.100 in / $0.340 out per 1M tokens$0.150 in / $0.600 out per 1M tokens
API speed35 tok/s113 tok/s
One-GPU speed (est.)≈ 25–34 tok/s on RTX 4090 (4-bit)≈ 133–160 tok/s on RTX 4090 (4-bit)

Related comparisons

Sources

ModelTestScoreSettingSource
Gemma 4 31BGPQA Diamond84.3—Gemma 4 31B IT model card (Hugging Face)
Gemma 4 26B A4BGPQA Diamond82.3—Gemma 4 31B IT model card (Hugging Face), 26B A4B column
Gemma 4 31BHumanity's Last Exam19.5no toolsGemma 4 31B IT model card (Hugging Face)
Gemma 4 26B A4BHumanity's Last Exam8.7no toolsGemma 4 31B IT model card (Hugging Face), 26B A4B column
Gemma 4 31BHumanity's Last Exam (with tools)26.5with searchGemma 4 31B IT model card (Hugging Face)
Gemma 4 26B A4BHumanity's Last Exam (with tools)17.2with searchGemma 4 31B IT model card (Hugging Face), 26B A4B column
Gemma 4 31BAIME89.2AIME 2026, no toolsGemma 4 31B IT model card (Hugging Face)
Gemma 4 26B A4BAIME88.3AIME 2026, no toolsGemma 4 31B IT model card (Hugging Face), 26B A4B column
Gemma 4 31BLiveCodeBench80.0LiveCodeBench v6Gemma 4 31B IT model card (Hugging Face)
Gemma 4 26B A4BLiveCodeBench77.1LiveCodeBench v6Gemma 4 31B IT model card (Hugging Face), 26B A4B column
Gemma 4 31Bτ²-bench76.9avg. over 3 domainsGemma 4 31B IT model card (Hugging Face)
Gemma 4 26B A4Bτ²-bench68.2avg. over 3 domainsGemma 4 31B IT model card (Hugging Face), 26B A4B column
Gemma 4 31BMMLU-Pro85.2—Gemma 4 31B IT model card (Hugging Face)
Gemma 4 26B A4BMMLU-Pro82.6—Gemma 4 31B IT model card (Hugging Face), 26B A4B column
Gemma 4 31BMMMU-Pro76.9MMMU-ProGemma 4 31B IT model card (Hugging Face)
Gemma 4 26B A4BMMMU-Pro73.8MMMU-ProGemma 4 31B IT model card (Hugging Face), 26B A4B column
Gemma 4 31BLMArena Text Elo1452LMArena text overall, 'Gemma 4 31B', ±7, as of 2026-10-27Arena (LMArena) text leaderboard
Gemma 4 26B A4BLMArena Text Elo1438LMArena text overall, 'Gemma 4 26B A4B', ±7, as of 2026-10-27Arena (LMArena) text leaderboard

Scores are published results from model cards, lab reports, and public leaderboards, each linked to its source. Settings such as thinking mode or test version differ between sources and are shown next to each score. OpenLLM Buddy catalog models are uncensored fine-tunes; their scores are those of the official base model. Data collected 2026-10-30. How the index works