作者: Jakub Rusinowski · 最后更新: 2026年6月3日
Yes, but it is tight
Yes, but it is tight — Gemma 4 26B-A4B at Q4_K_M needs about 18.2 GB of the 19.2 GB usable on 24 GB system RAM, leaving only ~1 GB before the runtime starts swapping. Expect ~19.6 tok/s (estimated), with room for about 8,192 tokens of context.
Confidence: low · Recommended quantization: Q4_K_M · Estimated speed: ~19.6 tok/s
or compare on Vast.ai from $0.35/hr (typical low · varies)
As an Amazon Associate we earn from qualifying purchases. Cloud GPU links are referral links — we may earn a commission at no extra cost to you.
| Usable memory for models | 19.2 GB |
| Memory bandwidth | 90 GB/s |
| Quant | Memory needed | Fits 19.2 GB? | Max context | Est. speed | Download |
|---|---|---|---|---|---|
| F16 | 54.5 GB | ✗ No | — | — | 52 GB |
| Q8_0 | 30.1 GB | ✗ No | — | — | 27.6 GB |
| Q6_K | 23.8 GB | ✗ No | — | — | 21.3 GB |
| Q5_K_M | 20.9 GB | ✗ No | — | — | 18.4 GB |
| Q4_K_M | 18.2 GB | ✓ Yes | 8K | ~19.6 tok/s | 15.7 GB |
| Q3_K_M | 13.6 GB | ✓ Yes | 32K | ~24.8 tok/s | 11.1 GB |
| Q2_K | 11.1 GB | ✓ Yes | 32K | ~28.9 tok/s | 8.5 GB |
| Variant | Needs at Q4_K_M | Fits? | Est. speed |
|---|---|---|---|
| Gemma 4 31B | 21.3 GB | ✗ Too large | — |
| Gemma 4 26B-A4B | 18.2 GB | ✓ Fits | ~19.6 tok/s |
| Gemma 4 12B (Unified) | 9.4 GB | ✓ Fits | ~8.3 tok/s |
| Gemma 4 E4B | 6.8 GB | ✓ Fits | ~12.1 tok/s |
| Gemma 4 E2B | 4.9 GB | ✓ Fits | ~18 tok/s |
llama.cpp (CPU build) or Ollama — both run without a GPU
Yes, but it is tight — Gemma 4 26B-A4B at Q4_K_M needs about 18.2 GB of the 19.2 GB usable on 24 GB system RAM, leaving only ~1 GB before the runtime starts swapping. Expect ~19.6 tok/s (estimated), with room for about 8,192 tokens of context.
Q4_K_M — it needs about 18.2 GB of the 19.2 GB available, downloads as roughly 15.7 GB, and runs at an estimated 19.6 tokens/sec with up to 8K of context.
Nothing binding — the model fits with headroom and generates at a usable speed on this hardware.
llama.cpp (CPU build) or Ollama — both run without a GPU