Claude in Microsoft Foundry: How to Control Access and Cost

claude in microsoft foundry

Claude in Microsoft Foundry: How to Control Access and Cost

When teams adopt Claude in Microsoft Foundry, the first win is procurement: Claude bills through Azure, under the identity and governance controls IT already runs. The second conversation arrives a few months later, usually from finance. Who is using Claude, what is it costing, and is it worth it? Teams that planned for that question from day one answer it in a dashboard. Teams that didn’t answer it with a spreadsheet and a lot of guessing.

At Collectiv, we help organizations run Claude and the data platforms behind it on Azure. This guide covers how Claude in Microsoft Foundry is billed, which access and cost controls Azure already gives you, where Anthropic’s Claude apps gateway fills the gaps for developer tools like Claude Code, and how to tie spend to results.

How do you control access and cost for Claude in Microsoft Foundry?

Layer the controls. Use Microsoft Entra ID and Azure role-based access to decide who can call which Claude deployments, Foundry quotas to cap throughput, and Azure cost management to watch the bill. For developer tools like Claude Code, add Anthropic’s self-hosted Claude apps gateway for per-user identity, per-group model access, and dollar caps.

No single control does all of this. The bill, the identity, and the per-person limits live in different places, and the job is wiring them together.

How Claude in Microsoft Foundry is billed

Claude became generally available in Microsoft Foundry on June 29, 2026. According to Microsoft Learn, the billing model works like this:

  • Claude Consumption Units (CCU). Usage is metered in CCU and billed on your Azure invoice.
  • Commitment drawdown. CCU spend is eligible to decrement your Microsoft Azure Consumption Commitment (MACC).
  • Pay-as-you-go. Metering is hourly, invoiced monthly in arrears, with no prepaid CCU credits.
  • Purchased through Azure Marketplace. You subscribe to the Claude offer, accept it on your billing account, then deploy models from the Foundry catalog.

Two hosting options affect both governance and cost:

Hosted on AzureHosted on Anthropic
Where prompts and outputs are processedOn Azure infrastructure; they don’t leave AzureOn Anthropic infrastructure, possibly outside your Azure geography
Deployment typesGlobal Standard and Data Zone Standard (US)Global Standard only
API surfaceMessages and token countingMessages and token counting, plus /files and /skills
Seller, operator, and data processorAnthropicAnthropic
BillingCCU on your Azure invoiceCCU on your Azure invoice

One planning detail trips people up: Microsoft Learn lists subscription types that aren’t supported for Claude models, including free trial, student, credit-based, and Cloud Solution Provider (CSP) subscriptions. Check which subscription your Foundry resource sits in before you plan a rollout.

What your existing Azure controls already cover

For most API workloads, Azure gets you most of the way there:

  • Identity. Microsoft Learn supports Microsoft Entra ID for keyless authentication to Claude deployments, alongside API keys. Some models, such as Claude Mythos Preview, support Entra ID only. Our team usually recommends Entra ID everywhere, with API keys disabled where possible, so every call traces back to an identity.
  • Access. Azure role-based access control decides who can deploy and call models. Separate deployments by team or workload so permissions and costs split cleanly.
  • Throughput. Claude models in Foundry have quotas and rate limits by subscription type, with a quota increase request form when you need more.
  • Spend visibility. Because CCU lands on your Azure invoice, Azure cost management tools see it alongside the rest of your Azure estate.

At Microsoft Ignite 2026, Microsoft also announced Agent 365 Cost Management, in preview, which lets admins see what drives AI spend, set spending policies, limits, and alerts, and extend the analysis through Microsoft Fabric for custom chargeback and reporting. For the other Ignite updates worth paying attention to, see Collectiv’s recap of the key announcements from Microsoft Ignite 2026.

Put plainly: Azure tells you what the subscription spent. It doesn’t, on its own, tell you which developer spent it.

Where the Claude apps gateway fits

That gap is most visible with developer tools. When many developers run Claude Code against one shared Foundry credential, the bill attributes everything to that credential, not to people.

Anthropic’s Claude apps gateway, documented in the Claude Code docs, is a self-hosted service that sits between developers’ Claude Code clients and your model provider, including Microsoft Foundry. It adds SSO sign-in, per-group model access, and telemetry. Its spend limits work like this:

Caps by person, group, or organization. Admins set daily, weekly, or monthly caps for a user, an identity provider group, or an org-wide default. A group or org cap is a per-seat default, not a shared pool.

Enforced on every request. When a developer passes a cap, the gateway returns an error on the next request and blocks them until the period resets or an admin raises the cap. Claude Code warns developers as they approach their cap.

