Show HN: GoModel – an open-source AI gateway in Go
Article
TL;DR
GoModel is a lightweight Go LLM gateway with semantic caching and multi-provider routing, alternative to LiteLLM.
Key Takeaways
- Compiled Go binary gives compile-time supply-chain safety vs Python runtime dependency risk
- Supports semantic caching and multi-provider failover; vault and cost-tracking on roadmap
- Keeping up with provider API changes is the dominant long-term maintenance challenge
Discussion
Top comments:
- [nzoschke]: All-in on Go for AI; adds GoModel to existing stack alongside shelley and gai
- [pizzafeelsright]: Less than 24-hour turnaround on new model integration is the maintenance bar to clear
- [crawdog]: Built a similar Go gateway; compiled binary limits supply chain attacks vs Python tools
- [Talderigi]: Asks how semantic cache invalidation works when the underlying model version changes