Free | No tracking | Every fact with a source|German and English

Glossary / Models and files

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

Sources