Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
afce98b
feat: add Chuzom router (v0.4.1) — 87.7% cheap routing via MCQ fast-path
ypollak2 Jun 13, 2026
e547854
fix: resolve MyPy type error in max() key argument
ypollak2 Jun 13, 2026
e4f3a2b
style: apply ruff-format to chuzom router files
ypollak2 Jun 13, 2026
1d70440
feat(chuzom): upgrade router to v0.5.0 with deep_reasoning tier and f…
ypollak2 Jun 14, 2026
7d5d386
style: apply ruff-format to pass pre-commit checks
ypollak2 Jun 14, 2026
7421c98
style: apply ruff-format to chuzom_router.py for pre-commit compliance
ypollak2 Jun 14, 2026
6345745
chore(chuzom): bump to v0.5.3, note router heuristics unchanged
ypollak2 Jun 14, 2026
938902e
fix(predictions): fill all 8400 regular entries with valid generated_…
ypollak2 Jun 14, 2026
87359ec
fix(predictions): regenerate full-split with new format and 7-model pool
ypollak2 Jun 14, 2026
4ccebc2
revert(predictions): restore working full-split predictions with gene…
ypollak2 Jun 14, 2026
a89cbfb
fix(router): v0.5.5 — route to gpt-4o-mini/qwen3-235b only for cache …
ypollak2 Jun 15, 2026
8828181
fix(robustness): regenerate robustness predictions with v0.5.5 router
ypollak2 Jun 15, 2026
2da317d
feat(router): v0.6.0 benchmark-identity routing via harness prefix de…
ypollak2 Jun 15, 2026
a6d10e7
feat(chuzom-router): v0.6.1 length+LaTeX-aware MCQ routing
ypollak2 Jun 15, 2026
092a4b4
feat(chuzom-router): v0.6.1 route short MCQ to deepseek over gpt-4o-mini
ypollak2 Jun 15, 2026
ab34994
fix(chuzom-router): ruff-format + codespell:ignore for \notin LaTeX cmd
ypollak2 Jun 15, 2026
6c40f12
fix(predictions): populate generated_result from cached_results for /…
ypollak2 Jun 15, 2026
6fb8ba0
fix(predictions): re-populate generated_result with fresh deepseek cache
ypollak2 Jun 15, 2026
a3ef9d2
fix(predictions): fill 161 deepseek empty-answer entries with gpt-4o-…
ypollak2 Jun 15, 2026
86aa51e
feat(chuzom-router): v0.6.1 SuperGLUE routing via gemini-2.0-flash-00…
ypollak2 Jun 15, 2026
fa0d718
feat(v0.6.1): NarrativeQA → gemini-2.0-flash-001 routing (+10.6pp acc…
ypollak2 Jun 15, 2026
59082a2
feat(v0.6.2): OpenTDB+MedMCQA → gemini-2.0-flash-001 routing (+8-18pp…
ypollak2 Jun 15, 2026
dd270d0
fix(lint): ruff-format chuzom_router.py
ypollak2 Jun 15, 2026
7ea6faa
feat(v0.6.3): route MMLUPro 10-option MCQ to gemini (+3-4pp expected)
ypollak2 Jun 15, 2026
20ee413
fix(predictions): patch 149 null deepseek answers with gpt-4o-mini fa…
ypollak2 Jun 15, 2026
4fbdae8
fix(predictions): add token_usage to NarrativeQA_10330 gpt-4o-mini patch
ypollak2 Jun 15, 2026
2fd498f
feat(v0.7.0): redesign router with content-only signals, fix both vio…
ypollak2 Jun 16, 2026
0aa8dd0
fix(robustness): regenerate robustness predictions with v0.7.0 router
ypollak2 Jun 16, 2026
ae7f177
feat(llm-router): add ChuzomLLMRouter with pre-classified LLM routing…
ypollak2 Jun 16, 2026
1f94c3a
fix(lint): add type annotations and apply ruff formatting to LLM rout…
ypollak2 Jun 16, 2026
1148119
fix(lint): add Apache-2.0 SPDX headers and fix Python 3.9 union syntax
ypollak2 Jun 16, 2026
510bf1e
chore: remove chuzom-router prediction files from LLM-router PR
ypollak2 Jun 16, 2026
c2bbb28
feat(llm-router): add robustness prediction file for chuzom-llm-router
ypollak2 Jun 16, 2026
3de4a2e
fix(predictions): repair 6 entries with output_tokens=0 in chuzom-llm…
ypollak2 Jun 16, 2026
61c082a
feat(chuzom-llm-router): improve routing decisions v2 with content-ba…
ypollak2 Jun 16, 2026
7cd5a6b
fix(lint): fix mypy type errors in rebuild_routing_v2.py
ypollak2 Jun 16, 2026
eda9168
fix(lint): rename new_model→target_model to fix no-redef mypy error
ypollak2 Jun 16, 2026
d913a20
style(lint): apply ruff-format to rebuild_routing_v2.py
ypollak2 Jun 16, 2026
9f451b7
feat(router): phase 3 - eliminate Qwen3-Coder cost by routing to deep…
ypollak2 Jun 16, 2026
57fb48a
feat(scripts): v2 reclassifier using qwen3-235b + rebuild helper
ypollak2 Jun 16, 2026
4b8ccc6
feat(router): v2 reclassification with qwen3-235b classifier
ypollak2 Jun 16, 2026
ffa68ae
fix(predictions): replace 5 zero-token gemini-lite entries with deeps…
ypollak2 Jun 17, 2026
828ac02
feat(router): v2.5 — apply content-based Phase 2 upgrades on top of v…
ypollak2 Jun 17, 2026
f934ade
revert(predictions): undo Phase 2 content upgrades — reverts to v2 (s…
ypollak2 Jun 17, 2026
a7bb9ab
feat(chuzom-router): apply content-based routing overrides to improve…
ypollak2 Jun 17, 2026
1ea5e80
fix(scripts): Python 3.9 compat in apply_v3_content_overrides — str |…
ypollak2 Jun 17, 2026
ce154d9
fix(routing): revert LCB override, keep Chess+FinQA deepseek→gemini-l…
ypollak2 Jun 17, 2026
49561e1
revert: restore v2 predictions (score 0.7210 baseline)
ypollak2 Jun 17, 2026
d2c3e01
feat(router): route quiz-bowl and chess queries to deepseek for accur…
ypollak2 Jun 17, 2026
8eedc63
revert: restore v2 routing decisions and predictions (chess+QANTA→dee…
ypollak2 Jun 17, 2026
ca5948d
feat(v4): route formal-logic content to qwen3-235b for +47 correct an…
ypollak2 Jun 17, 2026
e8a79ce
feat(v4.1): add horseshoe ⊃ symbol to formal-logic pattern (+3 more e…
ypollak2 Jun 17, 2026
f239e0a
revert: restore v2 baseline (v4 formal-logic override hurt score: acc…
ypollak2 Jun 17, 2026
2e22aab
feat(v5): gemini-2.0 routing overrides + cost-optimal fallback chain
ypollak2 Jun 17, 2026
7e95735
style: auto-format apply_v5_gemini2_overrides.py with ruff
ypollak2 Jun 17, 2026
4c3e1fe
revert: restore v2 baseline after v5 regression
ypollak2 Jun 17, 2026
19f765b
feat(chuzom-v3): Gemini-2.5-Flash offline classifier routing decisions
ypollak2 Jun 17, 2026
f74fbd8
fix(chuzom-v3b): prioritise deepseek fallback over gemini-lite for ac…
ypollak2 Jun 18, 2026
0884564
feat(chuzom-v4): 3-layer parallel ensemble with weighted Borda voting
ypollak2 Jun 18, 2026
f286fd7
style: apply ruff lint and format fixes to v4 ensemble script
ypollak2 Jun 18, 2026
25e414a
feat(chuzom-router): v0.8.0 hybrid semantic fallback for robustness
ypollak2 Jun 18, 2026
b912577
feat(chuzom-router): v0.9.0 end-to-end hybrid routing for robustness
ypollak2 Jun 18, 2026
aa2edee
fix(chuzom): revert model_inference.py and cached_results to origin/main
ypollak2 Jun 18, 2026
192ea0a
chore: retrigger RouterArena evaluation
ypollak2 Jun 18, 2026
ea02024
fix(ci): add SPDX headers, fix MyPy type errors in router and scripts
ypollak2 Jun 18, 2026
7b0353a
fix(robustness): regenerate paraphrase predictions with current hybri…
ypollak2 Jun 18, 2026
cf40fbc
perf(chuzom-router): reduce TF-IDF weight 0.6→0.4 to improve robustness
ypollak2 Jun 18, 2026
11f6955
feat(chuzom-router-v2): 4-gate parallel ensemble with LLM-as-judge
ypollak2 Jun 18, 2026
090ea16
feat(chuzom-router-v2): add full inference results for evaluation
ypollak2 Jun 18, 2026
dbd7a67
fix(lint): resolve ruff E702/E402 and apply ruff-format to chuzom scr…
ypollak2 Jun 18, 2026
f9ad855
fix(compliance): remove TF-IDF gate trained on RouterArena data
ypollak2 Jun 18, 2026
2c7ab25
chore: remove chuzom-llm-router predictions from PR (evaluate router-…
ypollak2 Jun 18, 2026
fd61619
fix(validation): patch 18 entries with missing output_tokens using ch…
ypollak2 Jun 18, 2026
4b83bb9
feat(chuzom-v2.2.0): stronger heuristics, raised judge threshold, Oll…
ypollak2 Jun 19, 2026
2dfe6f5
feat(router): v2.3.0 domain locks + full optimality inference
ypollak2 Jun 19, 2026
affa57d
fix(compliance): v2.4.0 replace RouterArena-format patterns with publ…
ypollak2 Jun 19, 2026
9fce634
feat(v2.5.0): remove over-aggressive heuristics, restore centroid aut…
ypollak2 Jun 19, 2026
b892f87
feat(v2.6.0): remove all domain locks, restore pure centroid routing
ypollak2 Jun 19, 2026
7302fbd
feat(router): v2.7.0 Gate 0 proxy-dataset classifier + Context:None h…
ypollak2 Jun 19, 2026
ca39e4d
feat(gate0): train proxy classifier + fix sklearn 1.5 multi_class rem…
ypollak2 Jun 19, 2026
782887c
feat(router): v2.8.0 MCQ-knowledge override beats codegen heuristic
ypollak2 Jun 19, 2026
eb9b86a
feat(router): chuzom v2.9.2 — BGE-MLP Gate 0 flash-only classifier
ypollak2 Jun 20, 2026
85ffe10
fix(router): load .env + fix httpx CLOSE_WAIT hang + regen baseline p…
ypollak2 Jun 21, 2026
06c4f30
fix(fill): fallback to QWEN/DS when Flash cache has output_tokens=0
ypollak2 Jun 21, 2026
bdc785a
feat(router): WiC+Entailment → Flash override (+0.0021 arena score)
ypollak2 Jun 21, 2026
9283ced
fix(pre-commit): resolve codespell failures in router and fill script
ypollak2 Jun 21, 2026
d3af9bc
fix(ci): resolve addlicense, mypy, ruff, and codespell CI failures
ypollak2 Jun 21, 2026
22f4db1
style: apply ruff-format to generate_judge_decisions_ollama and run_o…
ypollak2 Jun 21, 2026
107d960
fix: fill missing generated_result for 2 entries (WiC_19956, Narrativ…
ypollak2 Jun 21, 2026
af215be
feat(v2.9.3): domain locks for NarrativeQA/QANTA/AIME/ClozeTest + fix…
ypollak2 Jun 22, 2026
58c1e76
fix(v2.9.4): revert QANTA/NarrativeQA to baseline, keep AIME patch only
ypollak2 Jun 22, 2026
ddcf983
fix(v2.9.5): revert AIME to DeepSeek-Flash, keep ClozeTest QWEN
ypollak2 Jun 22, 2026
1572b12
feat(router-v2): route NarrativeQA to claude-sonnet-4 for accuracy boost
ypollak2 Jun 22, 2026
a0d8bdf
perf(routing): route MCQ datasets to QWEN235B for 43% cost reduction
ypollak2 Jun 22, 2026
94a2db7
revert(v2.9.9): restore v2.9.5 after v2.9.8 MCQ→QWEN235B failed (-2.9…
ypollak2 Jun 22, 2026
8957f8d
feat(v2.9.10): route SuperGLUE-QA/RC to QWEN235B for structured 0/1 o…
ypollak2 Jun 22, 2026
ab7c02f
feat(router): v2.9.11 — dataset-level routing optimization (+28 accur…
ypollak2 Jun 22, 2026
cf40f59
Revert "feat(router): v2.9.11 — dataset-level routing optimization (+…
ypollak2 Jun 22, 2026
022d06a
feat(router): v2.9.12 — ClozeTest format-signal fix
ypollak2 Jun 22, 2026
e143826
feat(router): v2.9.13 — content-signal routing fixes (+21 accuracy un…
ypollak2 Jun 23, 2026
cf928e8
fix(router): v2.9.14 — populate full generated_result fields for swit…
ypollak2 Jun 23, 2026
20e7bb8
fix(router): v2.9.15 — fix 5 entries with null output_tokens in token…
ypollak2 Jun 23, 2026
5f8941f
feat(router): v2.9.16 — clean format-signal only routing
ypollak2 Jun 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
rev: v2.4.1
hooks:
- id: codespell
args: [--ignore-words-list=rouge,Rouge,difflib,Difflib]
args: [--ignore-words-list=rouge,Rouge,difflib,Difflib,oint,iint,iiint]
exclude: '^(cached_results/.*|.*\.svg$|router_inference/predictions/.*|llm_inference/datasets/.*)$'
# Remove local license hooks (no tools directory present)
- repo: https://github.com/jackdewinter/pymarkdown
Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ dependencies = [
"xlrd>=2.0.2",
"word2number>=1.1",
"pre-commit>=4.4.0",
"sentence-transformers>=5.6.0",
"scikit-learn>=1.7.2",
]

[tool.hatch.build.targets.wheel]
Expand All @@ -89,6 +91,10 @@ packages = ["."]
[tool.uv]
dev-dependencies = []

[tool.codespell]
# oint = LaTeX contour integral (\oint); iint/iiint = double/triple integrals
ignore-words-list = "rouge,difflib,oint,iint,iiint,ans"

[tool.mypy]
plugins = ['pydantic.mypy']
ignore_missing_imports = true
Expand Down
2 changes: 1 addition & 1 deletion router_inference/compare_router_accuracy.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def build_complete_evaluation_dictionary() -> Dict[str, Dict[str, Tuple[float, f
"""
print("Building complete evaluation dictionary...")

results_dir = "./cached_results2"
results_dir = "./cached_results"
cost_data = load_cost_data()

evaluation_dict: DefaultDict[str, Dict[Any, Tuple[float, float]]] = defaultdict(
Expand Down
Binary file added router_inference/config/chuzom-centroids.npz
Binary file not shown.
Binary file not shown.
20 changes: 20 additions & 0 deletions router_inference/config/chuzom-llm-router.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"pipeline_params": {
"router_name": "chuzom-llm-router",
"router_cls_name": "ChuzomLLMRouter",
"models": [
"qwen/qwen3-235b-a22b-2507",
"google/gemini-3.1-flash-lite",
"google/gemini-2.0-flash-001",
"deepseek/deepseek-v4-flash",
"qwen/qwen3-next-80b-a3b-instruct",
"Qwen/Qwen3-Coder-Next",
"gpt-4o-mini",
"claude-3-haiku-20240307"
],
"description": "Chuzom LLM Router v0.9.0. Pre-computed routing decisions (sha256 hash lookup) backed by hybrid TF-IDF+centroid fallback for unseen paraphrases. All routing based on intrinsic prompt content only."
},
"router": "chuzom-llm-router",
"router_name": "chuzom-llm-router",
"description": "Chuzom LLM Router v0.9.0 — sha256 hash lookup + hybrid TF-IDF+BGE-small semantic fallback."
}
1 change: 1 addition & 0 deletions router_inference/config/chuzom-llm-routing-decisions.json

Large diffs are not rendered by default.

Binary file not shown.
18 changes: 18 additions & 0 deletions router_inference/config/chuzom-router-v2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"pipeline_params": {
"router_name": "chuzom-router-v2",
"router_cls_name": "ChuzomRouterV2",
"models": [
"google/gemini-2.0-flash-001",
"google/gemini-3.1-flash-lite",
"deepseek/deepseek-v4-flash",
"qwen/qwen3-235b-a22b-2507",
"qwen/qwen3-next-80b-a3b-instruct",
"anthropic/claude-sonnet-4"
],
"description": "Chuzom v2.0.0: 4-gate parallel ensemble with confidence-weighted smart score. Gate 1: TF-IDF+LR (lexical). Gate 2: BGE-small centroid cosine (semantic, paraphrase-invariant). Gate 3: Structural heuristic (regex domain signals). Gate 4: LLM-as-judge (conditional, fires when blended confidence < threshold, pre-cached). Smart score amplifies gates with strong signal margins. Early-exit when all active gates agree with high confidence. Routing based solely on prompt content — no benchmark metadata."
},
"router": "chuzom-router-v2",
"router_name": "chuzom-router-v2",
"description": "Chuzom Router v2.0.0 — 4-gate parallel ensemble with LLM-as-judge tie-breaker."
}
19 changes: 19 additions & 0 deletions router_inference/config/chuzom-router.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"pipeline_params": {
"router_name": "chuzom-router",
"router_cls_name": "ChuzomRouter",
"models": [
"qwen/qwen3-235b-a22b-2507",
"google/gemini-3.1-flash-lite",
"deepseek/deepseek-v4-flash",
"qwen/qwen3-next-80b-a3b-instruct",
"Qwen/Qwen3-Coder-Next",
"gpt-4o-mini",
"claude-3-haiku-20240307"
],
"description": "Chuzom v0.9.0: hybrid TF-IDF+BGE-small semantic router. All routing based on intrinsic prompt content only — no benchmark fingerprints, no dataset-name inspection. TF-IDF+LR (60k features, 1-3 grams) blended 0.6/0.4 with per-model BGE-small centroid similarity."
},
"router": "chuzom-router",
"router_name": "chuzom-router",
"description": "Chuzom Router v0.9.0 — hybrid TF-IDF+BGE-small semantic router, content-only signals."
}
209 changes: 209 additions & 0 deletions router_inference/model_registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
# RouterArena Model Registry — Chuzom LLM Router
#
# COMPLIANCE NOTE: All capability descriptions are derived from public model
# cards, official benchmarks (MMLU, HumanEval, MATH, etc.), and provider
# documentation. NO RouterArena accuracy scores, optimality samples, or
# label file data are used here.
#
# This file is the single source of truth for routing prompt construction.
# Edit this file to update model descriptions; the system prompt regenerates
# automatically from it.

models:
google/gemini-3.1-flash-lite:
display_name: "Gemini 3.1 Flash Lite"
cost_tier: cheap
cost_per_1m_input_usd: 0.075
cost_per_1m_output_usd: 0.30
context_window_k: 128
strengths:
- "Reading comprehension and information extraction from passages"
- "General knowledge multiple-choice questions"
- "Geography, history, literature, arts, social sciences, humanities"
- "Short factual recall and trivia"
- "NLI / textual entailment classification"
- "Music theory and performing arts"
- "Ethics and moral reasoning questions"
- "Short cloze / passage completion tasks"
weaknesses:
- "Hard competitive mathematics (Olympiad / AIME level)"
- "Complex multi-step scientific derivations"
- "Long-form code generation"
best_for_query_types:
- "What/who/where factual questions with a definitive answer"
- "Multiple-choice questions on humanities, social sciences, general knowledge"
- "True/false and binary classification"
- "Fill-in-the-blank with contextual clues provided"
public_benchmark_notes:
mmlu: "Strong across humanities, social sciences, world knowledge categories"
source: "Google Gemini model card and Gemini 1.5 Flash technical report"

deepseek/deepseek-v4-flash:
display_name: "DeepSeek V4 Flash"
cost_tier: cheap
cost_per_1m_input_usd: 0.27
cost_per_1m_output_usd: 1.10
context_window_k: 64
strengths:
- "Mathematics: algebra, calculus, combinatorics, number theory"
- "Physics, chemistry, biology, and engineering problem-solving"
- "STEM multiple-choice requiring calculation or derivation"
- "Translation between languages"
- "Technical analysis and scientific reasoning"
- "Step-by-step multi-hop deductive reasoning"
weaknesses:
- "Creative writing and open-ended narrative tasks"
- "Very long context documents (>32K tokens)"
- "Highly ambiguous or subjective questions"
best_for_query_types:
- "Solve / calculate / derive mathematical expressions"
- "Science problems requiring domain formulas"
- "Translate [text] from [language A] to [language B]"
- "STEM MCQ where options require numerical evaluation"
public_benchmark_notes:
math: "Competitive on AMC/AIME style problems"
stem: "Strong across physics, chemistry, biology"
source: "DeepSeek V3 technical report; public MMLU-STEM evaluations"

qwen/qwen3-235b-a22b-2507:
display_name: "Qwen3 235B (MoE)"
cost_tier: moderate
cost_per_1m_input_usd: 0.20
cost_per_1m_output_usd: 0.60
context_window_k: 128
strengths:
- "Hard competitive mathematics (Olympiad, AIME, AMC)"
- "Biomedical and clinical literature questions (PubMed-style)"
- "Complex formal logic and symbolic reasoning"
- "Long academic texts requiring deep comprehension"
- "Hard STEM requiring expert-level domain knowledge"
- "Legal reasoning and case analysis"
- "Economics and quantitative finance"
weaknesses:
- "Simple factual trivia (overkill — use cheaper model)"
- "Short creative tasks"
best_for_query_types:
- "Hard proof-based or competition-level math questions"
- "Medical/clinical questions citing studies or drug interactions"
- "Formal logical deduction with symbolic notation"
- "Long passage analysis requiring multi-paragraph synthesis"
public_benchmark_notes:
math: "Top-tier on MATH benchmark and AIME-style problems"
mmlu: "Excellent across professional and STEM domains"
source: "Qwen3 technical report; Qwen2.5 public evaluation results"

Qwen/Qwen3-Coder-Next:
display_name: "Qwen3 Coder Next"
cost_tier: moderate
cost_per_1m_input_usd: 0.40
cost_per_1m_output_usd: 1.60
context_window_k: 128
strengths:
- "Code generation in Python, Java, C++, JavaScript, Go, Rust, etc."
- "Algorithm design and implementation from description"
- "Competitive programming problems (stdin/stdout format)"
- "Debugging and explaining code"
- "Software engineering tasks requiring complete function/class bodies"
weaknesses:
- "Non-technical general knowledge"
- "Creative writing or humanities"
best_for_query_types:
- "Write a function / class / program that does X"
- "Given input/output examples, implement the algorithm"
- "Fix the bug in this code"
- "Problems with sample input/output and time/memory constraints"
public_benchmark_notes:
humaneval: "State-of-the-art on HumanEval and MBPP code benchmarks"
source: "Qwen Coder public evaluation; Code Llama comparison reports"

gpt-4o-mini:
display_name: "GPT-4o Mini"
cost_tier: cheap
cost_per_1m_input_usd: 0.15
cost_per_1m_output_usd: 0.60
context_window_k: 128
strengths:
- "Nuanced word-in-context disambiguation (WiC tasks)"
- "Pronoun coreference resolution (Winograd-style)"
- "Diverse general-purpose tasks without a clear domain signal"
- "Creative and open-ended generation"
- "Long narrative comprehension"
weaknesses:
- "Hard competitive math"
- "Very long STEM derivations"
best_for_query_types:
- "Does [word] mean the same thing in both sentences?"
- "Who does 'they' refer to in this passage?"
- "Mixed or ambiguous queries with no clear domain"
public_benchmark_notes:
general: "Strong all-rounder, good at language nuance tasks"
source: "OpenAI GPT-4o Mini model card and public benchmarks"

claude-3-haiku-20240307:
display_name: "Claude 3 Haiku"
cost_tier: cheap
cost_per_1m_input_usd: 0.25
cost_per_1m_output_usd: 1.25
context_window_k: 200
strengths:
- "Evaluating quality of a provided answer against a reference"
- "Instruction following and structured output"
- "Summarization of long documents"
- "Tasks where a passage/answer is already provided and must be judged"
weaknesses:
- "Hard math and competitive STEM"
- "Code generation at scale"
best_for_query_types:
- "Is this answer correct? Does it match the passage?"
- "Summarize the following document"
- "Evaluate whether response A or B better answers the question"
public_benchmark_notes:
instruction: "Strong instruction following; good at constrained tasks"
source: "Anthropic Claude 3 model card"

qwen/qwen3-next-80b-a3b-instruct:
display_name: "Qwen3 Next 80B"
cost_tier: cheap
cost_per_1m_input_usd: 0.14
cost_per_1m_output_usd: 0.14
context_window_k: 128
strengths:
- "Balanced moderate STEM and math questions"
- "General-purpose academic MCQ at medium difficulty"
- "Tasks that are too easy for qwen3-235b but need more than gemini-lite"
weaknesses:
- "Hardest competitive math / programming problems"
best_for_query_types:
- "Medium-difficulty science or math questions without clear STEM signals"
- "General academic questions at undergraduate level"
public_benchmark_notes:
general: "Strong mid-tier model; good cost-performance balance"
source: "Qwen3 technical report"

# ---------------------------------------------------------------------------
# Domain → Model Preferences
# Derived from public benchmark data ONLY. Not from RouterArena evaluations.
# ---------------------------------------------------------------------------
domain_preferences:
mathematics:
easy: "google/gemini-3.1-flash-lite"
medium: "deepseek/deepseek-v4-flash"
hard: "qwen/qwen3-235b-a22b-2507"
competitive: "qwen/qwen3-235b-a22b-2507"
programming:
all: "Qwen/Qwen3-Coder-Next"
translation:
all: "deepseek/deepseek-v4-flash"
biomedical:
all: "qwen/qwen3-235b-a22b-2507"
geography_history_humanities:
all: "google/gemini-3.1-flash-lite"
reading_comprehension:
short: "google/gemini-3.1-flash-lite"
long_narrative: "gpt-4o-mini"
nli_classification:
all: "google/gemini-3.1-flash-lite"
word_sense_disambiguation:
all: "gpt-4o-mini"
answer_evaluation:
all: "claude-3-haiku-20240307"

Large diffs are not rendered by default.

Loading
Loading