Azure tenant custody
Configure Azure OpenAI as an authorized provider route using your own AZURE_OPENAI_API_KEY and AZURE_OPENAI_ENDPOINT. Sage Router does not grant Azure, OpenAI, or Microsoft subscription access.
Azure OpenAI routing
Use Sage Router as the OpenAI-compatible policy layer in front of your authorized Azure OpenAI deployments. Keep AZURE_OPENAI_API_KEY, AZURE_OPENAI_ENDPOINT, deployment names, and Azure subscription access under your custody while agents use one stable endpoint.
Configure Azure OpenAI as an authorized provider route using your own AZURE_OPENAI_API_KEY and AZURE_OPENAI_ENDPOINT. Sage Router does not grant Azure, OpenAI, or Microsoft subscription access.
Point OpenAI SDKs, Codex, Cursor, Aider, Continue, OpenHands, and gateway-compatible clients at https://api.sagerouter.dev/v1 while the router maps policy profiles to Azure OpenAI deployments and fallback routes.
Route by model profile, Azure deployment name, provider health, latency, credential health, and capability requirements instead of hard-coding every agent to one Azure deployment.
export OPENAI_BASE_URL=https://api.sagerouter.dev/v1
export OPENAI_API_KEY=sk_sage_your_generated_key
export AZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com
export AZURE_OPENAI_API_KEY=your_authorized_azure_key
curl "$OPENAI_BASE_URL/chat/completions" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "sage-router/frontier",
"messages": [{"role": "user", "content": "Use the best healthy Azure OpenAI or fallback route"}]
}'
Credential pools can distribute traffic across authorized Azure OpenAI keys, endpoints, or deployment paths and fail over when one route is exhausted, revoked, rate-limited, or unhealthy.
Retryable rate limits can move to another eligible Azure credential, Azure deployment, OpenAI-compatible provider, local Ollama model, or private endpoint according to your policy.
Image, audio, video, and document inputs route only to capable models, so auto and agentic profiles do not send multimodal work to incompatible deployments.
Sage Router sells routing, generated keys, quotas, account management, analytics, and reliability infrastructure. It does not include bundled Azure OpenAI resale, does not bypass Azure or OpenAI terms, and does not grant unauthorized Azure, OpenAI, or Microsoft account access.
Create an API key, copy the hosted quickstart, use the OpenAI-compatible setup, or estimate routing fit.