A standard API key (sk-ant-api03-... or an ordinary OpenAI key) is accepted, but it can’t read usage or cost. The connection saves and shows no synced spend. The form checks the prefix and tells you when it looks wrong.
What you do
1
Create an admin key at the provider
Use the page in the table above. Keep it somewhere safe; providers show it once.
2
Add it in TensorCost
Choose the provider card, paste the key, and save. The card reads “Checking access. The first usage import runs within 15 minutes.”
3
Check it worked
Use Check now to re-run the access check. On success the console says the connection passed its check and imports start on the next run. Settings › Connection status shows whether it is syncing.
What appears, and the limit
Usage and cost appear by model, every 15 minutes.A new connection reads only from midnight UTC on the day you connect, so there is no history on day one. If a connection is down, it fills in at most the last 7 days when it recovers.To see earlier months, download a usage export from the provider’s organisation usage page and upload it in Connect › Upload data. Uploaded days are labelled as uploaded, and once the connected account holds a day, its data replaces the upload. See Upload data.Spend counted through your SDK or proxy and spend read from the provider are matched so the same call is never counted twice; see How TensorCost counts AI spend.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"TensorCost Docs","colors":{"primary":"#1E4A3A","light":"#4B9B79","dark":"#1E4A3A"},"logo":{"light":"https://mintcdn.com/gocloudera/JaxqeunfSseXHQeW/logo/light.svg?fit=max\u0026auto=format\u0026n=JaxqeunfSseXHQeW\u0026q=85\u0026s=8f808c28cc5a3be45920c425c37ab7e5","dark":"https://mintcdn.com/gocloudera/JaxqeunfSseXHQeW/logo/dark.svg?fit=max\u0026auto=format\u0026n=JaxqeunfSseXHQeW\u0026q=85\u0026s=4584aed3f55595f9a72f47022c6e4c1e"},"favicon":"https://mintcdn.com/gocloudera/JaxqeunfSseXHQeW/favicon.svg?fit=max\u0026auto=format\u0026n=JaxqeunfSseXHQeW\u0026q=85\u0026s=c514bf4106bac6eb2a9a6a8ac55ffc87","navbar":{"links":[{"href":"mailto:support@tensorcost.com","label":"Support"}],"primary":{"type":"button","label":"Open console","href":"https://console.tensorcost.com"}},"fonts":{"heading":{"family":"Newsreader","weight":500},"body":{"family":"IBM Plex Sans"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gocloudera","hasAudioNarration":false,"actualSubdomain":"gocloudera","customDomains":["docs.tensorcost.com"],"gitSource":{"type":"github","owner":"vaadhlabs","repo":"docs","deployBranch":"main","isPrivate":true,"contentDirectory":"","mountPath":"","label":""},"entitlements":{},"buildId":"6b0a33361149217b6ca7ff7a","clientVersion":"0.0.4424","searchFilterCounts":[{"language":"default","tag":"Guides","count":27},{"language":"default","tag":"Developers","count":12},{"language":"default","tag":"BYOC","count":7},{"language":"default","tag":"Run TensorCost in your cloud","count":7},{"language":"default","tag":"Connect your data","count":7},{"language":"default","tag":"Control spend","count":5},{"language":"default","tag":"Instrument your apps","count":5},{"language":"default","tag":"See your spend","count":5},{"language":"default","tag":"Administer","count":4},{"language":"default","tag":"Get started","count":4}]},"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":"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":"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":"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":"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":"turbopuffer-dual-write","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":"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":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[]}
{"page":{"pagePath":"connect/openai-and-anthropic","slug":"/connect/openai-and-anthropic","pageMetadata":{"title":"OpenAI and Anthropic","description":"Connect an OpenAI or Anthropic organisation with an admin key so TensorCost can read usage and cost.","sidebarTitle":"OpenAI and Anthropic","href":"/connect/openai-and-anthropic"},"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: \"Connect an OpenAI or Anthropic organisation with an admin key so TensorCost can read usage and cost.\"\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`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Note,Step,Steps,Table,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(Note,{children:[`Admin only. Open `,_jsx(_components.strong,{children:`Connect › Sources`}),`, then the `,_jsx(_components.strong,{children:`AI / LLM providers`}),` tab.`]}),`\n`,_jsx(_components.p,{children:`Both connections read your organisation’s usage and cost with an admin key. An admin key can’t make model calls.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{}),_jsx(_components.th,{children:`OpenAI`}),_jsx(_components.th,{children:`Anthropic`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Key you need`}),_jsxs(_components.td,{children:[`Admin key, starts `,_jsx(_components.code,{children:`sk-admin-`})]}),_jsxs(_components.td,{children:[`Admin key, starts `,_jsx(_components.code,{children:`sk-ant-admin`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Where to create it`}),_jsx(_components.td,{children:`platform.openai.com, Settings, Organization, Admin keys`}),_jsx(_components.td,{children:`console.anthropic.com, Settings, Admin keys (organisation owners only)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Also asked`}),_jsx(_components.td,{children:`Organization ID (optional)`}),_jsx(_components.td,{children:`Nothing else`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Import cadence`}),_jsx(_components.td,{children:`Every 15 minutes`}),_jsx(_components.td,{children:`Every 15 minutes`})]})]})]}),`\n`,_jsxs(Warning,{children:[`A standard API key (`,_jsx(_components.code,{children:`sk-ant-api03-...`}),` or an ordinary OpenAI key) is accepted, but it can’t read usage or cost. The connection saves and shows no synced spend. The form checks the prefix and tells you when it looks wrong.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-you-do`,children:`What you do`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Create an admin key at the provider`,children:_jsx(_components.p,{children:`Use the page in the table above. Keep it somewhere safe; providers show it once.`})}),_jsx(Step,{title:`Add it in TensorCost`,children:_jsx(_components.p,{children:`Choose the provider card, paste the key, and save. The card reads “Checking access. The first usage import runs within 15 minutes.”`})}),_jsx(Step,{title:`Check it worked`,children:_jsxs(_components.p,{children:[`Use `,_jsx(_components.strong,{children:`Check now`}),` to re-run the access check. On success the console says the connection passed its check and imports start on the next run. `,_jsx(_components.strong,{children:`Settings › Connection status`}),` shows whether it is syncing.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`what-appears-and-the-limit`,children:`What appears, and the limit`}),`\n`,_jsx(_components.p,{children:`Usage and cost appear by model, every 15 minutes.`}),`\n`,_jsx(_components.p,{children:`A new connection reads only from midnight UTC on the day you connect, so there is no history on day one. If a connection is down, it fills in at most the last 7 days when it recovers.`}),`\n`,_jsxs(_components.p,{children:[`To see earlier months, download a usage export from the provider’s organisation usage page and upload it in `,_jsx(_components.strong,{children:`Connect › Upload data`}),`. Uploaded days are labelled as uploaded, and once the connected account holds a day, its data replaces the upload. See `,_jsx(_components.a,{href:`/connect/upload-data`,children:`Upload data`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Spend counted through your SDK or proxy and spend read from the provider are matched so the same call is never counted twice; see `,_jsx(_components.a,{href:`/concepts`,children:`How TensorCost counts AI spend`}),`.`]})]})}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":"OpenAI and Anthropic","description":"Connect an OpenAI or Anthropic organisation with an admin key so TensorCost can read usage and cost.","sidebarTitle":"OpenAI and Anthropic","href":"/connect/openai-and-anthropic"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What you do","slug":"what-you-do","depth":2,"children":[]},{"title":"What appears, and the limit","slug":"what-appears-and-the-limit","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"gocloudera","siteName":"TensorCost Docs","title":"OpenAI and Anthropic - TensorCost Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-14T20:04:00.340Z","originalFileLocation":"connect/openai-and-anthropic.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=\"Connect an OpenAI or Anthropic organisation with an admin key so TensorCost can read usage and cost.\">\u003cmeta data-mint-head name=\"application-name\" content=\"TensorCost Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gocloudera/79LGEm93K6Ljjd29/_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/gocloudera/79LGEm93K6Ljjd29/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gocloudera/79LGEm93K6Ljjd29/_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/gocloudera/79LGEm93K6Ljjd29/_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/gocloudera/79LGEm93K6Ljjd29/_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/gocloudera/79LGEm93K6Ljjd29/_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/gocloudera/79LGEm93K6Ljjd29/_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/gocloudera/79LGEm93K6Ljjd29/_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/gocloudera/79LGEm93K6Ljjd29/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"OpenAI and Anthropic - TensorCost Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Connect an OpenAI or Anthropic organisation with an admin key so TensorCost can read usage and cost.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"TensorCost Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tensorcost.com/connect/openai-and-anthropic\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gocloudera.mintlify.site/_mintlify/api/og/v2?division=Connect+your+data\u0026amp;title=OpenAI+and+Anthropic\u0026amp;description=Connect+an+OpenAI+or+Anthropic+organisation+with+an+admin+key+so+TensorCost+can+read+usage+and+cost.\u0026amp;theme=1906ce228b50010d26a884a7\u0026amp;signature=f44cb3bc576ee7bdd7a6faecdd2ef35f8a316f638b24411a4249b23d85710b2a\">\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=\"OpenAI and Anthropic - TensorCost Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Connect an OpenAI or Anthropic organisation with an admin key so TensorCost can read usage and cost.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gocloudera.mintlify.site/_mintlify/api/og/v2?division=Connect+your+data\u0026amp;title=OpenAI+and+Anthropic\u0026amp;description=Connect+an+OpenAI+or+Anthropic+organisation+with+an+admin+key+so+TensorCost+can+read+usage+and+cost.\u0026amp;theme=1906ce228b50010d26a884a7\u0026amp;signature=f44cb3bc576ee7bdd7a6faecdd2ef35f8a316f638b24411a4249b23d85710b2a\">\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/gocloudera/79LGEm93K6Ljjd29/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"TensorCost Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1E4A3A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tensorcost.com/connect/openai-and-anthropic\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/connect/openai-and-anthropic.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.tensorcost.com/#organization\",\"name\":\"TensorCost Docs\",\"url\":\"https://docs.tensorcost.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/gocloudera/JaxqeunfSseXHQeW/logo/light.svg?fit=max\u0026auto=format\u0026n=JaxqeunfSseXHQeW\u0026q=85\u0026s=8f808c28cc5a3be45920c425c37ab7e5\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tensorcost.com#website\",\"name\":\"TensorCost Docs\",\"url\":\"https://docs.tensorcost.com\",\"publisher\":{\"@id\":\"https://docs.tensorcost.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tensorcost.com/connect/openai-and-anthropic#webpage\",\"url\":\"https://docs.tensorcost.com/connect/openai-and-anthropic\",\"name\":\"OpenAI and Anthropic\",\"description\":\"Connect an OpenAI or Anthropic organisation with an admin key so TensorCost can read usage and cost.\",\"dateModified\":\"2026-11-14T20:04:00.340Z\",\"isPartOf\":{\"@id\":\"https://docs.tensorcost.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tensorcost.com/connect/openai-and-anthropic#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tensorcost.com/connect/openai-and-anthropic#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Connect your data\",\"item\":\"https://docs.tensorcost.com/connect/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OpenAI and Anthropic\",\"item\":\"https://docs.tensorcost.com/connect/openai-and-anthropic\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.tensorcost.com/connect/openai-and-anthropic#article\",\"headline\":\"OpenAI and Anthropic\",\"name\":\"OpenAI and Anthropic\",\"description\":\"Connect an OpenAI or Anthropic organisation with an admin key so TensorCost can read usage and cost.\",\"url\":\"https://docs.tensorcost.com/connect/openai-and-anthropic\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tensorcost.com/connect/openai-and-anthropic#webpage\"},\"dateModified\":\"2026-11-14T20:04:00.340Z\",\"publisher\":{\"@id\":\"https://docs.tensorcost.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tensorcost.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"TensorCost Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"TensorCost Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/connect/openai-and-anthropic.md","siteName":"TensorCost Docs","nav":{"global":null,"tabs":[{"tab":"Guides","groups":[{"group":"Get started","pages":[{"title":"Welcome to TensorCost","sidebarTitle":"Welcome","href":""},{"title":"Quickstart","href":"/quickstart"},{"title":"How TensorCost counts AI spend","sidebarTitle":"How TensorCost counts","href":"/concepts"},{"title":"SaaS or BYOC","href":"/saas-or-byoc"}]},{"group":"Connect your data","pages":[{"title":"Connect your data","sidebarTitle":"Overview","href":"/connect/overview"},{"title":"AWS","href":"/connect/aws"},{"title":"Azure","href":"/connect/azure"},{"title":"Google Cloud","description":"Connect Google Cloud billing and Vertex AI with a read-only service account or Workload Identity Federation.","href":"/connect/gcp"},{"title":"OpenAI and Anthropic","sidebarTitle":"OpenAI and Anthropic","href":"/connect/openai-and-anthropic"},{"title":"Upload data before you connect","description":"Upload a month of a bill, Bedrock logs or a usage export to see your own numbers before you connect an account.","sidebarTitle":"Upload data","href":"/connect/upload-data"},{"title":"GPU telemetry agent","href":"/connect/gpu-agent"}]},{"group":"See your spend","pages":[{"title":"This month, Explore and Models","href":"/spend/overview"},{"title":"Budgets and forecasts","href":"/spend/budgets"},{"title":"Cost per customer","href":"/spend/customers"},{"title":"Chargeback and showback","href":"/spend/chargeback"},{"title":"Commitments, outcomes, fleet and owned vs API","href":"/spend/more-views"}]},{"group":"Control spend","pages":[{"title":"Authority: how control works","sidebarTitle":"Overview","href":"/control/overview"},{"title":"Limits: agent budgets, run caps, period budgets","sidebarTitle":"Limits","href":"/control/limits"},{"title":"Routing","href":"/control/routing"},{"title":"Rules, safety rules, approved models and compliance profiles","sidebarTitle":"Rules","href":"/control/rules"},{"title":"Alerts","href":"/control/alerts"}]},{"group":"Activity, proof and Ask","pages":[{"title":"Activity and Proof","href":"/activity-and-proof"},{"title":"Ask","href":"/ask"}]},{"group":"Administer","pages":[{"title":"Users, roles, teams and SSO","href":"/admin/users-and-access"},{"title":"Data retention, exports and the audit log","href":"/admin/data-and-exports"},{"title":"Security and data handling","href":"/admin/security"},{"title":"Plans","href":"/admin/plans"}]}]},{"tab":"Developers","pages":[{"title":"Developers","href":"/developers/overview"}]},{"tab":"BYOC","pages":[{"title":"BYOC","href":"/byoc/overview"}]}]},"basePath":"","title":"OpenAI and Anthropic - TensorCost Docs","deploymentId":"dpl_4yZxV19iA4iQbQLKpiEbDRZbaukJ","buildId":"dpl_4yZxV19iA4iQbQLKpiEbDRZbaukJ","dynamics":[],"chunks":[]}