Unify Universal API
The Unify Universal API provides a single REST endpoint with Bearer token authentication for routing LLM requests to 100+ model providers including OpenAI, Anthropic, Mistral, Together AI, Replicate, Groq, DeepSeek, Vertex AI, and more. Requests use the model@provider syntax for explicit routing or optimizer strings for automatic routing based on quality, cost, and speed preferences. The API is OpenAI-compatible, supports streaming, caching, fallbacks, and structured logging.
Documentation
Specifications
OpenAPI
https://docs.unify.ai/api-reference
OpenAPI
https://raw.githubusercontent.com/api-evangelist/unify-ai/refs/heads/main/openapi/unify-ai-universal-api-openapi.yml
Examples
Example
https://raw.githubusercontent.com/api-evangelist/unify-ai/refs/heads/main/examples/unify-ai-create-log-example.json
Example
https://raw.githubusercontent.com/api-evangelist/unify-ai/refs/heads/main/examples/unify-ai-send-message-example.json