a3m-router vs router
LLM routing gateways compared
a3m-router and router both provide a shared endpoint for routing AI requests across model providers. a3m-router focuses on heuristic and ML-based routing with caching and ensembles, while router emphasizes support for multiple API formats, routing inspection, and analytics.

a3m-router: Route LLM Requests Across Models
A3M Router is a TypeScript, self-hosted LLM gateway built around Jev System One single-pass routing. It directs OpenAI-compatible requests to models and providers based on the task, with failover and optional parallel ensembles.

router: Route Agent Prompts with Avengers-Pro Scoring
Weave Router is a Go proxy for Claude Code, Codex, Cursor, and other clients, routing each request across model providers. Its in-process cluster scorer, derived from the Avengers-Pro research, uses an on-box embedder to choose a model per action.
| a3m-router | router | |
|---|---|---|
| Language | TypeScript | Go |
| License | MIT | Apache-2.0 |
| Stars | 17 | 5.6k |
| Forks | 5 | 159 |
| Last analyzed | Oct 23, 2026 | Oct 20, 2026 |
Key differences
- a3m-router is written in TypeScript; router is written in Go.
- a3m-router offers heuristic and ML-based routing, semantic caching, provider fallback, and optional parallel ensembles; router uses an in-process cluster scorer and provides route inspection and analytics.
- a3m-router exposes an OpenAI-compatible chat completions endpoint; router accepts Anthropic Messages, OpenAI Chat Completions, and Gemini formats.
- a3m-router is MIT-licensed; router's Apache-2.0 license applies to releases beginning with router-v0.2.24, with earlier releases retaining their shipped licenses.
- a3m-router is described as self-hostable; router offers hosted use or self-hosting, with a dashboard and provider keys encrypted at rest for self-hosted setups.
- a3m-router has 16 stars and 5 forks; router has 5.6k stars and 151 forks.
Choose a3m-router if you…
- need heuristic or ML-based routing, semantic caching, or provider fallback.
- want optional parallel ensembles to compare or combine responses.
- prefer a TypeScript gateway with an OpenAI-compatible chat completions endpoint.
Choose router if you…
- need clients to use Anthropic, OpenAI, and Gemini request formats through one endpoint.
- want route inspection, OTLP trace export, or routing analytics.
- prefer a Go proxy with hosted and self-hosted options, including a self-hosted dashboard.
Compare the numbers side by side, or add more projects
This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.