/v1 router works without setup. Create another router when you need a different public model set, organization-registered custom models, provider keys, routing rules, or evals. You can set any router as the default for /v1. Each router has a stable rtr_... ID.
Dashboard
Open Routers in the Dari dashboard and select Create Router. Choose:- The models the router may use.
- Dari-managed or BYOK keys for their providers.
- SLM (Small Language Model) Router, which uses a small selector model for automatic selection, or Describe Your Router, which asks the selector to apply your natural-language rules.
- Whether to use Speculative Routing for lower-latency follow-up turns. It is enabled by default.
YAML
You can also create a router from a local manifest with the public Dari CLI. Install it on macOS or Linux:slm is automatic routing. Use provider_key_envs to read BYOK values from environment variables instead of storing secrets in YAML.
The YAML command uses the platform default and enables speculative routing. Use the dashboard when you need to switch it off; the current public CLI manifest does not expose that setting.
See Speculative Routing, Configure Models, Configure Provider Keys, and Router Evals for optional settings.