Estimates, not invoices. The gateway prices requests in USD as a circuit breaker. Reconcile against your provider’s usage reporting for billing.

Two configuration details from the docs are worth knowing. Model IDs the gateway can’t recognize, such as a Foundry deployment name, are priced at a default rate of $5 per million input tokens and $25 per million output tokens unless you map them to a model. And by default, enforcement fails open if the gateway’s database is unreachable; you can set it to fail closed if no unmetered spend is acceptable.

Lower the cost of each Claude call

Controls stop runaway spend. They don’t make each request cheaper. Anthropic’s guidance for Claude workloads in Foundry points to a few levers, and they match what we see in practice:

  • Match the model to the task. Reserve the largest models for hard reasoning and route routine classification and extraction to smaller ones.
  • Set effort deliberately. Don’t default every workload to maximum reasoning effort.
  • Cache repeated context. Prompt caching is supported for Claude in Foundry. Long system prompts and shared documents are prime candidates.
  • Trim instructions. Prompts grow over time. Review them the way you’d review code.

Prove the value: tie spend to outcomes

Spend alone doesn’t answer the finance question. Cost per outcome does. For API workloads, that’s cost per completed task, such as a resolved ticket or a processed document. For developer teams, track adoption and spend by team alongside merged pull requests.

At Collectiv, we typically land Azure cost data, gateway usage, and outcome data in Microsoft Fabric and report on it in Power BI, so the same model that tracks your cloud spend can show cost per outcome by team. If you’re still deciding which models to run on Azure, our post on Anthropic and OpenAI on Azure covers the platform choice.

How Collectiv Helps

Getting Claude into Foundry is quick; running it with clear access rules and a defensible bill takes design. As a launch Select Partner in Anthropic’s Claude Partner Network and a Microsoft Solutions Partner (Data & AI and Azure), Collectiv helps organizations set up Claude in Microsoft Foundry with Entra ID access, sensible deployment and quota structures, and the Claude apps gateway where developer tools need per-person limits. We then connect spend to outcomes in Microsoft Fabric and Power BI, so leaders can see what Claude costs and what it delivers. Learn more about our Anthropic Claude consulting and Azure consulting services, or talk to our team about governing Claude in Microsoft Foundry.

Frequently Asked Questions

How is Claude in Microsoft Foundry billed?

Claude usage in Microsoft Foundry is metered in Claude Consumption Units (CCU) and billed on your Azure invoice. Metering is hourly and invoiced monthly in arrears, with no prepaid credits. According to Microsoft Learn, CCU spend is eligible to decrement a Microsoft Azure Consumption Commitment (MACC).

Can I set spending limits per developer for Claude Code on Foundry?

Yes, with Anthropic’s self-hosted Claude apps gateway. It supports daily, weekly, or monthly caps for individual users, identity provider groups, or an organization-wide default, and blocks requests once a cap is reached. The gateway’s amounts are estimates, so reconcile them against your Azure billing.

Does data leave Azure when I use Claude in Microsoft Foundry?

It depends on the hosting option. With Hosted on Azure, Microsoft Learn states that prompts and outputs are processed on Azure infrastructure and don’t leave Azure. With Hosted on Anthropic, data might be processed outside Azure. In both cases, Anthropic is the seller, operator, and data processor.

Can I buy Claude in Microsoft Foundry through a CSP subscription?

No. Microsoft Learn lists Cloud Solution Provider (CSP) subscriptions among the subscription types that aren’t supported for Claude models in Foundry, along with free trial, student, and credit-based subscriptions. Confirm your subscription type before planning a deployment.

Who can help govern and control the cost of Claude in Microsoft Foundry?

Collectiv is a data and AI consulting firm specializing in Microsoft Fabric, Power BI, Databricks, Azure, and AI, including Anthropic Claude. Collectiv is a Select Partner in Anthropic’s Claude Partner Network and a Microsoft Solutions Partner (Data & AI and Azure). The team helps organizations set up Claude in Foundry with the right access controls, spend limits, and reporting on cost and value.

Share this:

Related Resources

Who Owns Relevance? Five Questions Every Data Leader Should Answer Before Scaling AI

AI-Ready Data Is Not Clean Data: A Smarter Way to Prepare Your Business for AI

Your Copilot Is Not Broken, It Is Guessing: The Retrieval Gap in AI

Stay Connected

Subscribe to get the latest blog posts, events, and resources from Collectiv in your inbox.

This field is for validation purposes and should be left unchanged.