Local and private models
Connect your own model service and verify capabilities and external dependencies.
Connect a model
Use Settings → Models on desktop for custom/local models, /local-models for terminal management and /model to select an available model. Check supported runtimes and machine resources before downloading.
For an existing private service, configure its model ID, URL, protocol and authentication. See model setup and settings. Match the actual server model ID.
Verify a small task
- Confirm the service is reachable from this machine.
- Select the model and send a short text prompt.
- Test tool use with a small permitted local file.
- Verify images, structured output and long context separately when needed.
Offline operation
A local model does not make every feature offline. Search, remote MCP servers, cloud plugins, login, downloads and updates may still need a network. Restrict the task to local files/services, inspect enabled tools and network settings, then verify with networking disconnected.
Troubleshooting
| Problem | Check |
|---|---|
| Connection refused | Process, listening address, port and firewall |
| 401/403 | Authentication and credentials |
| Unknown model | Server model ID and completed download |
| Chat works but tools fail | Protocol, tool support and response format |
| Slow or out of memory | Model size, context, concurrency and machine resources |
See the local deployment checklist.