Divyam router submission. - #175
Conversation
samikd
commented
Aug 11, 2026
new file: ../config/divyam-router.json new file: divyam-router-robustness.json new file: divyam-router.json
|
/evaluate |
|
Can someone please look into this: |
Issue: #176 (comment) |
|
/evaluate |
|
/evaluate |
|
/evaluate |
Router Evaluation ResultsRouter: RouterArena Metrics
Optimality Metrics
Evaluation completed by RouterArena automated workflow |
|
Really interesting submission. The routing pattern is striking: 8,280 of 8,400 queries, or 98.57%, go to On the complete 809-query optimality subset included in the artifact, simply choosing Gemini 3 Flash every time is actually slightly better:
However more importantly, the Gemini cost accounting appears incorrect. RouterArena recalculates cost using the submitted Google’s current price is correctly registered at $0.50/M input and $3/M output, but that output price explicitly [includes thinking tokens](https://ai.google.dev/gemini-api/docs/pricing#gemini-3-flash-preview). The issue is therefore the token quantities, not the price. There is a useful public control in the current #1 submission [Cross Router](#163). It used the same Gemini model on the same 148 ChessInstruct queries:
The answers are independently generated, with no exact response matches. However, the very similar accuracy makes the 2.8× difference in reported total usage worth resolving. Cross’s counts are the normal provider-style/tokenizer-style values rather than the whitespace estimator used here, although its artifact alone does not prove identical thinking settings. Could the submission be regenerated using Google’s returned |
Thank you for your insightful comments – I really appreciate the rigour. The evidence you've provided regarding cost calculation (2.8x cost difference) is compelling. I would take another look at the cost calculation and circle back. Until then, let me move this PR to a draft state. |
|
Summary. Google-path token counts in our earlier submission were estimated as 1. What changedBefore — inherited verbatim from the RouterArena reference implementation, which sets no thinking configuration and estimates both counts: input_tokens = len(prompt.split()) * 1.3
output_tokens = len(text.split()) * 1.3 if text else 0After — provider counts, with thought tokens folded into output to match Google's thinking-inclusive output price: input_tokens = usage.prompt_token_count
output_tokens = usage.candidates_token_count + usage.thoughts_token_countEach row now also records 2. Metering cross-checked against Cross Router submission for ChessInstructThe Cross Router submission ran the same Gemini model over the same 148 queries with its own implementation and its own generations.
Two independently written accounting paths, over independently generated responses, agree to within 0.8%. 3. Magnitude across splits
ChessInstruct and few other datasets with symbol-dense prompts affect the metering most. |
|
/evaluate |
|
/evaluate |
Router Evaluation ResultsRouter: RouterArena Metrics
Optimality Metrics
Evaluation completed by RouterArena automated workflow |
|
Merged and live — Divyam is #3 🥉 (Arena 75.85, accuracy 78.59%, $0.48/1K). The re-metered Google-path token counts resolved the earlier cost-accounting concern, and the faithfulness gap (+0.031) is clean. Thanks @samikd / @nilam-divyam — and your Node.js report is addressed in #176. |