Local AI Out of Memory: How to Fix It (November 2026)
A local model that will not load is usually memory arithmetic. Decode the error strings, then cut context, KV cache, parallel requests and layers in order.
Category
A local model that will not load is usually memory arithmetic. Decode the error strings, then cut context, KV cache, parallel requests and layers in order.
Where local AI models live on disk, what each model costs at every quantization, why the same weights get stored three times over, and how to reclaim the space.
Mistral released the 1T open-weight Le Chonk. The official serving recipe assumes 8 GPUs and the smallest GGUF is 233 GB, so the API is the realistic route.
How to install Ollama on Linux and Windows, run a first model, confirm the GPU is being used, and fix the setup errors that stop a first run.
How llama.cpp, vLLM and LM Studio decide whether to reuse your prompt's KV cache, what each reports about tokens saved, and where the reuse stops.
Which open-weight models hold up behind Claude Code, how Ollama's Anthropic-compatible endpoint connects them, and what each Ollama tag costs to run.
Temperature, top-k, top-p and seed decide how random your local model is. What they do in Ollama, llama.cpp and vLLM, and how to get repeatable answers.
Muse Spark Open, Reflection Beam, and Granite Switch 4.1 all landed on Hugging Face within two days. What fits on one GPU, a Mac, or a cluster.
Which open-weight models stay in character across long roleplays, what frontend to drive them with, and what the privacy picture looks like for intimate chats.
Six self-hosted vector databases for RAG compared: Qdrant, Milvus, Chroma, Weaviate, pgvector, LanceDB. Licence, indexing, the catch.
Which open-weight models actually solve math on your hardware, from quick arithmetic to AIME-level problems, ranked by VRAM tier and use case.
Open-weight chat LLMs by VRAM tier: Qwen3.5, Qwen3.6, Gemma 4 and gpt-oss picks, with Ollama tag sizes and licences.
Llama Guard, Prompt Guard, NeMo Guardrails, guardrails-ai, and llm-guard: a feature-by-feature comparison of options for adding guardrails to a self-hosted LLM.
Anthropic's red team says small open models may be months from acting as self-replicating worms on IoT such as $55 TV boxes. What self-hosters need to know.
Self-hosted models that turn plain-English questions into SQL for PostgreSQL, MySQL, SQLite, and DuckDB, with BIRD-SQL results, licences, and RAM needs.
Speculative decoding strategies for local LLMs: how draft models, EAGLE-3, DFlash, and n-gram matching speed up llama.cpp and vLLM, and when each one helps.
JSON mode, GBNF grammar-constrained decoding, and OpenAI-style tool calling across Ollama, llama-server, LM Studio, and vLLM.
Which Ollama models work as a local backend for Claude Code's CLI, what features degrade without Anthropic's API, and how to wire it up.
A plain-language walk through parallelism, matrix multiplication, VRAM, memory bandwidth, and why a CPU can run an LLM but rarely fast enough.
Microsoft's first laptop on Nvidia's RTX Spark has a price and ship date. Here is what fits in 128GB of unified memory - and what it costs you.
Which open-weight model actually handles non-English work, what each provider claims about language coverage, and the tradeoffs between breadth and depth.
Open-weight vision-language models sized by VRAM: Qwen3-VL 2B to 235B-A22B, Mistral Small 3.2, Gemma 3, Pixtral, and where each tier breaks.
Practical tier guide to running a local LLM on Excel, CSV, and tabular data. Picks by RAM, JSON output for clean rows, and what to skip.
How to pick the hardware, OS, and runtime for a 24/7 local AI server, from a low-power mini PC to a used 3090 workstation, and what each costs to run.