AI Agent News/stories/gomodel-open-source-ai-gateway-launches-as-a-self-hosted-litellm-alternative.md

Infrastructure

GoModel open-source AI gateway launches as a self-hosted LiteLLM alternative

GoModel is an MIT-licensed AI gateway written in Go that gives applications one OpenAI- and Anthropic-compatible endpoint in front of 39 model providers. The project says it is faster and lighter than LiteLLM in its own benchmark, though LiteLLM supports more providers.

Source: gomodel.enterpilot.io

GoModel is an open-source AI gateway written in Go and released under the MIT license. Applications send requests to one OpenAI- and Anthropic-compatible endpoint, and the gateway routes them to 39 providers, including OpenAI, Anthropic, Gemini, Bedrock, Azure and local servers such as Ollama and vLLM. It runs from a single Docker command or a binary install, with SQLite for storage by default and PostgreSQL or MongoDB as options.

The gateway handles model aliases, scoped workflows, exact-match and semantic caching, retries with circuit breakers, failover between providers, per-key and per-team budgets, and per-request usage and cost tracking. Audit logs record the resolved route and each provider attempt. The roadmap for version 0.3.0 includes MCP proxy hardening, mid-stream failover and Gemini native API ingress.

The project compares itself with LiteLLM in a benchmark it describes as reproducible on the same AWS machine. It reports a median latency of 2.32 ms for GoModel against 79.16 ms for LiteLLM, sustained throughput of 4,350 requests per second against 134, and peak memory of 82.5 MB against 2,322 MB. The page also says LiteLLM still supports more providers.

Why it matters if you build agents

If your agents call several model providers, a gateway like this lets you switch models with a config change instead of changing application code. Per-request cost tracking and budgets can also show which agent, team or feature is driving spend.

Treat the benchmark as the project's own figures and test latency and provider coverage against your workload before replacing an existing proxy. The page lists the 0.3.0 MCP proxy work as planned, not shipped.

Get stories like this every weekday

One short email with the day's agent tooling news.

Subscribe