Gemma 4 26B-A4B
25.8B total, 4B active · 256k context · apache-2.0 · released 2026-03-11
chatcodingagenticreasoningvision
What to run it on in the US
Fully in memory at 8k context, priced at retailers today.
Something we price holds it fully in memory, but none reaches 15 tok/s, our bar for recommending it. The table below has the speeds.
All hardware that runs it
Everything we price, best value first. Two cards split the model by layers.
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 |
| UD-Q5_K_Mgguf | 19.7 GB | 20.8 GB | 21.4 GB | 22.2 GB | 23.8 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
- 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
- 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