A local LLM is a large language model that runs on your own computer instead of on a company's servers. You download the model as a file, load it in a program such as Ollama or LM Studio, and chat with it there. Your prompts and drafts stay on the machine, and the model keeps working with no internet connection. In exchange you are limited to models that fit in your computer's memory, and those know less than the large hosted ones and are less dependable on long documents.
This page explains the parts, the hardware the tools ask for, the steps to get a model running and what to expect when you write with it. Requirements come from the documentation of LM Studio, Ollama and Google, read on November 18, 2026. For which model to download, see local AI models for writing.
What a local setup includes
A hosted assistant such as ChatGPT or Claude runs its model in the vendor's data center. A local setup has three parts, all on your machine.
- The model file. The trained weights, several gigabytes in one file that often ends in
.gguf. Google, Alibaba's Qwen team, Mistral AI, Microsoft, OpenAI and Meta all publish models for download; see open-weight and open-source models for what their licenses allow. - The runner. A program that loads the file and computes the answers. llama.cpp is the open-source engine under many of them: Ollama is built on it, and LM Studio ships it alongside Apple's MLX engine for Macs. Ollama and LM Studio add model downloads, a chat window and settings.
- Your hardware. Memory sets the largest model you can load. The graphics chip, or the processor when there is none to use, sets how fast it answers.
"Local AI" is the wider term. It also covers speech recognition, image models and the on-device features built into phones and operating systems, described under offline AI. A local model does not have to be a small language model, though on a laptop it usually is one.
Hardware a local LLM needs
Memory is the constraint. LM Studio's documentation describes loading a model as allocating memory for its weights, so the whole file has to fit, with room left for the text you feed in. Makers shrink the file by quantization, which stores each weight at lower precision. Google's figures for Gemma 4 show the effect: the 12-billion-parameter version needs about 26.7 GB to load at 16-bit precision, 13.4 GB at 8-bit and 6.7 GB at 4-bit. Google adds that lower precision costs some capability, and LM Studio's download guide suggests a 4-bit build or higher when your machine can run it.
| Tool | Mac | Windows PC |
|---|---|---|
| ToolLM Studio | MacApple silicon and macOS 14 or newer; 16 GB or more of RAM recommended. On an 8 GB Mac, smaller models and modest context sizes. Intel Macs are not supported. | Windows PCAn x64 processor with AVX2, or ARM (Snapdragon X Elite). At least 16 GB of RAM and at least 4 GB of dedicated VRAM recommended. |
| ToolOllama | MacGraphics acceleration through Apple's Metal. For the quickstart model, 8 GB of unified memory is recommended. | Windows PCNVIDIA cards with compute capability 5.0 or higher and driver 550 or newer; AMD Radeon through ROCm v7 drivers. For the quickstart model, 8 GB of VRAM is recommended; with less, Ollama uses system RAM and runs slower. |
The details are in LM Studio's system requirements and Ollama's hardware page. The context window, the amount of text the model can hold at once, takes memory on top of the weights. Ollama's documentation says a larger context length increases the memory a model needs, and on machines with less than 24 GiB of video memory it defaults to 4,000 tokens, roughly 3,000 words. A chapter longer than that does not fit until you raise the setting.
How to run one
- Check your memory
Look up how much RAM the computer has and, on a Windows laptop with a separate graphics card, how much VRAM. Compare both with the table above and with the file size of the model you want.
- Install a runner
Ollama gives you a small app and terminal commands. LM Studio is a desktop app with a model catalog and a chat window. Both run on macOS, Windows and Linux; LM Studio vs Ollama compares them.
- Download a model
In LM Studio, pick one in the Discover tab. In Ollama, pull it and run it by name. The commands below are the ones in Ollama's quickstart; they fetch a file of about 7 GB. Downloading is the step that needs a connection.
Terminal
ollama pull gemma4:e2b ollama run gemma4:e2b - Raise the context length
Before you paste a long passage into Ollama, move the context length slider in the app's settings, or start the server with a higher
OLLAMA_CONTEXT_LENGTH. Then runollama ps, which shows the context in use and whether the model sits fully on the GPU. - Keep it local
Ollama also offers cloud models that run on its own servers. Its setup screen asks you to sign in for those or to choose a local model, and local models need no sign-in. Setting
OLLAMA_NO_CLOUD=1switches the cloud features off.
Writing with a local model
A local model suits bounded jobs where the text is in front of it: rephrasing a paragraph, summarizing a page, translating a passage. Model cards are frank about the rest. Google's card for Gemma 4 says the model may produce incorrect or outdated statements, and its training data stops at January 2025. With the network off there is no web search to fill the gap, so supply the facts yourself and check what comes back. Independent benchmarks also put downloadable models well behind the top hosted ones; the scores, and what they do and do not measure, are on the page about local models for writing linked above.
Local AI in Strokes
We make Strokes, a desktop writing app for macOS and Windows, where documents are files on your own computer. The Plus and Pro plans include Local AI, which runs on that computer. With it, improving a passage, summarizing, translating, reader reviews and autocomplete work offline, and nothing you write is sent to an AI service while you use it.
Frequently asked questions
Is running a local LLM free?
The software can be. Ollama and llama.cpp are MIT-licensed, LM Studio has been free for home and work use since July 2025, and Ollama's price list includes running models on your own hardware at $0. Models such as Gemma 4 and Qwen3.5 carry the Apache 2.0 license and no fee. What you pay for is the computer. Both companies also sell access to cloud-hosted models, billed separately.
How much RAM do I need to run an LLM locally?
It depends on the model. Google lists about 2.9 GB to load the smallest Gemma 4 at 4-bit precision and about 17.5 GB for the largest, before any text is added. OpenAI says its gpt-oss-20b model can run within 16 GB. LM Studio recommends 16 GB of RAM and tells owners of 8 GB Macs to stay with smaller models. Leave headroom, because the text in the context window uses memory too.
Can I run a local LLM without a graphics card?
Yes, more slowly. llama.cpp runs on ordinary x86 processors as well as on graphics cards, and LM Studio's requirement on Windows is a processor with AVX2. Ollama's status command reports 100% CPU when a model sits entirely in system memory. A Mac with Apple silicon has no separate card to buy: the tools use the built-in graphics through Apple's Metal.
Does Ollama send my prompts anywhere?
Not when the model runs locally: Ollama's FAQ says the company does not see your prompts or data in that case. Cloud models are different. Those prompts are processed on Ollama's servers, and the company says it does not store or log them and never trains on them. A model tag marked cloud runs there, so read the tag before you paste in a draft.



