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.
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of Gemma 4 26B-A4B, out of 897 with a score, then more from Google.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 195 | 63±2 | local | |||
| 196 | 63±1 | local | |||
| 197 | 63±1 | api $0.14/M +local | |||
| 198 | 63±1 | api $2.00/M | |||
| 199 | 63±1 | local | |||
| more from Google | |||||
| 3 | 84±1 | api $4.00/M | |||
| 9 | 81±1 | api $4.00/M | |||
| 14 | 79±2 | api $3.00/M | |||
$ what it's good at
agent tasks▁▁▃▆█▄▅▅▃▃▂▁ #174 of 319 · 25% 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.7% |
| Terminal-Bench 2.1 | 27.3% ✎ | ▄······█▄▄█▄ beats 2/7 | 3.1% |
| Terminal-Bench Hard lab | 14.0% ✎ | ██··█·█·█··█ beats 3/5 | 3.0% |
| SWE-bench Pro (split unspecified) | 9.6% ✎ | ▄···▄···▄▄██ beats 0/7 | 2.8% |
| ContractBench success rate (33 observation-contract tool tasks) | 38.4% ✎ | ▆··▆▄▂▄▂▆▆█▄ beats 10/23 | 2.5% |
| τ²-bench Telecom lab | 43.0% ✎ | ▄····█··▄·▄▄ beats 3/5 | 2.2% |
| τ²-bench aggregate lab +1 | 68.2% ✎ | ▄·▄··▄····█▄ beats 3/5 | 2.1% |
| SWE-bench Multilingual | 27.3% ✎ | ▄·▄·····█▄█▄ beats 1/7 | 1.9% |
5 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Tau2 – airline lab | 76.0% ✎ | ▃·▃··▃·····█ beats 5/5 | 1.5% |
| Humanity's Last Exam with tools lab | 17.2% ✎ | ▁·▁▃▁▂▃▂█▅▄▁ beats 3/64 | 0.8% |
| SWE-bench Pro public set, Qwen-refined | 13.8% ✎ | ▃·····▂·▂█▃▅ beats 0/12 | 0.7% |
| 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▁▁▁▃▆▇█▆▆▃▃▁ #133 of 474 · 22% of its score · 10 tests
Beats Qwen3-Coder-Next (80B-A3B), Qwen3.5 Plus, Gemini 2.5 Pro here, though they rank higher overall. Trails Llama 3.1 Nemotron Ultra 253B v1, Solar Pro 4 here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Arena WebDev (Code Arena) | 1358.8 ✎ | ▁▂▄▃▇█▅▇▇▅▂▁ beats 32/134 | 5.4% |
| SWE-bench Verified | 35.8% ✎ | ▄▄·····▄▄▄▄█ beats 1/7 | 3.7% |
| Luau Leetcode fully solved (Torpedo Software) | 38.9% ✎ | ▁▁▁▁·▃▂▃▅▃█▇ beats 7/49 | 2.9% |
| SWE-bench Pro (split unspecified) | 9.6% ✎ | ▄···▄···▄▄██ beats 0/7 | 2.8% |
| SWE-bench Multilingual | 27.3% ✎ | ▄·▄·····█▄█▄ beats 1/7 | 1.9% |
| SciCode (level unspecified) | 30.8% ✎ | ▄···▄▄█▄·▄·▄ beats 4/7 | 1.4% |
| SciCode lab | 40.0% ✎ | █▄·······▄▄▄ beats 4/5 | 1.3% |
| LiveCodeBench v6 (window unspecified) lab | 77.1% ✎ | ▂▃▄▄▅██▆▄▇▄▆ beats 43/67 | 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 | 0.8% |
| SWE-bench Pro public set, Qwen-refined | 13.8% ✎ | ▃·····▂·▂█▃▅ beats 0/12 | 0.7% |
chat & writing▁▁▁▃▅▄▆█▇▇▇▃ #71 of 405 * · 3.3% of its score · 2 tests
Beats Claude Haiku 5.5, Inkling 2 Small (594B-A17B), GPT-5.2 here, though they rank higher overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LMArena (text) | 1437.4 ✎ | ▁▁▁▂▃▂▃▆▆▇█▃ beats 302/388 | 3.0% |
| IFEval lab | 98.5% ✎ | ▄··▄··█···▄▄ beats 4/5 | 0.3% |
math▁▁▃▅█▆▅█▄▁▁▁ #107 of 440 · 7.0% of its score · 3 tests
Beats Claude Sonnet 4.6, Claude Opus 4.5, MiniMax-M3 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 |
|---|---|---|---|
| AIME 2026 lab +1 | 88.3% ✎ | ▄·▄▄····▄··█ beats 4/5 | 2.6% |
| OTIS mock AIME 2024–2025 | 82.2% ✎ | ▃▃▄▃▃▃▇▆█▄▃▆ beats 118/207 | 2.4% |
| MATH-Vision lab +1 | 82.4% ✎ | ██·█·····███ beats 4/5 | 2.1% |
vision & documents▁▁▂▂▁▃▄▂▆▇█▄ #61 of 154 · 8.6% of its score · 5 tests
Beats GPT-6 Luna, DeepSeek V4 Flash Vision (Exp), GPT-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.4% |
| MATH-Vision lab +1 | 82.4% ✎ | ██·█·····███ beats 4/5 | 2.1% |
| Arena vision (style controlled) | 1241.8 ✎ | ▁▁▂▂▂▂▃▅▅▅█▇ beats 98/152 | 2.1% |
| InfographicVQA lab | 89.3% ✎ | ▄█·······█·▄ beats 4/5 | 1.1% |
| OmniDocBench 1.5 ↓ lab +1 | 14.9% ✎ | █·█·····████ beats 4/5 | 1.0% |
web search▃▁▂▆▅█▄▃▁▁▁▁ #82 of 85 * · 0.8% of its score · 1 test
Beats GLM-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 3/64 | 0.8% |
other tests25 not in a task · 45% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| GPQA Diamond +2 | 73.2% ✎ | ▁▁▁▁▂▃▅▄▄▆█▃ beats 111/221 | 10% |
| MedXPertQA MM lab +1 | 58.1% ✎ | ▂···▂·▃··▆▃█ beats 8/13 | 4.1% |
| MMLU-Pro lab +1 | 82.6% ✎ | ▄··█···▄··▄▄ beats 4/5 | 2.8% |
| MRCR v2 8-needle, 128k lab +1 | 44.1% ✎ | ▄▄·▄···█···▄ beats 4/5 | 2.5% |
| MMMLU lab +1 | 86.3% ✎ | ██··█···█·██ beats 4/5 | 2.4% |
| BRIDGE clinical text, zero-shot average (87 tasks) | 44.5% ✎ | ▁▁▁▁▁▂▂▃▄▆█▃ beats 93/97 | 2.0% |
| EQ-Bench 3 (emotional intelligence, judge Elo) | 1272.3 ✎ | ▁·▂▁▄▅▅▃█▄▁▁ beats 40/62 | 1.9% |
| AraGen-v3 3C3H score (Inception, Claude Sonnet 4 judge) | 67.3% ✎ | ▁▁·▁▂▂▄█▄▅▄▄ beats 53/66 | 1.8% |
17 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.
Memory is what a version takes in GPU memory (or a Mac's unified memory) with an 8k-token conversation. With less, it runs partly from system RAM, more slowly. Enter your machine to see what runs at full speed.
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 20 GB memory, 18 GB download · 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 20 GB memory, 18 GB download · 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 20.7 GB memory, 18.7 GB download · 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 17.6 GB memory, 15.6 GB download, 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
Model repository and documentation: huggingface.co/google ↗
$ how the score was worked out · Gemma Team — Gemma 4 Technica… 29%, google/diffusiongemma-26B-A4B… 14%, Kwaipilot/KAT-Coder-V2.5-Dev… 13% and 16 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 · 6
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 repetitionsnoteAuthor'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 repetitionsnoteAuthor'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 repetitionsnoteAuthor'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 ↗ |
| Radeon RX 9070 XT | q4_k_m · layers offloaded | 34.85 tok/s | ollama (version not recorded) · llmfit bench 1.1.16 via Ollama: a warm-up, then 3 runs of up to 300 generated tokens (300 on average); eval_count ÷ eval_duration, generation onlynoteCommunity submission to llmfit on 2026-09-26 (AMD Ryzen 7 5700X 8-Core Processor, 31 GB RAM, linux); 27.49–42.69 tok/s across runs. The download is larger than the GPU's memory, so Ollama ran part of it on the CPU. | source ↗ |
| NVIDIA GeForce GTX 1650 with Max-Q Design, 32 GB RAM | q4_k_m · layers offloaded | 5.15 tok/s | ollama (version not recorded) · llmfit bench 1.1.12 via Ollama: a warm-up, then 2 runs of up to 300 generated tokens (300 on average); eval_count ÷ eval_duration, generation onlynoteCommunity submission to llmfit on 2026-09-01 (Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz, 32 GB RAM, windows); 4.95–5.35 tok/s across runs. The download is larger than the GPU's memory, so Ollama ran part of it on the CPU. | source ↗ |
| NVIDIA GeForce GTX 1650 with Max-Q Design, 32 GB RAM | q4_k_m · layers offloaded | 5.18 tok/s | ollama (version not recorded) · llmfit bench 1.1.12 via Ollama: a warm-up, then 2 runs of up to 300 generated tokens (300 on average); eval_count ÷ eval_duration, generation onlynoteCommunity submission to llmfit on 2026-09-01 (Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz, 32 GB RAM, windows); 4.56–5.8 tok/s across runs. The download is larger than the GPU's memory, so Ollama ran part of it on the CPU. | 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