Gemma 4 26B-A4B
25.8B total, 4B active · 256k context · apache-2.0 · released 2026-03-11
chatcodingagenticreasoningvision
In short
Gemma 4 26B-A4B is an open model from Google with 25.8B parameters (4B active per token). At UD-Q4_K_M, Gemma 4 26B-A4B needs about 17 GB of memory at 8k context and 17 GB at 8k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in Germany that runs Gemma 4 26B-A4B fully in memory at 8k context is the NVIDIA Tesla P40, 389 € at eBay, at about 32 tok/s (estimated).
Updated . Speeds are estimates; how they are worked out.
Cheapest way to run it in Germany today
NVIDIA Tesla P40, used at eBay
Runs Gemma 4 26B-A4B at UD-Q6_K fully in memory at 8k context, about 32 tok/sest.
389 €
In stock, checked
What to run it on in Germany
Fully in memory at 8k context, priced at retailers today.
Cheapest
NVIDIA Tesla P4032tok/sest.UD-Q6_K
389 €
Best value
NVIDIA Tesla P4032tok/sest.UD-Q6_K
389 €
Fastest
NVIDIA GeForce RTX 5090147tok/sest.Q8_0
6.888 €
Mac
Mac mini M4 Pro 48GB23tok/sest.Q8_0
2.549 €
All hardware that runs it
Everything we price, best value first. Two cards split the model by layers.
| Hardware | Quant | Fits | Decode | Price | tok/s per 1,000 |
|---|---|---|---|---|---|
| NVIDIA Tesla P40 | UD-Q6_K | fits | 32 tok/s | 389 € | 83.3 |
| AMD Radeon RX 7900 XT | Q5_K_M | fits | 78 tok/s | 999 € | 78.4 |
| Intel Arc Pro B60 | UD-Q6_K | fits | 32 tok/s | 1.184 € | 26.7 |
| Mac mini M4 32GB | UD-Q5_K_M | fits | 13 tok/s | 1.330 € | 9.6 |
| AMD Radeon RX 7900 XTX | UD-Q6_K | fits | 80 tok/s | 1.555 € | 51.3 |
| Intel Arc Pro B70 | Q8_0 | fits | 37 tok/s | 1.749 € | 21.0 |
| AMD Radeon AI PRO R9700 | Q8_0 | fits | 47 tok/s | 2.300 € | 20.2 |
| Mac mini M4 Pro 48GB | Q8_0 | fits | 23 tok/s | 2.549 € | 9.2 |
| NVIDIA GeForce RTX 3090 | UD-Q6_K | fits | 88 tok/s | 2.790 € | 31.4 |
| Mac mini M4 Pro 64GB | Q8_0 | fits | 23 tok/s | 2.934 € | 8.0 |
| NVIDIA RTX PRO 4000 Blackwell | UD-Q6_K | fits | 63 tok/s | 3.339 € | 18.9 |
| GMKtec EVO-X2 Ryzen AI Max+ 395 128GB | Q8_0 | fits | 19 tok/s | 3.850 € | 4.8 |
| NVIDIA GeForce RTX 3090 Ti | UD-Q6_K | fits | 95 tok/s | 4.284 € | 22.1 |
| Mac Studio M4 Max 64GB | Q8_0 | fits | 47 tok/s | 4.299 € | 10.9 |
| NVIDIA GeForce RTX 4090 | UD-Q6_K | fits | 95 tok/s | 4.790 € | 19.7 |
| NVIDIA RTX PRO 4500 Blackwell | Q8_0 | fits | 73 tok/s | 4.878 € | 15.0 |
| Mac Studio M4 Max 128GB | Q8_0 | fits | 47 tok/s | 5.499 € | 8.5 |
| Mac Studio M3 Ultra 96GB | Q8_0 | fits | 70 tok/s | 5.999 € | 11.7 |
| NVIDIA GeForce RTX 5090 | Q8_0 | fits | 147 tok/s | 6.888 € | 21.3 |
| ASUS Ascent GX10 128GB | Q8_0 | fits | 22 tok/s | 7.306 € | 3.1 |
| Dell Pro Max with GB10 128GB | Q8_0 | fits | 22 tok/s | 8.063 € | 2.8 |
| NVIDIA RTX PRO 5000 Blackwell 48GB | Q8_0 | fits | 110 tok/s | 8.866 € | 12.4 |
| NVIDIA DGX Spark 128GB | Q8_0 | fits | 22 tok/s | 9.091 € | 2.5 |
| Mac Studio M3 Ultra 256GB | Q8_0 | fits | 70 tok/s | 15.555 € | 4.5 |
| Mac Studio M3 Ultra 512GB | Q8_0 | fits | 70 tok/s | 17.995 € | 3.9 |
| NVIDIA RTX PRO 6000 Blackwell | Q8_0 | fits | 147 tok/s | 18.327 € | 8.0 |
| Framework Desktop Ryzen AI Max+ 395 128GB | Q8_0 | fits | 19 tok/s | – | – |
| Framework Desktop Ryzen AI Max+ 395 64GB | Q8_0 | fits | 19 tok/s | – | – |
| NVIDIA RTX PRO 4000 Blackwell SFF Edition | UD-Q6_K | fits | 41 tok/s | – | – |
| Minisforum MS-S1 Max Ryzen AI Max+ 395 128GB | Q8_0 | fits | 19 tok/s | – | – |
| NVIDIA RTX 6000 Ada Generation | Q8_0 | fits | 79 tok/s | – | – |
| NVIDIA RTX A6000 | Q8_0 | fits | 63 tok/s | – | – |
| Lenovo ThinkStation PGX GB10 128GB | Q8_0 | fits | 22 tok/s | – | – |
| NVIDIA RTX PRO 5000 Blackwell 72GB | Q8_0 | fits | 110 tok/s | – | – |
| AMD Radeon PRO W7900 | Q8_0 | fits | 63 tok/s | – | – |
| Beelink GTR9 Pro Ryzen AI Max+ 395 128GB | Q8_0 | fits | 19 tok/s | – | – |
| Intel Arc B570 | MXFP4 | offload | 16 tok/s | 282 € | 57.5 |
| NVIDIA GeForce RTX 3060 12GB | MXFP4 | offload | 23 tok/s | 415 € | 54.2 |
| NVIDIA GeForce RTX 5050 | MXFP4 | offload | 16 tok/s | 428 € | 36.9 |
| NVIDIA GeForce RTX 5060 | MXFP4 | offload | 17 tok/s | 469 € | 35.4 |
| Intel Arc B580 | MXFP4 | offload | 20 tok/s | 498 € | 40.6 |
| NVIDIA GeForce RTX 3080 10GB | MXFP4 | offload | 21 tok/s | 518 € | 41.1 |
| NVIDIA GeForce RTX 5060 Ti 8GB | MXFP4 | offload | 17 tok/s | 520 € | 31.9 |
| NVIDIA GeForce RTX 4060 | MXFP4 | offload | 15 tok/s | 556 € | 27.7 |
| NVIDIA GeForce RTX 4060 Ti 16GB | MXFP4 | offload | 31 tok/s | 625 € | 50.1 |
| Intel Arc Pro B50 | MXFP4 | offload | 19 tok/s | 648 € | 29.5 |
| AMD Radeon RX 9060 XT 16GB | MXFP4 | offload | 30 tok/s | 650 € | 45.8 |
| NVIDIA GeForce RTX 4070 Super | MXFP4 | offload | 25 tok/s | 700 € | 35.6 |
| Intel Arc A770 16GB | MXFP4 | offload | 38 tok/s | 787 € | 48.3 |
| NVIDIA GeForce RTX 5060 Ti 16GB | MXFP4 | offload | 44 tok/s | 799 € | 54.8 |
| AMD Radeon RX 9070 | MXFP4 | offload | 48 tok/s | 807 € | 59.4 |
| AMD Radeon RX 7600 XT | MXFP4 | offload | 28 tok/s | 833 € | 33.0 |
| NVIDIA GeForce RTX 4070 | MXFP4 | offload | 25 tok/s | 843 € | 29.5 |
| NVIDIA GeForce RTX 5070 | MXFP4 | offload | 27 tok/s | 877 € | 30.3 |
| NVIDIA GeForce RTX 4060 Ti 8GB | MXFP4 | offload | 16 tok/s | 878 € | 17.7 |
| NVIDIA RTX PRO 2000 Blackwell | MXFP4 | offload | 31 tok/s | 880 € | 35.6 |
| AMD Radeon RX 9070 XT | MXFP4 | offload | 48 tok/s | 903 € | 53.0 |
| AMD Radeon RX 7800 XT | MXFP4 | offload | 47 tok/s | 1.069 € | 44.2 |
| NVIDIA GeForce RTX 5070 Ti | MXFP4 | offload | 68 tok/s | 1.389 € | 49.2 |
| NVIDIA GeForce RTX 4070 Ti Super | MXFP4 | offload | 58 tok/s | 1.500 € | 38.3 |
| NVIDIA GeForce RTX 5080 | MXFP4 | offload | 71 tok/s | 1.889 € | 37.5 |
| NVIDIA GeForce RTX 4080 Super | MXFP4 | offload | 61 tok/s | 3.263 € | 18.7 |
1 other card or machine we price cannot hold it at this context.
Memory needed
Weights, KV cache and runtime buffers at each context length (KV cache at fp16).
| Quant | File | @8k | @32k | @64k | @128k |
|---|---|---|---|---|---|
| UD-Q4_K_Mgguf | 15.8 GB | 16.9 GB | 17.5 GB | 18.3 GB | 19.9 GB |
| mlx-4bitmlx | 14.3 GB | 15.4 GB | 16.0 GB | 16.8 GB | 18.4 GB |
| MXFP4gguf | 15.4 GB | 16.5 GB | 17.1 GB | 17.9 GB | 19.6 GB |
| Q4_K_Mgguf | 15.9 GB | 17.0 GB | 17.6 GB | 18.4 GB | 20.0 GB |
| Q5_K_Mgguf | 18.0 GB | 19.1 GB | 19.7 GB | 20.5 GB | 22.1 GB |
| UD-Q5_K_Mgguf | 19.7 GB | 20.8 GB | 21.4 GB | 22.2 GB | 23.8 GB |
| mlx-6bitmlx | 20.2 GB | 21.3 GB | 21.9 GB | 22.7 GB | 24.3 GB |
| Q6_Kgguf | 21.3 GB | 22.4 GB | 23.0 GB | 23.8 GB | 25.4 GB |
| UD-Q6_Kgguf | 21.6 GB | 22.7 GB | 23.3 GB | 24.1 GB | 25.7 GB |
| Q8_0gguf | 25.0 GB | 26.1 GB | 26.7 GB | 27.5 GB | 29.2 GB |
| mlx-8bitmlx | 26.0 GB | 27.1 GB | 27.7 GB | 28.6 GB | 30.2 GB |
Run it
Copy a command for the runtime you use.
- UD-Q4_K_M
- Ollama
ollama run hf.co/unsloth/gemma-4-26B-A4B-it-GGUF:UD-Q4_K_M - LM Studio
lms get unsloth/gemma-4-26B-A4B-it-GGUF@ud-q4_k_m - llama.cpp
llama-server -hf unsloth/gemma-4-26B-A4B-it-GGUF:UD-Q4_K_M
- Ollama
- mlx-4bit
- LM Studio
lms get mlx-community/gemma-4-26B-A4B-it-4bit - MLX
mlx_lm.server --model mlx-community/gemma-4-26B-A4B-it-4bit
- LM Studio
- MXFP4
- Ollama
ollama run hf.co/unsloth/gemma-4-26B-A4B-it-GGUF:MXFP4 - LM Studio
lms get unsloth/gemma-4-26B-A4B-it-GGUF@mxfp4 - llama.cpp
llama-server -hf unsloth/gemma-4-26B-A4B-it-GGUF:MXFP4
- Ollama
- Q4_K_M
- Ollama
ollama run hf.co/bartowski/google_gemma-4-26B-A4B-it-GGUF:Q4_K_M - LM Studio
lms get bartowski/google_gemma-4-26B-A4B-it-GGUF@q4_k_m - llama.cpp
llama-server -hf bartowski/google_gemma-4-26B-A4B-it-GGUF:Q4_K_M
- Ollama
- Q5_K_M
- Ollama
ollama run hf.co/bartowski/google_gemma-4-26B-A4B-it-GGUF:Q5_K_M - LM Studio
lms get bartowski/google_gemma-4-26B-A4B-it-GGUF@q5_k_m - llama.cpp
llama-server -hf bartowski/google_gemma-4-26B-A4B-it-GGUF:Q5_K_M
- Ollama
- UD-Q5_K_M
- Ollama
ollama run hf.co/unsloth/gemma-4-26B-A4B-it-GGUF:UD-Q5_K_M - LM Studio
lms get unsloth/gemma-4-26B-A4B-it-GGUF@ud-q5_k_m - llama.cpp
llama-server -hf unsloth/gemma-4-26B-A4B-it-GGUF:UD-Q5_K_M
- Ollama
- mlx-6bit
- LM Studio
lms get mlx-community/gemma-4-26b-a4b-it-6bit - MLX
mlx_lm.server --model mlx-community/gemma-4-26b-a4b-it-6bit
- LM Studio
- Q6_K
- Ollama
ollama run hf.co/bartowski/google_gemma-4-26B-A4B-it-GGUF:Q6_K - LM Studio
lms get bartowski/google_gemma-4-26B-A4B-it-GGUF@q6_k - llama.cpp
llama-server -hf bartowski/google_gemma-4-26B-A4B-it-GGUF:Q6_K
- Ollama
- UD-Q6_K
- Ollama
ollama run hf.co/unsloth/gemma-4-26B-A4B-it-GGUF:UD-Q6_K - LM Studio
lms get unsloth/gemma-4-26B-A4B-it-GGUF@ud-q6_k - llama.cpp
llama-server -hf unsloth/gemma-4-26B-A4B-it-GGUF:UD-Q6_K
- Ollama
- Q8_0
- Ollama
ollama run hf.co/unsloth/gemma-4-26B-A4B-it-GGUF:Q8_0 - LM Studio
lms get unsloth/gemma-4-26B-A4B-it-GGUF@q8_0 - llama.cpp
llama-server -hf unsloth/gemma-4-26B-A4B-it-GGUF:Q8_0
- Ollama
- mlx-8bit
- LM Studio
lms get mlx-community/gemma-4-26B-A4B-it-8bit - MLX
mlx_lm.server --model mlx-community/gemma-4-26B-A4B-it-8bit
- LM Studio
Questions
- How much VRAM does Gemma 4 26B-A4B need?
- At UD-Q4_K_M, Gemma 4 26B-A4B needs about 17 GB of memory at 8k context and 17 GB at 8k, counting the weights, the KV cache and runtime buffers.
- What is the best GPU for running Gemma 4 26B-A4B locally?
- The cheapest hardware in Germany that runs Gemma 4 26B-A4B fully in memory at 8k context is the NVIDIA Tesla P40, 389 € at eBay, at about 32 tok/s (estimated). The fastest we price is the NVIDIA GeForce RTX 5090, at about 147 tok/s.
- What is the cheapest way to run Gemma 4 26B-A4B in Germany today?
- The NVIDIA Tesla P40, 389 € used at eBay, in stock: it runs Gemma 4 26B-A4B at UD-Q6_K fully in memory at 8k context, at about 32 tok/s (estimated).
- Can I run Gemma 4 26B-A4B on a 16 GB GPU?
- Only partly: at 8k context it does not fit in 16 GB, so part of it runs from system RAM and it slows to about 31 tok/s on the NVIDIA GeForce RTX 4060 Ti 16GB (estimated).
- Can I run Gemma 4 26B-A4B on a 24 GB GPU?
- Yes: at UD-Q6_K it fits fully in 24 GB at 8k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 95 tok/s (estimated).
- How do I run Gemma 4 26B-A4B locally?
- With Ollama: ollama run hf.co/unsloth/gemma-4-26B-A4B-it-GGUF:UD-Q4_K_M (the UD-Q4_K_M build). LM Studio and llama.cpp commands are on this page.
- What licence is Gemma 4 26B-A4B released under?
- apache-2.0, which allows commercial use.