Local LLM
A language model running on hardware you control instead of a provider’s API, so documents stay where you decide.
A local LLM is a language model running on hardware you control (your own server, a workstation or a host in your region) instead of a provider’s API. Documents and prompts stay where you decide, and the cost is mostly fixed hardware rather than per-token billing.
Open models can run on your own server, a workstation or a host in your region. You trade the convenience and quality of the largest hosted models for control over where data goes and a fixed cost. Whether a model fits depends on its size and quantization; how fast it answers depends mostly on memory bandwidth. Open source runtimes such as llama.cpp run quantized models on ordinary CPUs and GPUs. You also take over what a provider did for you: updates, monitoring, security and capacity when several people use the model at once.
Choose it when data rules leave no other option, or when volume is high and steady. If the only concern is that a provider keeps or trains on your data, first compare a hosted option with zero data retention and data residency terms. To make a local model answer from your documents, start with RAG before considering fine-tuning.
Sources
- GitHub: ggml-org/llama.cpp github.com
Related terms
- Quantization: Storing a model’s weights with fewer bits, so it needs less memory and runs faster, at a small cost in quality.
- RAG (retrieval-augmented generation): Finding relevant documents first and putting them into the prompt, so the model answers from them.
- Tokens: The pieces of text models read and write, and the unit you pay for.
- Zero data retention (ZDR): An arrangement in which an AI provider does not store your prompts and outputs after returning the response, beyond what is needed to serve it.
- Data residency (AI and cloud): Where your data is stored and processed, including where an AI model runs on it, and whether it can leave a region such as the EU.
- Fine-tuning (vs RAG and prompting): Further training a model on your own examples so it adopts a style, format or narrow skill; poor at teaching it new facts.
