Skip to content

Azure AI Gateway, and the AI gateway in API Management

INFRO vs Azure AI Gateway

Since November 2026 Azure has two AI gateways. Azure AI Gateway, generally available since Ignite and previously the preview AI Gateway tier of API Management, is a standalone product: it uses models from Microsoft Foundry, Azure OpenAI, OpenAI, Anthropic, Amazon Bedrock and Google Vertex AI, tracks tokens and estimated cost by user, team, app, agent and provider, and has cost limits that stop new requests once estimated spend reaches a budget. The AI gateway in Azure API Management is a set of policies on an instance you run: token-per-minute limits and token quotas per key, semantic caching, Azure AI Content Safety checks, weighted and priority load balancing with circuit breakers, and token metrics in Azure Monitor. For an Azure-native enterprise, either one extends a platform its team already operates, and that is hard to beat.

By INFRO Editorial

Last checked

When Azure AI Gateway is the better choice
  • You already run Azure API Management. Your AI traffic gets the same instance, networking, identity, developer portal and policy language as the rest of your APIs, operated by the team that already owns them.
  • You are an Azure-native enterprise on Microsoft Foundry. Azure AI Gateway governs Foundry, Azure OpenAI and other providers' models from Azure, with cost limits and cost by user, team, app and agent, under the identity and networking you already have.
  • Semantic caching is the requirement. APIM returns cached answers for prompts similar in meaning, using Azure Managed Redis and an embeddings deployment; INFRO's response cache is exact-match only, for chat completions.
  • You need a programmable policy pipeline. APIM policies with expressions can transform, route and limit on anything in the request; INFRO's controls are fixed features configured in a console and an API, not a policy language.
  • Your capacity is Provisioned Throughput and the problem is tokens per minute, not dollars. Token limits and priority load balancing across PTU and pay-as-you-go deployments are what APIM's AI policies are built around.

This section is not a courtesy. If one of these describes you, pick Azure AI Gateway — a customer who adopts the wrong layer on our advice is worse for us than one we never had.

Where the two actually diverge.

A gateway you operate, or a service you use
The AI gateway in API Management is an instance in your subscription, at a service tier you choose, configured with XML policies and operated by your platform team. Azure AI Gateway is a resource of its own, priced per gateway: $500 a month, billed hourly, with paid billing from 1 January 2027. Both are the right shape for a company that runs its platform on Azure. INFRO's plans are hosted, with budgets, routes, allowlists and an audit log configured in a console or through its management API, and nothing to deploy; an enterprise agreement can put it in your own infrastructure instead.
Tokens, or dollars
APIM's llm-token-limit policy limits tokens: a rate per minute, a quota per hour, day, week, month or year, or both, keyed by subscription, IP address or any expression, answering 429 or 403, and its docs say concurrent requests can briefly exceed it. Tokens are the right unit for sharing a deployment's capacity and the wrong one for a budget, because a token on one model and a token on another differ in price by orders of magnitude. Azure AI Gateway adds cost limits on estimated spend, and Microsoft says provider billing remains the source of actual charges. INFRO's budgets are dollars of estimated provider cost — at your negotiated rates — at organization, project, member and key, checked before the provider is called and refused with 402 when there is no room.
Cost as a record, not a metric to build
API Management emits token counts to Azure Monitor and Application Insights with whatever dimensions you add; Azure AI Gateway tracks estimated cost by user, team, app, agent and provider. INFRO prices every request when it is recorded, says which rate answered — your negotiated rate, the vendor's published rate, or unpriced — and attributes it to a project, key, model, route or end user. On every plan, the month's estimate is checked against OpenAI's and Anthropic's own cost APIs and the variance is stated.
Not either-or
Azure OpenAI is one of the provider kinds INFRO connects, through your resource's deployments and its own key. A company can keep APIM in front of its Azure estate and use INFRO for the budgets, attribution and audit trail across that estate and the direct provider contracts beside it.

Side by side.

Our column carries dashes too. A comparison where one side is all checks is one nobody believes, and rightly.

CapabilityAzure AI GatewayINFRO
One API across many providersyesFoundry, Azure OpenAI, OpenAI, Anthropic, Bedrock, Vertex AIyeswhatever your connected providers serve
Nothing to deploy or operatepartialAzure AI Gateway is a managed resource; API Management is an instance you runyeshosted service
Limits in tokensyesper minute and per period, by any keynorequest rate limits per key instead
Budgets in dollars that refuse a requestyesAzure AI Gateway cost limits on estimated spend; API Management counts tokensyesorganization, project, member, key; 402
Cost per request, attributedyesestimated cost by user, team, app, agent, provideryesproject, key, model, route, end user
Response cachingyessemantic, with Azure Managed Redispartialexact match, chat completions only
Content safetyyesAzure AI Content Safety policypartialpatterns plus optional classifier checks; chat completions; every plan
Load balancing and failoveryesweighted, priority, circuit breakeryespriority or weighted routes, any modality
Programmable policyyesAPIM policy expressionsnoconfigured features, not a policy language
MCP servers and agent APIsyesMCP and A2ApartialMCP gateway, every plan
Available todayyesyesself-serve sign-up

