GGUF – explained simply
GGUF is a file format for mostly quantized models, used mainly by llama.cpp and Ollama, and it bundles all the info into one file.
Also: .gguf, GGUF file
GGUF was created by the developer of llama.cpp and is designed for fast loading and efficient computation. In addition to the weights, a GGUF file also contains fixed metadata such as the architecture and chat template, so programs like Ollama can load it without extra files.
GGUF files are almost always available in several quantization levels, recognizable by the name, for example Q4_K_M or Q8_0. The smaller the number, the smaller the file and the greater the loss of quality. Ollama can integrate GGUF files directly through a Modelfile.
What does that mean for you? For language models on regular gaming PCs, a GGUF file in Q4_K_M or Q5_K_M is a good starting point.
Related terms
Errors where that matters
- Confusing answers, endless loops, or tags like <|im_end|> (wrong chat template)
- Forge: You do not have CLIP / T5 / Qwen3 state dict!
- GGUF: tensor '…' data is not within the file bounds, model is corrupted or incomplete (model file incomplete)
- GGUF: unknown model architecture (program too old for the model)
- llama.cpp: CUDA error: out of memory
- LM Studio: Error loading model. (Exit code: …) Unknown error (model won’t load)
- LM Studio: Error rendering prompt with jinja template (Model chat template cannot be processed)
- LM Studio: No LM Runtime found
- Ollama: llama runner process has terminated: exit status 0xc0000409 (model process crashed)
- Ollama: pull model manifest: file does not exist (model name or tag does not exist)
- Ollama: registry.ollama.ai/library/… does not support tools (model cannot do tool/function calling)
- text-generation-webui: ModuleNotFoundError: No module named 'llama_cpp_binaries' (llama.cpp loader missing after update)
- Unexpected architecture type in GGUF file (ComfyUI-GGUF doesn’t know the model yet)
- Very slow responses because the model does not fit in VRAM