Skip to content

Commit b825e67

Browse files
Subhajit dasSubhajit das
authored andcommitted
Add MMLU/quality benchmarks — real API calls, Groq Allam 87%, Llama 80%
1 parent f16cd50 commit b825e67

3 files changed

Lines changed: 820 additions & 53 deletions

File tree

‎README.md‎

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -267,22 +267,26 @@ Benchmarks from public model evaluations. Costs from provider pricing pages. **C
267267

268268
### Real Benchmark Results (May 2026)
269269

270-
We ran 10 questions against each provider via real API calls. All providers are **100% free tier**:
271-
272-
| Provider | Model | Avg Latency | Output Quality | Status |
273-
|----------|-------|:-----------:|:--------------:|:------:|
274-
| **Fastest** |
275-
| Groq | Allam 2 7B | **142ms** | 295 chars | ✅ |
276-
| Groq | Llama 3.1 8B | **211ms** | 280 chars | ✅ |
277-
| Groq | Llama 3.3 70B | 353ms | 290 chars | ✅ |
278-
| Cerebras | Llama 3.1 8B | 376ms | 127 chars | ✅ |
279-
| Cerebras | Qwen 3 235B | 377ms | ~37 chars | ✅ |
280-
| Groq | Qwen 3 32B | 476ms | 446 chars | ✅ |
281-
| Groq | Compound Mini | 2,889ms | 388 chars | ✅ |
282-
283-
> **May 2026** — Real API benchmark: 10 questions per provider, all successful. Latency measured from US West coast. Full results in [`benchmark-results.json`](benchmark-results.json).
284-
285-
> Note: OpenCode (`opencode serve`) runs a web UI, not an OpenAI-compatible API proxy. For API access use Groq or Cerebras directly.
270+
We ran **MMLU-style questions** and **quality tests** against each provider via real API calls. All providers are **100% free tier**:
271+
272+
| Provider | MMLU Accuracy | Quality Score | Notes |
273+
|----------|:-------------:|:-------------:|-------|
274+
| **Groq Allam 2 7B** | **87%** | 9.4/10 | Best overall — fast + accurate |
275+
| **Groq Llama 3.1 8B** | 80% | 9.4/10 | Fastest at 211ms, great value |
276+
| **Groq Llama 3.3 70B** | 80% | 9.4/10 | Best for complex reasoning |
277+
| Cerebras Llama 3.1 8B | 33% | 1.3/10 | Lower capability, short outputs |
278+
| Cerebras Qwen 3 235B | 33% | 1.3/10 | Large model, lower free-tier limits |
279+
280+
> **May 2026** — 15 MMLU questions + 8 quality questions per provider via real API. Run `node scripts/run-mmlu-benchmark.js` to replicate. Results in [`benchmark-results.json`](benchmark-results.json).
281+
282+
| Metric | A3M Router | RouteLLM |
283+
|--------|:----------:|:--------:|
284+
| ±1 tier accuracy | **99.5%** | ~85% |
285+
| Package size | **19.5 KB** | ~1.5 GB |
286+
| GPU required | **No** | Yes |
287+
| MMLU accuracy (free tier) | 80-87% | N/A |
288+
289+
> Full benchmark data including per-question responses available in [`benchmark-results.json`](benchmark-results.json).
286290
287291
### Why This Matters for Routing
288292

0 commit comments

Comments
 (0)