LLM model sizes

Parameter counts, context lengths and architecture for popular open language models, with the memory their weights take at common quantizations. These are the figures behind our LLM VRAM calculator.

8 models · 17 sources · last checked · changelog

Open model sizes
ModelParametersMax contextLayersKV heads × sizeKV cache per 1K tokens (16-bit)Q4_K_MQ8_016-bitLicense
Qwen3 4B4B32K131K with YaRN368 × 1280.15 GB2.4 GB4.3 GB8.0 GBApache 2.0
Llama 3.1 8B8B128K328 × 1280.13 GB4.9 GB8.5 GB16.0 GBLlama 3.1 Community License
Qwen3 8B8.2B32K131K with YaRN368 × 1280.15 GB5.0 GB8.7 GB16.4 GBApache 2.0
Phi-4 (14B)14B16K4010 × 1280.21 GB8.6 GB14.9 GB28.0 GBMIT
Qwen3 14B14.8B32K131K with YaRN408 × 1280.17 GB9.1 GB15.7 GB29.6 GBApache 2.0
Mistral Small 3.1 24B24B128K408 × 1280.17 GB14.7 GB25.5 GB48.0 GBApache 2.0
Qwen3 32B32.8B32K131K with YaRN648 × 1280.27 GB20.1 GB34.9 GB65.6 GBApache 2.0
Llama 3.3 70B70B128K808 × 1280.34 GB42.8 GB74.4 GB140.0 GBLlama 3.3 Community License

Model name links to the model card; layer count links to its config.json. Weight sizes are estimates from llama.cpp's measured bits per weight.

Ad slot · below the table

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.