Hacker News new | ask | show | jobs
Show HN: GoModel – an open-source AI gateway – LiteLLM alternative (gomodel.enterpilot.io)
66 points by santiago-pl 2 days ago
In April 2026 I launched GoModel on HN. GoModel was 4-month-old project those days and nobody used it in prod. I'm grateful for the warm and enthusiastic reactions.

Today GoModel has 145K+ docker pulls, 45+ contributors. Some companies decided to migrate from LiteLLM or OmniRoute.

Wait - what is AI gateway ? It's software for governing AI - you route all your traffic through it, and you can measure every dollar spend, observe every request, set-up budgets, rate limits, or block anything with guardrails. Also, with an AI gateway you can talk to all providers / models with one dialect - OpenAI-compatible API or Anthropic-compatible API.

What did we ship since April ? MCP proxy, guardrails, plugin system, messages/Anthropic-compatible api, rate limits, LiteLLM migration command, 25+ new providers, early enterprise version, and more.

This year: - LiteLLM was compromised two times - PortkeyAI stopped maintaining the open-source project after being acquired by Palo Alto Networks - TensorZero stopped operating and return the money to investors

I believe that there is still a huge need for a fast, reliable, AI gateway on the market. Also, I believe that GoModel is the fastest AI gateway on the market with a reasonable set of features as of today. I run an open-source self-reproducible benchmark. Some people ask about it during my first Show HN post (link below).

In comparison to LiteLLM:

- 17x smaller docker image (23 MB vs 396 MB)

- 26x lower p50 latency (gateway overhead)

- consumes 23x less memory

There is still long way ahead, today I'd like to ask - what's stopping you from giving a chance to it in prod? I'd appreciate any feedback

Links:

GitHub: https://github.com/ENTERPILOT/GoModel/

April thread: https://news.ycombinator.com/item?id=47849097

Benchmark: https://github.com/ENTERPILOT/ai-gateway-reproducible-benchm...

13 comments

I was looking for this for a while but the problem is most agents don't know this project exists so I was getting the usual: Portkey, LiteLLM and they weren't a good fit. I am glad I checked HackerNews!
Shameless plug, I didn't know your existed and had been working on basically similar project called Relay, it's possibly a little larger image but has some other bells and whistles like a model I trained to categorize each request, plus laya capability etc https://github.com/anchorshell/relay

Honestly it doesn't really matter that much whichever gateway someone uses. It's SO HELPFUL in terms of analyzing agentic harness issues, just to be open up an exact llm call and see what the hell did my agent send the llm just now? oh - right thats why that weird answer happened. let's fix it.

Discoverability is something I struggle with having a $0 marketing budget.

I haven't seen Relay either :)

I update GoModel almost daily to let other people stay focused on their core business. Is there any other low cost way to make an open-source project credible?

Interesting project, I'll definitely need to check it out further. One thing I've been looking for (that other gateways don't support as far as I have seen) is the ability to support the Claude managed settings API (https://platform.claude.com/docs/en/api/beta/organization/cl...) so as to not lose the functionality around organizational managed settings for Claude Code. Wanted to see if you had that or on the roadmap by any chance?
Thank you. It's not yet there - added to the roadmap: https://gomodel.enterpilot.io/docs/about/roadmap#commercial-...
The point about opening up an exact LLM call to debug agent harnesses is the underrated one. Most of the pain I've hit building agent tooling wasn't model quality, it was not being able to see what the harness actually sent - a stale tool schema, context that got truncated, a system prompt that drifted between turns. A gateway that logs the real request is worth more than most eval frameworks.

Curious how you handle the case where the gateway itself becomes the thing you're debugging. Do you have a way to bypass it for a single request without changing client config?

Not for a single request, but I have a couple of bash scripts to switch on and off the gateway easily. More and more often I ask an AI agent to switch it for me.
How does it compare to Bifrost? I've been using that for a while, and I've been rather happy with it.

https://github.com/maximhq/bifrost

There is a detailed comparison on GoModel's website: https://gomodel.enterpilot.io/vs/bifrost/

In short - GoModel is faster (latency overhead), consumes 4x less memory, and gives you more features in the open-source version (for example - Guardrails). Honestly I believe that in most cases those things don't matter. On the other hand - there are some cases when it matters for example when you want to use AI gateway in robotics, on edge devices with limited resources.

Hey just wanted to say thanks! Sounds up gomodel a few weeks ago and I've been very happy with it.
You're welcome - I enjoy building it!

Feel free to share any feedback, suggestions or ideas on how to make GoModel better :)

How does something like this compare to agentgateway, which is built on envoy?
We picked GoModel over AgentGateway because of Envoy and the excessive stuff you need to get just to have things up and running. GoModel is a single binary/container and has so many more features. We use it for provider failover and traces/cost tracking.

The CNCF and related project groupings have lost their luster for me. Trying to shoehorn everything into k8s lingo is not the way (thinking of the overuse of CRDs). Argo* is another one we are shelving for simpler and more reliable alternatives.

