Balance traffic
Spread requests across multiple API keys instead of sending everything through one account. Choose priority, round robin, weighted balance, or least-used routing.
Local infrastructure, beautifully simple
A resilient local control plane for your AI stack. Put up to 50 provider keys behind one clean endpoint, keep your SDKs native, and let intelligent failover handle the rest.
01 — What it does
AI Load Balancer gives your application one stable local endpoint while it shares traffic across provider accounts, protects unhealthy keys, and keeps your code compatible.
Spread requests across multiple API keys instead of sending everything through one account. Choose priority, round robin, weighted balance, or least-used routing.
If a key hits a rate limit, billing issue, network timeout, or upstream error, the gateway cools it down and tries a healthy account.
Use the official OpenAI or Anthropic client with environment variables. OpenAI Chat Completions and Anthropic Messages stay familiar.
Start with one provider key and add up to 50 accounts in a gateway. Set weights, priorities, balance floors, and retry policy per gateway.
02 — The advantage
All the routing muscle you need, without another hosted dashboard, another bill, or another abstraction to learn.
Priority, round robin, weighted, and least-used strategies make every key count.
Cooldowns, Retry-After awareness, and bounded retries keep requests moving.
OpenAI and Anthropic clients work natively, including cross-protocol translation.
Keys stay encrypted on your device. The gateway is local, inspectable, and yours.
03 — Drop-in by design
Point your official client at the local base URL. Your application keeps its familiar types, tools, streams, and errors.
Chat Completions compatible
const client = new OpenAI({
apiKey: process.env.AI_GATEWAY_API_KEY,
baseURL: "http://127.0.0.1:42891/v1"
});Messages API compatible
const client = new Anthropic({
apiKey: process.env.AI_GATEWAY_API_KEY,
baseURL: "http://127.0.0.1:42891"
});04 — Made for momentum
Three calm steps from a fresh download to a production-ready local route.
Store provider credentials in the encrypted local vault.
Set priorities, weights, floors, and failover rules.
Use official SDKs while the gateway balances the load.
05 — Ready when you are
Download the portable Windows preview. No installer, no account, no cloud control plane.