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

Kaeso 0.7.4 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.4 · 26 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 23,007 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 7.9 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 163 MB, and its PostgreSQL and Valkey took another 594 MB.
With one request at a time, LiteLLM Rust’s p99 was +1.16 ms against Kaeso’s +1.96 ms, and no round of Kaeso’s came closer.
With every request logged to ClickHouse, Kaeso served 3,962 requests a second, 13% fewer, and its databases took 1,489 MB.
Kaeso 0.7.0 to 0.7.4 each ran as a gateway of its own, in the same shuffled rounds as LiteLLM, Bifrost and Portkey, so the versions compare number for number. A step counts only where two versions’ rounds don’t overlap, and a value measured once, such as CPU or peak memory, only where it moved by more than a tenth.
Cause: 0.7.4 dropped a wait at the end of each reply that had kept CPU per request lower under load. The fix that restores it ships with Kaeso 0.7.5: in a local A/B test with the release binaries at 64 clients, 0.7.4 with the fix was back at 0.7.3’s CPU per request, about a tenth lower, and it adds about 50 µs at the median with one client.
Each value is the median of three rounds, every version a gateway of its own in each round. 0.7.4 took back the wait 0.7.3 added to every reply, and its median at 1 and 4 clients is below 0.7.3’s again. 0.7.3 served the most requests of any version in every round; 0.7.4 served 13% fewer, with 14% more CPU per request, which puts it within the rounds of 0.7.2. 0.7.1 served 7% fewer requests than 0.7.0, and 0.7.2 gained them back. The databases’ peak memory doubled from 0.7.0 to 0.7.1 and stayed there. The rounds don’t show a change’s cause; where it is known, its step says so.
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.4sha256:25fa94e10da01773b0823398ba72c2e1faec3521f73ea9725db877b615be83b3ghcr.io/logicplanes/kaeso-gateway:0.7.3sha256:e070906766362fc298babb51d2d0ee9a60deb07cbf30aac2e408f6d193f91553ghcr.io/logicplanes/kaeso-gateway:0.7.2sha256:7db4ee52773bc546746fb5e3d513457929d1782fdb89795f7b9c9f406a94ae79ghcr.io/logicplanes/kaeso-gateway:0.7.1sha256:42f7e818b43e9422a432747a9841df8952819de4c8e557f5dae8216f76409e7eghcr.io/logicplanes/kaeso-gateway:0.7.0sha256:3d32fd7827417e49475b4ac9ad7d25f7daed28f02fa489ef4077ff501faaae1agithub.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.4/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, each Kaeso version among them, take about two hours, the capacity pass another 20 minutes. 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.