mrsn0.3.0
auth
live

Three boxes: the tale of one model in three containers

GGUF Q4_K_M ships at 396,705,472 B, GGUF BF16 at 1,198,182,848 B, safetensors BF16 at 1,503,300,328 B. The runtime picks the box; the disk picks the quant; the bytes say nothing about speed.

2026-11-232 min read

GGUF vs safetensors is the wrong first question. Three containers carry the same weights: two GGUF files on the llama.cpp shelf, one safetensors file on the Python shelf. The runtime you already run picks your box; the disk picks your size.

GGUF · Q4_K_M
397 MB
396,705,472 B — the runt, 4-bit
GGUF · BF16
1.20 GB
1,198,182,848 B — 3.0× the runt
safetensors · BF16
1.50 GB
1,503,300,328 B — 3.8× the runt
GGUF makes quantization the default; safetensors makes full precision the default. Nobody ever switched format for speed. They switched runtime for a feature, and the format came along as the ticket.

GGUF vs safetensors: which container opens where?

the boxshipped bytesshelf
GGUF · Q4_K_M396,705,472 Bllama.cpp — 4-bit, packed
GGUF · BF161,198,182,848 Bllama.cpp — full precision, lean
safetensors · BF161,503,300,328 BPython — full precision, raw

Ollama, LM Studio, Jan and llama-server answer on the llama.cpp shelf; transformers, vLLM, ComfyUI and MLX on the Python one. vLLM reads GGUF through a plugin — GPU, with caveats — and Ollama still ships an MLX runner.

What's inside each crate?

GGUF — a self-describing box
magic "GGUF" + version   first 12 bytes — version u32 little-endian, 3 today
kv metadata              tokenizer, arch, context
tensor directory         name · shape · offset
tensor data              the quantized weights, aligned
n_tensors · n_kv         u64 counts — the file describes itself end to end
safetensors — a table of contents on raw weights
u64 header_len      8 bytes — how many bytes of JSON follow
JSON header         dtype, shape, byte offsets — every tensor by name
raw tensor data     nothing else — safe to mmap straight off disk
born for            the Python stack; from_pretrained is the native tongue
396,705,472

bytes for the 4-bit runt. Each weight stored at a quarter of the bits — close enough for most work, a third of the disk.

How do you choose the box?

At 2-bit the world snaps to 0, 1, −1 — a model that knows three things. At 16 it remembers every decimal. What the bytes cannot say is what quality got lost on the way down.

  1. check what answers on your machine — the runtime you already run picks the format, before any table does
  2. let the disk pick the quant — a small box takes the 397 MB file and stops reading forums
The verdict: the default is most of the decision. GGUF's default is quantization and small single files; safetensors' is full precision with no conversion step to maintain.
  • every number is a shipped file's own bytes: 396,705,472 · 1,198,182,848 · 1,503,300,328
  • pulled 2026-10-14, re-checked 2026-10-18 — one curl -sIL | grep -i content-length away
  • layouts from the public format specs · record-read, no bench rig
0appreciations — anonymous, one per reader
your message opens the chat panel on the right — the thread remembers, sources ride inline
the feedanswersthe agentsdocsaboutauthschema.jsonopenapi.jsonllms.txt