Azure AI Foundry
Microsoft's enterprise AI platform — OpenAI-compatible chat, embeddings, vision, and reasoning with regional deployment.
Overview
Azure AI Foundry (including Azure OpenAI) is Microsoft's enterprise AI platform, offering hosted models with enterprise-grade security, compliance, and regional data residency.
Official Website: https://azure.microsoft.com/en-us/products/ai-foundry API Documentation: https://learn.microsoft.com/en-us/azure/ai-foundry/
Key features
- Enterprise security — SOC, HIPAA, and other compliance certifications
- Regional deployment — choose Azure regions for data residency
- Content filtering — built-in content safety filters
- OpenAI-compatible — chat completions, embeddings, and vision
- Reasoning & Responses — select models support reasoning and the Responses API
Using Azure with Yunxin
Address Azure models by prefixing the model id with the azure slug — azure/<model> (for example azure/gpt-...). You always call the same Yunxin base URL, https://api.yuhuanstudio.com/v1, with your sk- API key; Yunxin handles the Azure authentication and endpoint translation, so you do not manage Azure keys or deployment URLs directly.
Usage example
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["YUNXIN_API_KEY"],
base_url="https://api.yuhuanstudio.com/v1",
)
response = client.chat.completions.create(
model="azure/model-id",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Hello!"},
],
)
print(response.choices[0].message.content)Available models
List the models currently available for this provider:
curl "https://api.yuhuanstudio.com/v1/models?provider=azure" \
-H "Authorization: Bearer $YUNXIN_API_KEY"Capabilities and pricing are per-model. Use the Models API to discover which Azure models are available and what each one supports.
Official resources
How is this guide?