Show HN: GoModel – an open-source AI gateway – LiteLLM alternative (opens external site)
Comments loaded (37)
1 comment is not loaded here. Read them on Hacker News ↗.
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
1 comment is not loaded here. Read them on Hacker News ↗.
Replies (3)
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
Replies (1)
Replies (1)
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...
Replies (1)
The project used to be associated with http://kgateway.dev/ (which is an Envoy project) but was split; it never actually used Envoy though.
Replies (1)
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)
Replies (1)
And thanks for not turning this into a pitch :)
Replies (1)
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.
Replies (1)
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?
https://github.com/maximhq/bifrost
Replies (1)
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.
Replies (1)
Replies (2)
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.
Replies (1)
Replies (1)
The hard part is to simplify it.
By "rewrite" I meant both.
Replies (1)
Replies (1)
Feel free to share any feedback, suggestions or ideas on how to make GoModel better :)
Replies (1)
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.
Replies (1)
Replies (1)
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.
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?
Replies (1)
Replies (1)
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
Replies (1)