{"by":"santiago-pl","descendants":75,"id":47849097,"kids":[47851918,47851816,47851752,47853948,47854725,47851437,47851488,47850001,47851960,47862492,47861263,47849997,47850860,47851312,47850517,47850697,47861532,47853600,47853211,47849790,47872649,47888441,47852763,47927922,47851452],"score":217,"text":"Hi, I’m Jakub, a solo founder based in Warsaw.<p>I’ve been building GoModel since December with a couple of contributors. It&#x27;s an open-source AI gateway that sits between your app and model providers like OpenAI, Anthropic or others.<p>I built it for my startup to solve a few problems:<p><pre><code>  - track AI usage and cost per client or team\n  - switch models without changing app code\n  - debug request flows more easily\n  - reduce AI spendings with exact and semantic caching\n</code></pre>\nHow is it different?<p><pre><code>  - ~17MB docker image\n    - LiteLLM&#x27;s image is more than 44x bigger (&quot;docker.litellm.ai&#x2F;berriai&#x2F;litellm:latest&quot; ~ 746 MB on amd64)\n  - request workflow is visible and easy to inspect    \n  - config is environment-variable-first by default\n</code></pre>\nI&#x27;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.<p>Website: <a href=\"https:&#x2F;&#x2F;gomodel.enterpilot.io\" rel=\"nofollow\">https:&#x2F;&#x2F;gomodel.enterpilot.io</a><p>Any feedback is appreciated.","time":1776780713,"title":"Show HN: GoModel – an open-source AI gateway in Go","type":"story","url":"https://github.com/ENTERPILOT/GOModel/"}