AI gateway
Unified access to all AI models
Standardize how you interact with different LLM providers using one central interface.
Access 50+ Model Providers
Define and manage multiple LLM endpoints across providers in a single place, enabling centralized API key management and seamless integration.
Configure endpoints
Traffic routing and fallbacks
Split traffic across multiple models for A/B testing and gradual rollouts. Define fallback chains so requests automatically reroute to a backup provider when the primary is unavailable.
Traffic routing and fallbacks
Usage tracking
Every request is recorded as an MLflow trace. Visualize request volume, latency percentiles, token consumption, and cost breakdowns across all endpoints from a unified dashboard.
Usage tracking dashboard
Supported providers
Route requests to any major LLM provider through a single, unified interface. The gateway handles credentials, usage tracking, and failover so your application code stays provider-agnostic.
Get Started in 3 Simple Steps
Set up governed LLM access in minutes. No additional infrastructure required.Get Started →
1

Start MLflow Server

Launch the tracking server. The AI Gateway is included out of the box.

bash
pip install 'mlflow[genai]'
uvx mlflow server
~30 seconds
2

Create an Endpoint

Add API keys and configure endpoints from the UI, no server restart needed.

bash
# Open the Gateway UI
# http://localhost:5000/#/gateway
#
# 1. Create an API key with your
# provider credentials
# 2. Create an endpoint and link
# it to your API key
~1 minute
3

Query Through the Gateway

Use any OpenAI-compatible SDK. Point the base URL at the gateway and use your endpoint name as the model.

python
from openai import OpenAI
client = OpenAI(
base_url="http://localhost:5000"
"/gateway/mlflow/v1",
api_key="unused",
)
response = client.chat.completions.create(
model="my-endpoint",
messages=[{"role": "user",
"content": "Hello!"}],
)
~30 seconds
Get started with MLflow
Choose from two options depending on your needs

Self-hosted Open Source

Apache-2.0 license
Full control over your own infrastructure
Community support

MLflow Cloud

ON
Free and fully managed — experience MLflow without the setup hassle
Built and maintained by the original creators of MLflow
Full OSS compatibility
GET INVOLVED
Connect with the open source community
Join millions of MLflow users