# GoModel – an open-source AI gateway in Go

Hi, I’m Jakub, a solo founder based in Warsaw. I’ve been building GoModel since December with a couple of contributors. It's an open-source AI gateway that sits between your app and model providers like OpenAI, Anthropic or others. I built it for my startup to solve a few problems: - track AI usage…

- **Page:** https://magpie.gallery/i/gomodel-an-open-source-ai-gateway-in-go-lb1d
- **Type:** Link to an idea elsewhere
- **Category:** AI & dev
- **Tags:** gateway, llm, caching, cost-tracking, open-source

## Source

Web · santiago-pl: GoModel – an open-source AI gateway in Go

- **Original:** https://news.ycombinator.com/item?id=47849097

> Hi, I’m Jakub, a solo founder based in Warsaw. I’ve been building GoModel since December with a couple of contributors. It's an open-source AI gateway that sits between your app and model providers like OpenAI, Anthropic or others. I built it for my startup to solve a few problems: - track AI usage and cost per client or team - switch models without changing app code - debug request flows more easily - reduce AI spendings with exact and semantic caching How is it different? - ~17MB docker image - LiteLLM's image is more than 44x bigger ("docker.litellm.ai/berriai/litellm:latest" ~ 746 MB on amd64) - request workflow is visible and easy to inspect - config is environment-variable-first by default I'm posting now partly because of the recent LiteLLM supply-chain attack. Their team handled it impressively well, but some people are looking at alternatives anyway, and GoModel is one. Website: https://gomodel.enterpilot.io Any feedback is appreciated. https://github.com/ENTERPILOT/GOModel/

## GitHub projects

- https://github.com/ENTERPILOT/GOModel

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
