Documentation
One OpenAI-compatible endpoint across every model provider.
Pick a chapter, or press ⌘/Ctrl + K to search.
Introduction
What this is, why a router, the honest trade-offs.
Quickstart
Raw HTTP, the OpenAI SDK, or @public-supply/sdk.
Authentication
Keys, scoping, OAuth PKCE, and BYOK.
Models
The id grammar, variants, aliases, and the capability matrix.
Routing
The provider object, fallbacks, and supply/auto triage.
Features
Streaming, tools, structured outputs, multimodal, batch.
Cost and billing
Credits, per-response cost, budgets, and export.
Reliability
Failover, breakers, the error taxonomy, idempotency.
SDK reference
@public-supply/sdk, generated from source.
API reference
Every endpoint, generated from the OpenAPI spec.
MCP server
Connect an assistant; billable tools marked.
Migrating
From OpenRouter, or from a direct provider SDK.