Skip to main content

Overview

The Unified API standardises how your AI applications interact with leading AI models. It exposes a single OpenAI compatible endpoint for accessing 7 major AI providers eliminating vendor lock-in and enabling easy switching between providers. You can use the familiar OpenAI API format, request structure, and response schema regardless of the underlying provider. This approach delivers:

Vendor Independence

Swap providers instantly without code changes. Avoid vendor lock in and maintain flexibility in your AI strategy.

Reduced Development Cost

Integrate once and access many models. Minimise engineering effort and lower ongoing maintenance costs.

Operational Simplicity

Centralised management and monitoring for all AI providers. Streamline operations and simplify troubleshooting.

Strategic Flexibility

Leverage each provider’s unique strengths. Easily adapt to new capabilities and optimise for your use cases.
By adopting the Unified API, organisations can focus on building innovative AI applications rather than managing complex integrations, ultimately accelerating their AI transformation journey while maintaining full control over their AI strategy.

How it Works

Supported Providers

Implementation Examples (for Each Provider)

All examples use the OpenAI SDK with provider specific headers to route requests through the AI Gateway.

OpenAI

Access OpenAI’s GPT models made available by OpenAI API
openai_example.py

Anthropic

Access Anthropic Claude models made available by Anthropic API
anthropic_example.py

Amazon Bedrock

Access Amazon Bedrock models made available by AWS Bedrock API
bedrock_example.py

Azure OpenAI

Access Azure OpenAI models made available by Azure OpenAI API
azure_openai_example.py

Azure AI Inference

Access Azure AI Inference models made available by Azure AI Inference API
azure_ai_inference_example.py

Google AI

Access Google Gemini models made available by Google AI API
google_ai_example.py

Google Vertex AI

Access Google Vertex AI models made available by Google Vertex AI API
google_vertex_ai_example.py