GA
Open Source
Free Tier

Hanzo Gateway

Unified AI inference proxy

Route to 100+ LLM providers through a single API. Load balancing, fallbacks, caching, and cost optimization.

Gateway Dashboard
Active Models
gpt-4o
claude-3.5
gemini-pro
llama-3.1
POST /v1/chat/completions
Request
{
  "model": "gpt-4o",
  "messages": [
    {"role": "user",
     "content": "Hello!"}
  ]
}
Response 200
{
  "choices": [{
    "message": {
      "content": "Hi!"
    }
  }],
  "usage": {...}
}
Requests/min
2.4K
Avg Latency
124ms
Success Rate
99.9%
Code Examples

Gateway Quick Start

Get started in minutes with your language of choice

Use the OpenAI SDK with Hanzo Gateway

from openai import OpenAI

client = OpenAI(
    base_url="https://api.hanzo.ai/v1",
    api_key="your-hanzo-key"
)

response = client.chat.completions.create(
    model="gpt-4o",  # or claude-3-5-sonnet, gemini-pro, etc.
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)

Features

Everything you need to get started

100+ providers
Load balancing
Fallbacks
Response caching
Cost tracking
Rate limiting
Streaming
OpenAI compatible
SDKs & Libraries

Official Gateway SDKs

Use our official SDKs to integrate Gateway into your application

Hanzo Python SDK

PyPI
pip install hanzoai

Hanzo TypeScript SDK

npm
npm install @hanzo/ai

Hanzo Go SDK

Go Modules
go get github.com/hanzoai/go-sdk

Hanzo Rust SDK

crates.io
cargo add hanzoai
Community

Join the Gateway Community

Get help, share ideas, and contribute to the project

Want to Contribute?

We welcome contributions of all kinds: bug reports, feature requests, documentation improvements, and code contributions.

Read our Contributing Guide
Built on Open Source

Powered by LiteLLM

18k+

Hanzo Gateway is built on top of LiteLLM, an open-source project.Call 100+ LLMs with a unified interface. The most popular LLM proxy with 18k+ GitHub stars.

Licensed under MIT

We're grateful to the LiteLLM maintainers and community for their incredible work.

Ready to get started with Gateway?

Deploy in minutes with Hanzo Cloud or self-host with our open-source release.