cd /news/ai-tools/building-goroute-an-ultra-lightweigh… · home › topics › ai-tools › article
[ARTICLE · art-152175] src=dev.to ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

Building GoRoute: An Ultra-Lightweight (<15MB RAM) LLM Gateway in Go

A developer released GoRoute, a zero-dependency LLM gateway and multi-agent router written in Go that runs as a local reverse proxy at 127.0.0.1:8128 between terminal coding agents and AI providers. The project targets under 15MB of RAM in use and under 6MB at idle, compared with the 150MB to 300MB consumed by Node.js and Python routers such as OmniRoute and LiteLLM, and it handles OpenAI chat completions and Anthropic Messages API traffic with rate limits, multiple accounts and model failover. It installs via curl or npx and includes an import command for migrating OmniRoute configurations.

by read1 min views6 publishedOct 18, 2026

Most developers using terminal coding agents like Claude Code, OpenCode, Codex, or Cursor end up running an LLM router in the background to handle rate limits, multiple accounts, and model failovers.

Popular tools like OmniRoute and LiteLLM work, but running a full Node.js or Python runtime 24/7 just to proxy HTTP requests consumes 150MB to 300MB of RAM and introduces cold-start latency.

I wanted something that idles at < 6MB RAM, starts instantly, and never panics. So I built GoRoute.

GoRoute is a zero-dependency, compiled LLM gateway and multi-agent router written in Go.

It acts as a local reverse proxy (http://127.0.0.1:8128) sitting between your developer agents and AI providers.

+-------------+       +-------------------+       +-----------------------+
| Claude Code | ----> |                   | ----> | Google Antigravity    |
| OpenCode    | ----> | GoRoute (Go Proxy)| ----> | OpenAI / Anthropic    |
| Codex/Cursor| ----> |   (<15MB RAM)     | ----> | Custom Endpoints      |
+-------------+       +-------------------+       +-----------------------+

/v1/chat/completions) or Anthropic Messages API (/v1/messages) seamlessly.

   goroute setup all
goroute import-omniroute

You can install GoRoute directly via curl:

curl -fsSL https://raw.githubusercontent.com/ziuus/goroute/main/install.sh | bash

Or run via npm:

npx goroute setup all

Once installed, check status:

goroute status

Check out the GitHub repo here: https://github.com/ziuus/goroute

I'd love to hear your feedback, feature requests, or questions!

── more in #ai-tools 4 stories · sorted by recency
── more on @goroute 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/building-goroute-an-…] indexed:0 read:1min 2026-10-18 · —