| Header | Present when | Example | Meaning |
|---|---|---|---|
X-Orca-Fallback-Level | extra_body.models caused a fallback | 1 | Zero-indexed position in your fallback chain that served the response. 0 means the primary model succeeded and fallback did not trigger. |
X-Orca-Fallback-Model | Fallback triggered (level > 0) | gemini-2.5-pro | The model that actually served the response after the primary failed. |
X-Orca-Router | You called orcarouter/{name} | auto | The name of the router you invoked. |
X-Orca-Resolved-Model | You called orcarouter/{name} | gpt-4o-mini | The concrete model the router resolved to at request time. |
Retry-After | Response is 429 Too Many Requests | 5 | How many seconds to wait before retrying. |
Reading them in code
What OrcaRouter does not expose
We deliberately do not add:- A
providerorrouted_toheader or response field - Channel IDs, channel names, or channel base URLs
- Any identifier that tells a caller which upstream served the request
