You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
authored
Fix Grok 4.1 Fast → Grok 4.3 mispricing on the leaderboard (#172)
xAI retired `grok-4-1-fast-reasoning` on 2026-05-15 and silently redirects it
to grok-4.3 (low reasoning), which is stronger and ~5-6x pricier. Submissions
that selected the retired slug via xAI/OpenRouter were served grok-4.3 but
billed at the retired slug's $0.20/$0.50 price, inflating their cost-aware
Arena scores. Reported and audited by @loswald (thanks!).
Fix (prices the model that actually answered, not the requested alias):
- model_cost.json: add `grok-4.3` and `x-ai/grok-4.3` at $1.25/$2.50.
- evaluate_models.py: add `has_price()`; factor the cost lookup into
`_lookup_cost_info()`.
- run.py: bill by `generated_result.model_used` when it is present and priced,
else the router's selected model. Redirected slugs are now billed correctly.
- check_config_prediction_files.py: preflight warning for retired/redirected
slugs (guardrail #1 from the issue).
Precision (only provably-redirected rows change; Azure-hosted Grok 4.1 is left
alone):
- cross-router 217 rows (openrouter, model_used=x-ai/grok-4.3) -> repriced
- vllm-sr 257 rows (openrouter, model_used=x-ai/grok-4.3) -> repriced
- nadir-tumbler 3571 rows (xAI, model_used absent): backfilled
model_used=x-ai/grok-4.3 (retired slug + 2026-07-04 generation date) so the
same mechanism reprices it. Team to be notified.
- azure-model-router (4803) and nadir-cascade-v2 (3101): provider=azure, NOT
subject to the xAI redirect -> unchanged.
Leaderboard (accuracy held fixed, affected calls billed at grok-4.3):
- Cross-Router 76.12 -> 75.75 ($0.30 -> $0.40/1K) stays #1
- vLLM-SR 75.30 -> 74.86 ($0.30 -> $0.42/1K) #2 -> #3
- Nadir-Tumbler 75.17 -> 73.44 ($0.08 -> $0.37/1K) #4 -> #5
Co-authored-by: Louie Lu <yl231@datalab2.cs.rice.edu>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments