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

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.








