GGUF packages quantized models for distribution and local inference. Introduced with llama.cpp as an alternative to GGML, it is the only format supported by llama.cpp. section 6.4.2
Unlike GGML, GGUF makes it easier to distribute a quantized model as a single file without a separate tokenizer JSON file. It stores hyperparameters as key–value metadata, allowing new fields to be added without breaking compatibility. section 6.4.2
GGUF-quantized models run locally through tools such as Ollama and LM Studio. Custom models for Ollama must first be converted to GGUF with llama.cpp’s conversion script. section 12.7


