Bifrost AI Gateway Review: Performance Benchmarked on 1 vCPU
By Mahizh Vannan · Published October 19, 2026 · Updated October 19, 2026
TL;DR
On a 1 vCPU / 2 GB box, Bifrost's median overhead stays at 2–6 ms, but added p99 reaches +41 to +75 ms at its ceilings (~100–600 RPS by payload) and large payloads hit an OOM wall at 150 RPS.
- Bifrost AI's own benchmark says ~5,000 RPS at ~11 microseconds of overhead — but that figure is measured without HTTP handling or JSON marshalling, so it isn't the latency a caller actually feels. TrueFoundry ran it itself on a real 1 vCPU / 2 GB box, end to end, and got ~600 RPS on small payloads, ~400 on medium, ~100 on large as the last steps where added p99 stayed under 100 ms. The median request pays only 2–6 ms for the gateway and stays there right up until things break, but added p99 at those ceilings is already +60 ms (small), +75 ms (medium) and +41 ms (large), and crosses 100 ms at the very next step TrueFoundry tested. Plan with the p99.
- Large payloads fail for a different reason: they hit a memory wall (97% of the 2 GB cap at just 100 RPS) while CPU stays under 40%, even in the failing cells. Small is the opposite — CPU-bound (73–80% at its top tested RPS) with memory to spare. Medium ends up pressing on both: high CPU and 97% of memory at its top step.
- Caching is the one place the marketing actually undersells the product: exact-match hits cut latency 93%, semantic hits cut it 53%.
- On open-source Bifrost, config changes don't propagate live across replicas (shared config file plus restart); Enterprise's gRPC mesh fixes that, but the team still deploys, scales and operates the gateway itself.
Bifrost AI — the open-source Bifrost LLM gateway from Maxim AI — shows up on almost every AI gateway shortlist in 2026, usually next to the word fastest. That claim doesn't survive a straight read of the vendor's own numbers, so TrueFoundry checked it the hard way: benchmarked it itself on a locked-down 1 vCPU box.
This piece covers what Bifrost's performance claims hold up to under real measurement — on a fixed 1 vCPU / 2 GB harness, the same standard TrueFoundry holds every gateway it benchmarks to.
Bifrost AI Performance: The Claim vs. What We Measured
This is the section every "fastest gateway" claim has to answer to.
The vendor's number: ~5,000 RPS at ~11 microseconds of average overhead — on a t3.xlarge (4 vCPU), against a mocked upstream. Before comparing that to anything, read what it actually measures. Per Bifrost's own source, the microsecond figure is taken without HTTP request handling and JSON marshalling, so it's time spent inside the gateway's internal pipeline, not net latency added to a caller's request. The same source puts it at 59 µs on a t3.medium, so it already degrades roughly 5x on a smaller box. It's also an average, not a percentile, on 4x the compute most teams actually give a gateway container.
None of that makes the number dishonest; it just answers a different question than "what does my p99 look like?" Everything below is the other number: end-to-end added latency for real, documented payload sizes, with marshalling and HTTP included — the full tax a caller pays for the gateway being in the path. Microseconds and milliseconds are both true here, because they are measuring different things.
TrueFoundry built a fixed harness — 1 vCPU, 2 GB RAM, open-loop load — and measured Bifrost directly, across three payload sizes: small (200 input / 100 output tokens), medium (2,000/500), and large (20,000/1,000). The mock upstream behind Bifrost was pinned too, so any slowdown is Bifrost's, not a flaky test double: 50 ms "thinking" time + 50 ms to first token for non-streaming calls, and a fixed 500 ms stream span for streaming calls — that's the ~55 ms and ~555–627 ms floors, present at every payload size.
Bifrost AI: Vendor Claim vs. Our Measurement
| Metric | Bifrost's Published Benchmark | TrueFoundry's Measurement |
|---|---|---|
| Test machine | t3.xlarge (4 vCPU) | 1 vCPU / 2 GB RAM |
| What's timed | Internal pipeline only, excludes HTTP handling and JSON marshalling | End to end, including HTTP and marshalling |
| Statistic | Average | Median and p99 |
| Overhead | ~11 µs (59 µs on t3.medium) | 2–6 ms median; +41 to +75 ms p99 at the ceilings |
| Throughput | ~5,000 RPS | ~600–800 RPS small, ~400–600 medium, ~100–150 large (100 ms p99 budget) |
| What fails first | Not reported | CPU for small; CPU and memory for medium; memory (OOM) for large |
Throughput / Latency Performance
"Ceiling" = highest tested RPS with added p99 < 100 ms. The range shown is that RPS to the next tested RPS that crossed 100 ms — TrueFoundry tested discrete steps, not every RPS value, so the true crossover sits somewhere in that untested gap. Measured 2026-09-21.
Real throughput ceilings, at a 100 ms added-latency budget: ~600–800 RPS for small payloads, ~400–600 for medium, ~100–150 for large. Each range runs from the last RPS step TrueFoundry confirmed was inside budget to the next one it confirmed wasn't. Below those ceilings the median request pays 2–6 ms for the gateway — and barely moves with load (2.1 to 3.1 ms for small across a 60x range of traffic), which makes it reassuring right up to the point the gateway falls over. The number that moves is the p99: from +5.6 ms (small), +7.5 ms (medium) and +15.2 ms (large) at 10 RPS to +60 ms for small at 600 RPS, +75 ms for medium at 400, and +41 ms for large at just 100 — then over the 100 ms budget at the very next step in all three cases. Each payload is measured against its own direct-to-mock baseline (~55–62 ms, depending on size). Test setup: 1 vCPU / 2 GB harness, open-loop k6 load, non-streaming; small re-measured 2026-09-21 after fixing a Nagle's-algorithm test-harness bug, medium/large unaffected.
Small and medium follow the same shape — flat, then a climbing p99 tail. Medium's 2,000-token input makes every request more expensive, so its tail starts earlier and it crosses the budget sooner: at 400–600 RPS versus small's 600–800. Large doesn't climb gradually at all: it's flat from 10 to 100 RPS, then falls off a cliff at 150 RPS, where the pod starts getting OOM-killed mid-run (61 dropped requests at 150 RPS, 97 more at 200). That's not a queueing knee like small/medium — it's a hard resource wall, and it shows up as a near-vertical jump rather than a curve.
Streaming hits the same wall, just faster, because every open stream holds its buffers in memory for longer. Test setup: 1 vCPU / 2 GB harness, open-loop k6 load, streaming, with only 10/50/200 RPS tested, measured in-cluster 2026-09-11. The mock's streaming span is a fixed 500 ms per response — that sets the ~555–627 ms direct floor, not payload size.
Small and medium streaming both track their own ~555–627 ms direct floor closely through 50 RPS, then start climbing by 200 RPS (small p99 hits ~1.14 s, medium ~985 ms — both queueing, not OOM). Large streaming doesn't get that gradual climb either: by 200 RPS it's OOM-collapsing mid-run, taking 624 of 12,001 streams down with it and ballooning p99 to ~3.8 seconds. If a team's workload streams large documents, 200 RPS on one vCPU isn't a "slower" tier — it's a "falls over" tier.
Full stream duration isn't the number that matters if a UI just needs the first token to show up, though, so TrueFoundry measured that separately, with a paired async probe that times the real first-content-token, not k6's TTFB (which is invalid for SSE here, since the mock flushes headers before any token exists). Test setup: 1 vCPU / 2 GB harness, open-loop, paired direct-vs-gateway async SSE probe, only 10/50/200 RPS tested, measured in-cluster 2026-09-13.
Direct TTFT is ~85–97 ms and flat across all three payload sizes — confirmation that input length doesn't move first-token time, so everything above that floor is Bifrost's own per-request streaming setup cost. That added cost is ~27–46 ms and size-independent at 10–50 RPS (large @10 RPS adds +46 ms, small @10 RPS adds +43 ms — same order, different payload). At 200 RPS small and medium's medians still hold (+57 to +71 ms), but the tail blows up — added p99 hits +196 to +248 ms — and 10–13% of gateway streams fail outright, the same queueing knee. Large @200 RPS doesn't have a tail problem, it has a collapse: only 128.8 of 200 offered RPS gets served, TTFT p99 balloons to 72.1 seconds, and 3,023 of 12,001 streams fail — the OOM wall, seen this time from the first-token side instead of the full-response side.
And under a deliberate overload burst, Bifrost's two modes both stayed memory-safe: "blocking" serves everyone eventually (slowest request waited ~5 seconds), "drop" fails fast with a clean 503.
Memory Performance
The large-payload ceiling has a different cause entirely. It's not CPU, and the clearest way to see that is to look at memory and CPU separately, broken out by payload size and offered load, not just as a single peak number per payload.
Small climbs gradually and stays well under the 2,000 MB cap (848 MB at its highest tested RPS). Medium climbs much further — 1,935 MB, 97% of the cap, at its highest tested RPS — so at the top of its range it is pressing on memory as well as CPU. Large gets to the same place far earlier: 1,944 MB — 97% of the cap — at just 100 RPS, its last passing step. The next step is where the OOM-kills start. Test setup: 1 vCPU / 2 GB harness. Measured memory for large @150/200 RPS reads lower than @100 partly because a mid-window OOM restart resets the working set before the window ends — the ceiling was already crossed, not relieved.
CPU Performance
CPU tells the opposite story, which is exactly the point.
Small and medium both climb into the 73–80% range at their highest RPS — pushing the single vCPU hard. Large never does: even in the cells where it's actively dropping requests and getting OOM-killed, its peak CPU tops out at 37% and 24%. Large isn't failing because the CPU ran out of room — it's failing because the memory did, while the CPU had capacity to spare. If a team's workload is long documents, that's the number to plan around, not vCPU count.
Caching Performance
An exact-match hit turns a ~59 ms call into ~4 ms. Semantic caching — catching a differently-worded repeat of the same question — costs a real embedding tax but still beats a fresh call by half. Here an exact-match hit is a byte-for-byte repeat request, and a semantic hit is a differently-worded repeat caught by embedding similarity (measured in-cluster 2026-09-13).
Neither result is surprising on its own — caching is supposed to be faster than calling the model, and it is. The numbers here are just the hands-on measurement of exactly how much faster: 93% for an exact-match hit, 53% for a semantic hit once the embedding cost is paid.
Two more numbers before moving on: cold start is a median 8.7 seconds, and 8.2 of those seconds is a mandatory catalog re-download on every restart in a typical containerized setup — fixable with persistent storage, not independently re-tested here.
One transparency note on the numbers above: on the small-payload cell specifically, TrueFoundry caught and fixed a bug in its own test rig (a Nagle's-algorithm networking interaction that was making its baseline noisy) — after fixing it, Bifrost's small-payload ceiling actually moved up, from ~400 to ~600–800 RPS. Mentioning it because it's the kind of thing that's easy to get wrong benchmarking any gateway, Bifrost included, and TrueFoundry would rather show its work than hide the correction.
Our Verdict on Bifrost AI
On a single box, Bifrost AI's overhead is genuinely low at the median: 2–6 ms on top of a ~55 ms upstream call, flat across payload sizes and almost flat across load. That is the defensible version of the "fastest gateway" claim, and it is worth something — as a share of a real LLM call, it rounds to noise. The tail is a different story. Added p99 is load-sensitive, reaching +41 to +75 ms at the ceilings TrueFoundry measured, and large payloads don't gradually slow down so much as stop: OOM-killed at 150 RPS, dropping requests. Caching does work as advertised (93% and 53% latency cuts, measured). The vendor's 5,000 RPS figure describes a bigger machine and a different workload than most teams run. So for a single node, median speed isn't the problem; tail latency under load and memory headroom on document-heavy traffic are.
The harder question is what happens when a team runs more than one node. A production gateway has to scale out, scale back in, and survive a pod dying without anyone noticing. On the open-source version, that's where it gets difficult. Configuration changes don't propagate live across replicas; the documented pattern is a shared config file plus a restart. So every routing change, key rotation or budget update turns into a coordinated rollout across every gateway pod rather than a setting a team flips. Add an admin dashboard that is open to anyone who can reach it until the first admin account is created, and the open-source version is best suited to a single node a team watches closely, not a fleet.
Bifrost Enterprise closes much of that gap: its gRPC mesh broadcasts config changes to every replica within seconds, with no restart. But even Enterprise is still infrastructure a team deploys, scales, patches and monitors itself. Buying the license doesn't hand the operational load to someone else. (Enterprise pricing isn't published; TrueFoundry covers what is known in its Bifrost pricing breakdown.)
So the real decision is less "is Bifrost fast?" and more "who is going to run it?" A team with dedicated platform/DevOps capacity, or with strict requirements to keep everything in its own environment, can run Bifrost well, ideally on Enterprise if it needs more than one replica. A small team that just needs a reliable gateway in front of its LLM calls will usually get more out of a managed offering than out of owning gateway operations itself.
Evaluating Bifrost for production?
For a small team that would rather use a managed offering than own gateway operations itself, TrueFoundry's AI Gateway deploys fully inside a team's own VPC — no data egress to TrueFoundry infrastructure — and puts 2,500+ LLMs behind one OpenAI-compatible API, with model deployment and the gateway in a single control plane. It's SOC 2 Type II certified. See how it lines up feature by feature in the TrueFoundry vs. Bifrost comparison.
Related reading
- What is an LLM Gateway? — the architectural primer behind this review
- TrueFoundry vs. Bifrost — the head-to-head feature comparison
- Bifrost pricing — what open source and Enterprise actually cost
- Bifrost vs. Portkey — how the two gateways compare
- Bifrost vs. OpenRouter — self-hosted gateway vs. hosted router
Methodology: every claim above traces to TrueFoundry's own hands-on Bifrost dossier — installed, configured, and load-tested on a fixed 1 vCPU / 2 GB harness, cross-checked against Bifrost/Maxim's official documentation, with a verified-on date recorded for every fact.