(Next / Model providers)
Model providers
Connect local runtimes and cloud APIs through one model router.
On this page5
Zephyrus exposes a single model router. A provider is available when it is configured and reachable; the composer lists the resulting models together.
Local runtimes
Local runtimes are the default and keep prompts on your machine.
| Runtime | Endpoint shape | Notes |
|---|---|---|
| Ollama | http://localhost:11434 | Easiest local setup |
| vLLM | OpenAI-compatible /v1 | High-throughput GPU serving |
| SGLang | OpenAI-compatible /v1 | Good for long context |
| llama.cpp server | OpenAI-compatible /v1 | CPU and small GPU setups |
| LM Studio | OpenAI-compatible /v1 | Desktop app |
OLLAMA_BASE_URL=http://localhost:11434
OPENAI_BASE_URL=http://localhost:8000/v1
OPENAI_API_KEY=localCloud providers
Cloud providers are opt-in. Configure a key only if you want to use that provider.
dotenv OPENAI_API_KEY=sk-... dotenv ANTHROPIC_API_KEY=sk-ant-... dotenv GEMINI_API_KEY=... dotenv GROQ_API_KEY=... XAI_API_KEY=... OPENROUTER_API_KEY=...
Model routing
The router resolves a model in this order:
- Explicit model selected in the request.
- Workspace default model.
- First available local model.
- First available cloud model.
If no provider is reachable, chat returns a configuration error rather than falling back silently.
Checking availability
Terminal
curl http://localhost:7000/api/modelsThe response groups models by provider and includes context length and whether the model is local.
Cost and privacy
- Local models have no per-token cost and never leave the machine.
- Cloud models send the prompt to the provider you configured.
- Research and memory use the same router, so provider choice applies to every module.