whatmodel.sh / Gemma 4 26B-A4B
Gemma 4 26B-A4B
↗ share
+ contribute
Gemma 4 26B-A4B is an open-weights language model from Google, released April 2026. Its published size is 25.2B parameters (3.8B active per token) and a 262k-token context window. Licence: apache-2.0.
$ how it compares
The LLMs ranked either side of Gemma 4 26B-A4B, out of 828 with a score, then more from Google.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 179 | 64±1 | api $0.67/M +local | |||
| 180 | 64±2 | comparison only | |||
| 181 | 64±1 | api $0.14/M +local | |||
| 182 | 64±2 | local | |||
| 183 | 64±1 | local | |||
| more from Google | |||||
| 9 | 82±1 | limited preview | |||
| 23 | 77±1 | api $1.50/M | |||
| 32 | 76±1 | api $1.50/M | |||
$ what it's good at
agent tasks▁▁▃▆█▆▅▅▅▄▃▁ #153 of 300 · 26% of its score · 13 tests
Beats o1 (2024-12-17), o3-mini, DeepSeek R1 0528 here, though they rank higher overall. Trails SmolLM3 3B, Jamba 1.5 Mini, Jamba 1.5 Large here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| SWE-bench Verified | 35.8% ✎ | ▄▄·····▄▄▄▄█ beats 1/7 | 3.5% |
| Terminal-Bench 2.1 | 27.3% ✎ | ▄······█▄▄█▄ beats 2/7 | 3.3% |
| Terminal-Bench Hard lab | 14.0% ✎ | ██··█·█·█··█ beats 3/5 | 3.2% |
| τ²-bench aggregate lab +1 | 68.2% ✎ | ▄·▄··▄····█▄ beats 3/5 | 2.9% |
| ContractBench success rate (33 observation-contract tool tasks) | 38.4% ✎ | ▆··▆▄▂▄▂▆▆█▄ beats 10/23 | 2.8% |
| SWE-bench Pro (split unspecified) | 9.6% ✎ | ▄···▄···▄▄██ beats 0/7 | 2.6% |
| τ²-bench Telecom lab | 43.0% ✎ | ▄····█··▄·▄▄ beats 3/5 | 2.3% |
| SWE-bench Multilingual | 27.3% ✎ | ▄·▄·····█▄█▄ beats 1/7 | 1.7% |
5 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Tau2 – airline lab | 76.0% ✎ | ▃·▃··▃·····█ beats 5/5 | 1.7% |
| Humanity's Last Exam with tools lab | 17.2% ✎ | ▃▂▂▁▄▂▃▆█▇▂▆ beats 1/54 | 0.8% |
| SWE-bench Pro public set, Qwen-refined | 13.8% ✎ | ▃·····▂·▂█▃▅ beats 0/12 | 0.8% |
| Tau2 – retail lab | 85.5% ✎ | ▄····▄··▄·▄█ beats 4/5 | 0.5% |
| T1-Bench multi-domain conversational agent pass^3 | 37.7% ✎ | ▂▂··▂·▂·▂▂█▄ beats 10/11 | 0.0% |
coding▁▁▁▃▆██▇▆▄▃▁ #120 of 458 · 21% of its score · 10 tests
Beats Qwen3.5 Plus, Gemini 2.5 Pro, Kimi K2 Thinking here, though they rank higher overall. Trails Llama 3.1 Nemotron Ultra 253B v1 here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Arena WebDev (Code Arena) | 1358.5 ✎ | ▁▂▄▃▅█▄▇▆▄▁▁ beats 32/119 | 5.2% |
| SWE-bench Verified | 35.8% ✎ | ▄▄·····▄▄▄▄█ beats 1/7 | 3.5% |
| Luau Leetcode fully solved (Torpedo Software) | 38.9% ✎ | ▁▁▁▁·▃▂▃▅▃█▇ beats 7/49 | 2.6% |
| SWE-bench Pro (split unspecified) | 9.6% ✎ | ▄···▄···▄▄██ beats 0/7 | 2.6% |
| SWE-bench Multilingual | 27.3% ✎ | ▄·▄·····█▄█▄ beats 1/7 | 1.7% |
| SciCode lab | 40.0% ✎ | █▄·······▄▄▄ beats 4/5 | 1.4% |
| SciCode (level unspecified) | 30.8% ✎ | ▄···▄▄█▄·▄·▄ beats 4/7 | 1.3% |
| LiveCodeBench v6 (window unspecified) lab | 77.1% ✎ | ▂▃▄▄▅██▅▄▇▃▆ beats 42/65 | 1.3% |
2 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LiveCodeBench v6 (Feb–May 2025) lab | 77.1% ✎ | ▄··▄·▄···▄·█ beats 4/5 | 1.0% |
| SWE-bench Pro public set, Qwen-refined | 13.8% ✎ | ▃·····▂·▂█▃▅ beats 0/12 | 0.8% |
chat & writing▁▁▁▃▅▄▅█▆▆▇▃ #69 of 393 * · 3.3% of its score · 2 tests
Beats GPT-5.2, LongCat 2.0 (1.6T-A48B), GPT-5 here, though they rank higher overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LMArena (text) | 1437.5 ✎ | ▁▁▁▂▃▃▃▆▆▇█▃ beats 295/379 | 2.9% |
| IFEval lab | 98.5% ✎ | ▄··▄··█···▄▄ beats 4/5 | 0.3% |
math▁▂▃▅▆▅▄█▄▁▁▁ #98 of 398 · 7.9% of its score · 3 tests
Beats Claude Sonnet 4.6, MiniMax-M3, Nemotron 3 Ultra 550B-A55B here, though they rank higher overall. Trails Gemini 2.5 Flash, GLM-4.5-Air, Granite 4.2 30B here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| OTIS mock AIME 2024–2025 | 82.2% ✎ | ▃▃▄▃▃▃▇▇█▃▂▅ beats 118/193 | 2.8% |
| AIME 2026 lab +1 | 88.3% ✎ | ▄·▄▄····▄··█ beats 4/5 | 2.7% |
| MATH-Vision lab +1 | 82.4% ✎ | ██·█·····███ beats 4/5 | 2.3% |
vision & documents▁▁▃▂▁▃▄▂▆▇█▄ #56 of 147 · 9.1% of its score · 5 tests
Beats DeepSeek V4 Flash Vision (Exp), GPT-5, Claude Opus 4.5 here, though they rank higher overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| MMMU Pro lab +1 | 73.8% ✎ | ██·█····█·██ beats 4/5 | 2.5% |
| MATH-Vision lab +1 | 82.4% ✎ | ██·█·····███ beats 4/5 | 2.3% |
| Arena vision (style controlled) | 1241.9 ✎ | ▁▁▂▂▂▂▄▅▅▆██ beats 94/145 | 2.0% |
| InfographicVQA lab | 89.3% ✎ | ▄█·······█·▄ beats 4/5 | 1.2% |
| OmniDocBench 1.5 ↓ lab +1 | 14.9% ✎ | █·█·····████ beats 4/5 | 1.1% |
web search▃▁▂▆▄█▃▃▁▁·▁ #77 of 80 * · 0.8% of its score · 1 test
Beats GLM-4.5, Claude Haiku 4.5 here, though they rank higher overall. Trails GPT-4.1 nano, GPT-4o mini (2024-07-18), Mistral Small 3.1 24B (2503) here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Humanity's Last Exam with tools lab | 17.2% ✎ | ▃▂▂▁▄▂▃▆█▇▂▆ beats 1/54 | 0.8% |
other tests23 not in a task · 43% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| GPQA Diamond +2 | 73.2% ✎ | ▁▁▁▁▂▄▆▄▅▇█▅ beats 111/208 | 11% |
| MedXPertQA MM lab +1 | 58.1% ✎ | ▂···▂·▃··▆▃█ beats 8/13 | 4.8% |
| MRCR v2 8-needle, 128k lab +1 | 44.1% ✎ | ▄▄·▄···█···▄ beats 4/5 | 2.9% |
| MMLU-Pro lab +1 | 82.6% ✎ | ▄··█···▄··▄▄ beats 4/5 | 2.8% |
| MMMLU lab +1 | 86.3% ✎ | ██··█···█·██ beats 4/5 | 2.5% |
| EQ-Bench 3 (emotional intelligence, judge Elo) | 1272.3 ✎ | ▁·▂▁▄▅▅▃█▄▁▁ beats 40/62 | 1.8% |
| BRIDGE clinical text, zero-shot average (87 tasks) | 44.5% ✎ | ▁▁▁▁▁▂▂▃▄▆█▃ beats 93/97 | 1.7% |
| AraGen-v3 3C3H score (Inception, Claude Sonnet 4 judge) | 67.3% ✎ | ▁▁·▁▂▂▄█▄▅▄▄ beats 53/66 | 1.5% |
15 more tests
$ where to run it
Through an API
api · DeepInfra · $0.14/M · $0.07 in / $0.34 out per 1M tokens · 262k context · deepinfra.com ↗ · price sourceUSD per 1M text tokens, standard uncached input and output. Product: Serverless text generation. API model: google/gemma-4-26B-A4B-it. Settings: service tier=standard, batch=no, cache=uncached input. Additional/excluded charges: Tools, cache storage, priority service and other modalities excluded.. Currency: USD.
llama.cpp · recommended
version
- Install llama.cpp · Homebrew and winget installs name the commands llama-cli and llama-server instead.macOS / Linux
curl -LsSf https://llama.app/install.sh | shWindowsirm https://llama.app/install.ps1 | iex - Run Gemma 4 26B-A4B · needs ~16.8 GB · from huggingface.co/lmstudio-communitychat in the terminal
llama cli -hf lmstudio-community/gemma-4-26B-A4B-it-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf lmstudio-community/gemma-4-26B-A4B-it-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Gemma 4 26B-A4B · needs ~16.8 GB · from huggingface.co/lmstudio-community
- Or download it in the terminal
lms get https://huggingface.co/lmstudio-community/gemma-4-26B-A4B-it-GGUF@Q4_K_M -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
version
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run Gemma 4 26B-A4B · needs ~15.62 GB · from ollama.comchat in the terminal
ollama run gemma4:26b
MLX (Mac)
version
- Install MLX (Mac) · Apple silicon Macs only, text only.with uv
uv tool install mlx-lmorpip install mlx-lm - Run Gemma 4 26B-A4B · needs ~15.6 GB, Mac only · from huggingface.co/lmstudio-communitychat in the terminal
mlx_lm.chat --model lmstudio-community/gemma-4-26B-A4B-it-MLX-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model lmstudio-community/gemma-4-26B-A4B-it-MLX-4bit
Official weights and documentation: huggingface.co/google ↗
$ how the score was worked out · Gemma Team — Gemma 4 Technica… 31%, google/diffusiongemma-26B-A4B… 15%, Kwaipilot/KAT-Coder-V2.5-Dev… 12% and 15 more
Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works
$ published speed measurements · 3
Reference results for the hardware, engine and settings below. They aren't verified speeds of the downloads above or predictions for your machine.
| AMD Ryzen AI Max+ 395 (Strix Halo), Radeon 8060S iGPU; Beelink GTR9 Pro 128GB | UD-Q4_K_M | 55.45 tok/s | llama.cpp 0eca4d490 (build_number 9851 as recorded), Vulkan (RADV) · llama-bench; tg128; 128 generated tokens; context depth 0; n_prompt=0 row; n_batch=2048; n_ubatch=512; flash_attn=1; type_k=f16; type_v=f16; n_gpu_layers=999; threads=16; one sequence; file label r5 repetitions Author's own llama-bench CSV row (avg_ts mean over repetitions, stddev_ts retained). GPU string as recorded: Radeon 8060S Graphics (RADV STRIX_HALO). Unified memory; the guide reports ~124GiB OS-visible. Kernel/Mesa/power profile per the run folder notes. Not prompt processing or multi-request throughput. Curated in the guide's data/benchmarks.csv line 21 (2026-06-30, measured-local): Official llama.cpp b9851 Ubuntu Vulkan release binary with explicit -dev Vulkan0; direct Gemma 4 26B-A4B control. Not a speed headline; Gemma MTP server route remains the stronger Gemma throughput path. | source ↗ |
| AMD Ryzen AI Max+ 395 (Strix Halo), Radeon 8060S iGPU; Beelink GTR9 Pro 128GB | UD-Q4_K_M | 54.18 tok/s | llama.cpp 4fc4ec554 (build_number 9859 as recorded), Vulkan (RADV) · llama-bench; tg128; 128 generated tokens; context depth 0; n_prompt=0 row; n_batch=2048; n_ubatch=512; flash_attn=1; type_k=f16; type_v=f16; n_gpu_layers=999; threads=16; one sequence; file label r5 repetitions Author's own llama-bench CSV row (avg_ts mean over repetitions, stddev_ts retained). GPU string as recorded: Radeon 8060S Graphics (RADV STRIX_HALO). Unified memory; the guide reports ~124GiB OS-visible. Kernel/Mesa/power profile per the run folder notes. Not prompt processing or multi-request throughput. Curated in the guide's data/benchmarks.csv line 24 (2026-07-02, measured-local): Official llama.cpp b9859 Ubuntu Vulkan release binary with explicit -dev Vulkan0 and b9851-matching -fa on -mmp 0 command shape; direct Gemma 4 control remains secondary to the Gemma QAT/MTP server route. | source ↗ |
| AMD Ryzen AI Max+ 395 (Strix Halo), Radeon 8060S iGPU; Beelink GTR9 Pro 128GB | Gemma QAT GGUF UD-Q4_K_XL | 74.8 tok/s | llama.cpp ac4cddeb0 (build_number 9592 as recorded), Vulkan (RADV) · llama-bench; tg128; 128 generated tokens; context depth 0; n_prompt=0 row; n_batch=2048; n_ubatch=512; flash_attn=1; type_k=f16; type_v=f16; n_gpu_layers=999; threads=16; one sequence; file label r5 repetitions Author's own llama-bench CSV row (avg_ts mean over repetitions, stddev_ts retained). GPU string as recorded: Radeon 8060S Graphics (RADV STRIX_HALO). Unified memory; the guide reports ~124GiB OS-visible. Kernel/Mesa/power profile per the run folder notes. Not prompt processing or multi-request throughput. Curated in the guide's data/benchmarks.csv line 32 (2026-06-11, measured-local): Current Gemma 4 26B-A4B QAT direct route; strong direct baseline for the matched QAT MTP server route, but direct llama-bench remains separate from speculative serving. | source ↗ |
$ quantization evidence · 24 measurements
How much of the full-precision result a quantized version kept, measured within one study. Rows from the same study share a table and aren't independent.
| precision | test | full → quantized | kept | |
|---|---|---|---|---|
| FP8 dynamic (data-free; FP8 weights per-channel, activations dynamic per-token; llm-compressor model_free_ptq FP8_DYNAMIC) | AIME 2025 0-shot pass@1, mean of 8 seeds (with thinking) | 0.887 → 0.917 | 103.3% | source ↗ |
| FP8 dynamic (data-free; FP8 weights per-channel, activations dynamic per-token; llm-compressor model_free_ptq FP8_DYNAMIC) | GPQA Diamond 0-shot pass@1 (without thinking) | 0.732 → 0.748 | 102.1% | source ↗ |
| FP8 dynamic (data-free; FP8 weights per-channel, activations dynamic per-token; llm-compressor model_free_ptq FP8_DYNAMIC) | MATH-500 0-shot pass@1 (without thinking) | 0.848 → 0.859 | 101.3% | source ↗ |
| FP8 dynamic (data-free; FP8 weights per-channel, activations dynamic per-token; llm-compressor model_free_ptq FP8_DYNAMIC) | IFEval 0-shot prompt-level strict (with thinking) | 0.944 → 0.951 | 100.7% | source ↗ |
| FP8 dynamic (data-free; FP8 weights per-channel, activations dynamic per-token; llm-compressor model_free_ptq FP8_DYNAMIC) | MATH-500 0-shot pass@1 (with thinking) | 0.859 → 0.859 | 100.1% | source ↗ |
| FP8 dynamic (data-free; FP8 weights per-channel, activations dynamic per-token; llm-compressor model_free_ptq FP8_DYNAMIC) | AIME 2025 0-shot pass@1, mean of 8 seeds (without thinking) | 0.8 → 0.8 | 100.0% | source ↗ |
| FP8 dynamic (data-free; FP8 weights per-channel, activations dynamic per-token; llm-compressor model_free_ptq FP8_DYNAMIC) | MMLU-Pro 0-shot custom-extract (with thinking) | 0.852 → 0.851 | 99.9% | source ↗ |
| FP8 dynamic (data-free; FP8 weights per-channel, activations dynamic per-token; llm-compressor model_free_ptq FP8_DYNAMIC) | MMLU-Pro 0-shot custom-extract (without thinking) | 0.835 → 0.833 | 99.7% | source ↗ |
| FP8 dynamic (data-free; FP8 weights per-channel, activations dynamic per-token; llm-compressor model_free_ptq FP8_DYNAMIC) | IFEval 0-shot prompt-level strict (without thinking) | 0.9 → 0.893 | 99.3% | source ↗ |
| FP8 dynamic (data-free; FP8 weights per-channel, activations dynamic per-token; llm-compressor model_free_ptq FP8_DYNAMIC) | LiveCodeBench v6 0-shot pass@1 (without thinking) | 0.745 → 0.739 | 99.2% | source ↗ |
| FP8 dynamic (data-free; FP8 weights per-channel, activations dynamic per-token; llm-compressor model_free_ptq FP8_DYNAMIC) | GPQA Diamond 0-shot pass@1 (with thinking) | 0.808 → 0.801 | 99.2% | source ↗ |
| FP8 dynamic (data-free; FP8 weights per-channel, activations dynamic per-token; llm-compressor model_free_ptq FP8_DYNAMIC) | LiveCodeBench v6 0-shot pass@1 (with thinking) | 0.779 → 0.76 | 97.6% | source ↗ |
| NVFP4 (FP4 weights/activations with per-group scaling; llm-compressor NVFP4) | MATH-500 0-shot pass@1 (without thinking) | 0.848 → 0.876 | 103.3% | source ↗ |
| NVFP4 (FP4 weights/activations with per-group scaling; llm-compressor NVFP4) | IFEval 0-shot prompt-level strict (with thinking) | 0.944 → 0.942 | 99.7% | source ↗ |
| NVFP4 (FP4 weights/activations with per-group scaling; llm-compressor NVFP4) | MATH-500 0-shot pass@1 (with thinking) | 0.859 → 0.851 | 99.1% | source ↗ |
| NVFP4 (FP4 weights/activations with per-group scaling; llm-compressor NVFP4) | GPQA Diamond 0-shot pass@1 (without thinking) | 0.732 → 0.724 | 98.9% | source ↗ |
| NVFP4 (FP4 weights/activations with per-group scaling; llm-compressor NVFP4) | MMLU-Pro 0-shot custom-extract (without thinking) | 0.835 → 0.817 | 97.8% | source ↗ |
| NVFP4 (FP4 weights/activations with per-group scaling; llm-compressor NVFP4) | MMLU-Pro 0-shot custom-extract (with thinking) | 0.852 → 0.833 | 97.8% | source ↗ |
| NVFP4 (FP4 weights/activations with per-group scaling; llm-compressor NVFP4) | IFEval 0-shot prompt-level strict (without thinking) | 0.9 → 0.872 | 97.0% | source ↗ |
| NVFP4 (FP4 weights/activations with per-group scaling; llm-compressor NVFP4) | GPQA Diamond 0-shot pass@1 (with thinking) | 0.808 → 0.776 | 96.0% | source ↗ |
| NVFP4 (FP4 weights/activations with per-group scaling; llm-compressor NVFP4) | LiveCodeBench v6 0-shot pass@1 (with thinking) | 0.779 → 0.728 | 93.4% | source ↗ |
| NVFP4 (FP4 weights/activations with per-group scaling; llm-compressor NVFP4) | LiveCodeBench v6 0-shot pass@1 (without thinking) | 0.745 → 0.682 | 91.6% | source ↗ |
| NVFP4 (FP4 weights/activations with per-group scaling; llm-compressor NVFP4) | AIME 2025 0-shot pass@1, mean of 8 seeds (with thinking) | 0.887 → 0.813 | 91.5% | source ↗ |
| NVFP4 (FP4 weights/activations with per-group scaling; llm-compressor NVFP4) | AIME 2025 0-shot pass@1, mean of 8 seeds (without thinking) | 0.8 → 0.662 | 82.8% | source ↗ |
$ improve this page
Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.
data updated · sources and licences · json