# portkey vs one-api

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](https://onthebench.ai/gateways/method) .

Requested cell: openai → openai. Metric: added_latency_p99_us.

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.

- Load-generator binary digests were not recorded; instrument equivalence is based on the identical clean harness source commit and mock digest.
- Measurements were made at different times on independently provisioned machines.

Ratio (B ÷ A): 151.104305484367. No statistical significance is asserted.

[Comparison JSON](https://onthebench.ai/api/v1/compare?a=portkey&b=one-api&ingress=openai&egress=openai&metric=added_latency_p99_us)  ·  [All Portkey evidence](https://onthebench.ai/gateways/portkey)  ·  [All One-API evidence](https://onthebench.ai/gateways/one-api)

## portkey

Build portkeyai/gateway:1.15.2@sha256:9065e15701d5f90ae1728c57369f8cec137d8c7dffcd027a402a67e64f27b9d3. Measured 2026-11-10T17:39:55Z.  [Run evidence](https://onthebench.ai/gateways/runs/run-portkey-670dce412ba19689b30f84f64cb8b9c31fc07125970bd210617247c56c23bfcc)

| Ingress → upstream | Metric | Value | State / reason | p99 bound (ms) |
| --- | --- | --- | --- | --- |
| openai → openai | added_latency_p50_us | 1196 | valid; gateway_c1_samples=4304; direct_c1_samples=246357 | — |
| openai → openai | added_latency_p99_us | 3902 | valid; gateway_c1_samples=4304; direct_c1_samples=246357 | — |
| openai → openai | gateway_c1_p99_us | 3938 | valid; gateway_c1_samples=4304 | — |
| openai → openai | direct_c1_p99_us | 36 | valid; direct_c1_samples=246357 | — |
| openai → openai | cpu_us_per_request | 1528.3748925193465 | valid | — |
| openai → openai | rps_per_cpu_second | 654.2897327707454 | valid | — |
| openai → openai | cost_window_conc | 8 | valid | — |
| openai → openai | cost_core_utilisation | 0.2950181957762656 | valid | — |
| openai → openai | cost_window_ok | 4652 | valid | — |
| openai → openai | cost_window_rps | 775 | valid | — |
| openai → openai | cost_threads | 22 | valid | — |
| openai → openai | cost_nonvol_ctxt_per_request | 0.007308684436801376 | valid | — |
| openai → openai | cost_majflt | 0 | valid | — |
| openai → openai | added_ttft_p50_us | 28114 | valid; ttft_gw_samples=100; ttft_direct_samples=100 | — |
| openai → openai | added_ttft_p99_us | 29752 | valid; ttft_gw_samples=100; ttft_direct_samples=100 | — |
| openai → openai | added_gap_p50_us | 0 | valid; gap_gw_samples=63; gap_direct_samples=63 | — |
| openai → openai | added_gap_p99_us | 440 | valid; gap_gw_samples=63; gap_direct_samples=63 | — |
| openai → openai | streams_sustained_fps | 4996.208831040471 | valid | — |
| openai → openai | streams_sustained | 1519 | valid | — |
| openai → openai | idle_rss_mib | 125.0703125 | valid | — |
| openai → openai | steady_state_rss_mib | 245.171875 | valid | — |
| openai → openai | recovered_rss_mib | 142.08203125 | valid | — |
| openai → openai | peak_rss_mib | 250.01953125 | valid | — |
| openai → openai | peak_rss_hwm_mib | 263.984375 | valid | — |
| openai → openai | time_to_plateau_s | not_measured | not_measured | — |
| openai → openai | growth_rate_mib_per_min | 0.20228106254272332 | valid | — |
| openai → openai | load_s | 301 | valid | — |
| openai → openai | shape | 0 | valid | — |
| openai → openai | idle_shape | -1 | valid | — |
| openai → openai | idle_static | 0 | valid | — |
| openai → openai | idle_growth_rate_mib_per_min | -13.958014762556811 | valid | — |
| openai → openai | throughput_rps | bound_not_met req/s | 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 bound | 1 |
| openai → openai | throughput_rps | 831 req/s | concurrency 1; samples 4992 | 5 |
| openai → openai | throughput_rps | 835 req/s | concurrency 2; samples 5012 | 10 |
| openai → openai | throughput_rps | 836 req/s | concurrency 8; samples 5018 | 50 |
| openai → openai | throughput_rps | 836 req/s | concurrency 8; samples 5018 | 100 |
| openai → openai | throughput_rps | 836 req/s | concurrency 8; samples 5018 | unbounded |

## one-api

Build justsong/one-api:v0.6.10@sha256:af6b361630bdf408b86fce7aa8fc131b37ea5177ae866d121ba7c002e773e477. Measured 2026-11-10T17:39:58Z.  [Run evidence](https://onthebench.ai/gateways/runs/run-one-api-c9427cc70e392f48beb8e68d908f8924a7330748ac291dab1cd902b3f14c542f)

| Ingress → upstream | Metric | Value | State / reason | p99 bound (ms) |
| --- | --- | --- | --- | --- |
| openai → openai | added_latency_p50_us | 34017 | valid; gateway_c1_samples=102; direct_c1_samples=263027 | — |
| openai → openai | added_latency_p99_us | 589609 | valid; gateway_c1_samples=102; direct_c1_samples=263027 | — |
| openai → openai | gateway_c1_p99_us | 589637 | valid; gateway_c1_samples=102 | — |
| openai → openai | direct_c1_p99_us | 28 | valid; direct_c1_samples=263027 | — |
| openai → openai | cpu_us_per_request | not_measured | not_measured | — |
| openai → openai | rps_per_cpu_second | not_measured | not_measured | — |
| openai → openai | cost_window_conc | not_measured | not_measured | — |
| openai → openai | cost_core_utilisation | not_measured | not_measured | — |
| openai → openai | cost_window_ok | not_measured | not_measured | — |
| openai → openai | cost_window_rps | not_measured | not_measured | — |
| openai → openai | cost_threads | not_measured | not_measured | — |
| openai → openai | cost_nonvol_ctxt_per_request | not_measured | not_measured | — |
| openai → openai | cost_majflt | not_measured | not_measured | — |
| openai → openai | added_ttft_p50_us | 728 | valid; ttft_gw_samples=100; ttft_direct_samples=100 | — |
| openai → openai | added_ttft_p99_us | 770 | valid; ttft_gw_samples=100; ttft_direct_samples=100 | — |
| openai → openai | added_gap_p50_us | 12 | valid; gap_gw_samples=63; gap_direct_samples=63 | — |
| openai → openai | added_gap_p99_us | 27 | valid; gap_gw_samples=63; gap_direct_samples=63 | — |
| openai → openai | streams_sustained_fps | 7497.836670339175 | valid | — |
| openai → openai | streams_sustained | 213 | valid | — |
| openai → openai | idle_rss_mib | 87.15625 | valid | — |
| openai → openai | steady_state_rss_mib | 141.876953125 | valid | — |
| openai → openai | recovered_rss_mib | 136.578125 | valid | — |
| openai → openai | peak_rss_mib | 142.4921875 | valid | — |
| openai → openai | peak_rss_hwm_mib | 142.47265625 | valid | — |
| openai → openai | time_to_plateau_s | 134 | valid | — |
| openai → openai | growth_rate_mib_per_min | 0.1159464817427444 | valid | — |
| openai → openai | load_s | 300 | valid | — |
| openai → openai | shape | not_measured | not_measured | — |
| openai → openai | idle_shape | not_measured | not_measured | — |
| openai → openai | idle_static | 1 | valid | — |
| openai → openai | idle_growth_rate_mib_per_min | -0.1148904573303369 | valid | — |
| openai → openai | throughput_rps | bound_not_met req/s | 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 bound | 1 |
| openai → openai | throughput_rps | bound_not_met req/s | 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 bound | 5 |
| openai → openai | throughput_rps | bound_not_met req/s | concurrency not recorded; every cleanly-served rung that reported a tail had it at or above 10ms, so this gateway carried no measurable throughput under that bound | 10 |
| openai → openai | throughput_rps | 32 req/s | concurrency 1; samples 196 | 50 |
| openai → openai | throughput_rps | 32 req/s | concurrency 1; samples 196 | 100 |
| openai → openai | throughput_rps | 38 req/s | concurrency 16; samples 229 | unbounded |
