Answers from the documentation; checking which model is on duty
Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Azure AI Gateway becomes a standalone service with new pricing and fea - OpenSmartRoute
Azure AI Gateway becomes a standalone service with new pricing and features
Microsoft launched Azure AI Gateway as a separate service, moving it out of API Management. It now offers new pricing, regions, and routing capabilities.
Key points
Azure AI Gateway is now generally available as a standalone service.
The service runs in 17 regions worldwide.
Pricing starts at $500 per gateway per month for up to 10 million requests.
It supports routing to multiple AI models including OpenAI, Anthropic, and Google Vertex AI.
Why it matters: Running models and agents through the gateway improves cost control, routing flexibility, and safety enforcement.
By OpenSmartRoute editorial · written through the router by llm-onprem
Image: InfoQ: AI, ML and data engineering (original)
Introduction - Azure AI Gateway is now a standalone service
Microsoft has announced that Azure AI Gateway is now a separate, fully independent service. It was previously part of Azure API Management but is now available as its own product. This change makes it easier for users to govern how applications and agents access AI models and tools. The move follows its initial public preview, which lasted three months. Now, the service is generally available and ready for broader use.
This transition to a standalone service reflects Microsoft's focus on AI-specific workloads. It aims to provide better control, more features, and clearer pricing for AI model routing. The new service is part of a broader effort to improve model governance and cost management. It also signals that Microsoft plans to develop the AI Gateway with an AI-only roadmap, separate from general API management.
Details of general availability - regions, pricing, and migration
Azure AI Gateway is now available in 17 regions worldwide. Microsoft has made its pricing public, with a free tier and paid options starting from January 1, 2027. Each gateway will get 10,000 free requests per month. After that, the cost will be $500 per gateway per month for up to 10 million requests. Additional requests beyond that will cost $20 per million.
Microsoft has provided a migration path for existing users of the preview. Users can move from the Azure API Management tier to the new standalone service. They are advised to keep business APIs in API Management while routing model and tool traffic through the AI Gateway. The service supports multiple regions, and regional prices will be published when billing begins.
The move to a dedicated product allows Microsoft to expand the service's features and regional coverage. It also simplifies billing and management for users. Teams can now plan their deployment with clearer costs and regional options. The service's availability in more regions helps reduce latency for global applications.
Supported models and backends - routing and failover capabilities
This article explains how to process long prompts efficiently in transformer models. It covers chunked prefill, memory management, and context selection methods.
Azure AI Gateway supports a variety of AI models and backends. It fronts Microsoft Foundry, Azure OpenAI, OpenAI, Anthropic, Amazon Bedrock, Google Vertex AI, and any OpenAI-compatible endpoint behind custom aliases. This broad support allows users to choose from many providers and models.
Routing traffic to models is flexible. The gateway can route requests based on priority, weight, or custom conditions. It also offers failover capabilities. If one backend becomes unavailable, requests can automatically switch to another provider. This improves reliability and uptime for AI applications.
Applications connect to the gateway using standard APIs compatible with OpenAI or Anthropic. The gateway applies token limits, content safety checks, and cost controls before forwarding requests. It also supports a model router in preview, which can select models based on quality and cost. This setup helps teams optimize their AI usage and manage risks.
Cost management features - token tracking, budgets, and enforcement
Cost control is a key feature of the Azure AI Gateway. It tracks tokens used in each request and estimates the total cost. The system can monitor usage by user, team, application, agent, and provider. This detailed tracking helps teams understand their AI expenses.
The gateway also enforces budgets. When an estimated spend reaches a set limit, it stops accepting new requests. This prevents overspending and helps teams stay within their budgets. The enforcement happens before requests reach the models, based on estimated rather than invoiced costs.
These features give teams better control over AI expenses. They can set limits, monitor usage, and prevent unexpected charges. Cost management is especially important as AI workloads grow and become more complex. Teams can use these tools to plan their budgets and avoid surprises.
Deployment and integration - connecting applications to the gateway
Applications connect to the Azure AI Gateway using standard SDKs. They point their requests at the gateway URL instead of directly to the model provider. The gateway acts as a middle layer that manages routing, safety checks, and cost controls.
Developers can see examples of how to set up their requests. They include the gateway URL in their code and use an API key for authentication. The gateway then applies token limits, content safety, and cost checks before forwarding the request. It swaps the caller’s key for its own managed identity token toward the backend.
This setup allows existing applications to use the gateway without major changes. Teams can integrate the gateway into their workflows and benefit from its governance features. The gateway also supports private endpoints and VNet integration for secure, private connections.
Background and context - what the gateway replaces and how it fits
Before the standalone Azure AI Gateway, AI model governance was mainly handled through Azure API Management. This platform managed APIs for general use, including AI models, but lacked specific features for AI workloads. The preview of the AI Gateway introduced a dedicated tier within API Management, focusing only on AI.
The new product replaces the dedicated tier with a separate service. It is designed specifically for AI workloads, with features like model routing, cost management, and failover. It fits into a broader ecosystem of tools for managing AI models and tools, including Microsoft Foundry and MCP servers.
The gateway acts as a hub in a hub-and-spoke model. It centralizes control over how models are accessed and used. It also enables better governance, safety, and cost management. This separation from general API management simplifies deployment and scaling for AI workloads.
Why it matters - benefits for model governance and cost control
The move to a standalone service improves control over AI model usage. Teams can better govern how models are accessed and ensure safety policies are enforced. The service’s routing and failover features increase reliability and uptime.
Cost management is a major benefit. The gateway tracks tokens and estimated costs, helping teams stay within budgets. It enforces limits before requests reach models, reducing the risk of overspending. This is especially useful as AI workloads grow in size and complexity.
Having a dedicated service also makes it easier to develop new features for AI workloads. Microsoft can focus on improving model routing, safety, and cost controls. Teams gain a clearer view of their AI expenses and usage patterns. This helps organizations optimize their AI investments and reduce waste.
How OpenSmartRoute helps - routing requests through the gateway
OpenSmartRoute is an open-source router designed for AI requests. It can send each request to the best-fit model, agent, or tool from a team-defined catalog. The router scores candidates based on quality, cost, speed, and safety. Teams can set weights for each factor.
Routing rules in OpenSmartRoute can pin requests to specific regions, models, or costs. It enforces hard rules, such as keeping personal data on on-premises models or avoiding region crossing. The router learns from outcomes, adjusting traffic to models that perform well.
Using OpenSmartRoute with the Azure AI Gateway offers better control. It can route requests through the gateway, ensuring governance rules are followed. The router’s scoring and learning features help teams optimize their AI usage over time. It provides detailed cost and performance insights, aiding budget management.
How it compares - what existed before, what this changes and what stays the same
Before the Azure AI Gateway, teams used Azure API Management to govern AI model requests. API Management provided features like rate limiting, security, and routing. However, it did not focus solely on AI workloads or cost control. Teams often had to build custom solutions for managing budgets and model failover.
Azure AI Gateway changes this by offering a dedicated service for AI workloads. It is designed specifically to route requests to various AI providers and tools. It enforces token and cost limits before requests reach models. It also supports model failover, prioritization, and custom routing conditions. These features were not available in API Management alone.
Despite the change, some features stay the same. Both services still use the Microsoft.ApiManagement resource provider. Teams can keep using API Management for business APIs and other non-AI services. The gateway is an addition, not a replacement, for existing API management setups.
The main difference is that the AI Gateway is focused on AI workloads. It offers cost tracking, budget enforcement, and model routing tailored for AI. It also supports multiple providers like Foundry, Azure OpenAI, OpenAI, Anthropic, Amazon Bedrock, and Google Vertex AI. Teams can route requests based on priority, weight, or custom rules.
This shift means teams can better control AI costs and improve reliability. They can also simplify their architecture by routing all AI requests through a dedicated gateway. The gateway’s features help organizations manage AI at scale more effectively.
Questions this leaves open - what the source does not say and how a reader can check it
The source does not specify the maximum size of the request or response payloads supported by the Azure AI Gateway. It also does not detail the exact performance metrics, such as latency or throughput, under different workloads. Teams may want to test these aspects in their environment.
It is unclear how the gateway handles complex routing rules or large-scale failover scenarios. For example, how quickly does it switch between backends if one provider becomes unavailable? How does it handle partial failures or degraded performance? Testing in a controlled environment can help answer these questions.
The source mentions that private Link, VNet integration, and threat protection are still in preview. It does not specify when these features will be generally available or what limitations they might have. Teams should monitor updates from Microsoft for these features.
Pricing details are only available at a regional level after billing starts. Exact costs may vary depending on the region and usage pattern. Teams should review regional prices once they are published and compare them to their expected workloads.
The enforcement of budgets is based on estimated costs, not actual invoiced amounts. It is not clear how accurate these estimates are or how often they are updated. Teams can verify this by comparing estimated costs with actual bills over time.
The source does not specify whether the gateway supports custom models or only those listed in its documentation. Teams interested in deploying their own models should test compatibility and performance.
It is also not clear how the gateway integrates with existing CI/CD pipelines or automation tools. Teams can explore the available APIs and CLI commands to assess how well they can incorporate the gateway into their workflows.
Finally, the source does not mention the level of support or SLAs provided for the Azure AI Gateway. Teams should consider this when planning critical workloads or large-scale deployments. Contacting Microsoft support or reviewing service agreements can clarify these points.
What to do - next steps for users and teams
Teams should start by reviewing their current AI workloads and governance policies. They can plan to migrate their model routing to the Azure AI Gateway. Setting up private endpoints and RBAC will improve security.
Next, teams can explore the new features in the gateway, such as cost enforcement and failover. They should test the service in pilot projects before full deployment. Monitoring usage and costs will help refine their setup.
Finally, integrating OpenSmartRoute with the gateway can improve request routing. Teams can define rules and weights to optimize performance and costs. Staying informed about updates and regional availability will ensure smooth scaling.