· AI dev tools
Azure AI Gateway GA, governs AI model access, supports 10000 free requests monthly
The ability to control access to AI models and various MCP tools across different providers is now available through Azure AI Gateway, which Microsoft has released as a standalone Azure service.
This marks a significant evolution from when the AI gateway tier was previously integrated within Azure API Management, having entered public preview three months prior.
When InfoQ examined the preview phase back in August, the AI gateway tier was restricted to only the East US 2 and Sweden Central regions, lacked a Service Level Agreement, and had no published pricing structure. With the general availability announcement, Microsoft has extracted this functionality from API Management and given it its own product roadmap focused exclusively on AI. Although both services continue to utilize the Microsoft.ApiManagement resource provider, they are now recognized as distinct resource types, and other AI workloads within API Management SKUs remain supported. Microsoft provides documentation outlining a path for migrating from the AIGateway SKU, suggesting that organizations continue hosting their business APIs within API Management while directing traffic related to models and tools through the new AI Gateway.
Pricing details are now public for this service: each gateway includes 10,000 free requests monthly, and paid billing commences on January 1, 2027. At that point, the cost will be $500 per gateway per month for up to 10 million requests, with an additional charge of $20 for every million requests exceeding that initial threshold. The service is operational across 17 regions presently, and Microsoft plans to release regional pricing information when billing begins.
Functionally, the gateway acts as a front for several major platforms, including Microsoft Foundry, Azure OpenAI, OpenAI, Anthropic, Amazon Bedrock, Google Vertex AI, and any endpoint compatible with OpenAI, all accessible via custom aliases. Routing decisions can be made based on priority, weight, or custom conditions, and it supports failover between these various backends. Developers interact with it using either the OpenAI-compatible API or the Anthropic Messages API, while a Model Router, which manages costs and quality, is still in preview.
For tool integration, the gateway federates MCP servers, transforming OpenAPI specifications, connectors, and API Management APIs into usable MCP tools. Furthermore, Microsoft Agent 365 has the capability to discover these servers and apply tool policies that the gateway is responsible for enforcing (Source: Microsoft Tech Community). To manage expenditures, the gateway meticulously tracks tokens and estimated costs, allocating this data by user, team, application, agent, and provider; if the estimated spending hits a set budget limit, the gateway will prevent further requests.
Microsoft frames this service as the central component in a hub-and-spoke architecture, where Foundry projects function as spokes capable of sharing deployments, including provisioned throughput, and offering failover to other Foundry resources or external providers. Certain features, such as Private Link for incoming calls, VNet integration for private backends, and threat protection via Defender and Purview for tool calls, are still in preview status. Applications maintain their standard SDK usage, simply redirecting calls to the gateway instead of directly to the model provider.
The pattern for initial model calls is illustrated in the Azure/aigateway repository's first-model-call lab, which demonstrates using the gateway alias in the model field and supplying a gateway runtime key in place of a Foundry credential: import os from openai import OpenAI gateway_url = os.environ["AI_GATEWAY_URL"].rstrip("/") model = os.environ["AI_GATEWAY_MODEL"] client = OpenAI( base_url=f"{gateway_url}/default/models/openai/v1", api_key=os.environ["AI_GATEWAY_API_KEY"], ) response = client.responses.create(model=model, input="Write a one-sentence status update.") print(f"Responses API: {response.output_text}")
The gateway performs checks on content safety, token usage, and cost before passing the request along, at which point it substitutes the caller's key with its own managed identity token when communicating with Foundry. Dan Rios, who holds the title of a principal architect at Howden Insurance and a Microsoft MVP, successfully deployed the gateway using Bicep against a Foundry model and the Microsoft Learn MCP server. He highlighted the per-caller spend policy as the most significant advantage, remarking that API Management's existing policy catalog lacks an equivalent monetary budget control. Rios also observed that linking a gateway to Foundry does not obstruct direct calls to Foundry, necessitating that teams implement private endpoints and RBAC to ensure all traffic flows through the gateway.
In a discussion thread on Reddit following his post, Rios expressed his primary concern regarding the deployment workflow: "My only gripe is I use APIOps as my gitops approach and it seems like with AI Gateway I am more limited in that approach to just a bit of IaC and then mostly ClickOps." Other participants in the thread questioned the necessity of deploying a second gateway altogether. One individual argued that Foundry already provides substantial functionality through Azure Policy, RBAC, token quotas, and its own integrated model router: "Why have one gateway (Foundry) when you can have two at much more than twice the price?" Rios countered this by stating that a single AI Gateway can manage multiple Foundry accounts, mirroring current API Management capabilities, though he conceded that the service is not inexpensive. A third commenter focused on the timing of policy enforcement for agents, asking: "the per-caller spend policy is the part i'd want to see. does it actually cut a caller off when they pass the limit, or does it only show up in the logs? with agents calling models in loops, a report after the fact is kinda late."
Although Microsoft's official announcement and lab examples indicate that the budget is enforced prior to the request reaching the model, this limit is calculated based on estimated usage rather than actual invoiced spend. Darthick Somu, analyzing the release, recommended beginning with a pilot program, issuing a caution that the gateway "does not eliminate the need for application-level safety checks, downstream authorization or model evaluation." The documentation for the service, available on Microsoft Learn, includes 26 labs, an Azure CLI extension, a coding agent plugin, and a migration tool.
Why it matters
This release provides developers a centralized control plane for managing access and costs across multiple AI providers. The introduction of per-caller spend policies offers granular cost control previously unavailable in standard API Management setups. Developers should review the migration path to integrate this new hub into their existing application architectures.




