RoRoTo
On-device

GGUF file inspector — metadata, tensors and a quantisation check

See what is inside a .gguf, and whether the label is honest

Never sent to a server Runs in the browser Output: Full metadata, tensor table and a quantisation verdict
Workbench on-device

Loading tool…

About this tool

You downloaded a .gguf and want to know what is actually in it: which architecture, how many layers, the native context length, how large the vocabulary, and whether the Q4_K_M on the filename is really Q4_K_M. This tool reads the metadata block and the tensor table from the front of the file, lists every tensor with its shape and type, then checks the actual type distribution against the general.file_type the file declares — and says so plainly when the label does not describe the contents, which happens more often than people expect after a re-quantise or a careless upload. Only the first few megabytes are read and the weights are skipped entirely, so a 40GB model resolves in a few hundred milliseconds and the same works on a phone. Everything happens in browser memory with no request sent, so unreleased fine-tunes and client deliverables are safe to inspect.

FAQ

How is this different from the VRAM estimator?
That one answers "will this card run it", which needs GPU numbers and a KV cache estimate. This one answers "what is in the file", and describes the file alone. A sensible order is to confirm the file is complete and honestly labelled here, then estimate memory over there.
Why is a multi-GB file instant?
GGUF stores metadata and the tensor table at the very front and the weights after them. This tool reads only that front section — usually a few hundred KB to a few MB — and skips the weight section wholesale, so file size does not affect speed.
What does a declared-vs-actual mismatch mean?
general.file_type records how the file as a whole was quantised, while each tensor also carries its own type. A file labelled Q4_K_M whose tensors are overwhelmingly Q8_0 was either re-quantised or mislabelled. Note that schemes like Q4_K_M deliberately keep embeddings and some projections at higher precision, so a mix of types is normal — the tool only flags a mismatch when the dominant type contradicts the label.
Is the file uploaded?
No. Reads go through the browser's local file-slice API and no request is made, so it also works with the network off.
Q4_K_M against Q5_K_M — where does the difference live in the file?
In the storage type of each individual tensor, and in the mix. Q4_K_M is a hybrid scheme: the bulk uses the 4-bit Q4_K type while a few critical tensors (some feed-forward layers, the output layer) stay at Q6_K, averaging about 4.85 bits per weight. Q5_K_M is the same idea with a 5-bit body, averaging about 5.67 bits. That is why the Q5_K_M build of a model is roughly 17% larger and why the two files show different type distributions — the tensor table lists exactly which tensors are Q6_K and which are Q4_K. It is also why a mismatch is only reported when the dominant type contradicts the label: a hybrid scheme is supposed to contain several types.
How can I tell whether a downloaded .gguf is broken or incomplete?
Three checks. First, the opening four bytes must be the GGUF magic — if they are not, it is not a valid file at all. Second, every tensor record carries an offset, and offset plus its expected byte count must land inside the file length; an interrupted download typically shows up as the last few tensors running past the end, which surfaces earlier than "does it load". Third, the number of parsed tensors must match the tensor_count declared in the header, and for split models check split.count against split.no for missing shards. If a file loads but produces garbage, the file is usually not corrupt but missing tensors (an MoE router, for instance) or mislabelled — both visible in the tensor table and the quantisation check.
The filename says Q4 but the file is much larger than expected. Is that normal?
Check how far off it is. Q4_K_M averages 4.85 bits per weight, so a 7B model lands near 4.3GB; an 8GB file is really closer to Q8_0, and a 2GB file is Q2 territory. The IQ family also breaks the intuition because it uses a different codebook. There is also a legitimate case: files carrying extra tensors such as a multimodal vision projector (mmproj) are naturally larger than a text-only model of the same parameter count. Drop the file in and the overview reports the actual bits-per-weight derived from the weights, which beats trusting the filename.