Azure OpenAI
Overview
Azure OpenAI Service provides access to OpenAI models hosted on Microsoft Azure infrastructure, with enterprise-grade security and compliance. Floopy proxies requests to Azure’s OpenAI-compatible API via the Azure AI model inference endpoint.
Supported Models
| Model | Context Window | Notes |
|---|---|---|
gpt-4o | 128K | GPT-4o on Azure |
gpt-4o-mini | 128K | GPT-4o Mini on Azure |
gpt-4.1 | 1M | GPT-4.1 on Azure |
gpt-4.1-mini | 1M | GPT-4.1 Mini on Azure |
gpt-4.1-nano | 1M | GPT-4.1 Nano on Azure |
o3 | 200K | o3 reasoning model on Azure |
o3-mini | 200K | o3 Mini on Azure |
o4-mini | 200K | o4 Mini on Azure |
o1 | 200K | o1 reasoning model on Azure |
Setup
- Go to Settings > Providers in the dashboard.
- Click Add provider and select Azure OpenAI.
- Paste your Azure OpenAI API key and click Save.
Usage
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.floopy.ai/v1", apiKey: process.env.FLOOPY_API_KEY,});
// Use the same model names as direct OpenAIconst response = await client.chat.completions.create({ model: "gpt-4o", messages: [{ role: "user", content: "Explain quantum computing." }],});from openai import OpenAI
client = OpenAI(base_url="https://api.floopy.ai/v1", api_key=os.environ["FLOOPY_API_KEY"])
response = client.chat.completions.create( model="gpt-4o", messages=[{"role": "user", "content": "Explain quantum computing."}],)curl https://api.floopy.ai/v1/chat/completions \ -H "Authorization: Bearer $FLOOPY_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model": "gpt-4o", "messages": [{"role": "user", "content": "Explain quantum computing."}]}'Provider-Specific Features
- Enterprise compliance — Azure OpenAI offers enterprise-grade data privacy, security certifications, and regional data residency.
- Same model names — Uses the same model identifiers as direct OpenAI (e.g.,
gpt-4o,o3). - Fallback strategy — Combine Azure OpenAI with direct OpenAI for redundancy across providers.