Skip to main content
A Microsoft Foundry provider forwards OpenAI-format and Anthropic-format requests to your Azure AI Foundry (or Azure OpenAI) resource. One Foundry provider can serve both Codex-style clients and Claude Code, because the defaults include Chat Completions, Responses, and Anthropic Messages. See AI Providers if you haven’t created a provider before. Field options are in Provider Configuration.

Defaults

Configure

  1. Sidebar → AI GatewayProvidersCreate.
  2. Set Provider Type to Microsoft Foundry. Capabilities and auth type fill in from the defaults above.
  3. Set Upstream URL to the resource base, for example https://<resource-name>.services.ai.azure.com or https://<resource-name>.openai.azure.com.
  4. Paste a Bearer credential the resource accepts (typically the Azure API key).
  5. Set Allow and Block lists. Use the deployment or model names the Foundry resource exposes.
  6. Save, then attach the provider to an AI Gateway resource.
Leave capabilities at the defaults if you want both OpenAI-compatible and Anthropic-compatible clients on the same resource. Trim them if this Foundry resource only hosts one API family.

Clients