r9s-ai/open-next-router
A lightweight, DSL-driven LLM gateway for routing, patching provider quirks, and normalizing APIs across channels
Built in Go with an nginx-like configuration language, the gateway explicitly declares routing, request/response transformations, and SSE parsing via atomic `.conf` files rather than embedding compatibility logic in code. Hot-reloads configuration and provider DSL via SIGHUP, with optional file-watch auto-reload for provider definitions. Integrates with multiple LLM providers (OpenAI, Anthropic, etc.) through standardized directives like `req_map`, `resp_map`, and `sse_parse` to normalize streaming semantics while extracting usage metrics for cost tracking.
Stars
13
Forks
1
Language
Go
License
MIT
Category
Last pushed
Mar 12, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/r9s-ai/open-next-router"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
unifyroute/unifyroute
Stop being locked into one LLM provider. UnifyRoute is a self-hosted gateway that routes, fails...
neuraxes/neurouter
A powerful router that provides a unified interface for all upstream LLMs
deeflect/smart-spawn
Intelligent model routing for AI agents. Auto-selects the right LLM per task based on...
peva3/SmarterRouter
SmarterRouter: An intelligent LLM gateway and VRAM-aware router for Ollama, llama.cpp, and...
CarloLepelaars/irouter
Access 100s of LLMs with minimal lines of code