LiteLLM · Python vs Portkey

Operated by the Busbar team; Busbar is also an entrant. Gateway overhead against a local mock is not end-to-end model latency. Methodology and limitations.

Requested cell: OpenAI → OpenAI. Metric: Added latency p99 (µs).

Comparability: Comparable. Ratios require an identical protocol pair, hardware, architecture, metric definition, clean harness commit, recorded mock digest, and metric-specific workload. Missing evidence never matches missing evidence. These are observed gateway measurements against a local mock, not a claim about model latency or statistical significance.

Ratio (Portkey ÷ LiteLLM · Python): 0.41. No statistical significance is asserted.

Comparison JSON · All LiteLLM · Python evidence · All Portkey evidence

LiteLLM · Python

Build ghcr.io/berriai/litellm:v1.108.3. Measured . Run evidence

Ingress → upstreamMetricValueState / reasonp99 bound (ms)
OpenAI → OpenAIAdded latency p50 (µs)8,512Valid · n=701 gateway / 267,297 direct—
OpenAI → OpenAIAdded latency p99 (µs)9,522Valid · n=701 gateway / 267,297 direct—
OpenAI → OpenAIGateway p99 at concurrency 1 (µs)9,549Valid · n=701—
OpenAI → OpenAIDirect-to-mock p99 at concurrency 1 (µs)27Valid · n=267,297—
OpenAI → OpenAICPU per request (µs)8,644.8Valid—
OpenAI → OpenAIRequests per CPU-second115.7Valid—
OpenAI → OpenAICost window concurrency8Valid—
OpenAI → OpenAICost window core utilisation0.25Valid—
OpenAI → OpenAICost window successful requests701Valid—
OpenAI → OpenAICost window throughput (req/s)116Valid—
OpenAI → OpenAICost window threads32Valid—
OpenAI → OpenAINon-voluntary context switches per request0.029Valid—
OpenAI → OpenAICost window major page faults0Valid—
OpenAI → OpenAIAdded time to first event p50 (µs)11,154Valid · n=100 gateway / 100 direct—
OpenAI → OpenAIAdded time to first event p99 (µs)11,974Valid · n=100 gateway / 100 direct—
OpenAI → OpenAIAdded inter-frame gap p50 (µs)—Below resolution · n=63 gateway / 63 direct—
OpenAI → OpenAIAdded inter-frame gap p99 (µs)9Valid · n=63 gateway / 63 direct—
OpenAI → OpenAIStreams sustained (frames/s)1,208Valid—
OpenAI → OpenAIStreams sustained62Valid—
OpenAI → OpenAIIdle RSS (MiB)593Valid—
OpenAI → OpenAISteady-state RSS (MiB)628.6Valid—
OpenAI → OpenAIRecovered RSS (MiB)628.6Valid—
OpenAI → OpenAIPeak RSS (MiB)628.6Valid—
OpenAI → OpenAIPeak RSS high-water mark (MiB)628.6Valid—
OpenAI → OpenAITime to plateau (s)61Valid—
OpenAI → OpenAIMemory growth (MiB/min)0Valid—
OpenAI → OpenAIMemory load duration (s)302Valid—
OpenAI → OpenAIMemory shape under load—Not measured—
OpenAI → OpenAIIdle memory shape—Not measured—
OpenAI → OpenAIIdle memory static1Valid—
OpenAI → OpenAIIdle memory growth (MiB/min)0Valid—
OpenAI → OpenAIThroughput (req/s)—Bound not met; concurrency not recorded: every cleanly-served rung that reported a tail had it at or above 1ms, so this gateway carried no measurable throughput under that bound1 ms
OpenAI → OpenAIThroughput (req/s)—Bound not met; concurrency not recorded: every cleanly-served rung that reported a tail had it at or above 5ms, so this gateway carried no measurable throughput under that bound5 ms
OpenAI → OpenAIThroughput (req/s)117concurrency 1; n=70810 ms
OpenAI → OpenAIThroughput (req/s)119concurrency 2; n=71850 ms
OpenAI → OpenAIThroughput (req/s)119concurrency 2; n=718100 ms
OpenAI → OpenAIThroughput (req/s)119concurrency 2; n=718Unbounded

Portkey

Build portkeyai/gateway:1.15.2. Measured . Run evidence

Ingress → upstreamMetricValueState / reasonp99 bound (ms)
OpenAI → OpenAIAdded latency p50 (µs)1,196Valid · n=4,304 gateway / 246,357 direct—
OpenAI → OpenAIAdded latency p99 (µs)3,902Valid · n=4,304 gateway / 246,357 direct—
OpenAI → OpenAIGateway p99 at concurrency 1 (µs)3,938Valid · n=4,304—
OpenAI → OpenAIDirect-to-mock p99 at concurrency 1 (µs)36Valid · n=246,357—
OpenAI → OpenAICPU per request (µs)1,528.4Valid—
OpenAI → OpenAIRequests per CPU-second654.3Valid—
OpenAI → OpenAICost window concurrency8Valid—
OpenAI → OpenAICost window core utilisation0.295Valid—
OpenAI → OpenAICost window successful requests4,652Valid—
OpenAI → OpenAICost window throughput (req/s)775Valid—
OpenAI → OpenAICost window threads22Valid—
OpenAI → OpenAINon-voluntary context switches per request0.007Valid—
OpenAI → OpenAICost window major page faults0Valid—
OpenAI → OpenAIAdded time to first event p50 (µs)28,114Valid · n=100 gateway / 100 direct—
OpenAI → OpenAIAdded time to first event p99 (µs)29,752Valid · n=100 gateway / 100 direct—
OpenAI → OpenAIAdded inter-frame gap p50 (µs)0Valid · n=63 gateway / 63 direct—
OpenAI → OpenAIAdded inter-frame gap p99 (µs)440Valid · n=63 gateway / 63 direct—
OpenAI → OpenAIStreams sustained (frames/s)4,996.2Valid—
OpenAI → OpenAIStreams sustained1,519Valid—
OpenAI → OpenAIIdle RSS (MiB)125.1Valid—
OpenAI → OpenAISteady-state RSS (MiB)245.2Valid—
OpenAI → OpenAIRecovered RSS (MiB)142.1Valid—
OpenAI → OpenAIPeak RSS (MiB)250Valid—
OpenAI → OpenAIPeak RSS high-water mark (MiB)264Valid—
OpenAI → OpenAITime to plateau (s)—Not measured—
OpenAI → OpenAIMemory growth (MiB/min)0.202Valid—
OpenAI → OpenAIMemory load duration (s)301Valid—
OpenAI → OpenAIMemory shape under load0Valid—
OpenAI → OpenAIIdle memory shape-1Valid—
OpenAI → OpenAIIdle memory static0Valid—
OpenAI → OpenAIIdle memory growth (MiB/min)-13.96Valid—
OpenAI → OpenAIThroughput (req/s)—Bound not met; concurrency not recorded: every cleanly-served rung that reported a tail had it at or above 1ms, so this gateway carried no measurable throughput under that bound1 ms
OpenAI → OpenAIThroughput (req/s)831concurrency 1; n=4,9925 ms
OpenAI → OpenAIThroughput (req/s)835concurrency 2; n=5,01210 ms
OpenAI → OpenAIThroughput (req/s)836concurrency 8; n=5,01850 ms
OpenAI → OpenAIThroughput (req/s)836concurrency 8; n=5,018100 ms
OpenAI → OpenAIThroughput (req/s)836concurrency 8; n=5,018Unbounded