Running LLMs locally is finally becoming a viable workflow
The ecosystem for local inference is exploding. If you want to run models without an internet connection, you really only need a few specific setups to get started. For pure speed and ease of use, Ollama is basically the industry standard for managing local weights. It handles the heavy lifting of serving the model so you can just hit a local endpoint.
If you are looking to integrate this into a dev environment or a custom script, you'll usually be interacting with a local server setup like this:
# Pulling a model to run locally
ollama run llama3The real win here isn't just privacy; it's the latency and the zero-cost scaling. Once you have the hardware, you can hammer the model with as many tokens as you want. I've started using local models to preprocess my messy documentation files before feeding the clean versions into a more expensive model like Claude. It saves a ton of money and keeps the "brain work" local.
One thing to watch out for is VRAM management. If you try to run a model that's too big for your GPU, your system will swap to system RAM, and your tokens-per-second will absolutely tank. Always check your model size against your available VRAM before you start a long session.
If you want to dive into the specific repositories for different local runners, check out these:
https://github.com/ollama/ollama
https://github.com/ggerganov/llama.cpp