Gemma 4 26B-A4B

138.8 gen tok/s with ~6 GB spare VRAM

Gemma-4-26B-A4B header plate: model name, tagline "Lightest big-model footprint", spec matrix with struck-through stock benchmark gen 106-128 tok/s and tuned benchmark gen 138.8 tok/s, context 200,000, GPU 1 x RTX 3090, VRAM ~18 GB at 200K, arch 26B MoE 4B active, slot chip gemma4-26b-a4b.

Gemma 4 26B-A4B is the low-footprint option: ~16 GB of Q4_K_M weights, the smallest MoE installed, using ~18 GB at 200K context and leaving ~6 GB of the card free. It serves jobs that need most of the GPU for something else while still keeping a capable model loaded.

Decode lands at 138.8 tok/s in the sweep. This model arrived after the move off Ollama, so no first-run stock number exists for it locally, and no community stock figure was recorded. The tuned slot is the only measured figure for this model.

Not the fastest decode despite the smallest weights, active-parameter count rules, as usual. Thinking is extracted server-side with the thinking-mode sampling pair (1.0 / 0.95). Instruct-style pairs degrade it.

Specifications

FieldValue
Architecture26B total / 4B active MoE
Served byllama.cpp — the llama-server process behind the orchestrator
WeightsQ4_K_M, ~16 GB
Context200,000
GPU footprintSingle RTX 3090
VRAM on one RTX 3090~18 GB @ 200K
Role hereLight mid-size general model
Sourcegoogle/gemma-4-26B-A4B-it · GGUF: unsloth/gemma-4-26B-A4B-it-GGUF
KV cacheq4_0 (K and V)
Batchingubatch 256 / batch 2048
ReasoningServer-side thinking, budget 4,096
ToolsTool calling supported
LicenceApache-2.0 weights + Gemma 4 terms of use

Benchmarks

RunPrompt tok/sGen tok/s
Stock: not measured (installed post-migration, no on-box stock run, no recorded community figure)——
Orchestrator sweep1,609.9 tok/s138.8 tok/s
llama.cpp v0.7.0 upgrade check (@8K)—144.4 tok/s (+21.0% vs b11480)

Survived the b11480 and v0.7.0 upgrades with only trivial jitter before the v0.7.0 gains.

Stock vs tuned. This model arrived post-migration, so no earlier on-box run exists, and no community stock figure was recorded for it. The tuned slot decodes at 138.8 with the whole 200K budget in 18 GB.

Memory & CPU

~18 GB VRAM at 200K on one card. Per-slot RSS ~1–2 GiB.

Local config

Verbatim entry from /mnt/data/llama-models/registry.json:

{
  "gguf": "/mnt/data/llama-models/gemma4-26b-a4b/model.gguf",
  "ctx_size": 200000,
  "gpu_layers": 99,
  "flash_attention": true,
  "cache_type_k": "q4_0",
  "cache_type_v": "q4_0",
  "ubatch": 256,
  "batch": 2048,
  "temperature": 1.0,
  "top_p": 0.95,
  "top_k": 20,
  "reasoning": true,
  "reasoning_format": "deepseek",
  "fit_gpu": [
    0,
    1
  ],
  "family": "gemma",
  "wide_slot": false,
  "n_cpu_moe": 0,
  "attachment": false,
  "tool_call": true,
  "output_limit": 32768,
  "reasoning_budget": 4096
}

Build it yourself

Hardware. Model runs on 1 x RTX 3090 24G. It has room to spare, this is the one to run when something else needs ~6 GB on the same GPU.

  • CPU: AMD Ryzen 9 5900X, 12 cores / 24 threads, Zen 3
  • Motherboard: ASUS ROG STRIX X570-E GAMING WIFI II (AM4, ATX)
  • GPU: 2× NVIDIA GeForce RTX 3090, 24 GB VRAM each (the model needs one card)
  • Total VRAM: 48 GB (2 × 24 GB)
  • System RAM: 128 GB DDR4 (~121.5 GiB usable)
  • Storage: 2 TB KIOXIA EXCERIA NVMe SSD
  • OS: Ubuntu 26.04.1 LTS, headless
  • CUDA: toolkit at /usr/local/cuda-13.1
  • PCIe topology: both GPUs on the CPU root complex. X8/x8 split when both slots populated (normal for this board); Gen1 at idle → PCIe 4.0 x8 under load. Nvidia-smi topo -m shows PHB between GPUs. No NVLink
  • Cooling/chassis: open mining rig (GPU spacing + rig fans, no case). GPU 0 peaks ~73–74 °C under dual load. Routine sw_thermal/sw_power_cap throttle to ~76 °C is normal
  • Kernel mitigations in place: pcie_aspm=off, LimitMEMLOCK=infinity, orchestrator MemoryMax=110G

Download.

hf download unsloth/gemma-4-26B-A4B-it-GGUF 
  gemma-4-26B-A4B-it-Q4_K_M.gguf --local-dir /mnt/data/llama-models/gemma4-26b-a4b

Check the licence pages before commercial hosting, Gemma 4 weights are Apache-2.0 but the terms of use / prohibited-use policy still apply.

Register & serve. Add an entry to your registry.json (schema in the orchestrator post), restart the service, then smoke-test:

curl -s http://127.0.0.1:8010/v1/chat/completions 
  -H "Content-Type: application/json" 
  -d '{"model":"gemma4-26b-a4b","messages":[{"role":"user","content":"What is 2+2? Answer with just the number."}],"max_tokens":64}'

A correct short answer with no errors means the model is live on the endpoint. Watch GET /health while a slot loads (~20–40 s warm for this size).

Gotchas

  • Thinking defaults follow the thinking-mode sampling pair (1.0/0.95). Instruct-style pairs degrade it.
  • Not the smallest weights locally, and not the fastest decode. Active-parameter count rules, as usual.

Links. Model card · Unsloth GGUF · Gemma 4 terms

Leave a Reply

Your email address will not be published. Required fields are marked *