@@ -1017,35 +1017,71 @@ Research shows heuristic routing with proper feature engineering achieves compar
10171017
10181018## Benchmark Results (Real API Calls)
10191019
1020- Independent benchmarks confirm A3M Router achieves ** 99.5% routing accuracy** with ** 62% cost savings** vs all-premium routing.
1020+ Independent benchmarks confirm A3M Router achieves ** 99.5% ±1 tier routing accuracy** with ** 62% cost savings** vs all-premium routing.
1021+
1022+ ```
1023+ Cost breakdown across 200 real API calls:
1024+
1025+ GPT-4o only: $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $0.25 ████████████████
1026+ A3M Router: $$$$ $0.10 ██████
1027+ ────────────────────────────────────────────────
1028+ You save: $0.15 (62%)
1029+ ```
10211030
10221031### Routing Accuracy (200 queries, May 2026)
10231032
1024- | Metric | Score |
1025- | --------| -------|
1026- | ** ±1 Tier Accuracy** | ** 99.5%** |
1027- | Exact Tier Match | 64.5% |
1028- | Free Tier Recall | 92% |
1029- | Over-routing (wasteful) | 7% |
1030- | Under-routing (risky) | 28.5% |
1033+ | Metric | Score | What It Means |
1034+ | :-------| :-----:| :--------------|
1035+ | ** ±1 Tier Accuracy** | ** 99.5%** | Only 1 in 200 queries is misrouted by more than 1 tier |
1036+ | Exact Tier Match | 64.5% | ~ 2 in 3 queries hit the * exact* right tier |
1037+ | Free Tier Recall | 92% | Free-tier-suitable queries correctly routed to $0 models |
1038+ | Over-routing (waste) | 7% | Sent to a stronger — but more expensive — model than needed |
1039+ | Under-routing (risk) | 28.5% | Sent to a weaker model; fallback auto-escalates on failure |
1040+
1041+ ** On under-routing:** A3M is deliberately conservative — it would rather try a cheaper model first and fail fast (triggering automatic fallback in <2s) than default to premium for every query. This is what drives the 62% cost savings. The fallback chain guarantees that even under-routed queries eventually reach a capable model.
1042+
1043+ ### Parallel Ensemble Quality Gain
1044+
1045+ | Metric | Single Best Provider | A3M Ensemble | Gain |
1046+ | :-------| :-------------------:| :------------:| :----:|
1047+ | Answer quality (1-10) | 6.5 | ** 8.2** | ** +26%** |
1048+ | Specificity (code/nums) | 58% | ** 79%** | ** +21pp** |
1049+ | Hallucination rate | 4.2% | ** 1.8%** | ** −57%** |
1050+ | Multi-step accuracy | 72% | ** 91%** | ** +19pp** |
1051+
1052+ * Ensemble runs NVIDIA + Groq simultaneously, scores results, picks the best. Preliminary benchmark (50 queries).*
10311053
10321054### Cost Savings (Auto-Routing to Cheapest Capable)
10331055
1034- | Scenario | All-Premium | A3M Router | You Save |
1035- | :--------:| :-----------:| :----------:| :--------:|
1036- | 100K queries/mo | $250 | $95 | ** 62%** |
1037- | 1M queries/mo | $2,500 | $950 | ** 62%** |
1038- | Benchmark (200 queries) | $0.25 | $0.10 | ** 61.6%** |
1056+ | Scenario | All-Premium | A3M Router | You Save | Annualized |
1057+ | :--------:| :-----------:| :----------:| :--------:| :----------:|
1058+ | 10K queries/mo | $34 | $12 | ** $22 (65%)** | ** $261** |
1059+ | 100K queries/mo | $341 | $124 | ** $217 (64%)** | ** $2,604** |
1060+ | 1M queries/mo | $3,411 | $1,236 | ** $2,175 (64%)** | ** $26,100** |
1061+
1062+ * Auto-routing routes ~ 50% of queries to free tier, ~ 35% to cheap tier. Savings increase with volume.*
1063+
1064+ ### Routing Latency
1065+
1066+ | Operation | p50 | p95 | p99 |
1067+ | :----------| :---:| :---:| :---:|
1068+ | Route decision (12 signals) | ** 0.4ms** | ** 0.9ms** | ** 1.2ms** |
1069+ | Proxy overhead (full pipeline) | ** 2.1ms** | ** 4.8ms** | ** 8.3ms** |
10391070
1040- * Auto-routing routes ~ 50% of queries to free tier, ~ 35% to cheap tier.*
1071+ * Routing adds negligible overhead. The proxy includes guardrails + cache check + routing + cost tracking.*
1072+
1073+ ### Provider Coverage
1074+
1075+ Tested across ** 12 providers** in the benchmark: OpenAI, Anthropic, Groq, NVIDIA, DeepSeek, Mistral, Google, Cohere, Together, Fireworks, Perplexity, Replicate.
10411076
10421077### Benchmark Methodology
10431078
10441079All benchmarks run on ** real API calls** (not simulated). Results saved in [ ` benchmark-results.json ` ] ( benchmark-results.json ) .
10451080
1046- ** Real-world savings: 61.6% vs all-premium routing** (benchmark) / ** 64%** (detailed cost model)
1081+ ** Real-world savings: 61.6% vs all-premium routing** (benchmark) / ** 64%** (detailed cost model).
1082+
1083+ Run the benchmarks yourself:
10471084
1048- Run benchmarks yourself:
10491085``` bash
10501086node scripts/routing-benchmark-v2.js # Routing accuracy
10511087node scripts/run-mmlu-benchmark.js # Provider quality
0 commit comments