Sybil AI
‹ RTX A2000 8GB Laptop

Gemma 4 12B

· llama.cpp · 248K context · RTX A2000 8GB Laptop · 8 GB

Google's Gemma 4 12B from May 2026: a compact multimodal model with thinking, good with images and documents.

27 tok/sdecode
229 tok/sprefill
248Kcontext window
Tested on this cardNov 8, 2026
Run it

Follow the steps below to download and run this recipe. Omarchy Local AI lists the recipes it can launch on your hardware. The server then answers on http://localhost:8000/v1.

  1. 1 Download the weights
    hf download unsloth/gemma-4-12b-it-GGUF gemma-4-12b-it-UD-IQ3_XXS.gguf \
      --revision fc034cfff751157913579611efad8462ac1be606 \
      --local-dir ~/models/gemma-4-12b-it-GGUF-fc034cff
    
    hf download google/gemma-4-12B-it-qat-q4_0-gguf mmproj-gemma-4-12b-it-qat-q4_0.gguf \
      --revision 29d097773436b69ff9feafd636ab4cf873786537 \
      --local-dir ~/models/gemma-4-12B-it-qat-q4_0-gguf-29d09777
    
    hf download ggml-org/gemma-4-12B-it-GGUF mtp-gemma-4-12B-it-Q4_0.gguf \
      --revision 790d826c6ec7dc8aa0ab23af33e5b8313140a231 \
      --local-dir ~/models/gemma-4-12B-it-GGUF-790d826c
  2. 2 Start the server
    docker run --rm \
      --gpus all \
      -p 8000:8080 \
      --shm-size 1g \
      -e CUDA_DEVICE_ORDER=PCI_BUS_ID \
      -v ~/models/gemma-4-12b-it-GGUF-fc034cff:/models:ro \
      -v ~/models/gemma-4-12B-it-qat-q4_0-gguf-29d09777:/extra:ro \
      -v ~/models/gemma-4-12B-it-GGUF-790d826c:/draft:ro \
      --entrypoint /app/llama-server \
      ghcr.io/ggml-org/llama.cpp:server-cuda12-b11146@sha256:52192a23c7b258044463aebba78826cdff39a7393b713edc313324b343a7b836 \
      --model /models/gemma-4-12b-it-UD-IQ3_XXS.gguf \
      --mmproj /extra/mmproj-gemma-4-12b-it-qat-q4_0.gguf \
      --no-mmproj-offload \
      --alias Gemma-4-12B \
      --spec-type draft-mtp \
      --model-draft /draft/mtp-gemma-4-12B-it-Q4_0.gguf \
      --spec-draft-n-max 2 \
      --cache-type-k-draft q4_0 \
      --cache-type-v-draft q4_0 \
      --cache-type-k q4_0 \
      --cache-type-v q4_0 \
      --n-gpu-layers 999 \
      --fit off \
      --host 0.0.0.0 \
      --port 8080 \
      --ctx-size 253952 \
      --flash-attn on \
      --parallel 1 \
      --ubatch-size 128 \
      --jinja \
      --cache-ram 0 \
      --metrics \
      --chat-template-kwargs '{"enable_thinking":true}' \
      --temp 1.0 \
      --top-p 0.95 \
      --top-k 64
What it passed
✓ loadLoads and serves within an hour
✓ chatAnswers a plain question and stops on its own
✓ reasoningThinks separately and gets 17 × 23 right
✓ toolsCalls a tool with the right arguments and uses the result
✓ contextRecalls a code buried in a prompt that fills 85% of the window
✓ speedDecodes at 15 tok/s or more

Passed all six checks on a real NVIDIA RTX A2000 8GB Laptop GPU on Nov 8, 2026.

Details
Weights
unsloth/gemma-4-12b-it-GGUF @ fc034cfff7 ›
Image
ghcr.io/ggml-org/llama.cpp:server-cuda12-b11146@sha256:52192a23c7b258044463aebba78826cdff39a7393b713edc313324b343a7b836
Launch
llama.cpp-gemma-4-12b-nonqat-iq3-xxs-mtp-248k-rtx-a2000-laptop-8gb ›
Recipe file
registry/recipes/nvidia/rtx-a2000-laptop-8gb/gemma-4-12b.llama.cpp.248k.json ›
Model released
May 23, 2026
Tested
owner, NVIDIA RTX A2000 8GB Laptop GPU