Local model memory estimate
Estimate the memory needed to load a model and hold its attention cache at a given context length.
Result
Use the prefilled example or enter your own values.
Assumptions
Assumes one sequence, dense full-length KV caching and one memory pool. Weight packing, quantization metadata and runtime allocations vary by backend. Enter an overhead allowance and compare with measured use. A GiB is 2³⁰ bytes.
MCP tool local_model_memory