GraySoft
Projects Models Compare Cloud benchmarks FAQ Download guIDE โ†’
Model Intelligence Sheet

yuxinlu1/gemma-4-12B-it-Claude-4.6-4.8-Opus-GGUF overview

โœจ Gemma4 12B Reasoning Distill GGUF โœจ ๐Ÿฃ Tiny footprint, big brain โ€” local AI for everyone No matter your GPU. No matter your RAM. If you've got ~4.5 GB of VRAโ€ฆ

ggufsafetensorsgemma4reasoningthinkingllama.cpplocal-llmtext-generationbase_model:google/gemma-4-12B-itbase_model:quantized:google/gemma-4-12B-itlicense:apache-2.0endpoints_compatibleregion:usconversational

Runs locally from ~443.6 MB disk (4 GB VRAM class GPUs with llama.cpp / guIDE).

Downloads
32,904
Likes
69
Pipeline
text-generation
Author

Repository Files & Downloads

7 GGUF files detected
Direct downloads for local inference
FileTypeQuantizationSizeLink
MTP/gemma-4-12B-it-MTP-BF16.ggufGGUFBF16821.6 MBDownload
MTP/gemma-4-12B-it-MTP-F16.ggufGGUFF16821.6 MBDownload
MTP/gemma-4-12B-it-MTP-Q8_0.ggufGGUFQ8_0443.6 MBDownload
gemma4-opus48-Q2_K.ggufGGUFQ2_K4.50 GBDownload
gemma4-opus48-Q4_K_M.ggufGGUFQ4_K_M6.87 GBDownload
gemma4-opus48-Q6_K.ggufGGUFQ6_K9.11 GBDownload
gemma4-opus48-Q8_0.ggufGGUFQ8_011.80 GBDownload

Model Details

Model IDyuxinlu1/gemma-4-12B-it-Claude-4.6-4.8-Opus-GGUF
Authoryuxinlu1
Pipelinetext-generation
Licenseapache-2.0
Base modelgoogle/gemma-4-12B-it
Last modified2026-06-18T00:25:23.000Z

Model README

---

license: apache-2.0

base_model: google/gemma-4-12B-it

library_name: gguf

pipeline_tag: text-generation

tags: [gemma4, reasoning, thinking, gguf, llama.cpp, local-llm]

---

โœจ Gemma4-12B-Reasoning-Distill (GGUF) โœจ

๐Ÿฃ Tiny footprint, big brain โ€” local AI for everyone

> No matter your GPU. No matter your RAM. If you've got ~4.5 GB of VRAM or unified memory free,

> you can run your own private, offline AI right now. ๐Ÿš€

> Tuned on Opus 4.6, 4.7 & 4.8 reasoning data, it delivers a major leap in reasoning power โ€”

> whether you're asking questions or writing code. ๐Ÿง ๐Ÿ’ป All local, all yours, no API, no cloud.

โšก NEW โ€” the MTP version is here! Free speed ๐ŸŽ‰

As of June 7, 2026, mainline llama.cpp just merged Gemma 4 MTP support โ€” so the MTP draft model is now

live in the MTP/ folder.

Drop it next to any quant and generation gets noticeably faster with identical output (speculative decoding is

lossless) โ€” just add a couple of flags. ๐Ÿ‘‰ See โšก Speed it up with MTP below. ๐Ÿ’š

---

๐Ÿ“ฆ Pick your size (GGUF quants)

| Quant | Size | Vibe |

|------|------|------|

| ๐ŸŸข Q2_K | 4.5 GB | tiniest โ€” runs almost anywhere |

| ๐Ÿ”ต Q4_K_M | 6.87 GB | the sweet spot ๐Ÿ‘Œ (recommended) |

| ๐ŸŸฃ Q6_K | 9.11 GB | near-lossless |

| โšช Q8_0 | 11.8 GB | basically full quality |

| (f16) | 22.2 GB | full precision (overkill for most) |

---

๐Ÿงฎ "Will it fit?" โ€” context length cheat-sheet

Rough estimates ๐Ÿค“ (assumes q8_0 KV cache + ~1.5 GB overhead; use q4_0 KV cache for โ‰ˆ2ร— more context!).

Max context is 131K. "โ€”" = won't fit, pick a smaller quant. โœ‚๏ธ

| Your VRAM / unified mem | ๐ŸŸข Q2_K (4.5G) | ๐Ÿ”ต Q4_K_M (6.87G) | ๐ŸŸฃ Q6_K (9.11G) | โšช Q8_0 (11.8G) |

|---|---|---|---|---|

| 8 GB | ~16K ctx | tight (~2โ€“4K) | โ€” | โ€” |

| 12 GB | ~48K | ~30K | ~12K | โ€” |

| 16 GB | ~80K | ~64K | ~44K | ~22K |

| 24 GB | 131K (max) ๐ŸŽ‰ | ~128K | ~110K | ~88K |

| 32 GB | 131K | 131K | 131K | 131K |

> ๐Ÿ’ก Apple Silicon / integrated GPUs with unified memory count too โ€” same numbers, just slower than a dGPU.

> ๐Ÿ’ก Low on room? Drop a quant or switch KV cache to q4_0 and your context roughly doubles.

---

โšก Speed it up with MTP (free & lossless) ๐ŸŽ๏ธ

New as of June 7, 2026! Gemma 4's Multi-Token Prediction drafter lets the model guess a few tokens ahead and

verify them in one shot โ€” so you get more tokens/sec with byte-for-byte identical output. Pure speed, zero quality

cost. ๐Ÿช„

1. Grab the tiny draft from the MTP/ folder:

| Draft file | Size | Use it for |

|---|---|---|

| โšช gemma-4-12B-it-MTP-Q8_0.gguf | 0.44 GB | recommended โ€” tiny + full speed |

| โ€ฆ-F16.gguf / โ€ฆ-BF16.gguf | 0.82 GB | full-precision draft (overkill) |

> ๐Ÿ’ก The draft is tiny โ€” keep it Q8 or higher (over-quantizing a draft just lowers its hit rate). It pairs with any quant of the main model.

2. You need a fresh llama.cpp build โ€” June 7 2026 (b9553) or newer. MTP was just merged, so older builds

can't load the draft (unknown architecture: 'gemma4-assistant').

3. Run it exactly like below, just +3 flags (--model-draft, --spec-type, --n-gpu-layers-draft):

@echo off
cd /d C:\llama.cpp
llama-server.exe ^
  -m C:\models\gemma4-opus48-Q4_K_M.gguf ^
  --model-draft C:\models\MTP\gemma-4-12B-it-MTP-Q8_0.gguf ^
  --spec-type draft-mtp --spec-draft-n-max 4 ^
  --ctx-size 16384 --n-gpu-layers 99 --n-gpu-layers-draft 99 ^
  --no-mmap -fa on ^
  --temp 1.0 --top-p 0.95 --top-k 64 ^
  --host 0.0.0.0 --port 18080
pause

Measured on a single RTX 5090 (Q4_K_M main + Q8 draft): ~1.3ร— faster at greedy and ~1.2ร— at the default

thinking sampling โ€” free, with no change to output. ๐ŸŽˆ

> ๐Ÿ”ง Heads-up: this is the stock Gemma drafter (trained on base Gemma 4), so on this fine-tune the hit rate โ€”

> and thus the speedup โ€” is a little lower than on vanilla Gemma 4. A re-aligned draft could push it higher (maybe a

> future update). Either way: free speed, no downside. ๐Ÿ’š

---

๐Ÿš€ How to run it (super easy)

Option A โ€” llama.cpp (recommended) ๐Ÿฆ™

  1. Grab a quant above (e.g. โ€ฆ-Q4_K_M.gguf) and llama-server from llama.cpp.

> โš ๏ธ Needs a recent llama.cpp (this is the gemma4_unified architecture โ€” older builds won't load it).

  1. Run a server (Windows .bat shown โ€” tweak --port, --ctx-size to taste):
@echo off
cd /d C:\llama.cpp
llama-server.exe ^
  -m C:\models\gemma4-opus48-Q4_K_M.gguf ^
  --ctx-size 16384 ^
  --n-gpu-layers 99 ^
  --no-mmap ^
  -fa on ^
  --cache-type-k q8_0 --cache-type-v q8_0 ^
  --temp 1.0 --top-p 0.95 --top-k 64 ^
  --host 0.0.0.0 --port 18080
pause
  1. Open http://localhost:18080 and chat. ๐ŸŽ‰ (Tip: bump --ctx-size per the table; use q4_0 KV for more.)

Option B โ€” one-click apps ๐Ÿ–ฑ๏ธ

Works in LM Studio, Jan, Ollama, etc. โ€” just import the GGUF, pick your quant, go. ๐Ÿพ

๐Ÿง  Thinking mode

This model thinks in Gemma's native thought channel. Keep enable_thinking=true (the default chat template

handles it). Recommended sampling: temp 1.0, top_p 0.95, top_k 64.

---

โš ๏ธ Good to know

  • Reduced refusals: the training data omits safety hedging, so this refuses less than the base model.

It is not safety-aligned โ€” add your own guardrails for production. Use responsibly. ๐Ÿ™

  • Reasoning is stylistic synthetic CoT โ€” great for structure, but double-check facts/numbers.
  • English-centric.

---

๐Ÿ“š Data & License

  • License: Apache 2.0. Gemma 4 is released by Google under

Apache 2.0 (unlike the older Gemma 1/2/3 terms), so this derivative

is Apache 2.0 as well.

angrygiraffe/claude-opus-4.6-4.7-reasoning-8.7k,

augmented with additional Opus 4.8-generated reasoning samples I curated and mixed in.

  • Personal/hobby project โ€” shared as-is, no warranty. Have fun! ๐Ÿพโœจ

Run yuxinlu1/gemma-4-12B-it-Claude-4.6-4.8-Opus-GGUF with guIDE

Download guIDE โ€” the AI-native code editor with local LLM inference and 69 built-in tools.

Download guIDE โ†’ ยท Browse 524k+ models ยท Compare models

Source: Hugging Face ยท Compare models