GoModel - Open-source AI gateway in Go
Show HN: GoModel – an open-source AI gateway – LiteLLM alternative

GoModel is an open-source AI gateway written in Go that gives your apps one OpenAI- and Anthropic-compatible endpoint for 38 providers, from OpenAI and Anthropic to Ollama and vLLM. It handles routing, model aliases, scoped workflows, caching, automatic failover, budgets, rate limits, audit logs, and per-request cost tracking behind a single 21 MB binary with an embedded admin dashboard. Swap providers with a config change, keep your existing SDK, and stop leaking provider logic into application code. Deploy with one docker run and scale storage from SQLite to PostgreSQL or MongoDB.
Like OpenRouter, but open-source and self-hosted — the last AI gateway you will ever need.
- pavelmelnichuk
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.
- honkliu
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?
- Deukhoofd
How does it compare to Bifrost? I've been using that for a while, and I've been rather happy with it.
- sroerick
Hey just wanted to say thanks! Sounds up gomodel a few weeks ago and I've been very happy with it.
- newtonapple
Isn't LiteLLM moving to Rust? https://docs.litellm.ai/rust-migration.