Skip to content

Commit 466286d

Browse files
ZhenghuaBaoclaude
andcommitted
Register orcarouter-adaptive model pool in name + cost registries
Add prefix→bare mappings (universal_model_names.py) and cost entries (model_cost/model_cost.json) for the 5 pool models not already present. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent cefac61 commit 466286d

2 files changed

Lines changed: 39 additions & 0 deletions

File tree

model_cost/model_cost.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,26 @@
238238
"openai/gpt-4o": {
239239
"input_token_price_per_million": 2.5,
240240
"output_token_price_per_million": 10.0
241+
},
242+
"claude-haiku-4-5-20251001": {
243+
"input_token_price_per_million": 1.0,
244+
"output_token_price_per_million": 5.0
245+
},
246+
"claude-sonnet-4": {
247+
"input_token_price_per_million": 3.0,
248+
"output_token_price_per_million": 15.0
249+
},
250+
"deepseek-chat": {
251+
"input_token_price_per_million": 0.27,
252+
"output_token_price_per_million": 1.10
253+
},
254+
"qwen3-235b-a22b-instruct-2507": {
255+
"input_token_price_per_million": 0.50,
256+
"output_token_price_per_million": 2.00
257+
},
258+
"qwen3-30b-a3b-instruct-2507": {
259+
"input_token_price_per_million": 0.15,
260+
"output_token_price_per_million": 0.60
241261
}
242262

243263
}

universal_model_names.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,30 @@
9292
"qwen/qwen3.5-flash-02-23",
9393
"deepseek/deepseek-v4-flash",
9494
"moonshotai/kimi-k2.5",
95+
# OrcaRouter pool additions
96+
"claude-sonnet-4",
97+
"claude-haiku-4-5-20251001",
98+
"deepseek-chat",
99+
"deepseek-reasoner",
100+
"gemini-2.5-flash-lite",
101+
"qwen3-235b-a22b-instruct-2507",
102+
"qwen3-30b-a3b-instruct-2507",
95103
]
96104

97105

98106
mapping: dict[str, str] = {
99107
# this mapping is for the model names in your config file to be converted to universal model names that is supported in our pipeline.
108+
# OrcaRouter provider-prefixed → bare forms (used by arena-eval pipeline)
109+
"anthropic/claude-sonnet-4": "claude-sonnet-4",
110+
"anthropic/claude-haiku-4-5-20251001": "claude-haiku-4-5-20251001",
111+
"deepseek/deepseek-chat": "deepseek-chat",
112+
"deepseek/deepseek-reasoner": "deepseek-reasoner",
113+
"google/gemini-2.5-flash": "gemini-2.5-flash",
114+
"google/gemini-2.5-flash-lite": "gemini-2.5-flash-lite",
115+
"openai/gpt-4o-mini": "gpt-4o-mini",
116+
"openai/gpt-5-mini": "gpt-5-mini",
117+
"alibaba/qwen3-235b-a22b-instruct-2507": "qwen3-235b-a22b-instruct-2507",
118+
"alibaba/qwen3-30b-a3b-instruct-2507": "qwen3-30b-a3b-instruct-2507",
100119
}
101120

102121

0 commit comments

Comments
 (0)