ai.canshu.com
中文
VRAM Calculator Advisor & TCO API Pricing Compare Models Leaderboard GPUs

Search models, GPUs, and tools

↑↓ Navigate · Enter Open · ★ Watchlist prioritized ai.canshu.com
Q4_K_M: Tight Fit (Watch Context) 17.92 GB / 18.7 GB Usable

Gemma-4-26B-A4B-IT (MoE) on Apple Mac mini M4 (24GB Unified): VRAM Requirement & Speed Estimate

Yes. At Q4_K_M 4-bit quantization with a 16K context window, Gemma-4-26B-A4B-IT (MoE) requires 17.92 GB of VRAM (15.76 GB weights + 0.55 GB KV cache + 1.62 GB overhead), fitting within Mac mini M4 24G's 18.7 GB usable memory at ~27 tokens/s.

Concurrency (Batch):
MoE 26B / A4B·30L (d=2816)·16Q/2KV·Ctx 256K·Text+Image+Video
Runnable Models →
24 GB Unified·120 GB/s·Safe Usable 18.7 GB
Tight Fit (Watch Context)17.92 / 18.7 GB~27 tok/s
3. Weight Quantization
4. Per-Request Context16K (16,384 tok)
Verified: 2026-11-20·Roofline bandwidth/compute estimate (Batch=1)
Tight Fit (Watch Context)
17.92/ 18.7 GB usable

Physical 24 GB · Load 95.7%

Theoretical Decode Speed
~27tokens/s

MoE: reads only 2.42 GB active weights/step

Max Context at Batch=1
54K/ 256K

Enable Q8/Q4 KV quantization to scale batch concurrency

Weights: 15.76 GBKV Cache (1×16K): 0.55 GBOverhead: 1.62 GB
Reserves ~22% unified memory for OS
🏃 Smooth & Snappy~18.5s for a 500-token response
Reference Launch CLI:
OLLAMA_CONTEXT_LENGTH=16384 ollama run gemma4:26b-a4b

Mac mini M4 24G Fits Gemma-4-26B-A4B-IT (MoE) · Cost & TCO

Approx. $799 (~$33/GB VRAM) · 40W TDP

📊 All Quantization Levels for Gemma-4-26B-A4B-IT (MoE) on Mac mini M4 24G

Quantization Total VRAM (16K) Verdict Est. Speed Max Context
FP16 / BF16 54.89 GB Out of VRAM (OOM) — —
FP8 / Q8_0 30.02 GB Out of VRAM (OOM) — —
GGUF Q6_K 23.59 GB Out of VRAM (OOM) — —
GGUF Q5_K_M 20.71 GB Out of VRAM (OOM) — —
Q4_K_M / AWQ 17.92 GB Tight Fit (Watch Context) ~27 tok/s 54K
GGUF IQ4_XS 15.93 GB Smooth Fit ~33 tok/s 148K
GGUF Q3_K_M 14.81 GB Smooth Fit ~35.6 tok/s 202K
GGUF Q2_K 12.29 GB Smooth Fit ~42.9 tok/s 256K

💡 Recommended Alternative GPUs & Macs for Gemma-4-26B-A4B-IT (MoE)

Frequently Asked Questions

Can Apple Mac mini M4 (24GB Unified) run Gemma-4-26B-A4B-IT (MoE) locally?

Yes. At Q4_K_M 4-bit quantization with a 16K context window, Gemma-4-26B-A4B-IT (MoE) requires 17.92 GB of VRAM (15.76 GB weights + 0.55 GB KV cache + 1.62 GB overhead), fitting within Mac mini M4 24G's 18.7 GB usable memory at ~27 tokens/s.

What is the best quantization for Gemma-4-26B-A4B-IT (MoE) on Mac mini M4 24G?

The highest-quality quantization that fits cleanly on Mac mini M4 24G is Q4_K_M / AWQ (Sweet Spot (Recommended)), using 17.92 GB VRAM at ~27 tokens/s with up to 54K context.

How much VRAM does Gemma-4-26B-A4B-IT (MoE) need in full FP16 precision?

In unquantized FP16/BF16 precision (16K context), Gemma-4-26B-A4B-IT (MoE) requires 54.89 GB VRAM (52 GB for weights alone). Because it uses a Mixture-of-Experts (MoE) architecture, all 26B parameters must sit in memory, while only 4B active parameters are read per token.