Use external routes when a client asks for an OpenAI-compatible base URL. That includes IDEs and coding agents such as OpenCode, Cline, and Zed, plus SDKs like AI SDK. Use this base URL:Documentation Index
Fetch the complete documentation index at: https://docs.compose.market/llms.txt
Use this file to discover all available pages before exploring further.
What external routes do
| Behavior | External route |
|---|---|
| Model IDs | Public catalog IDs such as gpt-5.5 and openai/gpt-5.5. |
| Auth | Compose Key bearer auth only. |
| Payment | Prepared and settled by Compose behind the route. |
| Response shape | OpenAI-compatible JSON and SSE. |
| Receipts | Kept out of bodies and streams; native clients can use /v1/* for receipt bodies. |
| Diagnostics | Provider/model headers are exposed when safe. |
provider|model syntax, no hidden provider field.
Basic request
Model aliases
When multiple providers expose the same upstream model ID, the generated catalog keeps the priority winner on the bare ID and gives non-primary rows a provider-prefixed public ID.Diagnostic headers
External responses can include:| Header | Meaning |
|---|---|
x-compose-public-model | Public model ID from the request. |
x-compose-upstream-provider | Provider selected by catalog resolution. |
x-compose-upstream-model | Provider model ID sent to the adapter. |