Skip to main content

Claude Linked billing: when your customers should pay for Claude

Anthropic's Linked billing beta lets customers pay for the Claude usage in your app through their own Claude organization. How linking and billing_policy work, the limits, and when to adopt it.

Share -
Bearded man in a denim shirt holding a payment card while typing on a laptop at a desk in a dimly lit office at night

Claude Linked billing, in beta since 17 November 2026, lets your customers pay for the Claude usage in your app through their own Claude organization. You choose per request who pays. It suits apps sold to teams that already buy the Claude API directly, but it changes your error handling, data terms and support model.

What Anthropic released

Linked billing was announced by Anthropic on 17 November 2026 in the Claude API release notes, behind the user-profiles-billing-2026-10-01 beta header. A customer links their Claude organization to your app once, through an OAuth approval, and Anthropic calls that link a connection. After that, you set a billing_policy field on each /v1/messages or /v1/chat/completions request to decide whether the customer or you pays.

Anthropic labels the underlying Claude Platform OAuth a beta service: its Linked billing guide says endpoints, parameters and behaviour can change, and that it might not be suitable for production use.

How it works

Setup happens once, by an Admin in your Claude Console:

  • Register an OAuth app and select "Bill and link to organizations". Anthropic issues no client secret; your back end authenticates with a signed client assertion through workload identity federation.
  • Create a service account as the app's operator, and set a default workspace for the app.
  • Create one user profile per customer with POST /v1/user_profiles and store its uprof_ ID. Linking is one to one: a customer organization links to one of your profiles, and a profile links to one organization.

For each customer, your app sends a pushed authorization request with the billing:attribution scope (plus offline_access if you want a refresh token), redirects them to auth.claude.com, and exchanges the returned code for a connection_id. The person who approves must hold the Admin or Billing role in their Claude organization, and on the approval page they can set a monthly spend cap for your app.

On each request you then send the anthropic-user-profile-id header and choose:

  • "bill_to": "user_profile" - the linked customer pays;
  • "bill_to": "self" - you pay;
  • no billing_policy - you pay, as today.

If a request marked for the customer can't be billed, the API refuses it rather than charging you. The guide lists the refusals: a 403 user_profile_not_billable when the customer isn't eligible or has unlinked, and a 402 when their cap, their organization's monthly limit or their credit is exhausted. In each case you can resend with bill_to: "self" and absorb the cost.

The limits to know before you build

The guide sets out several restrictions that decide whether this fits your product:

  • Who can pay. Only organizations that pay Anthropic directly, by prepaid credit or invoice. Organizations billed through AWS, Google Cloud or Azure marketplaces cannot, nor can those with only a Claude subscription plan. Promotional API credits bundled with Max, Ultra and Team plans don't count either, which matters if you read our note on Claude API credits in Max and Team plans.
  • What can be billed. Message Batches requests can't be billed to the customer, and on /v1/messages a customer-billed request can't use billable code execution features.
  • Whose terms apply. Requests run in your organization, so your rate limits, model access, data retention and encryption keys apply. The customer's zero data retention, BAA or customer-managed keys do not, and Anthropic says not to link customers who need HIPAA, FERPA or CMEK coverage for this usage.
  • Testing. Until Anthropic reviews and publishes your app, only listed test users can link it, and caps are held to a low ceiling.
  • Visibility. You can't read a customer's cap or how much of it they have used, Anthropic doesn't notify you when they unlink, and a successful response doesn't say who was billed.

What it means for teams building AI products

The commercial case is clear: if your buyers are engineering teams with their own Claude Platform contracts, usage can move onto their bill instead of your margin, and their finance team sees the spend in their own console. That removes the need to resell tokens or build usage pass-through into your pricing.

The engineering cost is in the edges. CodeDTX's advice for teams that adopt it:

  • Record who paid. Since responses don't say who was billed, log the bill_to value and request-id for every call. The Usage and Cost Analytics API shows usage per user profile, but Anthropic warns it is delayed, so don't use it for real-time cutoffs.
  • Decide the fallback in advance. When a 402 or 403 arrives, either you pay with bill_to: "self" or you pause the customer. Make that a product decision with a limit, not a silent retry.
  • Keep your own usage off their bill. The guide is explicit that testing, evaluations and work for other customers must not be billed to a customer, and the API can't check this for you. Route those calls without billing_policy.
  • Check the identity on every call. With the operator credential, naming the wrong profile bills that profile's organization with no error. Per-connection access tokens, limited to one customer, reduce that risk.
  • Treat refresh tokens carefully. Reusing a refresh token after a short grace window ends the connection and unlinks the customer.

When not to switch: if most customers buy Claude through a cloud marketplace, need regulated data coverage, or rely on batch jobs, Linked billing covers too little of your traffic to justify the integration during the beta. Keep paying for usage yourself and revisit once it leaves beta.

Frequently asked questions

What is Claude Linked billing?

Claude Linked billing is a beta feature of the Claude API, announced on 17 November 2026, that lets a customer link their own Claude organization to your app and pay for the Claude usage your app generates for them. You set a billing_policy on each Messages or Chat Completions request to choose whether the linked customer or your own organization pays for that call.

Which customers can pay through Linked billing?

Only customers whose Claude Platform organization pays Anthropic directly, through prepaid credits or invoiced billing. Organizations billed through the AWS, Google Cloud or Azure marketplaces cannot, nor can organizations with only a Claude subscription plan. Promotional API credits that come with Max, Ultra and Team plans, and credits from partner or startup programmes, cannot pay for these requests either.

What happens when a customer reaches their spend cap?

The Claude API refuses requests you bill to that customer with a 402 error before Claude starts a reply. The refusals last until the start of the next calendar month in UTC, or until the customer raises or removes the cap in the Claude Console. You can still serve the request at your own cost by resending it with bill_to set to self.

Do the customer's data retention settings apply to linked requests?

No. Linked requests run in your organization, so your rate limits, model access, data retention and encryption keys apply. The customer's own arrangements, such as zero data retention, a business associate agreement or customer-managed encryption keys, do not. Anthropic advises against linking customers who need HIPAA, FERPA or CMEK coverage for this usage.

Should we adopt Linked billing now?

Adopt it if your buyers already hold direct Claude API contracts and want the spend on their own bill, and you can handle the refusal cases cleanly. Wait if most customers buy through a cloud marketplace, need regulated data coverage or depend on batch processing, because the beta does not cover those cases and its behaviour can still change.

Share this post

Contact us to build the right product

Talk to our engineers about your application, the systems it connects to, and what you want to build next.

Get in touch
Two people discussing work with a laptop