Skip to content

4,551 requests 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.

  1. 01Kaeso0.7.44,5514,529–4,581
  2. 02Kaeso0.7.35,2045,104–5,291
  3. 03Kaeso0.7.24,6664,543–4,692
  4. 04Kaeso0.7.14,4134,363–4,542
  5. 05Kaeso0.7.04,7484,645–4,829
VersionRequests a secondRequest logs onAdded p50, 1 · 4 · 16 clientsAdded at p99, 16 clientsCPU per requestPeak memory
Kaeso0.7.4Requests a second4,5514,529 to 4,581Request logs on3,962Added p50, 1 · 4 · 16 clients+0.94 · +0.92 · +0.64 msAdded at p99, 16 clients+1.86 msCPU per request437 µsPeak memory163 MB, and 594 MB for its databases
Kaeso0.7.3Requests a second5,2045,104 to 5,291Request logs on4,371Added p50, 1 · 4 · 16 clients+1.02 · +1.06 · +0.73 msAdded at p99, 16 clients+1.67 msCPU per request384 µsPeak memory102 MB, and 543 MB for its databases
Kaeso0.7.2Requests a second4,6664,543 to 4,692Request logs on4,032Added p50, 1 · 4 · 16 clients+0.92 · +0.90 · +0.66 msAdded at p99, 16 clients+1.70 msCPU per request428 µsPeak memory178 MB, and 579 MB for its databases
Kaeso0.7.1Requests a second4,4134,363 to 4,542Request logs on3,781Added p50, 1 · 4 · 16 clients+0.96 · +0.99 · +0.83 msAdded at p99, 16 clients+1.90 msCPU per request453 µsPeak memory110 MB, and 565 MB for its databases
Kaeso0.7.0Requests a second4,7484,645 to 4,829Request logs on3,891Added p50, 1 · 4 · 16 clients+0.98 · +0.99 · +0.84 msAdded at p99, 16 clients+2.03 msCPU per request421 µsPeak memory113 MB, and 283 MB for its databases

Version by version

  1. 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.

  2. 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
  3. 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
  4. 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 run

Half 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.

  1. 01Kaeso0.7.44,5514,529–4,581
  2. 02Kaeso0.7.4, request logs on3,9623,951–4,071
  3. 03LiteLLM Rustmain at d4e8f96, unreleased2,9552,923–2,997
  4. 04Bifrost2.6.02,2422,219–2,262
  5. 05Portkey1.15.2619610–635
  6. 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 run

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.