Sybil AI
‹ RTX A2000 8GB Laptop

Gemma 4 12B

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

21 tok/sdecode
334 tok/sprefill
128Kcontext 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
  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 \
      --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 \
      --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 131072 \
      --flash-attn on \
      --parallel 1 \
      --ubatch-size 256 \
      --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-128k-rtx-a2000-laptop-8gb ›
Recipe file
registry/recipes/nvidia/rtx-a2000-laptop-8gb/gemma-4-12b.llama.cpp.128k.json ›
Model released
May 23, 2026
Tested
owner, NVIDIA RTX A2000 8GB Laptop GPU