Local LLM calculator
Match the configuration you plan to run. Your selections are saved in the page URL for sharing.
Run configuration
Qwen3-8B · 4bit · mlx
Tested 2026-11-29 UTC · mlx mlx-lm 0.32.2 / mlx 0.32.5
Reading the result
Weights use most of the budget at short prompts. The attention cache grows with the configured context, so a model that loads at one window size may exceed the budget at another. The segmented meter shows estimated weights in mint, cache in apricot and overhead in lavender.
A matching run takes precedence. Its date and runtime version accompany the result. Read the measurement method.
Frequently asked questions
What is a context window?
The context window is the total token capacity requested from the runtime. The prompt length is the number of tokens supplied for this test. Both are part of a measurement match.
How is fit estimated?
The calculator adds model weights, a 16-bit key-value cache, 10% runtime overhead and a fixed 0.75 GB allowance. Apple silicon uses a working budget of 65–75% of unified memory.
How is estimated speed calibrated?
At least three distinct observations are required for the same device, runtime, architecture and prompt conditions. A bandwidth-based regression uses active parameter count for mixture-of-experts models.