Skip to content

Kaeso vs One API / New API

Enterprise-grade MIT Rust gateway (SSO, SCIM, KPP, Valkey, ClickHouse) vs Go credit-relay aggregator.

Back to all comparisons

In short.

One API and its popular fork New API are lightweight Go self-hosted LLM relays widely used for aggregating provider channels and distributing credit quotas through an OpenAI-compatible API. Kaeso targets engineering organizations needing a compiled Rust gateway with strict five-format SDK translation (OpenAI, Anthropic, Gemini, ElevenLabs), atomic Valkey hard budgets, AES-256-GCM envelope key encryption, OIDC SSO, SCIM 2.0, audit logs, ClickHouse analytics and an MCP portal under MIT.

How a request travels.

Where API keys live, where budgets and translation happen, and where prompts and logs are stored.

Kaeso 0.7.0

  1. 01Your app sends a request with its own OpenAI, Anthropic, Gemini or ElevenLabs SDK.
  2. 02Kaeso checks the key, the model and the budget on your server, in Valkey.
  3. 03It calls one of 50 providers, or your Ollama or vLLM server, with your own key.
  4. 04Usage goes to PostgreSQL and the request log to your ClickHouse.

One API / New API

  1. 01Your app sends an OpenAI-compatible request with a relay token.
  2. 02The One API or New API Go server checks the token quota and picks a channel.
  3. 03It calls the cloud or local provider with that channel's key.
  4. 04Quota and log rows land in SQLite, MySQL or PostgreSQL.

Feature by feature.

Verified on 23 November 2026 against each project's repository, documentation and our published benchmark run.

View comparison sources on GitHub
CriterionKaeso 0.7.0One API / New API
Self-hosted on your own serversKaeso 0.7.0Self-hosted onlyOne API / New APISelf-hosted (single Go container + SQLite / MySQL / Postgres)
Gateway runtimeKaeso 0.7.0Rust (single binary + Postgres, Valkey, optional ClickHouse)One API / New APIGo
Open-source licenceKaeso 0.7.0MIT (everything in one repo)One API / New APIMIT / Apache 2.0 (varies by community fork)
OIDC SSO & SCIM in free codeKaeso 0.7.0Yes: OIDC SSO, SCIM 2.0, 2FA, audit logs, no user capOne API / New APIOAuth logins (GitHub / OIDC plugins; no full SCIM 2.0 RBAC)
Spend & token limitsKaeso 0.7.0Hard & soft budgets reserved in Valkey (exact USD + display currency)One API / New APIUser credit quotas & channel balance accounting
Fallbacks & routingKaeso 0.7.0Alias routes (fallbacks, conditions, splits) + weighted sticky key poolsOne API / New APIChannel priority, weighting & auto-disable on failure
Request logs & privacyKaeso 0.7.0Own ClickHouse, content logging off per org/project, CSV/JSONL exportOne API / New APISQL request/quota logs (no ClickHouse analytics / media store)
Local models (Ollama, vLLM, LM Studio)Kaeso 0.7.0Custom providers with auto-detect (Ollama, vLLM, LM Studio, llama.cpp)One API / New APIYes, via custom OpenAI-compatible channels
Inbound API formatsKaeso 0.7.0OpenAI Chat & Responses, Anthropic Messages, Gemini API, ElevenLabsOne API / New APIPrimarily OpenAI-compatible relay + selected Anthropic/Gemini adapters
MCP tool gateway & guardrailsKaeso 0.7.0Per-project OAuth MCP portal + built-in secrets/PII & HTTP guardrailsOne API / New APINone
Measured throughput (2 cores, 64 clients)Kaeso 0.7.06,338 req/sOne API / New APINot in BerriAI's local lane (Kaeso: 6,338 req/s)

Five verified benchmark dimensions.

One API / New API was not part of BerriAI's local ai-gateway-bench lane. Kaeso 0.7.0 measured 6,338 req/s (5,324 req/s with ClickHouse request logs on) on two dedicated cores with +0.54 ms median added latency at 16 clients.

Inspect every table, image digest and raw file
Higher is better
  1. 01Kaeso0.7.06,338 req/s6,086–6,355
  2. 02Kaeso0.7.0, request logs on5,324 req/s5,085–5,388
  3. 03LiteLLM Rustmain at d4e8f96, unreleased3,211 req/s3,146–3,265
  4. 04Bifrost2.6.02,806 req/s2,777–2,819
  5. 05Portkey1.15.2779 req/s776–793
  6. 06LiteLLM Python1.110.274 req/s74–75

Benchmarked on BerriAI's ai-gateway-bench (two dedicated cores, 64 clients, median of three rounds). Full scripts and raw archives at /benchmarks.

Choose Kaeso when

  1. 01You want strict five-format translation (OpenAI Chat & Responses, Anthropic Messages, Gemini /v1beta, ElevenLabs) with native Claude Code and Codex support.
  2. 02You need enterprise identity and governance in MIT code: OIDC SSO with verified domains, SCIM 2.0, custom RBAC roles, service accounts and full audit logs.
  3. 03You want envelope-encrypted provider keys (AES-256-GCM + master key rotation), atomic Valkey hard budgets and dedicated ClickHouse request logs.
  4. 04You want automatic Ed25519-signed model pricing via KPMR, guardrails and a per-project OAuth MCP portal.

Choose One API / New API when

  1. 01You want a single ultra-lightweight SQLite container for personal relay sharing or reselling prepaid user credit balances.
  2. 02You specifically need built-in top-up redemption codes, Alipay/Stripe credit resale flows or community relay channel scripts.

Common questions.

01How does Kaeso differ from One API / New API for teams?
One API and New API excel at lightweight personal relays and credit top-up resale. Kaeso is built for engineering teams: multi-org and multi-project isolation, OIDC SSO with SCIM 2.0, audit logs, AES-256-GCM key encryption, Valkey hard budgets, ClickHouse logs, guardrails and an MCP portal.
02Does Kaeso support Chinese model providers like DeepSeek, Qwen, Moonshot, Z.ai, MiniMax and Volcengine Ark?
Yes. Kaeso 0.7.0 ships 50 built-in providers including DeepSeek, QwenCloud (Alibaba), Moonshot, Z.ai, MiniMax, Baidu Qianfan, SiliconFlow, StepFun, Tencent TokenHub and Volcengine Ark, plus a full Simplified Chinese console and website.
03Does Kaeso support prepaid user top-up codes like New API?
No. Kaeso is an internal engineering and platform AI gateway for organizations managing their own spend budgets and projects, not a consumer credit-resale billing storefront.

Measure it on your own stack.

Install Kaeso with one command, point one SDK at it, or rerun our published benchmark harness on your own hardware.