Our reading of each product's public documentation as of October 2026. We do not quote competitors' prices — theirs change and a wrong number about someone else's business is worse than none. Think a row is wrong? Tell us and we will fix it.

Migration included

We do the migration with you.

Send us your current setup with the secrets removed. Within two working days we send back the INFRO version of it, with connections, routes, budgets, keys and the code diff, and we move your first service with you on a call. Included with every plan and trial, at no extra charge. Your provider keys never pass through us.

  1. 1You send your current setupYour gateway or proxy config, the headers and tags you send, and the model ids you call, with every key and secret removed.
  2. 2We send back the INFRO versionWithin two working days: the connections to create, routes and failure rules, budgets, gateway keys and allowlists, how your tags map to metadata, and the code diff for one service.
  3. 3We move your first service togetherOn a call. You create the provider connections and keys yourself while we walk through it; your keys never pass through us.
  4. 4We compare a week of trafficYour old request counts and estimated cost per day against INFRO's request log for that service, and we name any gap.

Work out what the difference is worth

Estimate what your current model mix costs at your providers' list rates and the plan it needs, or have us read your real usage and tell you where we would and would not help.

Already on Azure AI Gateway? Read the migration guide from Azure OpenAI: the code that changes, what carries over, and what does not.

Weighing more than two options? Compare every Azure AI Gateway alternative, with when each one is the better choice.

Sources

Every figure about Azure AI Gateway on this page is from its own pages, opened on the date shown.

  1. 1.techcommunity.microsoft.com/blog/integrationsonazureblog/azure-ai-gateway-is-now-generally-available-ship-faster-stay-in-control/4572644 (opens in a new tab) — checked Nov 25, 2026. Microsoft announced general availability of Azure AI Gateway at Ignite in November 2026. Azure AI Gateway was the preview AI Gateway tier of Azure API Management and is now a standalone product. Azure AI Gateway uses models from Microsoft Foundry, Azure OpenAI, OpenAI, Anthropic, Amazon Bedrock and Google Vertex AI. Azure AI Gateway's cost limits stop new requests once estimated spend reaches a budget. Azure AI Gateway tracks tokens and estimated cost by user, team, app, agent and provider. Azure AI Gateway is priced at $500 a month per gateway, billed hourly. Paid billing for Azure AI Gateway begins on 1 January 2027.
  2. 2.learn.microsoft.com/en-us/azure/ai-gateway/compare-api-management-service (opens in a new tab) — checked Nov 25, 2026. Microsoft names Azure AI Gateway, not API Management, as where its newest AI gateway capabilities land.
  3. 3.learn.microsoft.com/en-us/azure/foundry/configuration/enable-ai-api-management-gateway-portal (opens in a new tab) — checked Nov 25, 2026. Microsoft says API Management is not deprecated, and its existing AI gateway customers need not migrate to Azure AI Gateway.
  4. 4.learn.microsoft.com/en-us/azure/ai-gateway/concepts (opens in a new tab) — checked Nov 25, 2026. Microsoft says the gateway's spend controls use estimates, and provider billing remains the source of actual charges.
  5. 5.learn.microsoft.com/en-us/azure/api-management/genai-gateway-capabilities (opens in a new tab) — checked Nov 25, 2026. In Azure API Management, the AI gateway is a set of capabilities on the existing API gateway, not a separate offering. API Management's backend load balancer supports round-robin, weighted, priority-based and session-aware balancing, with circuit breakers.
  6. 6.learn.microsoft.com/en-us/azure/api-management/llm-token-limit-policy (opens in a new tab) — checked Nov 25, 2026. API Management's token limit policy counts prompt and completion tokens only; its limits are in tokens, not money. API Management says concurrent requests can temporarily exceed a configured token limit. A caller over the token rate limit receives HTTP 429; over the token quota, HTTP 403.
  7. 7.learn.microsoft.com/en-us/azure/api-management/azure-openai-enable-semantic-caching (opens in a new tab) — checked Nov 25, 2026. API Management's semantic caching needs an Azure Managed Redis instance with the RediSearch module and an embeddings deployment.
  8. 8.learn.microsoft.com/en-us/azure/api-management/llm-content-safety-policy (opens in a new tab) — checked Nov 25, 2026. API Management's content-safety policy sends prompts or completions to Azure AI Content Safety and blocks harmful content with a 403.