AI Gatewayai.balajib2.in
Self-hosted AI gateway

One API key.
Every free AI model.

Apps send every request to one OpenAI-compatible endpoint. The gateway runs it through a waterfall of free and freemium LLM providers. If one is rate limited, out of credit or down, the next one answers, and the app never notices.

Your appmodel: "auto"
Gateway1 key · waterfall
  1. 1Fast modeltrying…429 · rate limited → next
  2. 2Large modeltrying…402 · out of credit → next
  3. 3Backup modeltrying…200 · answered in 0.4 s
  4. 4…and more on standby
✓ Response delivered. The app never saw the failures.
  • Waterfall failoverRotates across accounts, then providers, with automatic cooldowns
  • Encrypted key vaultProvider keys sealed with AES-256-GCM and never shown again
  • Live usage & renewalsPer-key quota, provider limits and reset countdowns
  • Drop-in compatibleWorks with OpenAI SDKs. Streaming, completions and embeddings
// any OpenAI SDK
const ai = new OpenAI({ baseURL: "https://ai.balajib2.in/v1", apiKey: "gw-…" });
await ai.chat.completions.create({ model: "auto", messages });

Sign in

Caps Lock is on

  • TLS only (HSTS)
  • Rate-limited sign-in
  • 12 h sessions

Private administration console. Authorized access only.

AI GatewayOne key for every model