15 comments

  • pavelmelnichuk 21 hours 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 20 hours 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 11 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?
  • honkliu 17 hours ago
    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 16 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 20 hours ago
    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

    • santiago-pl 20 hours ago
      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.

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

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

  • qmarchi 23 hours ago
    How does something like this compare to agentgateway, which is built on envoy?
    • howardjohn 19 hours 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 22 hours 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 19 hours 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.

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

  • EDM115 22 hours 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 22 hours ago
      That's encouraging - thank you! Feel free to share your thoughts once you give it a try
  • newtonapple 20 hours ago
    Isn't LiteLLM moving to Rust? https://docs.litellm.ai/rust-migration.
    • santiago-pl 19 hours ago
      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.

      • pstuart 16 hours ago
        Python to Go (in my limited experience) is almost a single Claude prompt. Sometimes simple is nice to have.
        • santiago-pl 16 hours ago
          Translating the code is the easy part I believe.

          The hard part is to simplify it.

          By "rewrite" I meant both.

    • roundup 19 hours 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 18 hours ago
        I tried to use LiteLLM back in 2025 and it didn't meet my quality requirements. That's how GoModel was born.
  • igorzij 18 hours 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 17 hours ago
      I changed it - thanks! I guess it looks more up-to-date.
  • AyishikD 18 hours ago
    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 18 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 17 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 16 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.

  • bilbo-b-baggins 14 hours ago
    Why would I use this over bifrost?
  • igorzij 18 hours ago
    cool!
  • yuliuwang3 3 hours ago
    [dead]
  • Rai007 10 hours ago
    [dead]
  • dushyantds 19 hours ago
    [dead]