Local models
OpenProgram connects to a server you run. Downloads, GPU allocation and server lifecycle stay with that server.
| Preset in Settings → Model services | Default API Base URL |
|---|---|
| Ollama | http://localhost:11434/v1 |
| LM Studio | http://localhost:1234/v1 |
| vLLM | http://localhost:8000/v1 |
| llama.cpp | http://localhost:8080/v1 |
| Local OpenAI-compatible server | http://localhost:8000/v1 |
- Start the server and load a model with its own tools.
- Enable the provider and save its API Base URL.
- Click Fetch models and enable one.
- Select it in the chat composer.
localhost is the machine running the worker; for a remote worker, use an address reachable from it. A host and port alone get /v1; an explicit path is kept. Saving a new URL changes later discovery and inference for already enabled models.
| Situation | What to do or expect |
|---|---|
| Server requires a key | Add it in the provider account panel. Without one, discovery, checks and inference omit Authorization; a cloud OpenAI key is never sent. |
| Several servers | Add custom provider: name, URL, Local server (API key optional). Ordinary custom cloud providers keep their credential requirements. |
| Check the server | Connectivity: a model listing confirms the endpoint; testing a named model also checks inference. Unavailable server, rejected key or invalid response report as failures. |
| No discovery | Add model by id, with the exact identifier. It also updates an existing model's limits. |
| Token limits | Enter limits matching the deployment and its configured context size. Unknown limits default to 4,096 context and 1,024 output. A model's advertised training context does not count. |
Local models use OpenAI Chat Completions, on the same streaming, cancellation and tool-call transport as other compatible providers. Tools, images, reasoning and strict JSON depend on the model and server. Enablement and limits persist in the standard configuration.
Server docs: Ollama, LM Studio, vLLM
Last updated · 2026-11-25