Local models
Run the apps’ assistant on your own computer with Ollama, LM Studio, Foundry Local or llama.cpp.
Local models work in the apps while your account has an active Unlock. Not sure yet? Try it free for 7 days.
A local model runs on your own computer: your messages and designs never leave it, and there’s nothing to pay as you use it. In exchange you need a capable computer (a recent graphics card with plenty of memory helps a lot), and local models are usually less capable than the largest hosted ones.
Each runtime below serves an OpenAI-compatible API on your computer. Start it, then choose a local model in the app’s AI settings and give it the runtime’s address and the model’s name. Labels can differ slightly between app versions.
Choosing a model
- It must support tool calling: the assistant works by calling the app’s tools. Pick a model whose description mentions tools or function calling.
- A model that reads pictures can check the views it renders.
- Give it a large context window: the instructions, tools and your design take tens of thousands of tokens. Runtimes often default to a small window; raise it as shown below.
Ollama
- Install Ollama and download a model:
ollama pull <model>. -
Ollama serves on
http://localhost:11434; its OpenAI-compatible address ishttp://localhost:11434/v1. -
Raise the context window, for example by setting the
OLLAMA_CONTEXT_LENGTHenvironment variable (such as32768) before starting Ollama.
LM Studio
- Install LM Studio and download a model in it.
- Load the model with a large context length, then start the local server in the Developer tab.
- Its OpenAI-compatible address is
http://localhost:1234/v1by default.
Foundry Local
-
Install Foundry Local (for example
winget install Microsoft.FoundryLocal). - Start a model:
foundry model run <model>. -
foundry service statusshows the address it serves on; use it with/v1at the end.
llama.cpp
- Get llama.cpp and a model in GGUF format.
-
Start its server with tool-call templates and a large context:
llama-server -m model.gguf --jinja -c 32768 --port 8080 - Its OpenAI-compatible address is
http://localhost:8080/v1.
If it doesn’t work well
- Nothing happens: check that the runtime is running and the address in the app matches.
- The assistant ignores the tools or stops early: try a model trained for tool calling, or a larger one.
- It forgets things in long chats: raise the context window.
- It’s slow: use a smaller model, or one that fits entirely in your graphics card’s memory.