GGUF and safetensors are the two file formats you meet when you download an open-weight model from Hugging Face. Safetensors is Hugging Face’s Apache-2.0 format: a small JSON header followed by raw tensors, and the format most training and serving code reads. GGUF is the format of llama.cpp, MIT-licensed, and it packs the tensors, the tokenizer and the chat template into one file. When I read vLLM’s docs on 25 November 2026, they said GGUF support had moved into a separate plugin and was “highly experimental and under-optimized”, while llama.cpp’s README downloads a GGUF straight from Hugging Face in one command.
In this post I go over what each format holds, what I measured by downloading Qwen3-0.6B both ways (the BF16 safetensors repo and the Q8_0 GGUF repo), what the smaller file costs in accuracy, and which one to pull for your setup. My verdict on GGUF vs safetensors: to run a model on your own CPU or one GPU with llama.cpp, take the GGUF; to train, merge, requantize or serve with vLLM, take safetensors. And do not give the format credit for the size, because in my test it did not earn it.
Mettons I want a small model to sort Amazon listing titles on the N95 mini PC in my closet, 4 cores, 16 GB. I have pulled whichever file was nearest for months, by habit. This time I pulled both and opened them with a short Python script, no torch, just struct, json, mmap and numpy. I kept the script and its output, and every number below comes from that run unless I name another source.

GGUF vs safetensors, file by file
A safetensors file starts with 8 bytes holding the size N of a JSON header, then the header, then the data. The README says the format exists “to remove the need to use pickle”, because “Pickle: Unsafe, runs arbitrary code”. For Qwen3-0.6B at the pinned commit c1899de2, N is 35,552 bytes. That header lists 311 tensors, all BF16, 751,632,384 values in total. It holds names, types, shapes and offsets and nothing else, so the tokenizer and the model config stay in separate files.
A GGUF file is more self-contained. Per the GGUF spec it starts with the bytes GGUF, a version, a tensor count and a key-value count, then the metadata, then one info entry per tensor with its own type code, then the data, aligned so it can be memory-mapped. The Qwen3 Q8_0 file at commit 23749fef is version 3 with 310 tensors and 28 metadata keys. Everything before the weights, header, metadata and tensor table, is 5,951,108 bytes. Most of that is the tokenizer: 151,936 tokens, 151,387 merges and a chat template of 4,100 characters. The weights begin at byte 5,951,136.
Both headers can be read without downloading the file. Two range requests for the safetensors header (8 bytes, then 35,552) took 0.74 seconds from my connection and told me all 311 tensor names and shapes. One range request for the first mebibyte of the GGUF took 0.52 seconds and gave me the magic, the version and the counts. After that first mebibyte the rest of the header is 4.90 MB (4,902,532 bytes), so you read it all in one more gulp. Parsing the 35,552-byte JSON in Python took 0.9 milliseconds, and walking the GGUF header with my own reader took 0.21 seconds, most of it spent walking the three tokenizer arrays: the 151,936 tokens, the 151,387 merges and the token types.
How much smaller is the GGUF download?
The two repos publish the same model, Qwen3-0.6B, under Apache-2.0. To run the safetensors repo you need seven files: model.safetensors at 1,503,300,328 bytes, plus the config, the generation config, tokenizer.json, tokenizer_config.json, vocab.json and merges.txt. Added up from the repo’s file list through the Hugging Face API, that is 1,519,182,365 bytes. The GGUF repo needs one file, 639,446,688 bytes, because the tokenizer and template are inside. So the GGUF download is 0.42 of the other.
Where did the missing 863,853,640 bytes go? I assumed it was all quantization. Qwen3-0.6B ties its input embeddings to its output layer, and the repo’s config.json says tie_word_embeddings: true. The safetensors file stores the matrix anyway, once as model.embed_tokens.weight and again as lm_head.weight. I compared the two tensors byte for byte and they are identical: 311,164,928 bytes each, 20.7% of the file. The GGUF stores that matrix once.
Take the duplicate out and the BF16 weights are 1,192,135,400 bytes. The Q8_0 file is 0.54 of that. So 311 MB of the gap is a repeated tensor, a property of that one repo and not of the format, and 553 MB is the quantization. In the GGUF, 197 tensors are Q8_0 (595,984,384 values) and 113 are F32 (65,536 values, the norm weights). The file averages 8.58 bits per weight against BF16’s 16.
Bon. The container did not make the file small. Rounding 16-bit weights to 8-bit did, and you can do that to safetensors too.
What does Q8_0 cost in accuracy?
A smaller file is only a bargain if the model still answers. Q8_0 stores each block of 32 weights as one fp16 scale and 32 int8 values, 34 bytes per block. I decoded all 197 Q8_0 tensors back to floats and compared them with the matching BF16 tensors from the safetensors repo, name by name (blk.2.ffn_down.weight against model.layers.2.mlp.down_proj.weight, and so on).
Over all 197 tensors the relative root-mean-square error is 0.87%. Tensor by tensor it runs from 0.54% to 2.03%, and the worst one is blk.2.ffn_down.weight. The largest single weight is off by 0.245. That the error is under one percent also tells me the two repos hold the same weights, which I had only assumed until I measured it. Weight error shows how far the numbers moved, not how far the answers moved, and for answers you need your own prompts.
So the Q8_0 GGUF moves 197 tensors by 0.87% relative RMS, worst tensor 2.03%, and that is a weight-space number; it saves 553 MB on a model this small. You cannot get that error back. If you want to fine-tune, merge adapters or make your own Q4, start from the BF16 safetensors, because quantizing a quantized file stacks the error. Going the other way is routine: the llama.cpp repo ships convert_hf_to_gguf.py for safetensors to GGUF, and a quantize tool with its own README.
Which file should you download?
If you run models on a laptop, a mini PC or one GPU through llama.cpp or anything built on it, take the GGUF. One file, no tokenizer hunt, and the README’s quick start is llama cli -hf ggml-org/Qwen3.5-0.8B-GGUF, which pulls it for you. For a machine like my N95, where the model has to sit in 16 GB beside everything else, the quantization is the reason you are there at all.
If you serve with vLLM, take safetensors. vLLM’s GGUF page says GGUF support is “highly experimental and under-optimized”, asks you to install vllm-gguf-plugin, and recommends passing the base model’s tokenizer to avoid a “buggy” tokenizer conversion. The same goes for training and any code that calls from_pretrained on a plain repo: safetensors is the native input.
The 24 GB card I wrote about on 16 November is the case where memory is the whole story: the Edge0 145B builds need about 31 to 38 GiB of host RAM on top of the 24 GB card. A 0.6B model is not that case. Q8_0 at 639 MB fits a machine with 16 GB with room to spare, and I would take the single file.
One more thing for the careful: pick a publisher you trust. The format does not protect you from a repo that someone mislabeled, and a GGUF named Q8_0 whose tensors say otherwise is visible in the tensor table, which you can read for 6 MB. I will read it before I run it.
Me, I’d rather read a header than trust a filename. Next I will push 100 of my listing titles through the BF16 weights and the Q8_0 file and count how many answers change, because 0.87% in the weights is a number I can now put next to a number in the answers.