Skip to main content

6 posts tagged with "LLM latency"

Measured latency of LLMOps platforms and the overhead a gateway adds to a model call.

View All Tags

Langfuse AI Gateway vs LiteLLM vs AcruxCore: a self-hosted gateway benchmark

Published · 16 min read
LLM-ops platform

Results table: added latency without streaming is −9 to +8 ms for Langfuse, +61 to +67 ms for LiteLLM and +15 to +24 ms for AcruxCore; at 1,000 streams on 2 CPUs as shipped, 261, 403 and 1,000 succeed; idle stack memory is 3,584, 810 and 405 MiB; every path is pinned to one OpenAI address

Langfuse opened its AI Gateway in public beta on 4 November 2026. We tested it against the LiteLLM proxy and AcruxCore. All three ran on the same machine and called the same OpenAI model. For each gateway, we measured the time it adds to a call, how many streams it handles at once, how much memory it needs and what it can do.

  • Added latency, without streaming: LiteLLM added 61 to 67 ms to each call in all three runs. AcruxCore added 15 to 24 ms, and its 95% interval stayed above zero in two of the three runs. Langfuse added 8 ms or less, and its interval included zero in every run. For the first token of a stream, no gateway added a delay in all three runs.

  • At 1,000 simultaneous streams on 2 CPUs, AcruxCore and Langfuse with a raised open-file limit finished all 1,000. Langfuse as shipped failed 739 of them, because its gateway process keeps Docker's default limit of 1,024 open files. One line in its Compose file fixes it. LiteLLM used both CPUs from 100 streams on, and its median time to the first token reached 19 seconds at 1,000.

  • Idle memory: the Langfuse gateway process uses 13 MiB, but the Langfuse stack it needs uses 3.5 GiB. LiteLLM with its database uses 810 MiB, and AcruxCore's whole stack uses 405 MiB.

Before any of that, one finding about OpenAI itself changed our first results by more than any gateway did.

AcruxCore vs Agenta: built-in evaluators vs a gateway

Published · Updated · 22 min read
LLM-ops platform

Header card for AcruxCore vs Agenta, listing each product's main strengths side by side

The short answer: Agenta is stronger at evaluation, and AcruxCore is stronger at controlling the model call. Agenta has 11 built-in evaluator types, plus five regex presets, and annotation queues. AcruxCore has a gateway with budgets, caching and virtual keys, and a catalog of versioned tools that it runs.

Agenta is an open-source platform from Agentatech UG. Its README describes a workspace where you build agents by chatting with them. You then talk to those agents in Slack, Telegram or WhatsApp. Behind the agent pages, Agenta also ships a prompt registry, a playground, evaluation, annotation queues and tracing. Agenta documents those parts in its v1.0 docs, which it marks as no longer actively maintained. Those parts still ship in version 0.122.7, the version we ran. This post compares those parts with AcruxCore, because those are the parts the two products share.

Each section below shows what we saw on Agenta, then what AcruxCore does with the same prompt.

AcruxCore is our product. The Agenta and AcruxCore scripts are linked where they are used.

AcruxCore vs Laminar: SQL over traces vs a prompt gateway

Published · Updated · 24 min read
LLM-ops platform

Laminar starts at the trace with SQL over spans, custom dashboards, labeling queues and transcript views; AcruxCore starts at the prompt with prompt versions and aliases, templates, spend caps and a tool catalog

Laminar (lmnr) describes itself as an "open-source observability platform purpose-built for AI agents", and its GitHub page lists it as a Y Combinator S24 company (checked on 2 November 2026).

The short answer: both show an agent run as a tree of nested spans. Laminar is stronger at analysing those runs, with SQL over spans, custom dashboards and labeling queues. AcruxCore covers what happens before the call: prompt versions and aliases, and a gateway that can refuse a call over budget. The two can run together.

Laminar is built from a Rust ingest server, ClickHouse for spans, Quickwit for search, and an OpenTelemetry SDK. Its integrations page lists 31 integrations, from LLM SDKs and agent frameworks to coding agents and browser agents (checked on 2 November 2026). In the build we ran, its project sidebar had dashboards, traces, evaluations, datasets, labeling, a SQL editor, playgrounds, a debugger and settings, and no prompt store that your code fetches at runtime. Both projects are Apache 2.0.

AcruxCore is our product. We ran both platforms on one prompt, and every script is linked.

Full-cycle latency of six LLM-ops platforms vs real OpenAI

Published · Updated · 18 min read
LLM-ops platform

The eight paths in the full-cycle benchmark: the OpenAI direct baseline, Opik tracked SDK, MLflow AI Gateway, Langfuse OTel SDK, Helicone AI Gateway, Phoenix OTel SDK, AcruxCore gateway and AcruxCore BYOK, each timed as prompt fetch plus completion on gpt-4o-mini

Opik, MLflow, Langfuse, Helicone, Phoenix, and AcruxCore all landed within about 220 ms of each other on the median, between 810 ms and 1032 ms for a prompt fetch plus a gpt-4o-mini completion. In the latest of four runs, only Opik's gap against calling OpenAI directly was larger than the noise, and Opik was faster than the direct call, not slower.

The benchmark measures the full cycle on real OpenAI billing: a raw OpenAI baseline, the five other platforms, and AcruxCore's two calling modes, eight paths in one interleaved run. We ran it four independent times, because one 100-round run against a live third-party API is too noisy to trust a single number.

We build AcruxCore. We ran every tool ourselves, and the scripts are linked below.

Exact-match gateway caching: latency and cost saved

Published · Updated · 8 min read
LLM-ops platform

A call on a virtual key with a cache window goes through the gateway; an exact repeat is a cache hit served by a Postgres lookup, anything else is a cache miss and a real provider call; the model, messages, temperature and tools must all match

A cache hit in the AcruxCore gateway returned in a median of 9 ms, against 902 ms for the same call sent to the provider, and it cost $0. The test sent each of 15 prompts four times, so 3 of every 4 calls were repeats, and caching cut spend by 75%.

A gateway virtual key can be given a cache window: set cacheTtlSeconds and an exact-match repeat of a call — same model, same messages, same sampling parameters, tools and response format — is served from Postgres instead of the provider. We ran the same fixed set of prompts through it repeatedly to see what a hit is actually worth, in milliseconds and in dollars.

How much overhead does an LLM gateway add?

Published · Updated · 9 min read
LLM-ops platform

Five paths from the same prompt to gpt-4o-mini: OpenAI direct, BYO with tracing off and BYO with tracing on skip the gateway, while the local gateway and the hosted gateway go through it

An AcruxCore gateway running on the same machine as your app added a median of 9 ms to an OpenAI call that takes about 640 ms. The 95% confidence interval runs from −15 ms to +28 ms, so this test cannot tell the gateway apart from a direct call. Calling OpenAI with your own key through the SDK, with no gateway, also adds nothing measurable, with tracing on or off.

A gateway gives you one endpoint for every provider, cost accounting, caching, virtual keys, and budgets, and it also adds a network hop. We measured five ways to reach the same model — through our gateway, around it with your own key, and raw — to see where the milliseconds go.