How to install local models
wisp works with nothing more installed: by default it runs on Apple’s on-device model, the one behind Apple Intelligence. That model has an 8,192-token window. A model you run locally gives wisp a larger window and, on the models measured below, more reliable tool use. Everything here still runs on your Mac.
This page covers getting a model onto your Mac and choosing it. backends.md is the reference for each runtime: how the window is sized, what each declares, and every error.
Which runtime
| Runtime | Choose it when | How wisp names a model |
|---|---|---|
| Ollama | You want the simplest start. Most models measured with wisp are Ollama models | ollama:<name> |
| MLX | You want the model in wisp’s own process, with nothing else to run. wisp fetches it for you | mlx:<name> |
| llama.cpp | You have GGUF files: a llama-server you start, Llama.app’s, or one wisp starts and keeps running for you (llamacpp.server) | llamacpp:<name> |
| LM Studio | You already use LM Studio | lmstudio:<name> |
| Core AI | You want to try Apple’s Core AI framework with a model you export yourself | coreai:<name> |
llama.cpp was first run live on 2026-10-17, against Homebrew’s llama-server 0.7.0; LM Studio has been tested only
against a fake server
(backends.md, “llama.cpp and LM Studio”).
Ollama
-
Install Ollama and start its server. Either install the app from ollama.com, or:
brew install ollama brew services start ollama # or: ollama serve, in a terminal of its own -
Fetch a model.
granite4.1:8bis the one to start with (see Which model):ollama pull granite4.1:8b -
Check that wisp sees it, then use it once, or make it the default:
wisp models # the model is listed as ollama:granite4.1:8b wisp --model ollama:granite4.1:8b "What is listening on port 8080?" wisp config set model ollama:granite4.1:8b # every wisp from now on; /model switches in chat wisp doctor # "configured model: ollama:granite4.1:8b available"
wisp looks for Ollama at http://127.0.0.1:11434, Ollama’s default. If it runs somewhere else, set
ollama.baseURL.
MLX
MLX models run inside wisp itself, on the GPU. Wisp.app, from the disk image or Homebrew’s cask, includes everything they need, and
wisp doctor’s MLX: line confirms it. wisp fetches the model from Hugging Face:
wisp models pull mlx-community/Qwen3-1.7B-4bit # lists the files, asks before downloading
wisp models enable mlx:Qwen3-1.7B-4bit # checks it can reply, call a tool, and give a schema reply
wisp --model mlx:Qwen3-1.7B-4bit "What is the date in Tokyo?"
- Where it goes. The model is kept in the Hugging Face cache (
~/.cache/huggingface/hubunlessHF_HOMEorHF_HUB_CACHEsays otherwise). A model fetched there by Hugging Face’s own tools is reused, not downloaded again.~/.wisp/models/mlx/<name>is a link to it. - Who published it. Models from
mlx-communityare fetched without a question about the publisher. A model from any other publisher is put to you first, with its licence and download size. You can pull it once, or trust the publisher from now on. - An interrupted pull resumes where it stopped the next time you run it.
- In chat,
/models pull <repository>does the same.
When you enable it, wisp checks what the model can actually do. A model that replies but never calls a tool can only be used with tools off.
llama.cpp and LM Studio
For llama.cpp, llamacpp.server says whose server wisp uses
(ADR 0082):
llamacpp.server | The server | Models |
|---|---|---|
off (the default) | A llama-server you start, at llamacpp.baseURL (http://127.0.0.1:8080) | The ones it serves |
llama-app | Llama.app’s, on port 9931; it has no key and answers any web page you open, which wisp doctor says | The ones you add in Llama.app, such as llamacpp:ggml-org/gemma-4-E4B-it-GGUF:Q8_0 |
wisp | wisp’s own llama-server, kept running by a LaunchAgent on port 8933, with a key only you can read | The GGUF files you add with wisp models add |
With a server you start, start it, then name its model:
llama-server -m ~/models/Qwen3-8B-Q4_K_M.gguf -c 32768 # llama.cpp: named llamacpp:Qwen3-8B-Q4_K_M
wisp models enable llamacpp:Qwen3-8B-Q4_K_M # checks whether it calls tools
With wisp’s own server, approve the llama-server it runs, add your models, and turn it on:
brew install llama.cpp
wisp config set llamacpp.serverPath /opt/homebrew/bin/llama-server # approved by its digest; again after brew upgrade
wisp models add ~/models/Qwen3-8B-Q4_K_M.gguf # linked, not copied: llamacpp:Qwen3-8B-Q4_K_M
wisp config set llamacpp.server wisp # registers the LaunchAgent and starts it
wisp doctor # the binary, the agent, the server, each model
It starts at login and again after a crash or a kill, loads a model on the first request, and lets an idle one sleep; its memory
settings (llamacpp.serverContextLength, 65,536 tokens by default, and the rest) are in wisp config list.
wisp config set llamacpp.server off stops it. The details are in backends.md, “llama.cpp”.
For LM Studio, download a model in the app and start its server from the Developer tab (or lms server start).
The model is then lmstudio:<key>, such as lmstudio:qwen/qwen3-8b.
The window is the one the server holds the model at, so start llama-server with -c (wisp’s own server: llamacpp.serverContextLength), or load the model in LM
Studio at the window you want. If a server you start needs a key, set WISP_LLAMACPP_API_KEY or WISP_LMSTUDIO_API_KEY.
wisp never logs or shows it. The details are in backends.md, “llama.cpp and LM Studio”.
Core AI
A Core AI model is a bundle you export once with Apple’s
coreai-models tools into ~/.wisp/models/coreai. It is then
coreai:<bundle directory name>. wisp never exports or downloads one. The steps, and what tool calling on a small
export did when tried, are in backends.md, “Core AI”.
Which model
These are the Ollama models measured on this project’s Mac, from the comparison of 2026-10-04 (measurements.md, “The local-model comparison”):
| Work | Model | Size | Why |
|---|---|---|---|
| Most things: single commands, short lookups, git | granite4.1:8b | 5.4 GB | About 2 s a request, and close to the most accurate (edit_file 28/30, system_info 14/16) |
| Multi-step tasks, reasoning over several files | gemma4:12b | 8.0 GB | Perfect on tools (30/30, 16/16) at 12 to 18 s a request; it thinks before it answers |
| Large diffs and long drafts | qwen3.8:27b | 17.7 GB | As accurate, and the only one with both large-diff drafts right, but much slower |
Avoid these for tool work:
llama3.2:3bwrites tool calls as text and misses edits.ministral-3:14bmade no calls in that comparison. It writes calls in Mistral’s own format, which wisp has read since 2026-10-06, but it has not been measured since.
A thinking model can be told not to think. That is often much faster. On 2026-10-10, granite4.2:8b without
thinking ran at granite4.1:8b’s speed, where thinking made it 4 to 15 times slower. It still got every draft
right, though it dropped two system_info cases (14/16). To install it, turn its thinking off, and use it:
ollama pull granite4.2:8b # 5.35 GB
wisp config set ollama.models.granite4.2:8b.think false
wisp models # ollama:granite4.2:8b … thinking (false)
wisp --model ollama:granite4.2:8b "What is today's date?"
The setting holds for this one model wherever it is used. An MCP thread can choose for itself instead, with
"think": false or true on the respond call that starts it (mcp.md).
wisp’s own internal calls, such as the classifier and summaries, never ask a model to think (backends.md, “Thinking, per model and per call”).
Memory and the context window
wisp sizes each Ollama and MLX model’s window when it is chosen. The window is fitted to the Mac’s free memory at
that moment and capped at the model’s maximum, so the same model may get a smaller window when memory is tight.
wisp models shows the window (CONTEXT) and how it was decided (FROM). To hold one model to a size:
wisp config set ollama.models.qwen3.8:27b.contextLength 16384
wisp.md has the rule.
Checking and turning models off
wisp models # every model that can serve a conversation now, with what wisp knows of each
wisp models --all # and the rest, each with the reason it cannot be used
wisp models disable ollama:llama3.2:3b # hidden from /model and refused wherever a model is chosen
The default model cannot be disabled until another is made the default.
When a model will not start:
| Message | What to do |
|---|---|
no Ollama server at … | Start Ollama (brew services start ollama, or open the app) |
Ollama has no model '<name>'; installed: … | ollama pull <name>, or pick one of those listed |
model 'X' is disabled; enable it with … | wisp models enable X |
no llama.cpp server at … | Start llama-server, or set llamacpp.baseURL; under llamacpp.server llama-app, the message says to start Llama.app, or that it is not installed |
wisp's llama.cpp server does not answer at …: wisp will not start its llama-server: … | Under llamacpp.server wisp, the approved llama-server is not set, not approved, or has changed (after brew upgrade llama.cpp); run the wisp config set llamacpp.serverPath … command the message names |
wisp's llama.cpp server does not answer at …: its LaunchAgent is not registered; … | wisp config set llamacpp.server wisp registers and starts it |
… its Login Item waits for your approval in System Settings > General > Login Items & Extensions … | Turn on Wisp there; macOS asks before an app’s background item runs |
… wisp registers no LaunchAgent here (…); start it yourself with wisp llamacpp serve | WISP_HOME or WISP_LLAMACPP_AGENT=off is set; run wisp llamacpp serve in another terminal, or unset them |
wisp's llama.cpp server has not started yet: … or … is registered and the server is not running, or still starting … | Read ~/Library/Logs/Wisp/llamacpp.log (the message names it), then wisp config set llamacpp.server wisp to start it again; wisp doctor shows the whole state |
wisp's llama.cpp server at … refused the key in wisp's key file … | It runs with another key; wisp config set llamacpp.server wisp restarts it with the one in the key file |
When chat’s configured model is unavailable as it starts, chat starts on system and says so. A one-shot
wisp "…" and an MCP respond fail with the message instead.