@openeryc/pi-ai 0.75.45 → 0.75.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/models.generated.d.ts +227 -20
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +235 -31
- package/dist/models.generated.js.map +1 -1
- package/dist/providers/anthropic.d.ts.map +1 -1
- package/dist/providers/anthropic.js +47 -2
- package/dist/providers/anthropic.js.map +1 -1
- package/package.json +1 -1
package/dist/models.generated.js
CHANGED
|
@@ -157,6 +157,23 @@ export const MODELS = {
|
|
|
157
157
|
contextWindow: 1000000,
|
|
158
158
|
maxTokens: 128000,
|
|
159
159
|
},
|
|
160
|
+
"anthropic.claude-opus-4-8": {
|
|
161
|
+
id: "anthropic.claude-opus-4-8",
|
|
162
|
+
name: "Claude Opus 4.8",
|
|
163
|
+
api: "bedrock-converse-stream",
|
|
164
|
+
provider: "amazon-bedrock",
|
|
165
|
+
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
166
|
+
reasoning: true,
|
|
167
|
+
input: ["text", "image"],
|
|
168
|
+
cost: {
|
|
169
|
+
input: 5,
|
|
170
|
+
output: 25,
|
|
171
|
+
cacheRead: 0.5,
|
|
172
|
+
cacheWrite: 6.25,
|
|
173
|
+
},
|
|
174
|
+
contextWindow: 1000000,
|
|
175
|
+
maxTokens: 128000,
|
|
176
|
+
},
|
|
160
177
|
"anthropic.claude-sonnet-4-5-20250929-v1:0": {
|
|
161
178
|
id: "anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
162
179
|
name: "Claude Sonnet 4.5",
|
|
@@ -226,6 +243,23 @@ export const MODELS = {
|
|
|
226
243
|
contextWindow: 1000000,
|
|
227
244
|
maxTokens: 128000,
|
|
228
245
|
},
|
|
246
|
+
"au.anthropic.claude-opus-4-8": {
|
|
247
|
+
id: "au.anthropic.claude-opus-4-8",
|
|
248
|
+
name: "Claude Opus 4.8 (AU)",
|
|
249
|
+
api: "bedrock-converse-stream",
|
|
250
|
+
provider: "amazon-bedrock",
|
|
251
|
+
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
252
|
+
reasoning: true,
|
|
253
|
+
input: ["text", "image"],
|
|
254
|
+
cost: {
|
|
255
|
+
input: 5,
|
|
256
|
+
output: 25,
|
|
257
|
+
cacheRead: 0.5,
|
|
258
|
+
cacheWrite: 6.25,
|
|
259
|
+
},
|
|
260
|
+
contextWindow: 1000000,
|
|
261
|
+
maxTokens: 128000,
|
|
262
|
+
},
|
|
229
263
|
"au.anthropic.claude-sonnet-4-5-20250929-v1:0": {
|
|
230
264
|
id: "au.anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
231
265
|
name: "Claude Sonnet 4.5 (AU)",
|
|
@@ -381,6 +415,23 @@ export const MODELS = {
|
|
|
381
415
|
contextWindow: 1000000,
|
|
382
416
|
maxTokens: 128000,
|
|
383
417
|
},
|
|
418
|
+
"eu.anthropic.claude-opus-4-8": {
|
|
419
|
+
id: "eu.anthropic.claude-opus-4-8",
|
|
420
|
+
name: "Claude Opus 4.8 (EU)",
|
|
421
|
+
api: "bedrock-converse-stream",
|
|
422
|
+
provider: "amazon-bedrock",
|
|
423
|
+
baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
|
|
424
|
+
reasoning: true,
|
|
425
|
+
input: ["text", "image"],
|
|
426
|
+
cost: {
|
|
427
|
+
input: 5,
|
|
428
|
+
output: 25,
|
|
429
|
+
cacheRead: 0.5,
|
|
430
|
+
cacheWrite: 6.25,
|
|
431
|
+
},
|
|
432
|
+
contextWindow: 1000000,
|
|
433
|
+
maxTokens: 128000,
|
|
434
|
+
},
|
|
384
435
|
"eu.anthropic.claude-sonnet-4-5-20250929-v1:0": {
|
|
385
436
|
id: "eu.anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
386
437
|
name: "Claude Sonnet 4.5 (EU)",
|
|
@@ -485,6 +536,23 @@ export const MODELS = {
|
|
|
485
536
|
contextWindow: 1000000,
|
|
486
537
|
maxTokens: 128000,
|
|
487
538
|
},
|
|
539
|
+
"global.anthropic.claude-opus-4-8": {
|
|
540
|
+
id: "global.anthropic.claude-opus-4-8",
|
|
541
|
+
name: "Claude Opus 4.8 (Global)",
|
|
542
|
+
api: "bedrock-converse-stream",
|
|
543
|
+
provider: "amazon-bedrock",
|
|
544
|
+
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
545
|
+
reasoning: true,
|
|
546
|
+
input: ["text", "image"],
|
|
547
|
+
cost: {
|
|
548
|
+
input: 5,
|
|
549
|
+
output: 25,
|
|
550
|
+
cacheRead: 0.5,
|
|
551
|
+
cacheWrite: 6.25,
|
|
552
|
+
},
|
|
553
|
+
contextWindow: 1000000,
|
|
554
|
+
maxTokens: 128000,
|
|
555
|
+
},
|
|
488
556
|
"global.anthropic.claude-sonnet-4-5-20250929-v1:0": {
|
|
489
557
|
id: "global.anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
490
558
|
name: "Claude Sonnet 4.5 (Global)",
|
|
@@ -571,6 +639,23 @@ export const MODELS = {
|
|
|
571
639
|
contextWindow: 1000000,
|
|
572
640
|
maxTokens: 128000,
|
|
573
641
|
},
|
|
642
|
+
"jp.anthropic.claude-opus-4-8": {
|
|
643
|
+
id: "jp.anthropic.claude-opus-4-8",
|
|
644
|
+
name: "Claude Opus 4.8 (JP)",
|
|
645
|
+
api: "bedrock-converse-stream",
|
|
646
|
+
provider: "amazon-bedrock",
|
|
647
|
+
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
648
|
+
reasoning: true,
|
|
649
|
+
input: ["text", "image"],
|
|
650
|
+
cost: {
|
|
651
|
+
input: 5,
|
|
652
|
+
output: 25,
|
|
653
|
+
cacheRead: 0.5,
|
|
654
|
+
cacheWrite: 6.25,
|
|
655
|
+
},
|
|
656
|
+
contextWindow: 1000000,
|
|
657
|
+
maxTokens: 128000,
|
|
658
|
+
},
|
|
574
659
|
"jp.anthropic.claude-sonnet-4-5-20250929-v1:0": {
|
|
575
660
|
id: "jp.anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
576
661
|
name: "Claude Sonnet 4.5 (JP)",
|
|
@@ -1270,6 +1355,23 @@ export const MODELS = {
|
|
|
1270
1355
|
contextWindow: 1000000,
|
|
1271
1356
|
maxTokens: 128000,
|
|
1272
1357
|
},
|
|
1358
|
+
"us.anthropic.claude-opus-4-8": {
|
|
1359
|
+
id: "us.anthropic.claude-opus-4-8",
|
|
1360
|
+
name: "Claude Opus 4.8 (US)",
|
|
1361
|
+
api: "bedrock-converse-stream",
|
|
1362
|
+
provider: "amazon-bedrock",
|
|
1363
|
+
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
1364
|
+
reasoning: true,
|
|
1365
|
+
input: ["text", "image"],
|
|
1366
|
+
cost: {
|
|
1367
|
+
input: 5,
|
|
1368
|
+
output: 25,
|
|
1369
|
+
cacheRead: 0.5,
|
|
1370
|
+
cacheWrite: 6.25,
|
|
1371
|
+
},
|
|
1372
|
+
contextWindow: 1000000,
|
|
1373
|
+
maxTokens: 128000,
|
|
1374
|
+
},
|
|
1273
1375
|
"us.anthropic.claude-sonnet-4-5-20250929-v1:0": {
|
|
1274
1376
|
id: "us.anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
1275
1377
|
name: "Claude Sonnet 4.5 (US)",
|
|
@@ -1750,6 +1852,23 @@ export const MODELS = {
|
|
|
1750
1852
|
contextWindow: 1000000,
|
|
1751
1853
|
maxTokens: 128000,
|
|
1752
1854
|
},
|
|
1855
|
+
"claude-opus-4-8": {
|
|
1856
|
+
id: "claude-opus-4-8",
|
|
1857
|
+
name: "Claude Opus 4.8",
|
|
1858
|
+
api: "anthropic-messages",
|
|
1859
|
+
provider: "anthropic",
|
|
1860
|
+
baseUrl: "https://api.anthropic.com",
|
|
1861
|
+
reasoning: true,
|
|
1862
|
+
input: ["text", "image"],
|
|
1863
|
+
cost: {
|
|
1864
|
+
input: 5,
|
|
1865
|
+
output: 25,
|
|
1866
|
+
cacheRead: 0.5,
|
|
1867
|
+
cacheWrite: 6.25,
|
|
1868
|
+
},
|
|
1869
|
+
contextWindow: 1000000,
|
|
1870
|
+
maxTokens: 128000,
|
|
1871
|
+
},
|
|
1753
1872
|
"claude-sonnet-4-0": {
|
|
1754
1873
|
id: "claude-sonnet-4-0",
|
|
1755
1874
|
name: "Claude Sonnet 4 (latest)",
|
|
@@ -3732,8 +3851,8 @@ export const MODELS = {
|
|
|
3732
3851
|
cacheRead: 0,
|
|
3733
3852
|
cacheWrite: 0,
|
|
3734
3853
|
},
|
|
3735
|
-
contextWindow:
|
|
3736
|
-
maxTokens:
|
|
3854
|
+
contextWindow: 200000,
|
|
3855
|
+
maxTokens: 64000,
|
|
3737
3856
|
},
|
|
3738
3857
|
"claude-opus-4.5": {
|
|
3739
3858
|
id: "claude-opus-4.5",
|
|
@@ -3750,7 +3869,7 @@ export const MODELS = {
|
|
|
3750
3869
|
cacheRead: 0,
|
|
3751
3870
|
cacheWrite: 0,
|
|
3752
3871
|
},
|
|
3753
|
-
contextWindow:
|
|
3872
|
+
contextWindow: 200000,
|
|
3754
3873
|
maxTokens: 32000,
|
|
3755
3874
|
},
|
|
3756
3875
|
"claude-opus-4.6": {
|
|
@@ -3770,7 +3889,7 @@ export const MODELS = {
|
|
|
3770
3889
|
cacheWrite: 0,
|
|
3771
3890
|
},
|
|
3772
3891
|
contextWindow: 1000000,
|
|
3773
|
-
maxTokens:
|
|
3892
|
+
maxTokens: 32000,
|
|
3774
3893
|
},
|
|
3775
3894
|
"claude-opus-4.7": {
|
|
3776
3895
|
id: "claude-opus-4.7",
|
|
@@ -3788,7 +3907,25 @@ export const MODELS = {
|
|
|
3788
3907
|
cacheRead: 0,
|
|
3789
3908
|
cacheWrite: 0,
|
|
3790
3909
|
},
|
|
3791
|
-
contextWindow:
|
|
3910
|
+
contextWindow: 200000,
|
|
3911
|
+
maxTokens: 32000,
|
|
3912
|
+
},
|
|
3913
|
+
"claude-opus-4.8": {
|
|
3914
|
+
id: "claude-opus-4.8",
|
|
3915
|
+
name: "Claude Opus 4.8",
|
|
3916
|
+
api: "anthropic-messages",
|
|
3917
|
+
provider: "github-copilot",
|
|
3918
|
+
baseUrl: "https://api.individual.githubcopilot.com",
|
|
3919
|
+
headers: { "User-Agent": "GitHubCopilotChat/0.35.0", "Editor-Version": "vscode/1.107.0", "Editor-Plugin-Version": "copilot-chat/0.35.0", "Copilot-Integration-Id": "vscode-chat" },
|
|
3920
|
+
reasoning: true,
|
|
3921
|
+
input: ["text", "image"],
|
|
3922
|
+
cost: {
|
|
3923
|
+
input: 0,
|
|
3924
|
+
output: 0,
|
|
3925
|
+
cacheRead: 0,
|
|
3926
|
+
cacheWrite: 0,
|
|
3927
|
+
},
|
|
3928
|
+
contextWindow: 200000,
|
|
3792
3929
|
maxTokens: 64000,
|
|
3793
3930
|
},
|
|
3794
3931
|
"claude-sonnet-4.5": {
|
|
@@ -3807,7 +3944,7 @@ export const MODELS = {
|
|
|
3807
3944
|
cacheRead: 0,
|
|
3808
3945
|
cacheWrite: 0,
|
|
3809
3946
|
},
|
|
3810
|
-
contextWindow:
|
|
3947
|
+
contextWindow: 200000,
|
|
3811
3948
|
maxTokens: 32000,
|
|
3812
3949
|
},
|
|
3813
3950
|
"claude-sonnet-4.6": {
|
|
@@ -3882,7 +4019,7 @@ export const MODELS = {
|
|
|
3882
4019
|
cacheRead: 0,
|
|
3883
4020
|
cacheWrite: 0,
|
|
3884
4021
|
},
|
|
3885
|
-
contextWindow:
|
|
4022
|
+
contextWindow: 200000,
|
|
3886
4023
|
maxTokens: 64000,
|
|
3887
4024
|
},
|
|
3888
4025
|
"gemini-3.5-flash": {
|
|
@@ -3901,7 +4038,7 @@ export const MODELS = {
|
|
|
3901
4038
|
cacheRead: 0,
|
|
3902
4039
|
cacheWrite: 0,
|
|
3903
4040
|
},
|
|
3904
|
-
contextWindow:
|
|
4041
|
+
contextWindow: 200000,
|
|
3905
4042
|
maxTokens: 64000,
|
|
3906
4043
|
},
|
|
3907
4044
|
"gpt-4.1": {
|
|
@@ -3977,8 +4114,8 @@ export const MODELS = {
|
|
|
3977
4114
|
cacheRead: 0,
|
|
3978
4115
|
cacheWrite: 0,
|
|
3979
4116
|
},
|
|
3980
|
-
contextWindow:
|
|
3981
|
-
maxTokens:
|
|
4117
|
+
contextWindow: 400000,
|
|
4118
|
+
maxTokens: 128000,
|
|
3982
4119
|
},
|
|
3983
4120
|
"gpt-5.2-codex": {
|
|
3984
4121
|
id: "gpt-5.2-codex",
|
|
@@ -7111,6 +7248,23 @@ export const MODELS = {
|
|
|
7111
7248
|
contextWindow: 1000000,
|
|
7112
7249
|
maxTokens: 128000,
|
|
7113
7250
|
},
|
|
7251
|
+
"claude-opus-4-8": {
|
|
7252
|
+
id: "claude-opus-4-8",
|
|
7253
|
+
name: "Claude Opus 4.8",
|
|
7254
|
+
api: "anthropic-messages",
|
|
7255
|
+
provider: "opencode",
|
|
7256
|
+
baseUrl: "https://opencode.ai/zen",
|
|
7257
|
+
reasoning: true,
|
|
7258
|
+
input: ["text", "image"],
|
|
7259
|
+
cost: {
|
|
7260
|
+
input: 5,
|
|
7261
|
+
output: 25,
|
|
7262
|
+
cacheRead: 0.5,
|
|
7263
|
+
cacheWrite: 6.25,
|
|
7264
|
+
},
|
|
7265
|
+
contextWindow: 1000000,
|
|
7266
|
+
maxTokens: 128000,
|
|
7267
|
+
},
|
|
7114
7268
|
"claude-sonnet-4": {
|
|
7115
7269
|
id: "claude-sonnet-4",
|
|
7116
7270
|
name: "Claude Sonnet 4",
|
|
@@ -7886,24 +8040,6 @@ export const MODELS = {
|
|
|
7886
8040
|
contextWindow: 204800,
|
|
7887
8041
|
maxTokens: 131072,
|
|
7888
8042
|
},
|
|
7889
|
-
"qwen3.5-plus": {
|
|
7890
|
-
id: "qwen3.5-plus",
|
|
7891
|
-
name: "Qwen3.5 Plus",
|
|
7892
|
-
api: "openai-completions",
|
|
7893
|
-
provider: "opencode-go",
|
|
7894
|
-
baseUrl: "https://opencode.ai/zen/go/v1",
|
|
7895
|
-
compat: { "thinkingFormat": "qwen" },
|
|
7896
|
-
reasoning: true,
|
|
7897
|
-
input: ["text", "image"],
|
|
7898
|
-
cost: {
|
|
7899
|
-
input: 0.2,
|
|
7900
|
-
output: 1.2,
|
|
7901
|
-
cacheRead: 0.02,
|
|
7902
|
-
cacheWrite: 0.25,
|
|
7903
|
-
},
|
|
7904
|
-
contextWindow: 262144,
|
|
7905
|
-
maxTokens: 65536,
|
|
7906
|
-
},
|
|
7907
8043
|
"qwen3.6-plus": {
|
|
7908
8044
|
id: "qwen3.6-plus",
|
|
7909
8045
|
name: "Qwen3.6 Plus",
|
|
@@ -8217,6 +8353,40 @@ export const MODELS = {
|
|
|
8217
8353
|
contextWindow: 1000000,
|
|
8218
8354
|
maxTokens: 128000,
|
|
8219
8355
|
},
|
|
8356
|
+
"anthropic/claude-opus-4.8": {
|
|
8357
|
+
id: "anthropic/claude-opus-4.8",
|
|
8358
|
+
name: "Anthropic: Claude Opus 4.8",
|
|
8359
|
+
api: "openai-completions",
|
|
8360
|
+
provider: "openrouter",
|
|
8361
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
8362
|
+
reasoning: true,
|
|
8363
|
+
input: ["text", "image"],
|
|
8364
|
+
cost: {
|
|
8365
|
+
input: 5,
|
|
8366
|
+
output: 25,
|
|
8367
|
+
cacheRead: 0.5,
|
|
8368
|
+
cacheWrite: 6.25,
|
|
8369
|
+
},
|
|
8370
|
+
contextWindow: 1000000,
|
|
8371
|
+
maxTokens: 128000,
|
|
8372
|
+
},
|
|
8373
|
+
"anthropic/claude-opus-4.8-fast": {
|
|
8374
|
+
id: "anthropic/claude-opus-4.8-fast",
|
|
8375
|
+
name: "Anthropic: Claude Opus 4.8 (Fast)",
|
|
8376
|
+
api: "openai-completions",
|
|
8377
|
+
provider: "openrouter",
|
|
8378
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
8379
|
+
reasoning: true,
|
|
8380
|
+
input: ["text", "image"],
|
|
8381
|
+
cost: {
|
|
8382
|
+
input: 10,
|
|
8383
|
+
output: 50,
|
|
8384
|
+
cacheRead: 1,
|
|
8385
|
+
cacheWrite: 12.5,
|
|
8386
|
+
},
|
|
8387
|
+
contextWindow: 1000000,
|
|
8388
|
+
maxTokens: 128000,
|
|
8389
|
+
},
|
|
8220
8390
|
"anthropic/claude-sonnet-4": {
|
|
8221
8391
|
id: "anthropic/claude-sonnet-4",
|
|
8222
8392
|
name: "Anthropic: Claude Sonnet 4",
|
|
@@ -9292,7 +9462,7 @@ export const MODELS = {
|
|
|
9292
9462
|
cacheRead: 0,
|
|
9293
9463
|
cacheWrite: 0,
|
|
9294
9464
|
},
|
|
9295
|
-
contextWindow:
|
|
9465
|
+
contextWindow: 204800,
|
|
9296
9466
|
maxTokens: 8192,
|
|
9297
9467
|
},
|
|
9298
9468
|
"minimax/minimax-m2.7": {
|
|
@@ -11891,6 +12061,23 @@ export const MODELS = {
|
|
|
11891
12061
|
contextWindow: 262144,
|
|
11892
12062
|
maxTokens: 16384,
|
|
11893
12063
|
},
|
|
12064
|
+
"stepfun/step-3.7-flash": {
|
|
12065
|
+
id: "stepfun/step-3.7-flash",
|
|
12066
|
+
name: "StepFun: Step 3.7 Flash",
|
|
12067
|
+
api: "openai-completions",
|
|
12068
|
+
provider: "openrouter",
|
|
12069
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
12070
|
+
reasoning: true,
|
|
12071
|
+
input: ["text", "image"],
|
|
12072
|
+
cost: {
|
|
12073
|
+
input: 0.19999999999999998,
|
|
12074
|
+
output: 1.15,
|
|
12075
|
+
cacheRead: 0.04,
|
|
12076
|
+
cacheWrite: 0,
|
|
12077
|
+
},
|
|
12078
|
+
contextWindow: 256000,
|
|
12079
|
+
maxTokens: 256000,
|
|
12080
|
+
},
|
|
11894
12081
|
"tencent/hy3-preview": {
|
|
11895
12082
|
id: "tencent/hy3-preview",
|
|
11896
12083
|
name: "Tencent: Hy3 preview",
|
|
@@ -12139,8 +12326,8 @@ export const MODELS = {
|
|
|
12139
12326
|
input: ["text"],
|
|
12140
12327
|
cost: {
|
|
12141
12328
|
input: 0.125,
|
|
12142
|
-
output: 0.
|
|
12143
|
-
cacheRead: 0,
|
|
12329
|
+
output: 0.85,
|
|
12330
|
+
cacheRead: 0.06,
|
|
12144
12331
|
cacheWrite: 0,
|
|
12145
12332
|
},
|
|
12146
12333
|
contextWindow: 131072,
|
|
@@ -13256,6 +13443,23 @@ export const MODELS = {
|
|
|
13256
13443
|
contextWindow: 1000000,
|
|
13257
13444
|
maxTokens: 128000,
|
|
13258
13445
|
},
|
|
13446
|
+
"anthropic/claude-opus-4.8": {
|
|
13447
|
+
id: "anthropic/claude-opus-4.8",
|
|
13448
|
+
name: "Claude Opus 4.8",
|
|
13449
|
+
api: "anthropic-messages",
|
|
13450
|
+
provider: "vercel-ai-gateway",
|
|
13451
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
13452
|
+
reasoning: true,
|
|
13453
|
+
input: ["text", "image"],
|
|
13454
|
+
cost: {
|
|
13455
|
+
input: 5,
|
|
13456
|
+
output: 25,
|
|
13457
|
+
cacheRead: 0.5,
|
|
13458
|
+
cacheWrite: 6.25,
|
|
13459
|
+
},
|
|
13460
|
+
contextWindow: 1000000,
|
|
13461
|
+
maxTokens: 128000,
|
|
13462
|
+
},
|
|
13259
13463
|
"anthropic/claude-sonnet-4": {
|
|
13260
13464
|
id: "anthropic/claude-sonnet-4",
|
|
13261
13465
|
name: "Claude Sonnet 4",
|