Model memory estimator
How much memory does a model need?
Enter a model’s size and precision to see how much memory its weights need. Add a few details from the model’s config and we also estimate the memory its conversations use (the KV cache).
Describe the model and how you will use it
What you will get
Enter a model size and precision, then press Estimate memory.
Method and limits
What the calculation includes
Weight estimate: parameters × nominal bits per weight ÷ 8. Optional KV-cache estimate: layers × context × concurrency × KV heads × head dimension × 2 × bytes per cache element. The factor 2 accounts for keys and values.
Transformers documentation describes the key/value cache as per-layer tensors whose sequence dimension grows with processed tokens. Ollama documents that parallel requests scale memory with configured context and concurrency. HostCritiq does not infer architecture values from a model family name.
An estimate is not a compatibility check. Before you rent hardware, see Ollama requirements and the GPU hosting catalog.