Keep the regional prefix in every request. Use an API key from the selected region and a model enabled in the workspace.
cURL
/eu with /br.
OpenAI-compatible clients
SetbaseURL (Node.js) or base_url (Python) to the regional URL followed by /v3/router. Pass the API key as apiKey or api_key.
Timeouts and retries
Configure the request timeout in the HTTP client. For streaming, keep the connection open while receiving events. See Retries for gateway retry options.OpenTelemetry
SetOTEL_EXPORTER_OTLP_ENDPOINT to the regional URL followed by /v2/otel.
API keys · API errors
