Skill 3.1.7
Configure and deploy AI Gateway in Azure API Management for Microsoft Foundry
Key Concepts
In the Foundry portal, Manage > AI Gateway > Add AI Gateway creates a Basic v2 instance or uses an existing v2 instance in the same tenant and subscription. Projects are then added to the gateway.
The llm-token-limit policy returns 429 when tokens per minute are exceeded and 403 when a quota is exceeded. llm-emit-token-metric reports usage, llm-content-safety screens prompts, and semantic cache policies reuse responses.