read first
Last updated
What is a local LLM? From installation and PC specifications to model selection and speed checks
Ask your first question to a small language model on your computer
A local LLM1 runs a language model on your computer or a server you manage. Download the model files and open a runtime2 to edit text, summarize or explain code on your own hardware.
Start with a short text and inspect the answer. Check that the model runs and follows the request; then move on to larger tasks such as summarizing documents or coding. This makes it easier to locate a problem if one occurs.
For example, enter: ‘We will review the materials for 30 minutes in Room B at 10:30 a.m. next Tuesday. If you cannot attend, please send your comments by Monday.’ Then ask: ‘Revise this in no more than three sentences, keeping the date, place, meeting time, and deadline unchanged.’ Compare the original and answer to check that all four details remain intact.
Check the result with a short request whose answer you know
Start by making a short notice containing a date and place easier to read without changing its meaning. Use the preceding example and ask: 'Rewrite this in no more than three sentences. Keep the date, time, place and deadline unchanged.' Compare the original with the reply and check that every required detail remains.
To try this before installing an app, open the browser LLM. It runs Qwen 3.5 0.8B Q4 through WebGPU3 in a supported browser. The first model download needs internet access. Try a short question with this small model, then check your regular tasks in the installed app too.
For evidence from a long PDF, connect document retrieval; for pictures, use an image-generation model. Start with a task whose result you can check immediately, such as editing text, and add the features you need after the model responds correctly.

Check memory and choose an app to run the model
On Windows, check system memory and dedicated GPU4 memory separately in Task Manager. Do not add shared GPU memory as if it were separate VRAM5. On a Mac, check the chip and unified memory6 in About This Mac. Because the CPU7 and GPU share that pool, the full displayed capacity cannot be assigned to the model.
Besides the model file, memory is needed for the runtime workspace and conversation context. Longer documents and continued conversations require more context memory, while the browser and editor use memory too. Begin with a short input while your usual apps are open, then increase input length or add one app at a time to find the conditions that run short.
Try LM Studio first if you want to find models and chat through a graphical interface; try Ollama if you want to rerun commands by model name or call a model from another program. You do not need to install both. Choose one, prepare a model, and send the same request used in the browser to compare whether the installed route preserves the same information.
| What you want to do | Where to start | Check your first success |
|---|---|---|
| Try a short question before installing | Browser LLM | A reply appears after the model download |
| Choose a model and chat in an app | LM Studio | Load the downloaded model in chat and receive a reply |
| Run commands or connect another app | Ollama | The setup guide's run command returns a reply |
For LM Studio, find a model in the search screen, download a file suited to your hardware and load it in chat. With Ollama, run the command in its setup guide to ask questions in the terminal. Follow the guide for the app you chose and send the same notice as before. A complete reply gives you a starting point for longer documents or connecting another app.

Check answer quality separately from the slow part
Check separately whether the output is within three sentences and whether the date, place, 30-minute meeting, and Monday deadline remain unchanged. Following the requested format is not enough if an important fact changes. Save the original and prompt8 so you can compare under the same conditions after changing the model or hardware.
Record which stage is slow. If the wait occurs only when opening the app, it may include loading the model file. If the first text appears slowly after the model is ready, check the prefill9 stage that processes the input; if text begins promptly but continues slowly, check decoding10. Record an app's response time separately from estimates in a speed tool because they are not the same measurement.
If the model answers short texts but stalls on long documents or reports a memory error, first check the input context and memory available to the runtime. If the information is accurate but the wait is too long, compare execution speed using the same model and input. If your current setup gives you the answers you need within an acceptable wait, you do not need new hardware.

Check the data path before adding documents or external connections
After downloading the model and runtime, local inference11 can work with the internet disconnected. Web search, external APIs, and cloud models use separate internet connections. Before submitting sensitive documents, check which model receives the request and whether search or external tools are enabled.
Terminology notes
Large language model — A model trained on large text datasets to learn language patterns and process or generate text in context.
Back to the textRuntime — The software environment that provides facilities needed while a program runs. In local AI, it can also refer to a model execution engine.
Back to the textWebGPU — An API that lets web applications perform graphics and general-purpose GPU computation in a browser.
Back to the textGPU — A processor designed to handle many calculations in parallel. It performs model computations during AI inference.
Back to the textVRAM — Memory used by a graphics card’s GPU to store model weights and intermediate values.
Back to the textUnified memory — An architecture where the CPU and GPU share one physical memory pool.
Back to the textCPU — The central processor that runs the operating system and general-purpose instructions; in AI workloads it also handles tasks such as preprocessing and data movement.
Back to the textPrompt — The input text sent to a model. For generative models it describes the desired result and strongly shapes the output.
Back to the textPrefill — The stage where an LLM reads the input prompt and computes representations for its tokens. Longer prompts contain more tokens to process.
Back to the textToken decoding — The stage that generates successive output tokens using the input and the response produced so far.
Back to the textInference — The process of using a trained model to compute an output for an input. Here, local inference means running the model on the user’s device.
Back to the text
Frequently asked questions
- What should you check first in this article?
- A local LLM runs a language model on your computer or a server you manage. Download the model files and open a runtime to edit text, summarize or explain code on your own hardware.
- How much memory does it need?
- Besides the model file, memory is needed for the runtime workspace and conversation context. Longer documents and continued conversations require more context memory, while the browser and editor use memory too. Begin with a short input while your usual apps are open, then increase input length or add one app at a time to find the conditions that run short.
See a response with these settings
The device and model are already selected for the speed simulation.
Read next
Executable programs and extensions
Ollama: connecting a model on your computer to other apps
Executable programs and extensions
LM Studio guide: download a model and start chatting
read first
Choosing local LLM hardware: memory, speed and power
read first
Prefill vs decode: should you look at TTFT or tok/s?
