AI GLOSSARY · LOCAL AND OPEN MODELS

GGUF

Markdown version · Wikidata Q127427530

Definition

GGUF is a binary file format for storing language models so they load quickly and run for inference. According to Hugging Face, it was developed by the developer of llama.cpp and encodes both the tensors and standardized metadata.

Also called: gguf format, gguf model, gguf file, GGUF files, what is gguf.

In plain language

A GGUF file is a single file that holds an AI model in a form made for running it on your own computer. Think of it as a package: the numbers the model learned plus a label sheet saying how to read them. People download GGUF files when they want to run an open model with local tools such as llama.cpp, LM Studio or Ollama. A GGUF file is not a model by itself and does not make a model better; many GGUF files are compressed versions of a bigger model, and a smaller file may answer worse. Files can be several gigabytes, so check disk space and memory before downloading.

Technical definition

GGUF is a binary format that Hugging Face describes as optimized for quick loading and saving of models and designed for use with GGML and other executors. Hugging Face notes that, unlike tensor-only formats such as safetensors, GGUF encodes both the tensors and a standardized set of metadata. Models developed in frameworks such as PyTorch can be converted to GGUF. The tensors in a GGUF file can be stored at different precisions, and Hugging Face's table of quantization types lists names such as Q4_K and Q8_0 with their descriptions. The Hub provides a viewer for a file's metadata and tensor information.

Worked examples in this catalogue

Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.

  1. Guide · Illustrative, not executed

    Self-Hosting an AI Agent: What You Take On

    What you see
    The guide lists what you take on when an agent runs on your machine, including model memory and network exposure, and cites the llama.cpp README as a local inference route.
    Why it exercises the concept
    GGUF files are what local model servers such as llama.cpp load, so the guide covers the setup around the file.
  2. Skill by Skill Almanac · Illustrative, not executed

    local-model-sizing 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    A check of whether an open-weight language model will run on a given GPU, Mac or PC, with weight, KV-cache and overhead memory per quantization level.
    Why it exercises the concept
    A GGUF file is stored at one quantization level, so the size on disk and the memory needed depend on which file you pick.
  3. Skill by Hugging Face · Illustrative, not executed

    hf-cli 21/100 · grade FScored · Method v0.2 · How we score

    What you see
    The catalogue lists this skill under ai-ml-engineering without a description line, so read its page before relying on it.
    Why it exercises the concept
    Hugging Face hosts GGUF files and its docs show how to find them by the GGUF tag on the Hub; this skill is a Hugging Face entry in the catalogue.

How it shows up when you use agents

GGUF shows up when you pick a model for a local setup. A model page lists several .gguf files with names like Q4_K or Q8_0, and you have to choose one. Hugging Face's documentation lists llama.cpp, LM Studio and Ollama among the open-source tools that can use GGUF files. This is how an agent client gets a self-hosted LLM to talk to. A coding agent pointed at a local server only sees the answers; the file decides how much memory the model needs and how much quality is traded away through quantization.

What breaks when it is misunderstood: people download the largest file and run out of memory, or download a tiny one and blame the agent for poor answers. Another problem is mixing up formats. GGUF is not the only way to ship model weights, and a server built for another format may not read it.

Next action: before downloading, work out whether a file fits with local-model-sizing, start with one mid-sized file, and keep the source page open so you know which quantization you are running. The guide Self-hosting an AI agent covers what else you own once it runs.

Common confusions

  • GGUF versus a model. GGUF is a container. The model inside was trained by someone else and may be published under its own licence.
  • GGUF versus safetensors. Hugging Face describes safetensors as a tensor-only format, while GGUF encodes both the tensors and a standardized set of metadata.
  • GGUF versus quantization. Quantization is a way to store numbers at lower precision. A GGUF file may hold quantized tensors, but the format is not the same thing.
  • GGUF versus llama.cpp. Hugging Face says GGUF was developed by the developer of llama.cpp, but other tools also read it.

Terms that mention GGUF

9 terms mention this one

More in Local and open models

Next steps

  1. Self-Hosting an AI Agent: What You Take On The long-form guide.
  2. local-model-sizing A skill that exercises it.
  3. Ollama Related term.
  4. Quantization Related term.
  5. All glossary terms A to Z and by family.

Sources

Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-24. Wikipedia is never the only source.

Review record

Last verified

Drafted by claude-sonnet-5-5; sources and example targets checked by claude-haiku-5-5 source check; claude-sonnet-5-5 editor pass on 2026-11-24. Last verified .

This entry is still in review, so it is not listed in search engines yet.

Change log (1)
  • : First version.