Every response tells you which model answered, why it was chosen, and what it saved.
Routing that you cannot inspect is routing you have to trust. Every Routor response carries the full decision in its headers, on every request, with nothing to enable.
curl -i https://api.routor.io/v1/chat/completions \ -H "Authorization: Bearer sk-routor-..." \ -H "Content-Type: application/json" \ -d '{"model":"auto","messages":[{"role":"user","content":"Summarize my todo list"}]}'
Saved against Claude Opus 5 at its published rate. See the note below.
X-Routor-Quality
82.4
Benchmark score of the chosen model against the quality baseline.
X-Routor-Reasoning
rules: score=-0.088...
The signals that drove the decision, in plain text.
X-Routor-History-Floor
STANDARD
Present only when conversation history raised the floor. See Conversation Memory.
X-Routor-Fallback
true
Present only when the first choice failed and a fallback answered.
X-Routor-Savings is measured against Claude Opus 5 at its published rate, $5 per million input tokens and $25 per million output tokens, not against whichever model you would otherwise have used. If you want the saving against a specific model, compute it from that model’s published rate and the token counts in the response body.
Reading them in a browser
All twelve headers are listed in the API’s CORS exposedHeaders, so front end code can read them cross origin. Custom headers are invisible to JavaScript unless a server opts in this way, which most APIs never do.
Header names are case insensitive, and fetch lowercases them.
Two details worth knowing
Headers arrive before the body, including when streaming. The routing decision is made before the first token is requested, so a streaming client can display the model name immediately rather than waiting for the stream to finish.X-Routor-Reasoning is stripped to printable ASCII. The reasoning string is built with arrow glyphs for terminal logs, and HTTP header values cannot carry them. Expect spaces where a non-ASCII character was.
Deciding without spending
To see a routing decision without calling a model or being billed, send the prompt to the debug endpoint. It runs the real pipeline and returns the whole decision as JSON.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Routor","colors":{"primary":"#16A34A","light":"#4ADE80","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/routor/hv7GNqBT8JfNtoVg/logo/logo-light.svg?fit=max\u0026auto=format\u0026n=hv7GNqBT8JfNtoVg\u0026q=85\u0026s=54f11b9d71088b9ca9f3b6214afed989","dark":"https://mintcdn.com/routor/hv7GNqBT8JfNtoVg/logo/logo-dark.svg?fit=max\u0026auto=format\u0026n=hv7GNqBT8JfNtoVg\u0026q=85\u0026s=a3821333872affc217b83891fcfaa8ca"},"favicon":"https://mintcdn.com/routor/hv7GNqBT8JfNtoVg/logo/logo.png?fit=max\u0026auto=format\u0026n=hv7GNqBT8JfNtoVg\u0026q=85\u0026s=4360f319a0798dedc5a038ec5e5ab407","navbar":{"links":[{"href":"https://routor.io","label":"Website"},{"href":"https://dashboard.routor.io","label":"Dashboard"}],"primary":{"type":"button","label":"Get Started Free","href":"https://dashboard.routor.io/signup"}},"footer":{"socials":{"twitter":"https://x.com/RoutorAI","github":"https://github.com/routor-ai"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"routor","hasAudioNarration":false,"actualSubdomain":"routor","customDomains":["docs.routor.io"],"gitSource":{"type":"github","owner":"buildorz","repo":"smart-router","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6abe8053d30dc67faef74b3f","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"Docs","count":37},{"language":"default","tag":"Guides","count":9},{"language":"default","tag":"Getting Started","count":7},{"language":"default","tag":"Playground","count":6},{"language":"default","tag":"Core Concepts","count":5},{"language":"default","tag":"Dashboard","count":5},{"language":"default","tag":"Support","count":4},{"language":"default","tag":"Ecosystem","count":3},{"language":"default","tag":"API Reference","count":2},{"language":"default","tag":"Endpoints","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"router-metadata","slug":"/router-metadata","pageMetadata":{"title":"Router Metadata","description":"Every response tells you which model answered, why it was chosen, and what it saved.","icon":"tags","href":"/router-metadata"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Every response tells you which model answered, why it was chosen, and what it saved.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Routing that you cannot inspect is routing you have to trust. Every Routor response carries the full decision in its headers, on every request, with nothing to enable.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.routor.io/v1/chat/completions`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer sk-routor-...\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"model\":\"auto\",\"messages\":[{\"role\":\"user\",\"content\":\"Summarize my todo list\"}]}'`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`X-Request-Id req_01JQ8F3K2M`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`X-Routor-Model google/gemma-4-31b`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`X-Routor-Tier SIMPLE`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`X-Routor-Category simple_qa`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`X-Routor-Confidence 0.65`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`X-Routor-Method rules`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`X-Routor-Profile auto`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`X-Routor-Savings 97.0%`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`X-Routor-Quality 82.4`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`X-Routor-Reasoning rules: score=-0.088, confidence=0.65, signals=[simple (summarize)...]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`header-reference`,children:`Header reference`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Header`}),_jsx(_components.th,{children:`Example`}),_jsx(_components.th,{children:`What it tells you`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-Request-Id`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`req_01JQ8F3K2M`})}),_jsx(_components.td,{children:`Unique id for this request. Quote it in support tickets.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-Routor-Model`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`google/gemma-4-31b`})}),_jsx(_components.td,{children:`The model that actually answered.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-Routor-Tier`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SIMPLE`})}),_jsxs(_components.td,{children:[`Difficulty grade: `,_jsx(_components.code,{children:`NANO`}),`, `,_jsx(_components.code,{children:`SIMPLE`}),`, `,_jsx(_components.code,{children:`LIGHT`}),`, `,_jsx(_components.code,{children:`STANDARD`}),`, `,_jsx(_components.code,{children:`COMPLEX`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-Routor-Category`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`simple_qa`})}),_jsx(_components.td,{children:`Topic bucket, one of 17. Empty if none matched.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-Routor-Confidence`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0.65`})}),_jsx(_components.td,{children:`How sure the scorer was, 0 to 1, two decimals.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-Routor-Method`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`rules`})}),_jsxs(_components.td,{children:[`Which path decided: `,_jsx(_components.code,{children:`rules`}),` or `,_jsx(_components.code,{children:`embedding`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-Routor-Profile`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`auto`})}),_jsxs(_components.td,{children:[`Routing profile in force: `,_jsx(_components.code,{children:`auto`}),`, `,_jsx(_components.code,{children:`tier`}),`, or `,_jsx(_components.code,{children:`direct`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-Routor-Savings`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`97.0%`})}),_jsx(_components.td,{children:`Saved against Claude Opus 5 at its published rate. See the note below.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-Routor-Quality`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`82.4`})}),_jsx(_components.td,{children:`Benchmark score of the chosen model against the quality baseline.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-Routor-Reasoning`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`rules: score=-0.088...`})}),_jsx(_components.td,{children:`The signals that drove the decision, in plain text.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-Routor-History-Floor`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`STANDARD`})}),_jsxs(_components.td,{children:[`Present only when conversation history raised the floor. See `,_jsx(_components.a,{href:`/conversation-memory`,children:`Conversation Memory`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-Routor-Fallback`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`true`})}),_jsx(_components.td,{children:`Present only when the first choice failed and a fallback answered.`})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`X-Routor-Savings`}),` is measured against Claude Opus 5 at its published rate, $5 per million input tokens and $25 per million output tokens, not against whichever model you would otherwise have used. If you want the saving against a specific model, compute it from that model’s published rate and the token counts in the response body.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`reading-them-in-a-browser`,children:`Reading them in a browser`}),`\n`,_jsxs(_components.p,{children:[`All twelve headers are listed in the API’s CORS `,_jsx(_components.code,{children:`exposedHeaders`}),`, so front end code can read them cross origin. Custom headers are invisible to JavaScript unless a server opts in this way, which most APIs never do.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` res`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.routor.io/v1/chat/completions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `Bearer \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`key`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`model:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"auto\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`messages`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }),`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`headers`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"x-routor-model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// google/gemma-4-31b`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`headers`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"x-routor-tier\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// SIMPLE`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`headers`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"x-routor-savings\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// 97.0%`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Header names are case insensitive, and `,_jsx(_components.code,{children:`fetch`}),` lowercases them.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`two-details-worth-knowing`,children:`Two details worth knowing`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Headers arrive before the body, including when streaming.`}),` The routing decision is made before the first token is requested, so a streaming client can display the model name immediately rather than waiting for the stream to finish.`]}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`X-Routor-Reasoning`}),` is stripped to printable ASCII.`]}),` The reasoning string is built with arrow glyphs for terminal logs, and HTTP header values cannot carry them. Expect spaces where a non-ASCII character was.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`deciding-without-spending`,children:`Deciding without spending`}),`\n`,_jsx(_components.p,{children:`To see a routing decision without calling a model or being billed, send the prompt to the debug endpoint. It runs the real pipeline and returns the whole decision as JSON.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.routor.io/v1/routing/debug`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer sk-routor-...\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"messages\":[{\"role\":\"user\",\"content\":\"Refactor this module\"}]}'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/api/debug`,children:`Routing Debug`}),` for the full response shape.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Router Metadata","description":"Every response tells you which model answered, why it was chosen, and what it saved.","icon":"tags","href":"/router-metadata"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Header reference","slug":"header-reference","depth":2,"children":[]},{"title":"Reading them in a browser","slug":"reading-them-in-a-browser","depth":2,"children":[]},{"title":"Two details worth knowing","slug":"two-details-worth-knowing","depth":2,"children":[]},{"title":"Deciding without spending","slug":"deciding-without-spending","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"routor","siteName":"Routor","title":"Router Metadata - Routor","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-16T07:27:18.556Z","originalFileLocation":"router-metadata.md"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Every response tells you which model answered, why it was chosen, and what it saved.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Routor\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/routor/QowmtP8MueYPVCRM/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/routor/QowmtP8MueYPVCRM/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/routor/QowmtP8MueYPVCRM/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/routor/QowmtP8MueYPVCRM/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/routor/QowmtP8MueYPVCRM/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/routor/QowmtP8MueYPVCRM/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/routor/QowmtP8MueYPVCRM/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/routor/QowmtP8MueYPVCRM/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/routor/QowmtP8MueYPVCRM/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Router Metadata - Routor\">\u003cmeta data-mint-head property=\"og:description\" content=\"Every response tells you which model answered, why it was chosen, and what it saved.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Routor\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.routor.io/router-metadata\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://routor.mintlify.site/_mintlify/api/og/v2?division=Core+Concepts\u0026amp;title=Router+Metadata\u0026amp;description=Every+response+tells+you+which+model+answered%2C+why+it+was+chosen%2C+and+what+it+saved.\u0026amp;theme=1416b11e8d88001f9d154536\u0026amp;signature=d01823cc96c0b2ce0253f11f5450bde3c11cf0410fb25cfd44faa7736abdd9b0\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Router Metadata - Routor\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Every response tells you which model answered, why it was chosen, and what it saved.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://routor.mintlify.site/_mintlify/api/og/v2?division=Core+Concepts\u0026amp;title=Router+Metadata\u0026amp;description=Every+response+tells+you+which+model+answered%2C+why+it+was+chosen%2C+and+what+it+saved.\u0026amp;theme=1416b11e8d88001f9d154536\u0026amp;signature=d01823cc96c0b2ce0253f11f5450bde3c11cf0410fb25cfd44faa7736abdd9b0\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/routor/QowmtP8MueYPVCRM/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Routor\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.routor.io/router-metadata\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/router-metadata.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.routor.io/#organization\",\"name\":\"Routor\",\"url\":\"https://docs.routor.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/routor/hv7GNqBT8JfNtoVg/logo/logo-light.svg?fit=max\u0026auto=format\u0026n=hv7GNqBT8JfNtoVg\u0026q=85\u0026s=54f11b9d71088b9ca9f3b6214afed989\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.routor.io#website\",\"name\":\"Routor\",\"url\":\"https://docs.routor.io\",\"publisher\":{\"@id\":\"https://docs.routor.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.routor.io/router-metadata#webpage\",\"url\":\"https://docs.routor.io/router-metadata\",\"name\":\"Router Metadata\",\"description\":\"Every response tells you which model answered, why it was chosen, and what it saved.\",\"dateModified\":\"2026-09-16T07:27:18.556Z\",\"isPartOf\":{\"@id\":\"https://docs.routor.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.routor.io/router-metadata#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.routor.io/router-metadata#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Core Concepts\",\"item\":\"https://docs.routor.io/tiers\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Router Metadata\",\"item\":\"https://docs.routor.io/router-metadata\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.routor.io/router-metadata#article\",\"headline\":\"Router Metadata\",\"name\":\"Router Metadata\",\"description\":\"Every response tells you which model answered, why it was chosen, and what it saved.\",\"url\":\"https://docs.routor.io/router-metadata\",\"mainEntityOfPage\":{\"@id\":\"https://docs.routor.io/router-metadata#webpage\"},\"dateModified\":\"2026-09-16T07:27:18.556Z\",\"publisher\":{\"@id\":\"https://docs.routor.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.routor.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Routor\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Routor\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/router-metadata.md","siteName":"Routor","nav":{"global":null,"tabs":[{"tab":"Docs","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","icon":"house","href":"/introduction"},{"title":"The Problem with AI Spend","icon":"triangle-exclamation","href":"/the-problem"},{"title":"Quickstart","icon":"bolt","href":"/quickstart"},{"title":"How Routor Works","icon":"magnifying-glass","href":"/how-it-works"},{"title":"Architecture and Vision","icon":"diagram-project","href":"/architecture"},{"title":"Plans \u0026 Pricing","icon":"credit-card","href":"/plans-pricing"},{"title":"FAQ","icon":"circle-question","href":"/faq"}]},{"group":"Core Concepts","pages":[{"title":"The 5 Routing Tiers","icon":"layer-group","href":"/tiers"},{"title":"Why Not Just Auto?","icon":"route","href":"/why-not-just-auto"},{"title":"Conversation Memory","description":"Why a two word follow up in a long debugging session does not get routed to a cheap model.","icon":"comments","href":"/conversation-memory"},{"title":"Router Metadata","icon":"tags","href":"/router-metadata"},{"title":"Fallback and Auto-Failover","description":"How Routor silently retries failed providers.","icon":"shield-halved","href":"/fallback"}]},{"group":"Ecosystem","pages":[{"title":"$ROUTOR Ecosystem","icon":"coins","href":"/routor-token"},{"title":"Holder Rewards","icon":"gift","href":"/ecosystem/holder-rewards"},{"title":"The $ROUTOR Flywheel","icon":"arrows-rotate","href":"/ecosystem/flywheel"}]},{"group":"Dashboard","pages":[{"title":"Dashboard Overview","icon":"chart-line","href":"/dashboard/overview"},{"title":"API Keys","icon":"key","href":"/dashboard/api-keys"},{"title":"Billing and Credits","icon":"credit-card","href":"/dashboard/billing"},{"title":"Providers","icon":"circle-nodes","href":"/dashboard/providers"},{"title":"Models","icon":"layer-group","href":"/dashboard/models"}]},{"group":"Playground","pages":[{"title":"What is the Playground","icon":"square-terminal","href":"/playground/overview"},{"title":"Creating a Routing Profile","icon":"sliders","href":"/playground/create-profile"},{"title":"Testing Prompts","icon":"vial","href":"/playground/testing"},{"title":"Customer-Facing Chatbot","icon":"comments","href":"/use-cases/chatbot"},{"title":"Code Assistant","icon":"code","href":"/use-cases/code-assistant"},{"title":"Customer Support Automation","icon":"headset","href":"/use-cases/customer-support"}]},{"group":"Providers","pages":[{"title":"Supported Providers and Models","icon":"circle-nodes","href":"/providers/supported"},{"title":"Provider Health Monitoring","icon":"heart-pulse","href":"/providers/health"}]},{"group":"Guides","pages":[{"title":"Build Your First App with Routor in Node.js","icon":"node-js","href":"/guides/nodejs-first-app"},{"title":"Add Image Understanding to Your App","icon":"image","href":"/guides/vision"},{"title":"Stream Responses in Your App","icon":"bolt","href":"/guides/streaming"},{"title":"Use Tool Calling with Routor","icon":"wrench","href":"/guides/tool-calling"},{"title":"Migrate from OpenAI SDK","icon":"arrow-right-arrow-left","href":"/guides/migrate-openai"},{"title":"Migrate from Anthropic SDK","icon":"arrow-right-arrow-left","href":"/guides/migrate-anthropic"},{"title":"LangChain and LangGraph","icon":"link","href":"/guides/langchain"},{"title":"Use with Claude Code","icon":"terminal","href":"/guides/claude-code"},{"title":"Use with Cline CLI","icon":"terminal","href":"/guides/cline"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api/chat-completions"}]},{"tab":"Future","pages":[{"title":"Future","href":"/future/overview"}]},{"tab":"Roadmap","pages":[{"title":"Roadmap","href":"/roadmap"}]},{"tab":"Support","pages":[{"title":"Support","href":"/troubleshooting"}]}]},"basePath":"","title":"Router Metadata - Routor","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":[],"chunks":[]}