Rendered at 21:24:38 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
pavelmelnichuk 1 days ago [-]
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.
santiago-pl 1 days ago [-]
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?
cognitivegears 17 hours ago [-]
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?
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?
santiago-pl 22 hours ago [-]
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.
Deukhoofd 1 days ago [-]
How does it compare to Bifrost? I've been using that for a while, and I've been rather happy with it.
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.
sroerick 1 days ago [-]
Hey just wanted to say thanks! Sounds up gomodel a few weeks ago and I've been very happy with it.
santiago-pl 1 days ago [-]
You're welcome - I enjoy building it!
Feel free to share any feedback, suggestions or ideas on how to make GoModel better :)
qmarchi 1 days ago [-]
How does something like this compare to agentgateway, which is built on envoy?
howardjohn 1 days ago [-]
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)
santiago-pl 4 hours ago [-]
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 :)
santiago-pl 1 days ago [-]
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.
verdverm 1 days ago [-]
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.
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.
verdverm 1 days ago [-]
We run GoModel in Kubernetes, without all the Kubernetes bloat (CRDs have become overused in the k8s ecosystem)
EDM115 1 days ago [-]
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 :)
santiago-pl 1 days ago [-]
That's encouraging - thank you! Feel free to share your thoughts once you give it a try
- 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.
pstuart 22 hours ago [-]
Python to Go (in my limited experience) is almost a single Claude prompt.
Sometimes simple is nice to have.
santiago-pl 22 hours ago [-]
Translating the code is the easy part I believe.
The hard part is to simplify it.
By "rewrite" I meant both.
roundup 1 days ago [-]
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.
santiago-pl 1 days ago [-]
I tried to use LiteLLM back in 2025 and it didn't meet my quality requirements. That's how GoModel was born.
igorzij 1 days ago [-]
please consider updating HN banner on the repo pointing to the latest HN post (this one). it currently points to an old one
santiago-pl 24 hours ago [-]
I changed it - thanks! I guess it looks more up-to-date.
bilbo-b-baggins 21 hours ago [-]
Why would I use this over bifrost?
verdverm 19 hours ago [-]
If you'd like to use guardrails without having to sign up for enterprise may be one reason
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
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?
santiago-pl 24 hours ago [-]
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.
AyishikD 23 hours ago [-]
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?
santiago-pl 23 hours ago [-]
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.
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.
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?
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?
https://github.com/maximhq/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.
Feel free to share any feedback, suggestions or ideas on how to make GoModel better :)
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)
And thanks for not turning this into a pitch :)
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
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...
The project used to be associated with http://kgateway.dev/ (which is an Envoy project) but was split; it never actually used Envoy though.
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.
The hard part is to simplify it.
By "rewrite" I meant both.
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
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.
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.