llm-router: measurement-selected single-model policy (Arena 75.75, Robustness 100.00) - #192
Open
ypollak2 wants to merge 1 commit into
Open
llm-router: measurement-selected single-model policy (Arena 75.75, Robustness 100.00)#192ypollak2 wants to merge 1 commit into
ypollak2 wants to merge 1 commit into
Conversation
Arena 75.75, accuracy 78.51%, $0.4905/1k, robustness 100.00 on the full split (8,400 queries, 0 abnormal), graded with this repo's harness. Replaces our llm-router entry at 71.26 Arena / 30.00 robustness. Model selected by screening 26 priced models on an external corpus of 27 public datasets, audited SHA-256 exact plus MinHash near-duplicate against all 9,613 evaluation questions at overlap_count 0 on every source. Five routing mechanisms were built and each lost to a well-chosen constant on held-out data, so this reports the constant rather than a router the evidence does not support. No RouterArena prompt, answer, label or outcome informs the selection. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01M2B44YcXSnukbGQJVDMZLR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
llm-router: measurement-selected single-model policy
Replaces our
llm-routerentry. Graded locally with this repo's own harness on the full split.Model:
gemini-3-flash-previewon every query.Why this is a single model and not a router
We built five routing mechanisms and each lost to a well-chosen constant on held-out data:
qwen3.8,qwen3-coder:30b)The pattern is consistent: on this benchmark, at this pool, which model you choose matters far
more than choosing per query. The per-query oracle is 87.09, so the headroom is real — we could
not reach it with any method that survives a distribution shift from our training corpus to
RouterArena's.
Rather than ship a router the evidence does not support, this submission reports the constant
those experiments identified. The contribution is the selection method, not a routing policy.
How the model was selected
(29,693 items), audited SHA-256 exact plus MinHash near-duplicate against all 9,613
RouterArena evaluation questions at
overlap_count: 0on every source.all 13 skill clusters. This mattered: our first screen used capped output and mispriced
verbose models by up to 23.7× (
kimi-k2.5emits 1,086 tokens uncapped, not the ~60 acapped screen suggests), which inverted the ranking.
Compliance
No RouterArena prompt, answer, label or outcome informs the selection. Training and
selection used the external corpus only; RouterArena data was used solely to measure frozen
policies, never to choose between them.
Two contaminations were found and discarded during this work, both self-reported here because
the alternative is a number we cannot defend:
both a cost penalty and a pool choice. Every cost was re-measured on external prompts before
this submission was built.
Files
router_inference/config/llm-router-g3.jsonrouter_inference/predictions/llm-router-g3.json(8,400 rows)router_inference/predictions/llm-router-g3-robustness.json(420 rows)Both pass
check_config_prediction_files.pyon their respective splits.🤖 Generated with Claude Code
https://claude.ai/code/session_01M2B44YcXSnukbGQJVDMZLR