Configure Microsoft Foundry deployments and access them through TrueFoundry’s AI Gateway.
Microsoft Foundry provides one account for Azure OpenAI models and models from other publishers, including Anthropic, Cohere, Meta, and Mistral. The integration is generally available in TrueFoundry v0.175.0. It uses the OpenAI-compatible v1 surface for compatible deployments and provider-specific routes where required.Moving an existing Azure OpenAI or Azure AI Foundry account is covered in Migrate to Microsoft Foundry. Hub and hub-based Azure resources cannot be migrated.
In the TrueFoundry dashboard, open AI Gateway > Models and select Microsoft Foundry.
2
Configure the resource
Enter an account name, the Azure OpenAI endpoint, and the Microsoft Foundry project endpoint.The OpenAI endpoint should be the resource URL, for example:
https://my-resource.openai.azure.com
The project endpoint should include the project path, for example:
Model discovery reads deployments from the project endpoint. It uses the catalogue to infer model types and public cost metadata when the foundation model is known.Discovery is stateless. Include the current integrations in the request so existing integration names remain stable and new names avoid collisions.If the foundation model is not in the catalogue, the deployment is returned with inferred.model_types: true so you can select the model types manually.
The TrueFoundry API key authenticates the Gateway request. The Azure credential configured on the provider account authenticates the upstream Microsoft Foundry request.
OpenAI-compatible deployments use the /openai/v1 upstream surface by default. The deployment name is sent as the upstream model value.If a deployment does not support v1, set api_version on that model integration. TrueFoundry then uses the deployment-scoped Azure route with that API version.
Claude deployments use the native Anthropic Messages route. The provider account must include the project endpoint so TrueFoundry can reach the resource-level Anthropic surface.Use a Gateway model ID such as:
Select ocr as the model type and call the existing Gateway OCR proxy. TrueFoundry derives the upstream Mistral OCR route from the provider account’s project_endpoint.