# Laptop with 16 GB of RAM
ollama run llama3.1:70b# Laptop with 16 GB of RAM
ollama run llama3.1:8bA 4-bit '70b' model needs about 40 GB of memory, so a 16 GB laptop should run a smaller quantized model like '8b' that fits in RAM or VRAM.
Roughly the model file size plus extra room for the context. A small quantized model can run in a few gigabytes; large models need far more.
The prompts stay on your machine if the runtime does not send data out, which makes local models a good fit for sensitive data.
Yes. Many local runtimes expose an HTTP API on localhost, so the same fetch-based client code works with a changed URL and model name.