Sybil AI
‹ RTX A2000 8GB Laptop

Gemma 4 12B

· llama.cpp · 80K 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.

32 tok/sdecode
392 tok/sprefill
80Kcontext window
Tested on this cardNov 4, 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 google/gemma-4-12B-it-qat-q4_0-gguf 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-qat-q4_0-gguf-29d09777:/models: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-qat-q4_0.gguf \
      --mmproj /models/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 81920 \
      --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 4, 2026.

Details
Weights
google/gemma-4-12B-it-qat-q4_0-gguf @ 29d0977734 ›
Image
ghcr.io/ggml-org/llama.cpp:server-cuda12-b11146@sha256:52192a23c7b258044463aebba78826cdff39a7393b713edc313324b343a7b836
Launch
llama.cpp-gemma-4-12b-qat-q4-0-mtp-80k-rtx-a2000-laptop-8gb ›
Recipe file
registry/recipes/nvidia/rtx-a2000-laptop-8gb/gemma-4-12b.llama.cpp.80k.json ›
Model released
May 23, 2026
Tested
owner, NVIDIA RTX A2000 8GB Laptop GPU