Skip to content

Commit 2fd528d

Browse files
committed
🔧 fix(providers): update model specs and add DInference provider
- Update Claude Sonnet/Opus 4.6 context window: 200K → 1M tokens (Bedrock) - Add GPT-5.4 Nano/Mini to Azure/Azure Cognitive/GitHub Copilot - Set GPT-5.4 Mini as default for GitHub Copilot, Nano for Azure - Remove incorrect "reasoning" capability from Command R+, c4ai-aya, Cohere models - Remove incorrect "function_calling" from Cohere vision models - Fix MiniMax model ID capitalization: minimax-m2.5 → MiniMax-M2.5 - Update Ch
1 parent e4aaf46 commit 2fd528d

23 files changed

Lines changed: 689 additions & 73 deletions

‎packages/core/data/providers/alibaba-cn.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"releaseDate": "2026-02-16"
6565
},
6666
{
67-
"id": "minimax-m2.5",
67+
"id": "MiniMax-M2.5",
6868
"name": "MiniMax-M2.5",
6969
"contextWindow": 204800,
7070
"maxOutput": 131072,

‎packages/core/data/providers/amazon-bedrock.json‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
{
1515
"id": "eu.anthropic.claude-sonnet-4-6",
1616
"name": "Claude Sonnet 4.6 (EU)",
17-
"contextWindow": 200000,
17+
"contextWindow": 1000000,
1818
"maxOutput": 64000,
1919
"inputPrice": 3,
2020
"outputPrice": 15,
@@ -31,7 +31,7 @@
3131
{
3232
"id": "anthropic.claude-sonnet-4-6",
3333
"name": "Claude Sonnet 4.6",
34-
"contextWindow": 200000,
34+
"contextWindow": 1000000,
3535
"maxOutput": 64000,
3636
"inputPrice": 3,
3737
"outputPrice": 15,
@@ -63,7 +63,7 @@
6363
{
6464
"id": "global.anthropic.claude-sonnet-4-6",
6565
"name": "Claude Sonnet 4.6 (Global)",
66-
"contextWindow": 200000,
66+
"contextWindow": 1000000,
6767
"maxOutput": 64000,
6868
"inputPrice": 3,
6969
"outputPrice": 15,
@@ -80,7 +80,7 @@
8080
{
8181
"id": "us.anthropic.claude-sonnet-4-6",
8282
"name": "Claude Sonnet 4.6 (US)",
83-
"contextWindow": 200000,
83+
"contextWindow": 1000000,
8484
"maxOutput": 64000,
8585
"inputPrice": 3,
8686
"outputPrice": 15,
@@ -130,7 +130,7 @@
130130
{
131131
"id": "global.anthropic.claude-opus-4-6-v1",
132132
"name": "Claude Opus 4.6 (Global)",
133-
"contextWindow": 200000,
133+
"contextWindow": 1000000,
134134
"maxOutput": 128000,
135135
"inputPrice": 5,
136136
"outputPrice": 25,
@@ -147,7 +147,7 @@
147147
{
148148
"id": "us.anthropic.claude-opus-4-6-v1",
149149
"name": "Claude Opus 4.6 (US)",
150-
"contextWindow": 200000,
150+
"contextWindow": 1000000,
151151
"maxOutput": 128000,
152152
"inputPrice": 5,
153153
"outputPrice": 25,
@@ -164,7 +164,7 @@
164164
{
165165
"id": "anthropic.claude-opus-4-6-v1",
166166
"name": "Claude Opus 4.6",
167-
"contextWindow": 200000,
167+
"contextWindow": 1000000,
168168
"maxOutput": 128000,
169169
"inputPrice": 5,
170170
"outputPrice": 25,
@@ -181,7 +181,7 @@
181181
{
182182
"id": "eu.anthropic.claude-opus-4-6-v1",
183183
"name": "Claude Opus 4.6 (EU)",
184-
"contextWindow": 200000,
184+
"contextWindow": 1000000,
185185
"maxOutput": 128000,
186186
"inputPrice": 5,
187187
"outputPrice": 25,

‎packages/core/data/providers/azure-cognitive-services.json‎

Lines changed: 37 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,42 @@
1111
"systemMessage": true
1212
},
1313
"models": [
14+
{
15+
"id": "gpt-5.4-nano",
16+
"name": "GPT-5.4 Nano",
17+
"contextWindow": 400000,
18+
"maxOutput": 128000,
19+
"inputPrice": 0.2,
20+
"outputPrice": 1.25,
21+
"capabilities": [
22+
"chat",
23+
"vision",
24+
"function_calling",
25+
"json_mode",
26+
"reasoning",
27+
"streaming"
28+
],
29+
"default": true,
30+
"releaseDate": "2026-03-17"
31+
},
32+
{
33+
"id": "gpt-5.4-mini",
34+
"name": "GPT-5.4 Mini",
35+
"contextWindow": 400000,
36+
"maxOutput": 128000,
37+
"inputPrice": 0.75,
38+
"outputPrice": 4.5,
39+
"capabilities": [
40+
"chat",
41+
"vision",
42+
"function_calling",
43+
"json_mode",
44+
"reasoning",
45+
"streaming"
46+
],
47+
"default": false,
48+
"releaseDate": "2026-03-17"
49+
},
1450
{
1551
"id": "gpt-5.4-pro",
1652
"name": "GPT-5.4 Pro",
@@ -25,7 +61,7 @@
2561
"reasoning",
2662
"streaming"
2763
],
28-
"default": true,
64+
"default": false,
2965
"releaseDate": "2026-03-05"
3066
},
3167
{
@@ -1088,7 +1124,6 @@
10881124
"capabilities": [
10891125
"chat",
10901126
"function_calling",
1091-
"reasoning",
10921127
"streaming"
10931128
],
10941129
"default": false,
@@ -1104,7 +1139,6 @@
11041139
"capabilities": [
11051140
"chat",
11061141
"function_calling",
1107-
"reasoning",
11081142
"streaming"
11091143
],
11101144
"default": false,

‎packages/core/data/providers/azure.json‎

Lines changed: 37 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,42 @@
1111
"systemMessage": true
1212
},
1313
"models": [
14+
{
15+
"id": "gpt-5.4-nano",
16+
"name": "GPT-5.4 Nano",
17+
"contextWindow": 400000,
18+
"maxOutput": 128000,
19+
"inputPrice": 0.2,
20+
"outputPrice": 1.25,
21+
"capabilities": [
22+
"chat",
23+
"vision",
24+
"function_calling",
25+
"json_mode",
26+
"reasoning",
27+
"streaming"
28+
],
29+
"default": true,
30+
"releaseDate": "2026-03-17"
31+
},
32+
{
33+
"id": "gpt-5.4-mini",
34+
"name": "GPT-5.4 Mini",
35+
"contextWindow": 400000,
36+
"maxOutput": 128000,
37+
"inputPrice": 0.75,
38+
"outputPrice": 4.5,
39+
"capabilities": [
40+
"chat",
41+
"vision",
42+
"function_calling",
43+
"json_mode",
44+
"reasoning",
45+
"streaming"
46+
],
47+
"default": false,
48+
"releaseDate": "2026-03-17"
49+
},
1450
{
1551
"id": "gpt-5.4",
1652
"name": "GPT-5.4",
@@ -26,7 +62,7 @@
2662
"reasoning",
2763
"streaming"
2864
],
29-
"default": true,
65+
"default": false,
3066
"releaseDate": "2026-03-05"
3167
},
3268
{
@@ -1157,7 +1193,6 @@
11571193
"capabilities": [
11581194
"chat",
11591195
"function_calling",
1160-
"reasoning",
11611196
"streaming"
11621197
],
11631198
"default": false,
@@ -1173,7 +1208,6 @@
11731208
"capabilities": [
11741209
"chat",
11751210
"function_calling",
1176-
"reasoning",
11771211
"streaming"
11781212
],
11791213
"default": false,

‎packages/core/data/providers/chutes.json‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
"name": "Qwen3.5 397B A17B TEE",
3434
"contextWindow": 262144,
3535
"maxOutput": 65536,
36-
"inputPrice": 0.3,
37-
"outputPrice": 1.2,
36+
"inputPrice": 0.39,
37+
"outputPrice": 2.34,
3838
"capabilities": [
3939
"chat",
4040
"vision",
@@ -51,8 +51,8 @@
5151
"name": "MiniMax M2.5 TEE",
5252
"contextWindow": 196608,
5353
"maxOutput": 65536,
54-
"inputPrice": 0.15,
55-
"outputPrice": 0.6,
54+
"inputPrice": 0.3,
55+
"outputPrice": 1.1,
5656
"capabilities": [
5757
"chat",
5858
"function_calling",
@@ -68,8 +68,8 @@
6868
"name": "GLM 5 TEE",
6969
"contextWindow": 202752,
7070
"maxOutput": 65535,
71-
"inputPrice": 0.75,
72-
"outputPrice": 2.5,
71+
"inputPrice": 0.95,
72+
"outputPrice": 3.15,
7373
"capabilities": [
7474
"chat",
7575
"function_calling",
@@ -282,8 +282,8 @@
282282
"name": "GLM 4.6 TEE",
283283
"contextWindow": 202752,
284284
"maxOutput": 65536,
285-
"inputPrice": 0.35,
286-
"outputPrice": 1.5,
285+
"inputPrice": 0.4,
286+
"outputPrice": 1.7,
287287
"capabilities": [
288288
"chat",
289289
"function_calling",
@@ -479,10 +479,10 @@
479479
{
480480
"id": "deepseek-ai/DeepSeek-V3.2-TEE",
481481
"name": "DeepSeek V3.2 TEE",
482-
"contextWindow": 163840,
482+
"contextWindow": 131072,
483483
"maxOutput": 65536,
484-
"inputPrice": 0.25,
485-
"outputPrice": 0.38,
484+
"inputPrice": 0.28,
485+
"outputPrice": 0.42,
486486
"capabilities": [
487487
"chat",
488488
"function_calling",

‎packages/core/data/providers/cohere.json‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767
"capabilities": [
6868
"chat",
6969
"function_calling",
70-
"reasoning",
7170
"streaming"
7271
],
7372
"default": false,
@@ -83,7 +82,6 @@
8382
"capabilities": [
8483
"chat",
8584
"vision",
86-
"function_calling",
8785
"streaming"
8886
],
8987
"default": false,
@@ -99,7 +97,6 @@
9997
"capabilities": [
10098
"chat",
10199
"vision",
102-
"function_calling",
103100
"streaming"
104101
],
105102
"default": false,
@@ -129,7 +126,6 @@
129126
"outputPrice": 0,
130127
"capabilities": [
131128
"chat",
132-
"function_calling",
133129
"streaming"
134130
],
135131
"default": false,
@@ -144,7 +140,6 @@
144140
"outputPrice": 0,
145141
"capabilities": [
146142
"chat",
147-
"function_calling",
148143
"streaming"
149144
],
150145
"default": false,
@@ -160,7 +155,6 @@
160155
"capabilities": [
161156
"chat",
162157
"function_calling",
163-
"reasoning",
164158
"streaming"
165159
],
166160
"default": false,
@@ -176,7 +170,6 @@
176170
"capabilities": [
177171
"chat",
178172
"function_calling",
179-
"reasoning",
180173
"streaming"
181174
],
182175
"default": false,
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"id": "dinference",
3+
"name": "DInference",
4+
"type": "openai-compatible",
5+
"apiKeyEnv": "DINFERENCE_API_KEY",
6+
"features": {
7+
"streaming": true,
8+
"toolUse": true,
9+
"vision": false,
10+
"jsonMode": false,
11+
"systemMessage": true
12+
},
13+
"models": [
14+
{
15+
"id": "glm-5",
16+
"name": "GLM-5",
17+
"contextWindow": 200000,
18+
"maxOutput": 128000,
19+
"inputPrice": 0.75,
20+
"outputPrice": 2.4,
21+
"capabilities": [
22+
"chat",
23+
"function_calling",
24+
"reasoning",
25+
"streaming"
26+
],
27+
"default": true,
28+
"releaseDate": "2026-02"
29+
},
30+
{
31+
"id": "glm-4.7",
32+
"name": "GLM-4.7",
33+
"contextWindow": 200000,
34+
"maxOutput": 128000,
35+
"inputPrice": 0.45,
36+
"outputPrice": 1.65,
37+
"capabilities": [
38+
"chat",
39+
"function_calling",
40+
"reasoning",
41+
"streaming"
42+
],
43+
"default": false,
44+
"releaseDate": "2025-12"
45+
},
46+
{
47+
"id": "gpt-oss-120b",
48+
"name": "GPT OSS 120B",
49+
"contextWindow": 131072,
50+
"maxOutput": 32768,
51+
"inputPrice": 0.0675,
52+
"outputPrice": 0.27,
53+
"capabilities": [
54+
"chat",
55+
"function_calling",
56+
"streaming"
57+
],
58+
"default": false,
59+
"releaseDate": "2025-08"
60+
}
61+
],
62+
"baseUrl": "https://api.dinference.com/v1",
63+
"docsUrl": "https://dinference.com"
64+
}

0 commit comments

Comments
 (0)