The agent runs on a provider key the platform issues for it, with a spending
limit set from your balance. Usage is billed to that balance and appears on
the Costs screen.This is the default and the one the guardrails can act on: a limit on the key
is what stops a runaway agent.
You supply a key for one of the supported providers. The agent uses it
directly.This leaves our billing entirely. Usage on your key is not billed by us
and not tracked by us — the usage panel will be empty and the budget
guardrails have nothing to measure. The panel says so on the way in rather
than letting you discover it later.
Undo last change restores the previous configuration. It is next to the apply
button because a model change that made the agent worse is the most common thing
anyone wants to reverse, and reconstructing the old value by hand is how a second
mistake gets made.
Provider and model are both chosen from a list; the panel offers a fixed set of
models per provider rather than a free-text field. What is on the list today is
in Supported models, and it moves as models are
released.
Last modified on August 31, 2026
⌘I
{"docsConfig":{"theme":"linden","$schema":"https://mintlify.com/docs.json","name":"PrivateClawd","description":"Documentation for PrivateClawd — managed hosting for OpenClaw agents, one private container per agent.","colors":{"primary":"#660202","light":"#eb3514","dark":"#eb3514"},"logo":{"light":"https://mintcdn.com/privateclawd/lcKvxGg2tKspjL5v/logo/light.svg?fit=max\u0026auto=format\u0026n=lcKvxGg2tKspjL5v\u0026q=85\u0026s=b8de8db4fcf6e1b043ab62c33938b56f","dark":"https://mintcdn.com/privateclawd/lcKvxGg2tKspjL5v/logo/dark.svg?fit=max\u0026auto=format\u0026n=lcKvxGg2tKspjL5v\u0026q=85\u0026s=3beecca5a7f1dd4c2311bd5ab128681b","href":"https://privateclawd.com"},"favicon":"https://mintcdn.com/privateclawd/lcKvxGg2tKspjL5v/favicon.svg?fit=max\u0026auto=format\u0026n=lcKvxGg2tKspjL5v\u0026q=85\u0026s=14e43ec8b415f81d51a29bc7c16ca0e3","appearance":{"default":"light","strict":true},"background":{"color":{"light":"#f0efeb","dark":"#131010"}},"navbar":{"links":[{"href":"https://privateclawd.com/pricing","label":"Pricing"},{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Open the panel","href":"https://privateclawd.com/login"}},"footer":{"socials":{"website":"https://privateclawd.com","x":"https://x.com/PrivateClawd","telegram":"https://t.me/PrivateClawd","linkedin":"https://www.linkedin.com/company/privateclawd","youtube":"https://www.youtube.com/@PrivateClawd","reddit":"https://www.reddit.com/r/PrivateClawd"},"links":[{"header":"Product","items":[{"label":"Pricing","href":"https://privateclawd.com/pricing"},{"label":"OpenClaw hosting","href":"https://privateclawd.com/openclaw-hosting"},{"label":"Enterprise","href":"https://privateclawd.com/enterprise"}]},{"header":"Legal","items":[{"label":"Terms of Service","href":"https://privateclawd.com/terms"},{"label":"Privacy Policy","href":"https://privateclawd.com/privacy"}]}]},"search":{"prompt":"Search the documentation"},"seo":{"metatags":{"og:site_name":"PrivateClawd docs","og:locale":"en_US","twitter:card":"summary_large_image"},"indexing":"navigable"},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","latex":true},"errors":{"404":{"redirect":true,"title":"That page is not here","description":"It may have moved with the platform. Start from the introduction, or search above."}},"contextual":{"options":["copy","view","claude","chatgpt","perplexity","cursor"],"display":"header"},"metadata":{"timestamp":true},"navigation":{"global":{"anchors":[{"anchor":"Open the panel","icon":"layout-dashboard","href":"https://privateclawd.com/login"},{"anchor":"Contact support","icon":"mail","href":"https://privateclawd.com/contacts"},{"anchor":"Enterprise","icon":"building","href":"https://privateclawd.com/enterprise"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"privateclawd","hasAudioNarration":false,"actualSubdomain":"privateclawd","customDomains":["docs.privateclawd.com"],"gitSource":{"type":"github","owner":"privateclawd","repo":"docs","deployBranch":"main","isPrivate":true,"contentDirectory":"","mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a959dcb9c2ca9cad3c2c574","collectionId":"92386d55-c48c-4c5c-be32-9ed3910d5d31","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a959dcb9c2ca9cad3c2c574"},"entitlements":{},"buildId":"6a959dcb9c2ca9cad3c2c574","clientVersion":"0.0.3971","searchFilterCounts":[{"language":"default","tag":"Documentation","count":32},{"language":"default","tag":"Agents","count":9},{"language":"default","tag":"Billing","count":7},{"language":"default","tag":"Getting started","count":6},{"language":"default","tag":"Account","count":4},{"language":"default","tag":"Help","count":4},{"language":"default","tag":"Support","count":4},{"language":"default","tag":"AI models","count":2},{"language":"default","tag":"Telegram and other channels","count":2},{"language":"default","tag":"Rewards","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":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"editor-agent-model-picker","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"blockquote,body,button,dd,dt,h1,h2,h3,h4,h5,h6,input,label,li,p,select,td,textarea,th{font-family:ui-monospace,SFMono-Regular,\"SF Mono\",Menlo,Consolas,\"DejaVu Sans Mono\",\"Liberation Mono\",monospace}"}],"page":{"pagePath":"agents/model-and-key","slug":"/agents/model-and-key","pageMetadata":{"title":"Model, provider and whose key pays","sidebarTitle":"Model and key","description":"Switch the model an agent runs on, or point it at a provider key of your own.","icon":"brain","keywords":["change model","llm provider","api key","byok","openrouter","system tokens"],"href":"/agents/model-and-key"},"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: \"Switch the model an agent runs on, or point it at a provider key of your own.\"\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`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Info,Tab,Table,Tabs}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Model \u0026 key`}),` panel on an agent’s page answers two questions at once: which\nmodel the agent thinks with, and whose account pays for it.`]}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`The agent must be running to change either. The change is written into the\nagent’s live configuration, and a stopped agent has nothing to write to.`})}),`\n`,_jsx(Heading,{level:`2`,id:`two-sources`,children:`Two sources`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Included with your plan`,id:`included-with-your-plan`,children:[_jsxs(_components.p,{children:[`The agent runs on a provider key the platform issues for it, with a spending\nlimit set from your balance. Usage is billed to that balance and appears on\nthe `,_jsx(_components.a,{href:`/billing/costs`,children:`Costs`}),` screen.`]}),_jsx(_components.p,{children:`This is the default and the one the guardrails can act on: a limit on the key\nis what stops a runaway agent.`})]}),_jsxs(Tab,{title:`Your own provider key`,id:`your-own-provider-key`,children:[_jsx(_components.p,{children:`You supply a key for one of the supported providers. The agent uses it\ndirectly.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`This leaves our billing entirely.`}),` Usage on your key is not billed by us\nand not tracked by us — the usage panel will be empty and the budget\nguardrails have nothing to measure. The panel says so on the way in rather\nthan letting you discover it later.`]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`what-takes-effect-when`,children:`What takes effect when`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Change`}),_jsx(_components.th,{children:`When it applies`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`A different model on the same provider`}),_jsx(_components.td,{children:`Immediately. The gateway reloads it.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`A different provider`}),_jsx(_components.td,{children:`After a redeploy. The container is replaced.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`A different key`}),_jsx(_components.td,{children:`After a redeploy.`})]})]})]}),`\n`,_jsx(_components.p,{children:`The answer comes from the agent itself, not from a guess in the browser — the\npanel reports which of the two happened after you apply.`}),`\n`,_jsx(Heading,{level:`2`,id:`undoing-it`,children:`Undoing it`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Undo last change`}),` restores the previous configuration. It is next to the apply\nbutton because a model change that made the agent worse is the most common thing\nanyone wants to reverse, and reconstructing the old value by hand is how a second\nmistake gets made.`]}),`\n`,_jsx(Heading,{level:`2`,id:`which-models`,children:`Which models`}),`\n`,_jsxs(_components.p,{children:[`Provider and model are both chosen from a list; the panel offers a fixed set of\nmodels per provider rather than a free-text field. What is on the list today is\nin `,_jsx(_components.a,{href:`/ai-models/supported-models`,children:`Supported models`}),`, and it moves as models are\nreleased.`]})]})}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":"Model, provider and whose key pays","sidebarTitle":"Model and key","description":"Switch the model an agent runs on, or point it at a provider key of your own.","icon":"brain","keywords":["change model","llm provider","api key","byok","openrouter","system tokens"],"href":"/agents/model-and-key"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Two sources","slug":"two-sources","depth":2,"children":[]},{"title":"What takes effect when","slug":"what-takes-effect-when","depth":2,"children":[]},{"title":"Undoing it","slug":"undoing-it","depth":2,"children":[]},{"title":"Which models","slug":"which-models","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"privateclawd","siteName":"PrivateClawd","title":"Model, provider and whose key pays - PrivateClawd","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-31T15:29:35.047Z","originalFileLocation":"agents/model-and-key.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"light\"}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=\"Switch the model an agent runs on, or point it at a provider key of your own.\">\u003cmeta data-mint-head name=\"application-name\" content=\"PrivateClawd\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/privateclawd/Q85QnYB4UPML75th/_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/privateclawd/Q85QnYB4UPML75th/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/privateclawd/Q85QnYB4UPML75th/_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/privateclawd/Q85QnYB4UPML75th/_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/privateclawd/Q85QnYB4UPML75th/_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/privateclawd/Q85QnYB4UPML75th/_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/privateclawd/Q85QnYB4UPML75th/_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/privateclawd/Q85QnYB4UPML75th/_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/privateclawd/Q85QnYB4UPML75th/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Model, provider and whose key pays - PrivateClawd\">\u003cmeta data-mint-head property=\"og:description\" content=\"Switch the model an agent runs on, or point it at a provider key of your own.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"PrivateClawd docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.privateclawd.com/agents/model-and-key\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://privateclawd.mintlify.app/_mintlify/api/og/v2?division=Agents\u0026amp;title=Model%2C+provider+and+whose+key+pays\u0026amp;description=Switch+the+model+an+agent+runs+on%2C+or+point+it+at+a+provider+key+of+your+own.\u0026amp;theme=c429885e0c87a90f33e59ba2\u0026amp;signature=23a9249ceb81addcc282e342abd8cf383ff7d5c14b0de9bdc55b8bfe0bf879ae\">\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=\"Model, provider and whose key pays - PrivateClawd\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Switch the model an agent runs on, or point it at a provider key of your own.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://privateclawd.mintlify.app/_mintlify/api/og/v2?division=Agents\u0026amp;title=Model%2C+provider+and+whose+key+pays\u0026amp;description=Switch+the+model+an+agent+runs+on%2C+or+point+it+at+a+provider+key+of+your+own.\u0026amp;theme=c429885e0c87a90f33e59ba2\u0026amp;signature=23a9249ceb81addcc282e342abd8cf383ff7d5c14b0de9bdc55b8bfe0bf879ae\">\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/privateclawd/Q85QnYB4UPML75th/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"PrivateClawd\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#660202\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.privateclawd.com/agents/model-and-key\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/agents/model-and-key.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.privateclawd.com/#organization\",\"name\":\"PrivateClawd\",\"url\":\"https://docs.privateclawd.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/privateclawd/lcKvxGg2tKspjL5v/logo/light.svg?fit=max\u0026auto=format\u0026n=lcKvxGg2tKspjL5v\u0026q=85\u0026s=b8de8db4fcf6e1b043ab62c33938b56f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.privateclawd.com#website\",\"name\":\"PrivateClawd\",\"url\":\"https://docs.privateclawd.com\",\"publisher\":{\"@id\":\"https://docs.privateclawd.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.privateclawd.com/agents/model-and-key#webpage\",\"url\":\"https://docs.privateclawd.com/agents/model-and-key\",\"name\":\"Model, provider and whose key pays\",\"description\":\"Switch the model an agent runs on, or point it at a provider key of your own.\",\"dateModified\":\"2026-08-31T15:29:35.047Z\",\"isPartOf\":{\"@id\":\"https://docs.privateclawd.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.privateclawd.com/agents/model-and-key#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.privateclawd.com/agents/model-and-key#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agents\",\"item\":\"https://docs.privateclawd.com/agents/create-agent\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Model, provider and whose key pays\",\"item\":\"https://docs.privateclawd.com/agents/model-and-key\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.privateclawd.com/agents/model-and-key#article\",\"headline\":\"Model, provider and whose key pays\",\"name\":\"Model, provider and whose key pays\",\"description\":\"Switch the model an agent runs on, or point it at a provider key of your own.\",\"url\":\"https://docs.privateclawd.com/agents/model-and-key\",\"mainEntityOfPage\":{\"@id\":\"https://docs.privateclawd.com/agents/model-and-key#webpage\"},\"dateModified\":\"2026-08-31T15:29:35.047Z\",\"keywords\":\"change model, llm provider, api key, byok, openrouter, system tokens\",\"publisher\":{\"@id\":\"https://docs.privateclawd.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.privateclawd.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"PrivateClawd\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"PrivateClawd","nav":{"global":{"anchors":[{"anchor":"Open the panel","icon":"layout-dashboard","href":"https://privateclawd.com/login"},{"anchor":"Contact support","icon":"mail","href":"https://privateclawd.com/contacts"},{"anchor":"Enterprise","icon":"building","href":"https://privateclawd.com/enterprise"}]},"tabs":[{"tab":"Documentation","icon":"book-open","groups":[{"group":"Getting started","icon":"play","pages":[{"title":"PrivateClawd documentation","sidebarTitle":"Introduction","icon":"house","href":""},{"title":"Quickstart","icon":"play","href":"/quickstart"},{"title":"Create an account and sign in","sidebarTitle":"Account and sign-in","icon":"user-plus","href":"/getting-started/registration"},{"title":"Choose a plan and create your first agent","sidebarTitle":"Plan and first agent","icon":"route","href":"/getting-started/onboarding"},{"title":"The panel, screen by screen","sidebarTitle":"The panel","icon":"layout-dashboard","href":"/getting-started/dashboard"},{"title":"Notifications and email","sidebarTitle":"Notifications","icon":"bell","href":"/getting-started/notifications"}]},{"group":"Agents","icon":"bot","pages":[{"title":"Create an agent","icon":"plus","href":"/agents/create-agent"},{"title":"Start, stop and status","sidebarTitle":"Lifecycle","icon":"activity","href":"/agents/manage-agents"},{"title":"Inside the agent","sidebarTitle":"Control UI","description":"The Control UI is OpenClaw's own interface. Channels, skills and conversations live there, not in the panel.","icon":"monitor","href":"/agents/control-ui"},{"title":"Model, provider and whose key pays","sidebarTitle":"Model and key","icon":"brain","href":"/agents/model-and-key"},{"title":"Environment variables","description":"Values the agent can read — a token for a service it uses — stored encrypted and never shown again.","icon":"key-round","href":"/agents/environment-variables"},{"title":"The agent's config file","sidebarTitle":"Config","icon":"file-code","href":"/agents/config"},{"title":"Terminal and logs","icon":"terminal","href":"/agents/terminal-and-logs"},{"title":"Browsing and web search","sidebarTitle":"Browser and search","icon":"globe","href":"/agents/browser"},{"title":"Deleting an agent","icon":"trash-2","href":"/agents/delete-agent"}]},{"group":"AI models","icon":"brain","pages":[{"title":"How thinking is paid for","sidebarTitle":"Overview","icon":"coins","href":"/ai-models/overview"},{"title":"Providers and models","sidebarTitle":"Supported models","icon":"list","href":"/ai-models/supported-models"}]},{"group":"Telegram and other channels","icon":"message-square","pages":[{"title":"Telegram Hub","icon":"send","href":"/channels/telegram-hub"},{"title":"Telegram, WhatsApp, Discord and Slack","sidebarTitle":"Channels in the agent","icon":"message-square","href":"/channels/openclaw-channels"}]},{"group":"Billing","icon":"receipt","pages":[{"title":"What you pay for","sidebarTitle":"Overview","icon":"receipt","href":"/billing/overview"},{"title":"Plans and seats","icon":"layers","href":"/billing/subscriptions"},{"title":"Balance and top-ups","sidebarTitle":"Balance","icon":"wallet","href":"/billing/tokens"},{"title":"Automatic top-up","icon":"refresh-cw","href":"/billing/auto-top-up"},{"title":"Budgets and guardrails","icon":"shield","href":"/billing/budget-guardrails"},{"title":"The Costs screen","sidebarTitle":"Costs","icon":"trending-up","href":"/billing/costs"},{"title":"Promo codes","icon":"ticket","href":"/billing/promo-codes"}]},{"group":"Rewards","icon":"gift","pages":[{"title":"Referrals","icon":"user-plus","href":"/rewards/referrals"},{"title":"Creator programme","icon":"star","href":"/rewards/creator-program"}]},{"group":"Account","icon":"user","pages":[{"title":"Account settings","sidebarTitle":"Profile","icon":"user","href":"/account/profile"},{"title":"Password and two-factor","sidebarTitle":"Security","icon":"lock","href":"/account/security"},{"title":"Email address","icon":"mail","href":"/account/email"},{"title":"Deactivate or delete your account","sidebarTitle":"Deleting an account","icon":"triangle-alert","href":"/account/deletion"}]}]},{"tab":"Help","icon":"life-buoy","pages":[{"title":"Help","href":"/help/faq"}]}]},"title":"Model, provider and whose key pays - PrivateClawd","buildId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","deploymentId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","dynamics":[],"chunks":[]}