Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Lazu compared with other LLM gateways

Every project on this page puts one endpoint in front of several model providers. They differ in who they are built for and in what they do with the money. This page says what each one is for; it does not rank them. Facts were checked against each project's repository and documentation on 2 November 2026 and will drift.

What Lazu is for

Lazu is a model account for a team, a lab or a company: every person and every agent gets a key with its own budget, and every request leaves a usage record that the key's owner can read back. It is one deployable product, with the gateway, the ledger, the console and this docs site, under AGPL-3.0. It descends from New API, which descends from one-api; the routing, billing and usage layers were rewritten against written contracts.

Pick Lazu when the question you need answered is who spent what, on which model, and can I prove it. Pick something else when you need a library inside your own service, a hosted key with no server to run, or a plugin for a gateway you already operate.

Side by side

FormWritten forKeys and budgetsUsage recordsLicence
LazuGo gateway + ledger + console + docs, one Docker stackTeams giving people and agents a model accountUsers, teams, projects; per-key and per-member budgets; prepaid reservation, settled from the provider's countersOne record per request, with the source of every number and the billing lines; agent sessions; offline reconciliation scriptAGPL-3.0
LiteLLMPython proxy + SDK, YAML config, admin UIPlatform teams running a shared gateway for internal servicesVirtual keys, users, teams, orgs; budgets per scope with reset periodsSpend tracking and logs; several reports are EnterpriseMIT; enterprise/ directory separately licensed
New APIGo gateway + consoleOperators serving many users from one deploymentUsers, groups, token quotas, subscriptions, top-upsUsage and audit logs, cost accountingAGPL-3.0 with attribution terms
one-apiGo gateway + consoleSelf-hosters wanting one OpenAI-format endpointUsers, groups, token quotas, redemption codesQuota logsMIT with footer attribution; last release February 2025
BifrostGo gateway + UIPlatform teams, with an Enterprise tierVirtual keys, teams, customers; dollar budgets with resetsLogs, Prometheus metrics, tracingApache-2.0
Portkey GatewayTypeScript gateway, per-request configApp developers; budgets, RBAC and observability live in the hosted platformBudgets on the hosted plansLocal console shows logs; retention tiered by planMIT; repository quiet since May 2026
HeliconeObservability platform with a gateway in frontAI engineers who want logs and traces firstRate limits by requests or cost; no per-key budgets documentedEvery request with cost, latency and tokensApache-2.0 (platform)
Kong AI GatewayPlugins on KongEnterprises already running KongToken quotas and cost budgets per consumer group, EnterpriseMetering through KongApache-2.0 core, Enterprise plugins proprietary
OpenRouterHosted onlyDevelopers who want one key and no serverProvisioned keys with credit limitsActivity page and a per-request cost endpointNot open source

What happens when a budget runs out

A budget is only as good as the moment it stops a request. The projects agree on the principle and differ in the mechanics.

  • Lazu reserves funds from a prepaid balance before the upstream call and settles the charge from the provider's own usage counters afterwards. A request that the key, project or account cannot cover is rejected before it reaches the provider. A failed request with no billable output releases its reservation. Where a provider reports no counters, the record says so; nothing is invented and nothing is quietly overdrawn (billing, billing contract).
  • LiteLLM blocks a key, user, team or customer once it crosses max_budget, optionally resetting on a schedule; soft-budget alerts are Enterprise.
  • New API and one-api reject with 403 insufficient_user_quota when a token's or user's quota is gone.
  • Bifrost answers 402 budget_exceeded, with temporary overrides.
  • Kong blocks the request after the one that crossed the cost limit.
  • Portkey expires the key on its hosted Enterprise plan; Helicone rate-limits by cost per window but has no key budgets.

What a request leaves behind

Lazu stores, for every completed request, the normalized token dimensions, which of them the provider measured and which were estimated locally, the billing line items and public timing; the key that made the request can fetch it by request ID (request details). Requests from a coding agent are grouped into sessions, and the repository ships a script that reconciles an exported session without printing prompts. The other projects log requests and cost too; the difference is that Lazu's record is part of a documented contract and is readable by the person who paid for it, not only by the operator.

Protocols

Lazu, LiteLLM, New API and Bifrost accept OpenAI, Anthropic Messages and Gemini requests natively and translate between them where the provider speaks a different format. one-api accepts OpenAI format only. Kong's open-source ai-proxy converts from OpenAI format or passes a native format through unchanged. Lazu adds a rule the others do not state: a translation is performed only when it is lossless, and a request that needs a feature the upstream cannot carry is refused with a 400 that names the feature, before any upstream call (design note).

Newer projects

Three self-hostable gateways appeared in 2025 and 2026 and are worth knowing: gpt-load (Go, MIT; channel groups and key pools behind one admin key, no per-person accounts), AxonHub (Go; any SDK to any provider, per-request cost tracking, RBAC) and otari from mozilla-ai (Python; virtual keys, budgets and usage tracking). None of them was examined beyond its README for this page.

Related