How fast does an AI gateway need to be? Faster than you notice.
Cenodia is written in Rust, runs as one binary and works without runtime garbage collection. That makes it very fast and keeps response times even under load. Here is what that means in practice.
In short
A well-built AI gateway adds only a tiny fraction of the time the model needs for its answer. A model response usually takes half a second to several seconds. Cenodia is written in Rust, runs as a compiled binary and works without garbage collection at runtime. That keeps the overhead small and response times steady, even under load.
What counts for speed
- 01
Rust keeps the overhead small
Cenodia is written in Rust and compiled to one binary. There is no interpreter and no garbage collection at runtime that could hold up a request. That makes the gateway very fast and light on memory.
- 02
The model's response time dominates
A model usually needs half a second to several seconds for its answer. The share of a fast gateway in that is negligible. If you want faster answers, you gain most from model choice and routing. Cenodia includes the least latency strategy and automatic failover for that.
- 03
Consistency beats best case
What matters is how a gateway behaves under load. Without runtime pauses, response times stay stable even with many concurrent requests.
- 04
Checks cost more than forwarding
A guardrail that asks an external service costs many times the pure gateway overhead. In Cenodia, rules such as secret detection run inside the gateway itself.
- 05
Measure with your traffic
A benchmark against simulated responses shows the upper bound. It only becomes meaningful with your prompts, your rules and your hardware.
Cenodia and speed
- Language
- Rust
- Delivery
- One compiled binary
- Garbage collection at runtime
- None
- Checks
- Rules such as secret detection run inside the gateway itself
- Measurements
- In preparation, from a running installation and together with the test setup
Frequently asked questions
How much latency does an AI gateway add?
A fast gateway adds only a tiny fraction of the model's response time for pure forwarding. Additional checks such as guardrails come on top.
How fast is Cenodia?
Cenodia is written in Rust and very fast. Exact measurements are in preparation. We will publish them from a running installation together with the test setup, so that you can put them into context.
Is Rust faster than Go or Python?
Rust and Go are compiled languages and considerably faster than Python for this task. Go uses garbage collection at runtime. Rust works without it, which favours steady response times under load and needs little memory.
Keep reading
Cenodia and Bifrost
Rust instead of Go, cost centres in euros and every feature without an enterprise threshold.
/en/compare/bifrost/Cenodia and LiteLLM
Every feature in every tier instead of a toolkit with an enterprise threshold.
/en/compare/litellm/Routing and flows
The right model per request, maintained as a visual flow.
/en/product/routing-and-flows/Put Cenodia at your entrance.
Leave your details. We will get back to you with access to the free trial.
Talk to us