Skip to main content
model must be dari/routing, and messages must contain at least one OpenAI-style message. Common optional fields include stream, temperature, max_tokens, tools, tool_choice, response_format, and reasoning_effort. This example uses your organization’s default router at /v1. To address a specific router instead, send the same body to https://routing.dari.dev/{router_id}/chat/completions. The response uses the standard Chat Completions shape and adds dari_routing:
See the Chat Completions API reference for fields.