187 4 hours ago

An even more improved version of Gemma-4 98e coder variant, the best 20b coder

vision tools thinking
ollama run mannix/gemma4-98e-v7-coder

Applications

Claude Code
Claude Code ollama launch claude --model mannix/gemma4-98e-v7-coder
Codex App
Codex App ollama launch codex-app --model mannix/gemma4-98e-v7-coder
OpenClaw
OpenClaw ollama launch openclaw --model mannix/gemma4-98e-v7-coder
Hermes Agent
Hermes Agent ollama launch hermes --model mannix/gemma4-98e-v7-coder
Codex
Codex ollama launch codex --model mannix/gemma4-98e-v7-coder
OpenCode
OpenCode ollama launch opencode --model mannix/gemma4-98e-v7-coder

Models

View all →

53 models

gemma4-98e-v7-coder:latest

13GB · 256K context window · Text · 2 days ago

gemma4-98e-v7-coder:IQ3_M

9.8GB · 256K context window · Text · 2 days ago

gemma4-98e-v7-coder:IQ4_K_M

10GB · 256K context window · Text · 2 days ago

gemma4-98e-v7-coder:Q2_K_L

8.6GB · 256K context window · Text · 2 days ago

gemma4-98e-v7-coder:Q3_K_XL

11GB · 256K context window · Text · 2 days ago

gemma4-98e-v7-coder:Q4_K_L

13GB · 256K context window · Text · 4 hours ago

gemma4-98e-v7-coder:Q5_K_L

15GB · 256K context window · Text · 4 hours ago

gemma4-98e-v7-coder:Q6_K_L

18GB · 256K context window · Text · 4 hours ago

gemma4-98e-v7-coder:qat

11GB · 256K context window · Text · yesterday

gemma4-98e-v7-coder:Q3_K_S

9.7GB · 256K context window · Text · 2 days ago

gemma4-98e-v7-coder:Q3_K_M

11GB · 256K context window · Text · 2 days ago

gemma4-98e-v7-coder:Q3_K_L

11GB · 256K context window · Text · 2 days ago

gemma4-98e-v7-coder:Q4_0

11GB · 256K context window · Text · 2 days ago

gemma4-98e-v7-coder:Q4_1

13GB · 256K context window · Text · 2 days ago

gemma4-98e-v7-coder:Q4_K_S

12GB · 256K context window · Text · 4 hours ago

gemma4-98e-v7-coder:Q4_K_M

13GB · 256K context window · Text · 2 days ago

gemma4-98e-v7-coder:Q5_K_S

14GB · 256K context window · Text · 4 hours ago

gemma4-98e-v7-coder:Q5_K_M

15GB · 256K context window · Text · 4 hours ago

gemma4-98e-v7-coder:Q6_K

18GB · 256K context window · Text · 4 hours ago

gemma4-98e-v7-coder:Q8_0

21GB · 256K context window · Text · 2 days ago

gemma4-98e-v7-coder:IQ2_XS

7.8GB · 256K context window · Text · 2 days ago

gemma4-98e-v7-coder:IQ4_XS

11GB · 256K context window · Text · 2 days ago

gemma4-98e-v7-coder:IQ4_NL

11GB · 256K context window · Text · 2 days ago

gemma4-98e-v7-coder:CD-Q3_K_L

10GB · 256K context window · Text · 2 days ago

gemma4-98e-v7-coder:CD-Q4_K_M

11GB · 256K context window · Text · 2 days ago

gemma4-98e-v7-coder:CD-Q5_K_M

13GB · 256K context window · Text · 2 days ago

gemma4-98e-v7-coder:CD-Q6_K

16GB · 256K context window · Text · 2 days ago

gemma4-98e-v7-coder:vision-IQ3_M

11GB · 256K context window · Text, Image · 2 days ago

gemma4-98e-v7-coder:vision-IQ4_K_M

11GB · 256K context window · Text, Image · 2 days ago

gemma4-98e-v7-coder:vision-Q2_K_L

9.8GB · 256K context window · Text, Image · 2 days ago

gemma4-98e-v7-coder:vision-Q3_K_XL

12GB · 256K context window · Text, Image · 2 days ago

gemma4-98e-v7-coder:vision-Q4_K_L

15GB · 256K context window · Text, Image · 2 days ago

gemma4-98e-v7-coder:vision-Q5_K_L

16GB · 256K context window · Text, Image · 2 days ago

gemma4-98e-v7-coder:vision-Q6_K_L

19GB · 256K context window · Text, Image · 2 days ago

gemma4-98e-v7-coder:vision-qat

13GB · 256K context window · Text, Image · yesterday

gemma4-98e-v7-coder:vision-Q3_K_S

11GB · 256K context window · Text, Image · 2 days ago

gemma4-98e-v7-coder:vision-Q3_K_M

12GB · 256K context window · Text, Image · 2 days ago

gemma4-98e-v7-coder:vision-CD-Q3_K_L

11GB · 256K context window · Text, Image · 2 days ago

gemma4-98e-v7-coder:vision-Q3_K_L

12GB · 256K context window · Text, Image · 2 days ago

gemma4-98e-v7-coder:vision-Q4_0

13GB · 256K context window · Text, Image · 2 days ago

gemma4-98e-v7-coder:vision-Q4_1

