LLM Studio · how to run every open model, correctly Vol 01 · No 01 · 2026
Index/LLM Studio/Meta/Llama 4 Maverick/llama.cpp · Q6_K
llama.cpp · Q6_K · Cross-platform · CPU + CUDA + Metal

Llama 4 Maverick on llama.cpp at Q6_K

Pure C++. Runs on anything with a CPU or a modest GPU. Community packagers (bartowski, mradermacher) quantize most popular models within days of release. Minor quality drop. Still near-reference for general use.

At a glance The numbers

Model
Meta Llama 4 Maverick
Family
Llama
Params
400B / 17B
License
Llama 4 Community
Engine
llama.cpp
Quantization
Q6_K
Bytes per param
0.82
Platform
Cross-platform · CPU + CUDA + Metal

The command Copy and run

What llama.cpp expects you to type to serve Llama 4 Maverick at Q6_K. Adjust the paths for your filesystem; the structure holds.

# Pull a GGUF quant from bartowski's mirror
huggingface-cli download bartowski/Llama-4-Maverick-17B-128E-Instruct-GGUF \
  --include "*Q6_K*"

# Serve on port 8080
./llama-server -m llama-4-maverick.Q6_K.gguf -c 8192 --port 8080

Why this quant The trade-off

Q6_K — Minor quality drop. Still near-reference for general use.

Expect to need around 332 GB of VRAM to hold the weights at this precision. This is a mixture-of-experts model: all 400B params load into memory, but only about 17B are active per generated token. That means load VRAM is large but compute scales with the active count — tok/s on a serving stack like vLLM reflects the smaller number. Fits on 8× H100 — 640 GB — Full HGX H100 node, or 8× H200.

Common failures What breaks, and the fix

Model fails to load
Check the GGUF file is complete (sha256) and the quant level matches your flags.
Low tok/s on CPU
Set -t to physical cores (not SMT threads); batch requests; enable AVX-512 build.
Garbage output
Verify you downloaded the instruct variant, not the base model.

Alternatives Other ways to run this model

About the model

First Llama MoE; 128 experts, native multimodal.

Open the full model page →