Skip to content

Router Documentation

Build with open models through one familiar API. Explore the guides, choose your model, and make your first connection.

Your model, your code

Use an OpenAI client or a simple HTTP request. Choose a supported model, send a message, and receive a complete answer or stream it into your application.

Request
curl "$ROUTER_BASE_URL/chat/completions" \  -H "Authorization: Bearer $ROUTER_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "model": "gemma3:1b",    "messages": [      { "role": "user", "content": "Hello!" }    ]  }'

Set ROUTER_BASE_URL to the endpoint shown in Developer API, including /v1. Keep ROUTER_API_KEY in your server environment.

A few useful starting points