Memory01
LiteLLM Rust never went above 87 MB and needs no database. Kaeso reached 181 MB, and its PostgreSQL and Valkey took another 633 MB.

Kaeso 0.7.3 against LiteLLM, Bifrost and Portkey on BerriAI’s ai-gateway-bench, the benchmark from the company behind LiteLLM. One machine, one mock provider, the benchmark’s own drivers.
Kaeso 0.7.3 · 25 November 2026 · New York
Each gateway got the same two dedicated cores, 64 clients and a mock provider that answers at once, so the gateway itself was the limit.
Requests a second, the median of 3 rounds; the thin line runs from the slowest round to the fastest. The same driver reached 19,648 a second straight to the mock, far above any gateway.
How much longer a request takes through the gateway than straight to the mock, which answers in about 22 ms as a fast provider would.
Added latency in ms, p50 and p99, the median of 3 rounds, with the p99’s range under it. Each run was paired with a direct run of the same shape just before it.
No row for 64 clients: there the mock and the drivers share two cores and top out near 2,900 requests a second, so subtracting the direct run would understate every gateway’s time. The capacity figure measures that load instead.
200 streamed requests at 16 clients, and two coding agents’ recorded sessions replayed turn by turn.
Straight to the mock, the gap between chunks is 8.2 ms at p99. A session is 30 recorded turns sent one after another; added is its whole time through the gateway minus straight to the mock. Every streamed session gave valid tool calls through every gateway.
Bifrost sends its first event before the provider answers, and the benchmark counts that as the first token, so its time to first token reads as negative.
Results Kaeso doesn’t win, and what its extra work costs.
LiteLLM Rust never went above 87 MB and needs no database. Kaeso reached 181 MB, and its PostgreSQL and Valkey took another 633 MB.
With one request at a time, LiteLLM Rust’s p99 was +1.32 ms against Kaeso’s +1.97 ms, and no round of Kaeso’s came closer.
Time to first token (+1.21 against +1.27 ms) and the Claude Code session (+63.4 against +64.4 ms) fall within each other’s range.
With every request logged to ClickHouse, Kaeso served 3,914 requests a second, 19% fewer, and its databases took 1,476 MB.
Kaeso 0.7.2 ran again on this run’s machine, with and without request logs, so the two versions compare without the machine in between. A difference counts only where the two sets of rounds don’t overlap, and a value measured once, such as peak memory, only where it moved by more than a tenth.
Each value is the median of three rounds, with the lowest and highest round under it. Kaeso 0.7.2 ran right after 0.7.3 on the same machine, not interleaved with it. Capacity was 3% higher in every round of 0.7.3 than in any round of 0.7.2, and the median added at 1 and 4 clients was 0.05 and 0.12 ms higher. One change of 0.7.3 is on this benchmark’s path: before a reply goes out, the gateway now notes the request so that a source’s copy of it counts once, which for an organization without sources is a cached check in a task of its own. Whether that or the machine over the hour between the two explains differences this small, the rounds can’t tell.
Every gateway ran as its project ships it, against the mock in Anthropic’s Messages format. Kaeso checked the most on every request.
Everything needed to check a number: the machine, the benchmark, every version and how each run was paired.
ghcr.io/logicplanes/kaeso-gateway:0.7.3sha256:e070906766362fc298babb51d2d0ee9a60deb07cbf30aac2e408f6d193f91553ghcr.io/logicplanes/kaeso-gateway:0.7.2sha256:7db4ee52773bc546746fb5e3d513457929d1782fdb89795f7b9c9f406a94ae79github.com/BerriAI/litellm@d4e8f96, litellm-gateway built with rust:1.98.0sha256:b80e284d93b67806511e0371456d80083d6f1d932abd723a1b31c1ed578ae122maximhq/bifrost:v2.6.0sha256:5968d007ba4f74ee01bc4ceb071decb9927a0b7bb43dbb9072208f75e2d522e3portkeyai/gateway:1.15.2sha256:97f094d9c8a764cbfaa2a7138c0017b247ca923bb06db1b4c13b7f8a33b5200dghcr.io/berriai/litellm:v1.110.2sha256:ef798594ca3db8d81bad2e1439f536f49b71fe095ee9f20416f5e149b4e22035Kaeso’s databases: postgres:18.6-alpine, valkey/valkey:9.1.3-alpine and clickhouse/clickhouse-server:26.3.62.3-alpine.
On a fresh Linux machine with four cores, as root. The setup installs Docker, builds the benchmark and LiteLLM Rust at the same commits and pulls every image by its digest.
curl -fsSLO https://kaeso.app/benchmarks/runs/0.7.3/harness.tar.gztar -xzf harness.tar.gzbash kaeso-gateway-bench/setup.shcd /rootai-gateway-bench/.venv/bin/python run.pyai-gateway-bench/.venv/bin/python run_capacity.pyThree rounds of every gateway take about 90 minutes, the capacity pass another 30. Absolute numbers change from machine to machine, so compare gateways measured in the same run.

Install Kaeso next to the gateway you run today and point the same benchmark at both.