I also use GoModel virtual models [1] at home for my local experiments. It makes swapping out the model(s) and quants easy because every downstream tool has stable names. Also, as others have said, the visibility into request details is super helpful when debugging harnesses and the like.

[1] https://gomodel.enterpilot.io/docs/features/virtual-models

Agentgateway does not use Envoy at all and has the same single binary deployment model.
When we looked at gateways, Envoys name was all around AgentGateway, maybe things have changed.

The installation and architecture docs still talk about multiple pieces, and use CRDs all over the place. I prefer a single configuration file

https://agentgateway.dev/docs/kubernetes/latest/documentatio...

https://agentgateway.dev/docs/kubernetes/latest/documentatio...

https://github.com/agentgateway/agentgateway/tree/main/contr...

Yep there are two modes - Kubernetes controller mode and "standalone" single binary + single config file https://agentgateway.dev/docs/standalone/. This is a relatively newer mode if you looked a while back.

The project used to be associated with http://kgateway.dev/ (which is an Envoy project) but was split; it never actually used Envoy though.

We run GoModel in Kubernetes, without all the Kubernetes bloat (CRDs have become overused in the k8s ecosystem)
FWIW Agentgateway is not built on Envoy but its own custom proxy.

In general I would say there is a lot of overlap in the target use cases (LLM/MCP proxy) while Agentgateway has some broader use cases as well (running local models, non-AI workloads, etc). I'll let you/others decide which fills the use cases better so I don't take over this post to pitch Agentgateway.

(I work on Agentgateway)

Thank you for the correction! I will check Agentgateway out and publish a fair comparison with GoModel soon.

And thanks for not turning this into a pitch :)

TBH I haven't tried agentgateway myself. It looks like it is a competing project. Inference gateways (that's what I call this category) are usually quite complex and the devil is in the details. As far as I investigated GoModel stands-out with real time logs (no database read is needed to get real time data). On the other hand we don't support A2A yet.
I've been following this project ever since the previous post. And while I won't use it right now, I'll keep an eye on this, once I have more local AI set up and I use more providers :)
That's encouraging - thank you! Feel free to share your thoughts once you give it a try
Isn't LiteLLM moving to Rust? https://docs.litellm.ai/rust-migration.
Yes, they are.

As far as I understand, they promised to rewrite it this year: https://docs.litellm.ai/blog/litellm-rust-launch (fun fact - they targeted today - 1st Dec)

So far they have two versions (one repository):

- LiteLLM in Python - the popular and fully functional

- LiteLLM Rust - not fully functional (no MCP servers, Guardrails, it serves only /messages API - AFAIK)

I believe it's still - even with AI - really hard to rewrite this type of software.

Python to Go (in my limited experience) is almost a single Claude prompt. Sometimes simple is nice to have.
Translating the code is the easy part I believe.

The hard part is to simplify it.

By "rewrite" I meant both.

LiteLLM has been breached multiple times. Once an attacker has successfully compromised an org, they and others will return, e.g. Lastpass. Best to avoid.
I tried to use LiteLLM back in 2025 and it didn't meet my quality requirements. That's how GoModel was born.
please consider updating HN banner on the repo pointing to the latest HN post (this one). it currently points to an old one
I changed it - thanks! I guess it looks more up-to-date.
Why would I use this over bifrost?
If you'd like to use guardrails without having to sign up for enterprise may be one reason

https://docs.getbifrost.ai/deployment-guides/config-json/gua...

I'm not familiar with Bifrost, but from my 10m on their web pages, my impression is that they lock a lot of everyday user features being the enterprise paywall. If I look at GoModel's, they are more enterprise-only oriented

https://gomodel.enterpilot.io/docs/pro/overview

Hi, congratulations on your growth. As far as my knowledge umm providers cache kinda differently like claude defaults at 5 mins and openai longer and cache occurs on hitting same prefix. If by chance it falls back or switches mid session whole cache lost and next req is costly. So umm gomodel keeps a session pinned to one provider or show cache hit rate per route?
That's correct - cache lifetime differs per provider.

Today GoModel has session affinity for load balancing (6 hour TTL by default) and api keys rotation.

As for fallback:

1) Yes, you lose the prompt caching in this case - but usually it's better to keep your app/agent working than to save money here.

2) Actually your comment inspired me to add this... As of today the session is not sticky to the fallback target - but I think it's reasonable to do it by default (with an option to opt-out)

I'd like to mention that we also have a more advanced provider cache awareness for the early Pro/commercial features which can save you money - prompt compression / intelligent routing.

Umm yeah sticky fallback by default sounds right. But when a fallback happens can you show the cost of a lost cache. So people can see their loss. And a small question, does it send a request to the provider where the conversation prefix is already cached?
Yes, it sends the request to the provider where it was cached.

The load-balancing strategy (failover included) doesn't know whether the cache is still warm or not.

The idea of showing cost of a lost cache is sound. I need to think about how to show it. The data is already there.

cool!