Let the router choose
Send model:"auto". The router evaluates capabilities, priority, weight, health, and fallback availability before selecting a channel.
Developer documentation
Use one OpenAI-compatible API at api.pandoroute.ai/v1. Send model:auto or select an enabled model code.
First request
Create an API key in the console, store it in an environment variable, and point the client at the Pandoroute runtime API.
export PANDOROUTE_BASE_URL="https://api.pandoroute.ai/v1"
# Create a key in the console and load it from your shell or secret manager.
# PANDOROUTE_API_KEY should already be set in the environment.
curl "$PANDOROUTE_BASE_URL/chat/completions" \
-H "Authorization: Bearer $PANDOROUTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "auto",
"messages": [
{ "role": "user", "content": "Write a release note for our API launch." }
]
}'from openai import OpenAI
import os
client = OpenAI(
api_key=os.environ["PANDOROUTE_API_KEY"],
base_url=os.environ["PANDOROUTE_BASE_URL"],
)
response = client.chat.completions.create(
model="auto",
messages=[
{"role": "user", "content": "Summarize this product for a CTO."}
],
)
print(response.choices[0].message.content)Runtime API
The current runtime exposes OpenAI-compatible chat plus Responses, Anthropic-style Messages, model discovery, token counting, and file uploads.
| Method | Endpoint | Use |
|---|---|---|
| GET | /v1/models | List models enabled to the organization. |
| GET | /v1/models/{modelId} | Fetch one enabled model. |
| POST | /v1/chat/completions | OpenAI-compatible chat with streaming support. |
| POST | /v1/responses | Responses-style input mapped into chat routing. |
| POST | /v1/messages | Anthropic-style Messages surface. |
| POST | /v1/files | Upload files for file-aware workflows. |
The API documentation still uses the X-SKYLINE-* prefix for fallback metadata headers. Keep the documented header names when logging degraded responses.
Model selection
model:"auto" lets the router choose an eligible channel. A specific model code is better when the application has fixed quality, context, or cost requirements.
Send model:"auto". The router evaluates capabilities, priority, weight, health, and fallback availability before selecting a channel.
Call GET /v1/models and send a model code enabled to your organization.
Customer API calls use https://api.pandoroute.ai/v1 according to the current Pandoroute developer documentation.
Start with POST /v1/chat/completions. Responses and Anthropic-style Messages are also available when the client needs those request shapes.
Send model set to auto. The router considers request capabilities, organization model access, channel health, priority, weight, and fallback availability.
Product and competitor facts were checked on . Current pricing and availability can change.