Where the numbers come from
Parameter counts, context lengths and licenses come from each model's Hugging Face page. Layers, KV heads and head size come from the model's config.json. Weight sizes multiply the parameter count by the bits per weight that the llama.cpp project measured for each format. The KV cache column uses the formula explained by Sebastian Raschka.
To see whether a model fits your graphics card at a given context length, use the LLM VRAM calculator.
Changelog
- : first version, 8 models.
Frequently asked questions
What does 8B mean in a model name?
It is the number of parameters, the learned weights, in billions. More parameters usually means a more capable model that needs more memory.
How big is a model file at Q4_K_M?
About parameters × 4.89 bits ÷ 8. An 8-billion-parameter model is roughly 4.9 GB at Q4_K_M. The table shows each model.