You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(Results): Restructure Results section as comprehensive academic-style presentation
- Results section now contains ALL evaluations: RouterArena, MMR-Bench, Local Evaluation, Official Baseline Status
- Moved Local Evaluation from Getting Started into Results (proper academic structure)
- Added explicit interpretation of RouterArena Score, Robustness, Abnormal entries
- Added MMR-Bench as a standalone subsection with its own results table
- Added methodology paragraph to Local Evaluation explaining query labeling protocol
- Replaced verbose tier accuracy text with structured Tier Accuracy Breakdown table
- Added Cost and Latency table with interpretation of +236ms overhead
- Added CLI subsection back to Getting Started for discoverability
- Section flow: Results → Architecture → Provider Coverage → Getting Started → API → Config
Copy file name to clipboardExpand all lines: README.md
+72-31Lines changed: 72 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ A3M Router is a stateless proxy that routes LLM requests across 47+ providers us
10
10
11
11
### RouterArena (ICLR 2025)
12
12
13
-
RouterArena evaluates LLM routers on query-level routing decisions against ground-truth model selections. A3M was evaluated in the official RouterArena benchmark suite.
13
+
RouterArena evaluates LLM routers on query-level routing decisions against ground-truth model selections. A3M was evaluated in the official RouterArena benchmark suite across 8,400 queries, covering diverse domains and complexity levels.
14
14
15
15
| Metric | Value |
16
16
|--------|-------|
@@ -21,21 +21,80 @@ RouterArena evaluates LLM routers on query-level routing decisions against groun
21
21
| Abnormal entries | 0 |
22
22
| Total queries evaluated | 8,400 |
23
23
24
+
**Score** is RouterArena's composite metric combining routing accuracy, robustness, and cost efficiency. **Robustness = 1.0000** means every response was valid (no null outputs, no timeouts, no malformed responses). **Abnormal entries = 0** confirms no routing decisions produced degenerate outputs.
MMR-Bench evaluates multimodal routing performance across diverse LLM tasks. A3M was adopted as an official baseline.
36
+
37
+
| Metric | Value |
38
+
|--------|-------|
39
+
| Exact tier match | 67% |
40
+
| Cost savings vs all-premium | 63.5% |
41
+
| Robustness | 0.86 |
42
+
43
+
**Reference:**Hunter-Wrynn/MMR-Bench#4 (merged)
44
+
45
+
### Local Evaluation (n=200, no API key required)
46
+
47
+
The local benchmark uses a held-out set of 200 queries labeled by complexity tier (free / cheap / mid / premium). Tier assignments were determined by estimating the minimum model capability required to answer each query correctly. Routing decisions are compared against these ground-truth labels.
Mid-tier queries are the primary source of errors. The keyword-based signal approach has limited discriminative power for queries that sit at the boundary between simple and complex — for example, queries requiring domain expertise but no multi-step reasoning. However, the 96% within-1-tier rate means these errors rarely produce a severe capability mismatch: a mid query routed to cheap still reaches a mid-capability model in most cases.
65
+
66
+

67
+
68
+

69
+
70
+
#### Cost and Latency
71
+
72
+
| Metric | Value |
73
+
|--------|-------|
74
+
| Cost per 1K tokens (RouterArena) | $0.0768 |
75
+
| Cost savings vs all-premium (MMR-Bench) | 63.5% |
76
+
| A3M Auto routing overhead vs direct | +236ms |
77
+
| A3M Forced routing overhead vs direct | +96ms |
78
+
79
+
The +236ms overhead for auto routing is dominated by the routing decision itself (+140ms) and proxy forwarding (+96ms), not network latency to the target provider. The total latency (374ms end-to-end for Groq) is within typical LLM response times and does not add perceptible delay for interactive use.
npx a3m-router benchmark # run local accuracy test (n=200)
250
+
npx a3m-router health # provider health status and latency
192
251
```
193
252
194
-
### Local Benchmark (n=200, no API key required)
195
-
196
-
| Metric | Value |
197
-
|--------|-------|
198
-
| Exact tier match | 67% |
199
-
| Within 1 tier | 96% |
200
-
| Cost savings vs all-premium | 62.9% |
201
-
202
-
**Tier accuracy breakdown:** Free queries are routed correctly 96% of the time (48/50). Cheap queries achieve 75% exact match (45/60), with the primary confusion being an upward bias — cheap queries routed to free tier (13 cases) rather than premium. Mid-tier accuracy is 36% (18/50), representing the primary weakness of the heuristic approach: mid-complexity queries are harder to classify precisely with keyword-based signals alone. Premium queries achieve 57.5% exact match (23/40), with most errors being under-routing to mid-tier (11 cases). The 96% within-1-tier rate means errors rarely result in a capability mismatch — a misrouted mid query still typically reaches a mid-capability model.
203
-
204
-

205
-
206
-

0 commit comments