Skip to content

Commit ea55b97

Browse files
dsfacciniclaudealexmojaki
authored
feat: add Qwen3 Max Thinking to OpenRouter (#279)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Alex Hall <alex.mojaki@gmail.com>
1 parent 5f2a7bd commit ea55b97

File tree

5 files changed

+16
-5
lines changed

5 files changed

+16
-5
lines changed

packages/js/src/data.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16033,7 +16033,14 @@ export const data: Provider[] = [
1603316033
id: 'qwen/qwen3-max',
1603416034
name: 'Qwen 3 Max',
1603516035
match: {
16036-
equals: 'qwen/qwen3-max',
16036+
or: [
16037+
{
16038+
equals: 'qwen/qwen3-max',
16039+
},
16040+
{
16041+
equals: 'qwen/qwen3-max-thinking',
16042+
},
16043+
],
1603716044
},
1603816045
prices: {
1603916046
input_mtok: 1.2,

packages/python/genai_prices/data.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9003,7 +9003,9 @@
90039003
),
90049004
ModelInfo(
90059005
id='qwen/qwen3-max',
9006-
match=ClauseEquals(equals='qwen/qwen3-max'),
9006+
match=ClauseOr(
9007+
or_=[ClauseEquals(equals='qwen/qwen3-max'), ClauseEquals(equals='qwen/qwen3-max-thinking')]
9008+
),
90079009
name='Qwen 3 Max',
90089010
prices=ModelPrice(input_mtok=Decimal('1.2'), output_mtok=Decimal('6')),
90099011
),

prices/data.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

prices/data_slim.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

prices/providers/openrouter.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3846,7 +3846,9 @@ models:
38463846
- id: qwen/qwen3-max
38473847
name: Qwen 3 Max
38483848
match:
3849-
equals: qwen/qwen3-max
3849+
or:
3850+
- equals: qwen/qwen3-max
3851+
- equals: qwen/qwen3-max-thinking
38503852
prices:
38513853
input_mtok: 1.20
38523854
output_mtok: 6.00

0 commit comments

Comments
 (0)