14GB · 256K context window · Text, Image · 2 days ago

gemma4-98e-v7-coder:vision-Q4_K_S

13GB · 256K context window · Text, Image · 2 days ago

gemma4-98e-v7-coder:vision-CD-Q4_K_M

12GB · 256K context window · Text, Image · 2 days ago

gemma4-98e-v7-coder:vision-Q4_K_M

14GB · 256K context window · Text, Image · 2 days ago

gemma4-98e-v7-coder:vision-Q5_K_S

15GB · 256K context window · Text, Image · 2 days ago

gemma4-98e-v7-coder:vision-CD-Q5_K_M

14GB · 256K context window · Text, Image · 2 days ago

gemma4-98e-v7-coder:vision-Q5_K_M

16GB · 256K context window · Text, Image · 2 days ago

gemma4-98e-v7-coder:vision-CD-Q6_K

17GB · 256K context window · Text, Image · 2 days ago

gemma4-98e-v7-coder:vision-Q6_K

19GB · 256K context window · Text, Image · 2 days ago

gemma4-98e-v7-coder:vision-Q8_0

22GB · 256K context window · Text, Image · 2 days ago

gemma4-98e-v7-coder:vision-IQ2_XS

9.0GB · 256K context window · Text, Image · 2 days ago

gemma4-98e-v7-coder:vision-IQ4_XS

12GB · 256K context window · Text, Image · 2 days ago

gemma4-98e-v7-coder:vision-IQ4_NL

13GB · 256K context window · Text, Image · 2 days ago

Readme

Gemma 4 26B-A4B 98e v7-coder — science-augmented code prune

20.8B params · 98 experts (30 dropped) · ~4B active · code map + targeted_gpqa

A research checkpoint that takes Gemma-4-26B-A4B-it and drops 30128 experts per layer using a code-targeted recipe on the rebuilt v7 competence maps (audited producers, 10 classes, multilingual category), on a [24,40] per-layer floor — plus a targeted_gpqa class at weight 1.5 that protects a science-specialist keep-set derived from GPQA-diamond pass-traces. Same router, attention, and norms as base, plus the mandatory shared-FFN α=1.2 upweight every coder variant carries.

A coder that kept all its science: it holds v6-coder’s top-tier code profile while pulling GPQA-diamond to 70.71%+9.6pp over v6-coder and at parity with the unpruned 128e (67.17 on the same Q6_K run). For maximal coding throughput with science left at baseline, see the sibling v7-coderx.

Full model card & methodology: ManniX-ITA/gemma-4-A4B-98e-v7-coder-it on Hugging Face.

Other formats: - GGUF (29 tiers, imatrix, CD-* per-layer mixes + F16 + mmproj): ManniX-ITA/gemma-4-A4B-98e-v7-coder-it-GGUF - NVFP4A16 (native vLLM, ~13 GB): ManniX-ITA/gemma-4-A4B-98e-v7-coder-NVFP4A16

Scores (Q6_K, llama.cpp, greedy, same host)

GPQA-DAIMEMATH-500GSM8KARCIFEvalHEHE+LCB-55LCB-100MultiPL-E
70.7176.6792.0093.0094.8095.0098.7892.6896.3697.0088.67

Reference columns on the same Q6_K run: unpruned 128e GPQA 67.17 / AIME 73.33 / HE 97.56 / LCB-55 96.36; v6-coder GPQA 61.11 / HE 98.17 / LCB-55 92.73. v7-coder matches or beats 128e on GPQA, AIME and GSM8K while holding the cohort code profile. (Small benches — GPQA 198q, AIME 30q — carry run-to-run variance; read GPQA/AIME as “recovered the science gap”, not a robust win over the base.)

GGUF tiers (size guide)

Per-tier HE+ was not swept for the v7 cohort — the Q6_K table above is the reference; quality below ~Q3 / 3-bit degrades on the Gemma 4 MoE, so prefer Q4_K_M or higher for production. Full 29-tier list (incl. CD-* per-layer mixes) is on the GGUF repo.

TierSize (GB)bpwRole
Q8_021.168.14near-lossless
Q6_K17.816.84max fidelity (bench tier)
Q5_K_M15.075.79high quality
Q4_K_M13.245.09:latest — recommended default
Q4_K_S12.214.69compact 4-bit
IQ4_XS11.014.23safe sub-12 GB 4-bit
Q3_K_M10.514.04smallest comfortable
IQ3_XS9.223.54sub-10 GB
IQ2_M8.223.16sub-8.5 GB (degraded)
IQ2_S7.833.01smallest viable

Pull

ollama pull mannix/gemma4-98e-v7-coder            # :latest = Q4_K_M
ollama pull mannix/gemma4-98e-v7-coder:IQ4_XS     # safe 4-bit, sub-12 GB
ollama pull mannix/gemma4-98e-v7-coder:Q6_K       # max fidelity (bench tier)
ollama pull mannix/gemma4-98e-v7-coder:IQ2_S      # sub-8 GB
ollama pull mannix/gemma4-98e-v7-coder:vision-Q4_K_M   # + SigLIP vision tower

Inherits Gemma 4’s thinking format — serve with the reasoning parser enabled (--reasoning-format deepseek --reasoning-budget 8192 on llama-server).

Derivative of Gemma 4 — Gemma Terms of Use.