
4,551 requests a second on two cores.4,551requests a second on two cores.
Kaeso against LiteLLM, Bifrost and Portkey on BerriAI’s ai-gateway-bench, run again for every Kaeso release. The newest run comes first, and every run keeps its own page, machine and files.
Kaeso 0.7.4 · 26 November 2026 · New York
- 4,551
- requests a second on two cores; LiteLLM Rust served 2,955
- 0.64
- ms added at the median with 16 clients
- 437
- µs of CPU per request at full load
- 0
- failed requests, in every run of every gateway
Every version on one machine.
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.
- 01Kaeso0.7.44,5514,529–4,581
- 02Kaeso0.7.35,2045,104–5,291
- 03Kaeso0.7.24,6664,543–4,692
- 04Kaeso0.7.14,4134,363–4,542
- 05Kaeso0.7.04,7484,645–4,829
Version by version
- 0.7.3 to 0.7.4
- Requests a second at full loadlower, 5,204 to 4,551
- CPU per request at full loadhigher, 384 µs to 437 µs
- Added at the median, 1 clientlower, +1.02 ms to +0.94 ms
- Added at the median, 4 clientslower, +1.06 ms to +0.92 ms
- Peak memory at full loadhigher, 102 MB to 163 MB
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.
- 0.7.2 to 0.7.3
- Requests a second at full loadhigher, 4,666 to 5,204
- CPU per request at full loadlower, 428 µs to 384 µs
- Added at the median, 1 clienthigher, +0.92 ms to +1.02 ms
- Added at the median, 4 clientshigher, +0.90 ms to +1.06 ms
- Added at the median, 16 clientshigher, +0.66 ms to +0.73 ms
- Peak memory at full loadlower, 178 MB to 102 MB
- 0.7.1 to 0.7.2
- Requests a second at full loadhigher, 4,413 to 4,666
- Requests a second, request logs onhigher, 3,781 to 4,032
- Added at the median, 1 clientlower, +0.96 ms to +0.92 ms
- Added at the median, 4 clientslower, +0.99 ms to +0.90 ms
- Peak memory at full loadhigher, 110 MB to 178 MB
- 0.7.0 to 0.7.1
- Requests a second at full loadlower, 4,748 to 4,413
- Peak memory of Kaeso’s databases at full loadhigher, 283 MB to 565 MB
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.
Read the full 0.7.4 runHalf again the load on the same cores.
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.
- 01Kaeso0.7.44,5514,529–4,581
- 02Kaeso0.7.4, request logs on3,9623,951–4,071
- 03LiteLLM Rustmain at d4e8f96, unreleased2,9552,923–2,997
- 04Bifrost2.6.02,2422,219–2,262
- 05Portkey1.15.2619610–635
- 06LiteLLM Python1.110.25555–55
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.
Read the full 0.7.4 runEvery run.
One run per Kaeso version, newest first. Runs on different machines don’t compare number for number: compare gateways within a run, and versions where one run measured both.
- VersionMachineRequests a secondAdded p50, 16 clientsChunk gap p99Peak memory, logs on
- Kaeso 0.7.4Newestc-4, New Yorkevery version from 0.7.0 to 0.7.4 in the same roundsRequests a second4,551Added p50, 16 clients+0.64 msChunk gap p998.0 msPeak memory, logs on188 MB
- Kaeso 0.7.3c-4, New Yorkwith 0.7.2 on the same machineRequests a second4,835Added p50, 16 clients+0.53 msChunk gap p998.7 msPeak memory, logs on179 MB
- Kaeso 0.7.2c-4, FrankfurtRequests a second6,243Added p50, 16 clients+0.79 msChunk gap p997.7 msPeak memory, logs on212 MB
- Kaeso 0.7.0c-4, AmsterdamRequests a second6,338Added p50, 16 clients+0.54 msChunk gap p997.8 msPeak memory, logs on450 MB
How it ran.
What every run shares. Each run’s page has its machine, every image digest, its files and the command to run it again.
- 01
- CoresEach gateway ran in Docker on the host network, pinned to two cores. The mock, the load drivers and Kaeso’s databases ran on the other two.
- 02
- BenchmarkBerriAI/ai-gateway-bench at 44365ca, with its mock provider and drivers unchanged: load-probe for requests, run_http_bench.py for streams and session_runner.py for agent sessions.
- 03
- Mock providerAnswers in Anthropic’s Messages format: its first token after 20 ms, then 40 tokens 5 ms apart. In the capacity pass it answers at once.
- 04
- Load1, 4, 16 and 64 clients sending 1,000, 2,000, 4,000 and 16,000 requests a round, 200 streams at 16 clients and four agent sessions of 30 turns.
- 05
- Rounds3 rounds, the gateways in a new random order each round, each one measured right after a direct run of the same shape. Every figure is the median of the rounds, with their range.
- 06
- CPU and memoryEvery process of the gateway’s container, read four times a second, and the same for its databases, reported beside it.

Measure it onyour own machine.
Install Kaeso next to the gateway you run today and point the same benchmark at both.