One API. Every AI Model.
1,500+ models across every modality — text, image, audio, video, embeddings, and more. One API key. OpenAI-compatible.
terminal
curl https://universal-ai-api.comfyfw.workers.dev/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4o",
"messages": [{"role": "user", "content": "Hello!"}]
}'1,500+
Models
10+
Providers
6
Modalities
< 50ms
Edge Latency
Built for developers
Everything you need to integrate AI into your application, without managing multiple providers.
Works with any OpenAI SDK
Switch to Universal AI by changing your base URL. Use the same SDKs, the same code, and the same patterns you already know. Access any model from any provider.
- --Same request and response format as OpenAI
- --Streaming SSE support for real-time responses
- --Switch models by changing one string
from openai import OpenAI
client = OpenAI(
base_url="https://api.universal-ai.dev/v1",
api_key="your-api-key",
)
response = client.chat.completions.create(
model="gpt-4o",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)Unified access to leading providers
OpenAIAnthropicGoogleMistralMetaxAIGroqDeepgramElevenLabs
Start building with Universal AI
Get your API key and start making requests in minutes.