/

How to manage AI model access and usage on Azure

Gateway to AI

How to manage AI model access and usage on Azure

A second team wants to use the same AI models. Here’s how to set access and usage limits, track consumption and protect the service that’s already live.

Gateway to AI

Part 05 of 08

Take an illustrative example: a housing provider with a live AI assistant that gives tenants updates on their repairs. The repairs team wants to use the same model to summarise a day’s worth of contractors’ notes. If both applications share the same online deployment, the summary job can use enough capacity that tenants get errors when they ask for an update.

Before the second application goes live, someone needs to decide how much capacity it can use, how to tell which application is driving that usage and what the repairs team should do if its summary job is interrupted. That’s where an AI gateway can help.

Decide how the summary job runs

If the repairs team can work with a 24-hour target and occasional overruns, consider Azure OpenAI Batch. It runs asynchronously on a separate quota. Microsoft lists Global Batch at half the cost of Global Standard. Global Batch may process requests outside the resource’s geography. Data Zone Batch keeps processing within the EU, US or Asia Pacific zone. There’s no UK-only zone, so a UK housing provider needs to decide whether tenant data can be processed within Microsoft’s EU Data Boundary. Microsoft’s Batch guide · Microsoft’s deployment types guide

If staff need the summaries by a same-day handover, use an online deployment sized for that deadline. The repairs team could use a separate deployment. If it shares the tenant assistant’s deployment, measure the assistant’s demand at its busiest and test how much capacity the summary job can use alongside it.

Where the gateway sits

An AI gateway receives model requests from applications and applies rules before forwarding them to an approved model deployment. On Azure, you can use Azure API Management for this. An application calls the gateway, the gateway checks that the caller is allowed to use the model, and it applies any usage limits you’ve configured. The gateway can also record which application made the request and how many tokens the request used. Microsoft’s guide to AI gateways in Azure API Management

Azure AI Gateway is now generally available as a standalone service for model and tool traffic. You can keep business APIs in API Management, where existing AI workloads remain supported. Inbound Private Link and virtual network integration for private backends are still in preview on the standalone service. If you require generally available private connectivity for tenant data, check which API Management tiers meet your requirements. The worked example in this article uses Azure API Management’s AI gateway capabilities. Microsoft’s Azure AI Gateway overview · Microsoft’s launch announcement · Microsoft’s comparison of the two services

Security · Governance · Cost management

User channels

Teams
Microsoft 365 Copilot
Web apps
Digital services
Azure Landing ZoneCustomer subscriptions · Private networking · Policy · Security

AI applications and agents

Tenant assistant
Contractor summary app

Shared AI Platform

AI gateway
Azure API Management
Models and agents
Microsoft Foundry
Identity and access
Microsoft Entra
AI observability
Monitoring, evaluation and telemetry
Governed data retrieval
Search and grounding
Integration and orchestration
APIs and workflows
Private connectivity and governed connectors

Business data and systems

SharePoint / M365
Fabric / OneLake
SQL / databases
Line-of-business systems
Managed AI: operate · monitor · optimise · improve

Conceptual view, not request routing. Components are modular and not every deployment needs all of them. M365 and business systems stay in their own boundaries and connect to the platform through governed connectors.

In the housing example, the tenant assistant and the tool that summarises contractor notes each have their own application identity. The platform team can see their usage separately and suspend one application’s model access while the other continues. Microsoft’s guide to authenticating applications and model requests

Check whether either application can still call the model directly. Those calls bypass the gateway’s rules. Turn off key access on the model resource, grant the gateway’s managed identity access and remove direct model permissions from both apps. If the backend needs to be private, configure a private endpoint and disable public network access on the model resource. Microsoft’s guidance on disabling key access · Microsoft’s guidance on private endpoints

Set limits around the work each application does

For supported model APIs and tiers, the Azure API Management token-limit policy can cap tokens per minute and set a quota over a longer period. Microsoft’s token limit policy

Implementation note. If that policy returns a 429 for exceeding the rate, the job can wait for the retry interval and try again. If the policy returns a 403 because the quota is exhausted, the job should stop and leave the remaining notes queued. A daily quota resets at midnight UTC, which is 1am during British Summer Time. If you run API Management gateways in multiple regions, each gateway tracks the quota separately.

Where the tenant service needs dedicated capacity, plan a separate provisioned deployment and test it under load. You can configure spillover to send excess requests to a corresponding standard deployment, provided that deployment has capacity. Microsoft’s guide to spillover

Give finance and operations different views of usage

If model usage doubles in a week, the platform team should be able to see which application drove the increase. Start with the application identity, model, token usage and errors. That gives operations a way to see whether the increase follows higher demand, longer requests or repeated calls after a failure. Logging full requests and responses is a separate decision. A contractor’s note can contain names and addresses, so agree who can read any content you retain and how long it should be kept. Microsoft’s guidance on gateway monitoring and logging

Finance needs to see the cost of running the service. Use the model usage figures to estimate each application’s share of model charges, then reconcile that estimate with Azure billing. Include other costs where relevant, such as search, hosting and monitoring. An Azure budget can tell the owner that spend has crossed a threshold. Azure typically makes cost data available within 8 to 24 hours and checks budgets once a day. The budget alert tells the owner about spending while the service continues to run. A gateway quota can reject further model calls from the application once it reaches its limit. On the standalone Azure AI Gateway, limits are based on estimated model spend. Microsoft’s guide to Azure budgets

If you choose the standalone Azure AI Gateway service, include its charges in the estimate. Paid billing starts on 1 January 2027 for gateways handling more than 10,000 requests per month. Microsoft’s Azure AI Gateway pricing announcement

Check what each application can access

The housing provider still needs to test that a tenant can only see their own repair history. That decision belongs in the application and the systems that supply its data. If a future version can also reschedule a visit, the application needs to check who has that authority, validate the change and record what happened in the repairs system.

This is where the gateway fits into an Enterprise AI Platform. It applies shared rules to model calls. Identity, access to business records, testing and operational support also need to be designed around the work each application does. Servent’s Enterprise AI Platform approach

Run the two applications together before go-live.

If both applications will use the same online deployment, run these checks before the second goes live.

01

Start the contractor summary job while the tenant assistant is busy.

Evidence to look for

The job is throttled as designed. Tenant requests stay within the service’s agreed response-time and error thresholds.

Record who can change each limit, who responds when the summary job stops and who approves another application’s access. Keep those details with the test results so the next team has a working example when it asks to use the models.

Gateway to AI is an eight-part Servent series on what organisations need to develop, deploy and operate enterprise AI.

Previous in the series · How to find and govern AI use across the organisation

Andrew Hutchinson

Written by Andrew Hutchinson

Andrew Hutchinson

Head of Go-To-Market

Andrew Hutchinson

Gateway to AI

Part 05 of 08

One conversation with someone who knows Azure. No long process and no sales sequence.

Get the next part when it’s published

Review your first two AI workloads.

Bring the application you run today and the one you want to add. We’ll look at what they can share, where they need separate capacity and what to test before go-live.

We look forward to hearing what you’re working towards.

Nathan Bird, Azure Architecture Director
Andrew Norris, Azure Delivery Director
Declan Gildea, Chief Operating Officer

A specialist will reply within one working day.