Skip to main content

What is ZeaLLM?

ZeaLLM is a self-hosted AI gateway. Applications call one OpenAI-compatible endpoint with a zea- virtual key. The gateway authenticates the key, enforces budgets, rate limits, model access and guardrails, then routes the request to OpenAI, Azure OpenAI or Anthropic.

The platform has two services that share one Postgres database:

ComponentRoleDefault URL
GatewayData plane. Every LLM call goes through here.http://localhost:8080
PortalControl plane. Keys, models, budgets, teams, audit.http://localhost:3000

This documentation site runs on http://localhost:3002. The portal keeps a short in-app quickstart at /docs; use this site for the full platform reference.

What you can do

  • Issue virtual keys through a request → approve → reveal-once workflow
  • Route traffic across weighted model deployments with retries and fallbacks
  • Enforce hierarchical budgets (key, user, application, team, organization, tag, customer)
  • Apply guardrails by bundling Garden filters into a policy and attaching it to a key
  • Attribute spend with x-zeallm-tags and x-zeallm-customer-id
  • Review usage, request logs and an audit trail in the portal

Start here

  1. Architecture — how the pieces fit together
  2. Local setup — run the stack
  3. First request — send a chat completion through the gateway

If you already have a revealed key, jump to the SDK snippets or your role guide.