FactInterpretation
Fact
GGUF is a binary file format used by the GGML and llama.cpp ecosystem to store model tensors together with standardised metadata needed by compatible runtimes.

The format gives a runtime a structured way to identify tensor data, types, dimensions and key-value metadata. The canonical implementation is maintained in the llama.cpp project.

What is inside a GGUF file?

At a high level, a GGUF file can contain:

  • A format identifier and version.
  • Key-value metadata describing the model and tokenizer.
  • Information about each tensor, including its name, dimensions, type and offset.
  • The tensor data used during inference.

That combination is important: GGUF is more than a loose collection of weight tensors. The metadata helps compatible software understand how the model should be loaded.

How GGUF relates to a runtime

A GGUF file does not run itself. Software such as llama.cpp reads the file, allocates memory, creates the inference context and performs the calculations that generate output. Other applications may package or call that runtime through a desktop interface or API.

Loco Free uses a bundled llama.cpp-based local server and accepts compatible GGUF files. Compatibility can still depend on whether the bundled runtime supports the model architecture and required metadata.

GGUF and quantisation

GGUF is the container format; quantisation describes how model values are represented at reduced precision. A single model family may therefore be distributed as several GGUF files with different quantisation types.

Lower-bit quantisation usually reduces storage and memory requirements, but it can affect model quality and performance. The result depends on the quantisation method, model, runtime, hardware and workload. A filename such as Q4_K_M identifies a particular quantisation scheme—it is not a universal quality score.

What a GGUF filename cannot prove

  • That the file came from the original model developer.
  • That the conversion was performed correctly.
  • That the model licence permits your intended use.
  • That the model will fit in available RAM or VRAM.
  • That your runtime supports its architecture.
  • That the model is safe, accurate or suitable for a task.

Always review the repository, model card, licence, source model, conversion notes and file size before downloading.

How to choose a GGUF variant

  1. Confirm that the model architecture is supported by your runtime version.
  2. Check the model licence and the publisher of the conversion.
  3. Compare the file size with available RAM or VRAM, leaving operating headroom.
  4. Select a quantisation appropriate for your quality and memory trade-off.
  5. Keep the exact filename, source URL and checksum if you intend to benchmark it.
  6. Test the model using your actual prompts rather than relying only on general rankings.

Sources and further reading

Related guides