Add AI models from OpenRouter to use in Control Center agents
This guide shows you how to configure OpenRouter as an external model provider in Control Center. After setting up this provider, you can use models from OpenRouter’s unified catalog when building agents.
OpenRouter bills usage directly to your OpenRouter account based on the tokens processed by each model. WRITER also charges a 10% pass-through fee on external model usage, paid via credits. Control Center tracks usage and costs for external models, providing visibility into spending across all your models in one place.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Writer AI Studio","colors":{"primary":"#BFCBFF","light":"#6985FF","dark":"#5551ff"},"logo":{"light":"https://mintcdn.com/writer/YZ72OUP7BQyK8p2G/logo/writer_logo_light.svg?fit=max\u0026auto=format\u0026n=YZ72OUP7BQyK8p2G\u0026q=85\u0026s=c9a784871f9b98724bb1eae947e745ed","dark":"https://mintcdn.com/writer/YZ72OUP7BQyK8p2G/logo/writer_logo_dark.svg?fit=max\u0026auto=format\u0026n=YZ72OUP7BQyK8p2G\u0026q=85\u0026s=9e22a34b91e20df881d68634a0042c1d"},"favicon":"https://mintcdn.com/writer/z-qGRP1BKyHYhEJN/images/icons/favicon.svg?fit=max\u0026auto=format\u0026n=z-qGRP1BKyHYhEJN\u0026q=85\u0026s=33356fdc372b2640b92c5546da07c9e0","api":{"playground":{"display":"interactive"},"examples":{"languages":["curl","python","javascript"]}},"navbar":{"primary":{"type":"button","label":"Sign in","href":"https://app.writer.com/login"}},"footer":{"socials":{"x":"https://x.com/Get_Writer","github":"https://github.com/writer","linkedin":"https://www.linkedin.com/company/getwriter"}},"seo":{"metatags":{"description":"Writer AI Studio developer documentation - Build AI agents with APIs, SDKs, Agent Builder, and no-code tools. Integrate generative AI into your applications.","og:site_name":"Writer AI Studio Documentation","og:type":"website","twitter:card":"summary_large_image","twitter:site":"@Get_Writer"},"indexing":"all"},"integrations":{"gtm":{"tagId":"GTM-NXVXDK"},"segment":{"key":"o2ZzfP0pJxH4cihXBPrF4IlbGqmG34BA"}},"contextual":{"options":["copy","view","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"writer","hasAudioNarration":false,"actualSubdomain":"writer","customDomains":["dev.writer.com"],"gitSource":{"type":"github","owner":"writerinternal","repo":"docs","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae4c1eae34cca49cc969e2b","collectionId":"95a2c848-ef11-45d4-91ec-a4d1045cf7fd","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae4c1eae34cca49cc969e2b"},"feedback":{"thumbs":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae4c1eae34cca49cc969e2b","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Home","count":98},{"language":"default","tag":"Writer Framework","count":71},{"language":"default","tag":"Component reference","count":45},{"language":"default","tag":"API Reference","count":32},{"language":"default","tag":"Connect to your data","count":31},{"language":"default","tag":"Available prebuilt connectors","count":27},{"language":"default","tag":"Content","count":17},{"language":"default","tag":"Legacy API Reference","count":16},{"language":"default","tag":"Getting started","count":14},{"language":"default","tag":"Input","count":13}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","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":"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":"llms-txt-v2","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLGT9Z11lFc-K.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLGT9Z1JlFc-K.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLGT9Z1xlFQ.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLEj6Z11lFc-K.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLEj6Z1JlFc-K.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--purple-1:#5551FF;--purple-2:#4A46DA;--black:#000;--gray-1:#333}body{font-family:\"Graphik\",sans-serif;font-weight:400}body.bold{font-weight:600}h1,h2,h3{font-family:\"Poppins\",sans-serif}h1{font-weight:600!important}h2,h3{font-weight:500}img[src$=no-code],img[src$=quickstart]{border:1px solid #e4e7ed}img[src$=auth]{min-width:25%;width:35%;margin:auto}img[src$=auth-table]{min-width:25px;width:25px}.imageBorder,img[src$=framework]{border:1px solid #e4e7ed}.flex-none.min-w-full.text-sm.overflow-x-auto{background-color:#171b1a}.no-bullet li{list-style-type:none;font-size:small}.large-icon{width:60px;height:100%}.bg-primary\\/10{background-color:#bfcbff}.text-primary{color:#000}.dark .prompts{color:#828282}.dark .prompts,.papers,.prompts{font-family:'Roboto Mono',monospace}.prompts{color:#000}.papers{font-size:small;padding-left:20px;padding-right:20px;text-align:justify}td,th{padding:10px;text-align:left}.update table td,.update table th{word-break:break-word}.expandedImageContainer{padding:16px;border-radius:16px;background:#e9eef1;overflow:hidden;display:flex;justify-content:center}.expandedImageContainerInner{display:flex;align-items:flex-start;max-width:300px;max-height:210px}.expandedImageContainer img{max-height:210px}.components__table{table-layout:fixed;width:300px}.button-wrapper{margin-top:30px}.button{border:0;cursor:pointer;font-size:14px;font-weight:600;padding:8px 20px;position:relative;outline:0;transition:background-color .1s ease-in}.primary-button{background-color:var(--purple-1);border-radius:40px;color:#fff;display:inline-flex;align-items:center}.secondary-button{background-color:var(--black);border-radius:30px;color:#fff}.button--arrow{padding-right:40px}.componentFields td,.componentFields th{padding:8px;border:1px solid rgb(var(--gray-200))}.componentFields .desc{width:50ch}:is(.dark .componentFields td, .dark .componentFields th, .dark .blueprintFields td, .dark .blueprintFields th){border:1px solid rgb(var(--gray-800))}.blueprintFields td,.blueprintFields th{padding:8px;border:1px solid rgb(var(--gray-200));vertical-align:top}#topbar-cta-button{margin:0}#topbar-cta-button a,li[id=\"https://app.writer.com/login\"] a{display:inline-flex;align-items:center;background-color:var(--purple-1)!important;border-radius:9999px;padding:4px 14px;font-weight:600;font-size:14px;text-decoration:none;transition:background-color .2s ease;line-height:24px}#topbar-cta-button a span,li[id=\"https://app.writer.com/login\"] a div,li[id=\"https://app.writer.com/login\"] a span{color:#fff!important}#topbar-cta-button a:hover,li[id=\"https://app.writer.com/login\"] a:hover{background-color:var(--purple-2)!important}#topbar-cta-button svg{margin-left:4px;height:16px;width:16px}li[id=\"https://app.writer.com/login\"]{margin:0;max-width:100%;box-sizing:border-box}li[id=\"https://app.writer.com/login\"] a{display:inline-flex!important;align-items:center!important;border-radius:9999px!important;padding:4px 8px 4px 14px!important;font-weight:600!important;font-size:14px!important;text-decoration:none!important;transition:background-color .2s ease!important;line-height:24px!important;max-width:100%!important;box-sizing:border-box!important;white-space:nowrap!important;overflow:hidden!important}li[id=\"https://app.writer.com/login\"] svg{margin-left:0!important;height:16px!important;width:16px!important}#topbar-cta-button svg path,li[id=\"https://app.writer.com/login\"] svg path{stroke:#fff!important;stroke-width:1.5!important;stroke-linecap:round!important;fill:none!important}div[id=sidebar-content],div[id=sidebar],ul[class*=\"bg-zinc-950/5\"]{overflow-x:hidden;box-sizing:border-box}ul[class*=\"bg-zinc-950/5\"]{max-width:100%}#content-area.max-w-5xl{max-width:80rem}#content-area.max-w-xl{max-width:60rem!important}img.max-height-800{max-height:800px!important}img.max-width-80{max-width:80%!important}#navbar .nav-tabs{flex:1 1 auto!important;width:100%!important;justify-content:center!important}"}],"page":{"pagePath":"providers/openrouter","slug":"/providers/openrouter","pageMetadata":{"title":"OpenRouter","sidebarTitle":"OpenRouter","description":"Add AI models from OpenRouter to use in Control Center agents","href":"/providers/openrouter"},"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: \"Add AI models from OpenRouter to use in Control Center agents\"\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`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,OptimizedImage,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`This guide shows you how to configure OpenRouter as an external model provider in Control Center. After setting up this provider, you can use models from OpenRouter’s unified catalog when building agents.`}),`\n`,_jsx(Heading,{level:`2`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsx(_components.p,{children:`Before adding OpenRouter models to Control Center, you need:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`An `,_jsx(_components.a,{href:`https://openrouter.ai/`,children:`OpenRouter account`})]}),`\n`,_jsxs(_components.li,{children:[`An OpenRouter API key (starts with `,_jsx(_components.code,{children:`sk-or-...`}),`, see `,_jsx(_components.a,{href:`#get-an-openrouter-api-key`,children:`Get an OpenRouter API key`}),`)`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Control Center supports `,_jsx(_components.strong,{children:`text generation`}),` and `,_jsx(_components.strong,{children:`embedding`}),` models from\nOpenRouter. Video, audio, and image generation models are not supported.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`get-an-openrouter-api-key`,children:`Get an OpenRouter API key`}),`\n`,_jsx(_components.p,{children:`OpenRouter authenticates requests with a single API key that works across its model catalog. Create one from your OpenRouter account.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Sign up or log in at `,_jsx(_components.a,{href:`https://openrouter.ai/`,children:`OpenRouter`})]}),`\n`,_jsxs(_components.li,{children:[`Navigate to the `,_jsx(_components.a,{href:`https://openrouter.ai/keys`,children:`API Keys`}),` page`]}),`\n`,_jsxs(_components.li,{children:[`Select `,_jsx(_components.strong,{children:`Create Key`})]}),`\n`,_jsxs(_components.li,{children:[`Enter a name for the key (for example, `,_jsx(_components.code,{children:`Control Center integration`}),`)`]}),`\n`,_jsxs(_components.li,{children:[`Copy the key, which starts with `,_jsx(_components.code,{children:`sk-or-...`})]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`For more details, see the `,_jsx(_components.a,{href:`https://openrouter.ai/docs/quickstart`,children:`OpenRouter quickstart`}),`.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Store your API key securely. If a key is compromised, revoke it from the\n`,_jsx(_components.a,{href:`https://openrouter.ai/keys`,children:`API Keys`}),` page and create a new one.`]})}),`\n`,_jsx(`a`,{id:`add-openrouter-models-in-ai-studio`}),`\n`,_jsx(Heading,{level:`2`,id:`add-openrouter-models-in-control-center`,children:`Add OpenRouter models in Control Center`}),`\n`,_jsx(_components.p,{children:`After creating your API key, add OpenRouter models to Control Center.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Navigate to `,_jsx(_components.strong,{children:`Build > Models`}),` in `,_jsx(_components.a,{href:`https://app.writer.com/controlcenter`,children:`Control Center`})]}),`\n`,_jsxs(_components.li,{children:[`Select `,_jsx(_components.strong,{children:`+ Add model`})]}),`\n`,_jsxs(_components.li,{children:[`Select `,_jsx(_components.strong,{children:`OpenRouter`}),` as the provider`]}),`\n`,_jsxs(_components.li,{children:[`Select the model you want to add from the `,_jsx(_components.strong,{children:`Model name`}),` dropdown`]}),`\n`,_jsxs(_components.li,{children:[`Enter a `,_jsx(_components.strong,{children:`Display name`}),` for the model`]}),`\n`,_jsxs(_components.li,{children:[`Provide your credentials using one of the following options:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Select an existing credential set from the `,_jsx(_components.strong,{children:`Credentials name`}),` dropdown`]}),`\n`,_jsxs(_components.li,{children:[`Enter a new `,_jsx(_components.strong,{children:`Credential name`}),` and your `,_jsx(_components.strong,{children:`OpenRouter API key`}),` to save credentials for reuse`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`Configure team access:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`All teams`}),`: Anyone with builder access can use the model`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Specific teams`}),`: Restrict to selected teams`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`Select `,_jsx(_components.strong,{children:`Save`})]}),`\n`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/writer/iljD9sjySSSg4wwQ/images/home/openrouter-config-form.png?fit=max\u0026auto=format\u0026n=iljD9sjySSSg4wwQ\u0026q=85\u0026s=f4031eb6a29e54e57eaefd1db79c2a13`,alt:``,\"data-og-width\":`2910`,width:`2910`,\"data-og-height\":`1734`,height:`1734`,\"data-path\":`images/home/openrouter-config-form.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/writer/iljD9sjySSSg4wwQ/images/home/openrouter-config-form.png?w=280\u0026fit=max\u0026auto=format\u0026n=iljD9sjySSSg4wwQ\u0026q=85\u0026s=e5b85454dd8fb45bf050b9efc6758834 280w, https://mintcdn.com/writer/iljD9sjySSSg4wwQ/images/home/openrouter-config-form.png?w=560\u0026fit=max\u0026auto=format\u0026n=iljD9sjySSSg4wwQ\u0026q=85\u0026s=8091b34413b4252f8eb18fc6d1643917 560w, https://mintcdn.com/writer/iljD9sjySSSg4wwQ/images/home/openrouter-config-form.png?w=840\u0026fit=max\u0026auto=format\u0026n=iljD9sjySSSg4wwQ\u0026q=85\u0026s=a19d6bd78c51a8bde543e64fcc8c144e 840w, https://mintcdn.com/writer/iljD9sjySSSg4wwQ/images/home/openrouter-config-form.png?w=1100\u0026fit=max\u0026auto=format\u0026n=iljD9sjySSSg4wwQ\u0026q=85\u0026s=e9dd854812d1baf95be881a13c386774 1100w, https://mintcdn.com/writer/iljD9sjySSSg4wwQ/images/home/openrouter-config-form.png?w=1650\u0026fit=max\u0026auto=format\u0026n=iljD9sjySSSg4wwQ\u0026q=85\u0026s=8a4800d7e48e406bae174a247cbc9bf5 1650w, https://mintcdn.com/writer/iljD9sjySSSg4wwQ/images/home/openrouter-config-form.png?w=2500\u0026fit=max\u0026auto=format\u0026n=iljD9sjySSSg4wwQ\u0026q=85\u0026s=11e99fe2695c0eef81a5a9444e83421f 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`monitor-costs`,children:`Monitor costs`}),`\n`,_jsxs(_components.p,{children:[`OpenRouter bills usage directly to your OpenRouter account based on the tokens processed by each model. WRITER also charges a `,_jsx(_components.a,{href:`/home/pricing#external-models-byom`,children:`10% pass-through fee`}),` on external model usage, paid via credits. Control Center tracks usage and costs for external models, providing visibility into spending across all your models in one place.`]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshoot-openrouter-configuration`,children:`Troubleshoot OpenRouter configuration`}),`\n`,_jsx(Heading,{level:`3`,id:`invalid-api-key-error`,children:`Invalid API key error`}),`\n`,_jsx(_components.p,{children:`If you see an “Invalid API key” or “Authentication failed” error:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Verify the API key is copied correctly without extra spaces`}),`\n`,_jsxs(_components.li,{children:[`Confirm the key starts with `,_jsx(_components.code,{children:`sk-or-...`})]}),`\n`,_jsxs(_components.li,{children:[`Check that the key is still active on the `,_jsx(_components.a,{href:`https://openrouter.ai/keys`,children:`API Keys`}),` page`]}),`\n`,_jsx(_components.li,{children:`Ensure your OpenRouter account has sufficient credits`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`model-not-available-error`,children:`Model not available error`}),`\n`,_jsx(_components.p,{children:`If a model doesn’t appear or returns an error:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Confirm the model is available in the `,_jsx(_components.a,{href:`https://openrouter.ai/models`,children:`OpenRouter model catalog`})]}),`\n`,_jsx(_components.li,{children:`Verify your OpenRouter account has access to the model`}),`\n`,_jsx(_components.li,{children:`Check that your account has credits to run the model`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/home/external-models`,children:`Add external models`}),`: Learn about managing external models in Control Center`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/home/models-overview`,children:`Choose a model`}),`: Compare Palmyra models with external provider models`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://openrouter.ai/docs/quickstart`,children:`OpenRouter quickstart`}),`: Explore OpenRouter’s full capabilities`]}),`\n`]})]})}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":"OpenRouter","sidebarTitle":"OpenRouter","description":"Add AI models from OpenRouter to use in Control Center agents","href":"/providers/openrouter"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Prerequisites","slug":"prerequisites","depth":2,"children":[]},{"title":"Get an OpenRouter API key","slug":"get-an-openrouter-api-key","depth":2,"children":[]},{"title":"Add OpenRouter models in Control Center","slug":"add-openrouter-models-in-control-center","depth":2,"children":[]},{"title":"Monitor costs","slug":"monitor-costs","depth":2,"children":[]},{"title":"Troubleshoot OpenRouter configuration","slug":"troubleshoot-openrouter-configuration","depth":2,"children":[{"title":"Invalid API key error","slug":"invalid-api-key-error","depth":3,"children":[]},{"title":"Model not available error","slug":"model-not-available-error","depth":3,"children":[]}]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"writer","siteName":"Writer AI Studio","title":"OpenRouter - Writer AI Studio","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-27T22:19:25.140Z","originalFileLocation":"providers/openrouter.mdx"},"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=\"Add AI models from OpenRouter to use in Control Center agents\">\u003cmeta data-mint-head name=\"application-name\" content=\"Writer AI Studio\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/writer/rBMYB50U__7D_mBT/_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/writer/rBMYB50U__7D_mBT/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/writer/rBMYB50U__7D_mBT/_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/writer/rBMYB50U__7D_mBT/_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/writer/rBMYB50U__7D_mBT/_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/writer/rBMYB50U__7D_mBT/_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/writer/rBMYB50U__7D_mBT/_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/writer/rBMYB50U__7D_mBT/_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/writer/rBMYB50U__7D_mBT/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"OpenRouter - Writer AI Studio\">\u003cmeta data-mint-head property=\"og:description\" content=\"Add AI models from OpenRouter to use in Control Center agents\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Writer AI Studio Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://dev.writer.com/providers/openrouter\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://writer.mintlify.app/_mintlify/api/og/v2?division=External+models\u0026amp;title=OpenRouter\u0026amp;description=Add+AI+models+from+OpenRouter+to+use+in+Control+Center+agents\u0026amp;theme=9c7f3bd87cb846f8ead27220\u0026amp;signature=a3b4f934d1a9ad71253213bf26becdd98675a946a5ea4f26ec48db99cb42c319\">\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=\"OpenRouter - Writer AI Studio\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Add AI models from OpenRouter to use in Control Center agents\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://writer.mintlify.app/_mintlify/api/og/v2?division=External+models\u0026amp;title=OpenRouter\u0026amp;description=Add+AI+models+from+OpenRouter+to+use+in+Control+Center+agents\u0026amp;theme=9c7f3bd87cb846f8ead27220\u0026amp;signature=a3b4f934d1a9ad71253213bf26becdd98675a946a5ea4f26ec48db99cb42c319\">\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/writer/rBMYB50U__7D_mBT/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Writer AI Studio\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#BFCBFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://dev.writer.com/providers/openrouter\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/providers/openrouter.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://dev.writer.com/#organization\",\"name\":\"Writer AI Studio\",\"url\":\"https://dev.writer.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/writer/YZ72OUP7BQyK8p2G/logo/writer_logo_light.svg?fit=max\u0026auto=format\u0026n=YZ72OUP7BQyK8p2G\u0026q=85\u0026s=c9a784871f9b98724bb1eae947e745ed\"}},{\"@type\":\"WebSite\",\"@id\":\"https://dev.writer.com#website\",\"name\":\"Writer AI Studio\",\"url\":\"https://dev.writer.com\",\"publisher\":{\"@id\":\"https://dev.writer.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://dev.writer.com/providers/openrouter#webpage\",\"url\":\"https://dev.writer.com/providers/openrouter\",\"name\":\"OpenRouter\",\"description\":\"Add AI models from OpenRouter to use in Control Center agents\",\"dateModified\":\"2026-10-27T22:19:25.140Z\",\"isPartOf\":{\"@id\":\"https://dev.writer.com#website\"},\"breadcrumb\":{\"@id\":\"https://dev.writer.com/providers/openrouter#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://dev.writer.com/providers/openrouter#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Models and pricing\",\"item\":\"https://dev.writer.com/home/models-overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"External models\",\"item\":\"https://dev.writer.com/home/external-models\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"OpenRouter\",\"item\":\"https://dev.writer.com/providers/openrouter\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://dev.writer.com/providers/openrouter#article\",\"headline\":\"OpenRouter\",\"name\":\"OpenRouter\",\"description\":\"Add AI models from OpenRouter to use in Control Center agents\",\"url\":\"https://dev.writer.com/providers/openrouter\",\"mainEntityOfPage\":{\"@id\":\"https://dev.writer.com/providers/openrouter#webpage\"},\"dateModified\":\"2026-10-27T22:19:25.140Z\",\"publisher\":{\"@id\":\"https://dev.writer.com/#organization\"},\"isPartOf\":{\"@id\":\"https://dev.writer.com#website\"}}]}\u003c/script>","siteName":"Writer AI Studio","nav":{"global":null,"tabs":[{"tab":"Home","icon":"house","groups":[{"group":"Getting started","pages":[{"title":"Writer Control Center","sidebarTitle":"Introduction","mode":"wide","href":"/home/introduction"},{"title":"Choose your development path","sidebarTitle":"Development options","href":"/home/development_options"},{"title":"Quickstart","href":"/home/quickstart"},{"title":"WRITER MCP","sidebarTitle":"WRITER MCP","href":"/home/writer-mcp"},{"title":"Pricing","href":"/home/pricing"},{"title":"Cookbooks","href":"/home/cookbooks"},{"title":"SDKs","href":"/home/sdks"},{"title":"Changelog","href":"/home/changelog"},{"title":"Agent Builder","url":"/home/agent-builder/overview","href":"/home/agent-builder-link"},{"title":"API Reference","url":"/api-reference/application-api/applications","href":"/home/api-reference-link"}]},{"group":"Core concepts","pages":[{"group":"Generative AI concepts","pages":[{"title":"Understand generative AI","sidebarTitle":"Generative AI overview","href":"/home/generative-ai-overview"},{"title":"Write effective prompts","sidebarTitle":"Prompting strategies","mode":"wide","href":"/home/prompting"},{"title":"Configure model parameters","sidebarTitle":"Model parameters","href":"/home/model-parameters"},{"title":"Understand tokens","sidebarTitle":"Tokens","href":"/home/tokens"}]},{"title":"Connect your data to AI with Knowledge Graph","sidebarTitle":"Knowledge Graph concepts","href":"/home/knowledge-graph-concepts"}]},{"group":"Agent Builder v2","pages":[{"title":"Learn about Agent Builder v2","sidebarTitle":"Overview","href":"/home/agent-builder/overview"},{"title":"Agent Builder v2 quickstart","sidebarTitle":"Quickstart","href":"/home/agent-builder/getting-started"}]},{"group":"Monitor and manage","pages":[{"title":"Add external models","href":"/home/external-models"},{"group":"Guardrails","pages":[{"title":"Configure guardrails","href":"/home/guardrails"},{"title":"Built-in DLP guardrail","href":"/home/guardrails-dlp"},{"title":"Set up Bedrock guardrails","sidebarTitle":"AWS Bedrock","href":"/home/guardrails-bedrock"},{"title":"Set up Azure Content Safety guardrails","sidebarTitle":"Azure Content Safety","href":"/home/guardrails-azure"}]},{"group":"Encryption","pages":[{"title":"Encryption Key Management","sidebarTitle":"Encryption Key Management","href":"/home/encryption-key-management"},{"title":"Set up BYOK encryption","sidebarTitle":"Set up BYOK","href":"/home/setup-byok"}]},{"group":"Observability","pages":[{"title":"Observability overview","href":"/home/observability"},{"title":"Event logs","href":"/home/event-logs"},{"title":"Export logs","href":"/home/logs-export"},{"title":"Export audit events","href":"/home/audit-events-export"},{"title":"Usage and spend","href":"/home/usage-and-spend"}]}]},{"group":"Models and pricing","pages":[{"title":"Choose a model","href":"/home/models-overview"},{"group":"Palmyra models","pages":[{"title":"Choose a model","sidebarTitle":"Palmyra models overview","href":"/home/models"},{"title":"Language support","href":"/home/language_support"}]},{"group":"External models","pages":[{"title":"Add external models","href":"/home/external-models"},{"title":"AWS Bedrock","sidebarTitle":"AWS Bedrock","description":"Add AI models from AWS Bedrock to use in Control Center agents","href":"/providers/aws-bedrock"},{"title":"OpenRouter","sidebarTitle":"OpenRouter","href":"/providers/openrouter"}]}]},{"group":"Connect to your data","pages":[{"title":"Configure connectors","description":"Configure prebuilt and custom connectors for WRITER Agent to securely access enterprise tools and your own APIs","href":"/home/mcp-gateway"},{"title":"Custom connectors","href":"/home/custom-connectors"},{"title":"Private endpoints","href":"/home/private-endpoints"},{"group":"Available prebuilt connectors","pages":[{"title":"Adobe Experience Manager connector","sidebarTitle":"Adobe Experience Manager","href":"/connectors/adobe-experience-manager"},{"title":"Asana connector","sidebarTitle":"Asana","href":"/connectors/asana"},{"title":"Atlassian connector","sidebarTitle":"Atlassian","href":"/connectors/atlassian"},{"title":"Contentful connector","sidebarTitle":"Contentful","href":"/connectors/contentful"},{"title":"Databricks connector","sidebarTitle":"Databricks","href":"/connectors/databricks"},{"title":"FactSet connector","sidebarTitle":"FactSet","href":"/connectors/factset"},{"title":"Gmail connector","sidebarTitle":"Gmail","href":"/connectors/gmail"},{"title":"Gong connector","sidebarTitle":"Gong","href":"/connectors/gong"},{"title":"Google BigQuery connector","sidebarTitle":"Google BigQuery","href":"/connectors/google-bigquery"},{"title":"Google Calendar connector","sidebarTitle":"Google Calendar","href":"/connectors/google-calendar"},{"title":"Google Docs connector","sidebarTitle":"Google Docs","href":"/connectors/google-docs"},{"title":"Google Drive connector","sidebarTitle":"Google Drive","href":"/connectors/google-drive"},{"title":"Google Sheets connector","sidebarTitle":"Google Sheets","href":"/connectors/google-sheets"},{"title":"HubSpot connector","sidebarTitle":"HubSpot","href":"/connectors/hubspot"},{"title":"Microsoft Calendar connector","sidebarTitle":"Microsoft Calendar","href":"/connectors/microsoft-calendar"},{"title":"Microsoft OneDrive connector","sidebarTitle":"Microsoft OneDrive","href":"/connectors/microsoft-onedrive"},{"title":"Microsoft Outlook connector","sidebarTitle":"Microsoft Outlook","href":"/connectors/microsoft-outlook"},{"title":"Microsoft SharePoint connector","sidebarTitle":"Microsoft SharePoint","href":"/connectors/microsoft-sharepoint"},{"title":"Microsoft Teams connector","sidebarTitle":"Microsoft Teams","href":"/connectors/microsoft-teams"},{"title":"PitchBook connector","sidebarTitle":"PitchBook","href":"/connectors/pitchbook"},{"title":"Salesforce connector","sidebarTitle":"Salesforce","href":"/connectors/salesforce"},{"title":"Semrush connector","sidebarTitle":"Semrush","href":"/connectors/semrush"},{"title":"Slack connector","sidebarTitle":"Slack","href":"/connectors/slack"},{"title":"Snowflake connector","sidebarTitle":"Snowflake","href":"/connectors/snowflake"},{"title":"Webflow connector","sidebarTitle":"Webflow","href":"/connectors/webflow"},{"title":"Wrike connector","sidebarTitle":"Wrike","href":"/connectors/wrike"},{"title":"ZoomInfo connector","sidebarTitle":"ZoomInfo","href":"/connectors/zoominfo"}]},{"title":"Create and manage Knowledge Graphs","url":"https://support.writer.com/article/242-how-to-create-and-manage-a-knowledge-graph","href":"/home/knowledge-graphs"}]},{"group":"Chat completions","pages":[{"title":"Generate text from a prompt","href":"/home/text-generation"},{"title":"Generate chat completions","href":"/home/chat-completion"},{"title":"Stream responses from the API","href":"/home/streaming"},{"title":"Receive structured outputs","href":"/home/structured-output"},{"title":"Add images to chat completions","href":"/home/chat-with-images"}]},{"group":"No-code agents","hidden":true,"pages":[{"title":"Invoke no-code agents via the API","href":"/home/applications"},{"title":"Run agents asynchronously","href":"/home/async-applications"}]},{"group":"Knowledge Graphs","pages":[{"title":"Create and manage a Knowledge Graph","href":"/home/knowledge-graph"},{"title":"Ask questions to Knowledge Graphs","href":"/home/kg-query"},{"title":"Configure Knowledge Graph query parameters","href":"/home/knowledge-graph-query-config"},{"title":"Work with inline citations in Knowledge Graph responses","sidebarTitle":"Include inline citations in responses","href":"/home/inline-citations"},{"title":"Add web content to a Knowledge Graph","href":"/home/web-connector-url"}]},{"group":"Tool calling","pages":[{"title":"Call a custom function in a chat","href":"/home/tool-calling"},{"title":"Use no-code agents as tools","href":"/home/applications-tool-calling"},{"title":"Use a Knowledge Graph in a chat","href":"/home/kg-chat"},{"title":"Use another LLM as a tool","href":"/home/model-delegation"},{"title":"Web search in a chat","href":"/home/web-search-tool"}]},{"group":"Additional capabilities","pages":[{"title":"Manage files","href":"/home/files"},{"title":"Parse a PDF","href":"/home/parse-pdf"}]},{"group":"Integrations","pages":[{"title":"Explore integrations","sidebarTitle":"Overview","href":"/home/integrations-overview"},{"title":"Structured output with Instructor","href":"/home/integrations/instructor"},{"title":"Using Writer with LangChain","href":"/home/integrations/langchain"},{"title":"Invoke Palmyra models on Amazon Bedrock","href":"/home/integrations/bedrock"},{"title":"Using Writer with AWS Strands Agents","href":"/home/integrations/strands"},{"title":"Using Writer with OpenLLMetry","href":"/home/integrations/openllmetry"}]},{"group":"Security and compliance","pages":[{"title":"Secure prompts against attacks","sidebarTitle":"Prompt security","href":"/home/prompt_injections"},{"title":"Transparency","href":"/home/transparency"},{"title":"Mitigate bias in AI outputs","sidebarTitle":"Mitigating bias","href":"/home/mitigating_bias"},{"title":"Toxic check","href":"/home/toxic-check"}]},{"group":"Resources","pages":[{"title":"Research","url":"https://writer.com/research/","href":"/home/research"},{"title":"Help Center","url":"https://support.writer.com/","href":"/home/help-center"},{"title":"Engineering Blog","url":"https://writer.com/engineering/","href":"/home/blog"},{"title":"Usage policy","href":"/home/usage-policy"}]}]},{"tab":"Writer Framework","icon":"shapes","hidden":true,"pages":[{"title":"Writer Framework","href":"/framework/introduction"}]},{"tab":"API Reference","icon":"key","pages":[{"title":"API Reference","href":"/api-reference/api-keys"}]},{"tab":"Legacy API Reference","hidden":true,"pages":[{"title":"Legacy API Reference","href":"/api-reference-legacy/billing/get-your-organization-subscription-details"}]}]},"basePath":"","title":"OpenRouter - Writer AI Studio","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-BG6oD64b.js","lightbox-handle-r17bVUz3.js"]}