Settings > Ollama, pick a model, and click Add to workspace. For LM Studio or any other local server with an OpenAI-compatible API, add it as a provider in your workspace’s opencode.jsonc.
Free and local. Local models need no API key, no OpenWork Cloud account, and no internet connection once the model is downloaded. Your prompts and files stay on your machine.
Use Ollama
OpenWork has a built-in Ollama setup screen. It talks to Ollama athttp://localhost:11434.
- Install Ollama and start it.
- In OpenWork, open
Settingsand chooseOllama. - Wait for the status to show
Ollama running. If it showsOllama isn't installed or running, start Ollama and click the refresh button. - Under
Available models, select a model you already downloaded. If you have none, clickPull a model(orAdd a custom model), type a model name from the Ollama library, such asqwen2.5-coder:7b, and wait for the download to finish. - Leave
Use as default model in workspacechecked if new chats should use this model. - Click
Add to workspace. OpenWork saves the provider asOllama (local)and reloads the workspace. - Start a chat and confirm the model name in the model picker.
Use LM Studio or another local server
LM Studio, llama.cpp’s server, vLLM, and similar tools expose an OpenAI-compatible API. OpenWork connects to them the same way it connects to any custom LLM.-
Start the local server in your tool and load a model. In LM Studio, start the local server from its developer view; by default it listens on
http://localhost:1234. - Copy the model identifier the server reports (for LM Studio, the name shown for the loaded model).
-
Open your workspace folder and edit
opencode.jsoncin its root (create it if it does not exist). -
Add a provider that points at the server’s
/v1endpoint: -
Replace
qwen2.5-7b-instructwith the exact model identifier from step 2. -
Run
Reload OpenCode configfrom the command palette (or restart OpenWork), then pick the model in the chat model picker.
name, baseURL, and model IDs.
Pick a model that can use tools
OpenWork is an agent: it reads files, runs tools, and calls MCP servers. Small local models often chat well but struggle to call tools reliably. If a task stalls or the model ignores your files, try a larger model or one that is advertised for tool or function calling. Keep a cloud model connected as a fallback for long, multi-step tasks.FAQ
Is OpenWork free with local models?
Is OpenWork free with local models?
Yes. OpenWork is free and open source, and running a local model adds no OpenWork cost. You only need hardware that can run the model.
Does OpenWork send my data anywhere when I use a local model?
Does OpenWork send my data anywhere when I use a local model?
Model requests go to the local server you configured, such as
http://localhost:11434. Connectors and MCP servers you add still talk to their own services.The Ollama screen says Ollama is not reachable.
The Ollama screen says Ollama is not reachable.
Make sure Ollama is running on the same machine and listening on port
11434. Then click the refresh button on the Ollama settings screen.I can't add a local provider on my work computer.
I can't add a local provider on my work computer.
Your organization may block locally added providers or built-in extensions through desktop policies. Ask your OpenWork admin.