Skip to content

Add nadir-caliper: consensus-verified cascade from Nadir Lab (true grok-4.3 prices; supersedes nadir-tumbler) - #173

Open
doramirdor wants to merge 1 commit into
RouteWorks:mainfrom
doramirdor:nadir-caliper-submission
Open

Add nadir-caliper: consensus-verified cascade from Nadir Lab (true grok-4.3 prices; supersedes nadir-tumbler)#173
doramirdor wants to merge 1 commit into
RouteWorks:mainfrom
doramirdor:nadir-caliper-submission

Conversation

@doramirdor

Copy link
Copy Markdown
Contributor

Submission from Nadir Lab (https://getnadir.com, https://github.com/NadirRouter, info@getnadir.com).

This is the rerun invited in #166 / #172 after the grok-4.1-fast retirement repricing. It supersedes our nadir-tumbler entry; we would appreciate the leaderboard keeping a single Nadir Lab row pointed at this submission, with the affiliation shown as Nadir Lab linking to https://getnadir.com.

What the router is

Menu: qwen/qwen3-235b-a22b-2507, google/gemini-3.1-flash-lite, grok-4.3, plus deepseek/deepseek-v3.2 only as a declared per-row probe fallback (44 rows, see below).

Decision rule per prompt (fully deterministic, no learned scores at inference):

  1. Two cheap probes. qwen3-235b and gemini-3.1-flash-lite both answer the raw prompt at temperature 0.
  2. Agreement gate. If their extracted final answers agree, ship qwen (the cheaper of the agreeing pair; the answers are identical). This covers 69.4% of traffic.
  3. Arbitration. If they disagree, grok-4.3 (low reasoning effort) answers, and the router ships the cheapest model whose extracted answer the arbiter confirms. If it confirms neither, grok-4.3 is shipped.
  4. Declared fallbacks. Where gemini-3.1-flash-lite generation was persistently rate-limited (44 rows, 0.5%), deepseek-v3.2 substitutes as probe-B under the identical logic. No row is ever emitted without a self-generated response from the shipped model.

Shipped distribution: qwen 74.6%, grok-4.3 16.0%, gemini-3.1-flash-lite 9.4%, deepseek-v3.2 4 rows. The cost fields sum to $1.814978 ($0.2161/1K) at the current model_cost.json prices, computed from recorded token usage.

Training data policy (evaluation-only compliance)

  • Zero RouterArena data in any fitting step. Every design choice (the probe pair, the arbiter model, the branch policy, the fallback ordering) was selected on RouterBench only: our June labeling runs (12,000 RouterBench prompts, self-generated and graded) extended with a gemini-3.1-flash-lite labeling run on the same audited prompt set, evaluated family-grouped out-of-fold at current model prices, and frozen before any RouterArena prompt was routed.
  • Alternatives were tested and rejected on RouterBench under a pre-registered criterion, not cherry-picked afterward: gpt-5-mini as arbiter (rejected: lower accuracy at higher cost on a 600-row disagreement sample) and two other probe pairings (rejected on the full labeled set). The adopted pair cleared its pre-registered paired bootstrap test (delta arena +0.75, 95% CI +0.15 to +1.38, n=8,802).
  • The >=30% downroute product constraint from our previous submission is retained (measured: 84% of traffic ships below grok-4.3).
  • Contamination: the RouterBench labeling prompts are the same hash-audited set as our prior submission (0 overlaps with the 8,400 main and 420 robustness prompts, SHA-256 over normalized text).

Provenance (adopting the guardrails proposed in #166)

  • All responses are self-generated with temperature 0, byte-exact prompts, and recorded token usage. No rows or signals are borrowed from other submissions.
  • Rows generated on 2026-08-05 (all gemini-3.1-flash-lite rows, 269 grok-4.3 rows, and all robustness-split generations) carry per-row requested_model, model_used, provider, and invoked_at inside generated_result, via OpenRouter, which echoes the served model.
  • The remaining grok-4.3 rows reuse our June/July xAI generations. Those calls requested the retired grok-4-1-fast-reasoning slug after xAI's May 15 redirect and therefore resolved to grok-4.3 with low reasoning effort, as established in Leaderboard integrity: retired Grok 4.1 Fast slug silently resolved to Grok 4.3 at the old price #166. They are declared as grok-4.3 and costed at grok-4.3 prices. We match the same low reasoning effort on all new grok-4.3 calls for consistency.
  • qwen and deepseek rows are our June OpenRouter generations (provider recorded at batch level; per-row timestamps were not captured before 2026-08-05).

Note for maintainers: grok-4.3 registration

PR #172 added grok-4.3 to model_cost.json but universal_model_names.py does not register it, so the submission preflight rejects the very model the corrected leaderboard prices. This PR includes the one-line registration (after grok-4-1-fast-reasoning). Cross-Router and vLLM-SR will need the same line for their invited reruns; feel free to take that change separately if you prefer.

Robustness

nadir-caliper-robustness.json is a genuine re-run of the identical rule on the 420 perturbed prompts, with freshly generated probe responses (both probes) and freshly generated arbiter responses wherever the perturbed probes disagreed. Decision flips relative to the main split: 85 of 420 (flip-stability 79.76% by global_utils/robustness.py). No decisions were copied from the main split.

Cost accounting disclosure

As with our previous submission, the benchmark charges only the shipped model. For transparency: in production this router pays for both probes on every query and the arbiter on the 30.6% of queries where the probes disagree, about $0.47 per 1K queries at list prices, versus $0.76 for always running grok-4.3. The benchmark-charged figure ($0.2161/1K) reflects the shipped models only.

On the accounting discrepancy flagged in #166 for our previous artifact: the committed file's cost fields sum to $0.887913, and compute_scores.py reproduces that number, while the PR evaluation recorded $0.633785. We believe the delta is the evaluator recomputing output tokens from visible text, which drops grok's billed reasoning tokens. This artifact states its exact sum above so there is no ambiguity; we are happy to help reconcile either way.

Files

  • router_inference/config/nadir-caliper.json
  • router_inference/predictions/nadir-caliper.json (8,400 rows, generated_result populated, provenance fields on 2026-08-05 rows)
  • router_inference/predictions/nadir-caliper-robustness.json (420 rows, decisions only)
  • universal_model_names.py (one line: register grok-4.3)

Both check_config_prediction_files.py gates pass locally (full and robustness).

Contact: info@getnadir.com. Thanks again to the maintainers and the #166 auditors; the repricing was fair, and the provenance fields in this artifact are our attempt to make the next audit trivial.

🤖 Generated with Claude Code

…des nadir-tumbler)

Rerun at true grok-4.3 prices per the RouteWorks#166/RouteWorks#172 invitation. Two cheap probes
(qwen3-235b + gemini-3.1-flash-lite), agreement gate, grok-4.3 arbiter.
All fitting on RouterBench only, frozen before routing; per-row provenance
(requested_model, model_used, provider, invoked_at) on new generations.
Also registers grok-4.3 in universal_model_names.py, which RouteWorks#172 priced but
did not register.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@doramirdor

Copy link
Copy Markdown
Contributor Author

/evaluate

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

Router Evaluation Results

Router: nadir-caliper
Dataset Split: full

RouterArena Metrics

Metric Value
RouterArena Score 0.7455
Accuracy 75.84%
Total Cost $1.814978
Avg Cost per Query $0.000216
Avg Cost per 1K Queries $0.2161
Number of Queries 8400
Abnormal Entries 0
Robustness Score 0.7976

Evaluation completed by RouterArena automated workflow

@doramirdor

Copy link
Copy Markdown
Contributor Author

Heads-up: we have submitted #174 (nadir-caliper-2), which supersedes this PR per the RouterBench-only branch analysis described there. Please treat #174 as Nadir Lab's intended entry; this PR can be closed in its favor once #174 is evaluated. Apologies for the churn, and thanks for your patience.

@doramirdor

Copy link
Copy Markdown
Contributor Author

Following up on our earlier comment: #174 evaluated below this submission (74.10 vs 74.55), so we have withdrawn it. Please disregard the supersede note above; this PR (nadir-caliper, 74.55) is Nadir Lab's entry and is ready to merge whenever convenient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant