AI Engineering · interactive
Running models locally
Downloading an open model is easy; the question is whether it fits in your machine's memory and how fast it writes. Pick a model, a precision, a context length and a machine, and see the memory it needs and the tokens per second you'll get.
Llama 3.1 8B · 4-bit (Q4_K_M) · 32K context
7.9 tok/s
- weights 4.9 GB
- KV cache 4.3 GB
- runtime 1.0 GB
- ┊ GPU memory 11 GB
The same setup on every machine
- Gaming PC, 8 GB GPU9.7 tok/s (offloaded)
- Laptop, 16 GB unified7.9 tok/s
- Workstation, 24 GB GPU66 tok/s
- Desktop, 128 GB unified36 tok/s
Fits in 11 GB of fast memory: about 7.9 tokens a second.
10 GB needed · 11 GB fast memory
Step 1 of 5 · read left to right
In production
Tools and technologies
A handful of runtimes load quantized open models on laptops and gaming PCs; the arithmetic is the same in all of them.
Not tied to one language — use these names when you search docs or design a system.
- llama.cppSoftware
Runs GGUF models on CPU and GPU, with Q8_0, Q4_K_M and other quantizations.
GitHub ↗ - OllamaSoftware
Download and run open models with one command; built on llama.cpp.
GitHub ↗ - LM StudioSoftware
A desktop app to find, download and chat with local models.
Official site ↗ - MLXSoftware
Apple's array framework for running models on Apple-silicon unified memory.
GitHub ↗ - Hugging Face HubService
Where open weights and their quantized versions are published.
Official site ↗