Size any Hugging Face model

Not one of the 167 models in the catalog? Paste the repository and get memory per quantization, fit and speed on any of 84 GPUs and Macs. File sizes and architecture are read live from Hugging Face.

Try

Questions about this tool

Which repositories work?

Any public text-generation model on Hugging Face that reports its parameter count. GGUF repositories from unsloth, bartowski, lmstudio-community and others give the most exact result, because the real file size of every quantization is read from the repository. Original weight repositories work too; their quantized sizes are estimated from the parameter count.

Where does the KV cache size come from?

From the model's config.json: layers, key-value heads and head dimension. GGUF repositories usually carry no full config, so it is read from the base model named on the model card. If neither is readable, for example because the base model is gated, a typical layout for a model of that size is used and the page says so.

Is anything sent to llmsizing?

No. Your browser asks Hugging Face directly for the repository's file list and config, and the calculation runs on this page.

Why is there no API price or benchmark score?

Those are matched by hand for the 167 models in the catalog. If the repository belongs to one of them, the result links to the full calculator.