Azure AI Foundry
Microsoft's enterprise AI platform with models from OpenAI, Meta, Mistral, and more.
Azure AI Foundry provides access to a wide range of AI models including OpenAI GPT series, Meta Llama, Mistral, and more, with enterprise-grade security and compliance.
Supported Models
Azure AI Foundry hosts models from multiple providers:
| Provider | Models |
|---|---|
| OpenAI | GPT-4, GPT-4o, GPT-3.5 |
| Meta | Llama series |
| Mistral | Mistral, Mixtral |
| Cohere | Command series |
| AI21 | Jurassic series |
Use the Models API to discover all available models.
Endpoint Format
Chat Completions
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.yuhuanstudio.com/v1"
)
response = client.chat.completions.create(
model="model-id",
messages=[{"role": "user", "content": "Hello!"}]
)Authentication
Azure uses API keys or Microsoft Entra ID (Azure AD) tokens. Yunxin handles the authentication translation automatically.
Features
- Enterprise Security — SOC, HIPAA, and other compliance certifications
- Regional Deployment — Choose Azure regions for data residency
- Content Filtering — Built-in content safety filters
- Private Endpoints — VNET integration for private access
API Compatibility
| Feature | Support |
|---|---|
| Chat Completions | ✓ |
| Streaming | ✓ |
| Embeddings | ✓ |
| Vision | ✓ |
| Function Calling | ✓ |
| Reasoning | ✓ (select models) |
Azure AI Foundry models are accessed through Yunxin's unified API. Check the Models API for available models and their capabilities.
How is this guide?