@openeryc/pi-ai 0.75.44 → 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 +239 -35
- 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
|
@@ -159,6 +159,23 @@ export declare const MODELS: {
|
|
|
159
159
|
contextWindow: number;
|
|
160
160
|
maxTokens: number;
|
|
161
161
|
};
|
|
162
|
+
readonly "anthropic.claude-opus-4-8": {
|
|
163
|
+
id: string;
|
|
164
|
+
name: string;
|
|
165
|
+
api: "bedrock-converse-stream";
|
|
166
|
+
provider: string;
|
|
167
|
+
baseUrl: string;
|
|
168
|
+
reasoning: true;
|
|
169
|
+
input: ("image" | "text")[];
|
|
170
|
+
cost: {
|
|
171
|
+
input: number;
|
|
172
|
+
output: number;
|
|
173
|
+
cacheRead: number;
|
|
174
|
+
cacheWrite: number;
|
|
175
|
+
};
|
|
176
|
+
contextWindow: number;
|
|
177
|
+
maxTokens: number;
|
|
178
|
+
};
|
|
162
179
|
readonly "anthropic.claude-sonnet-4-5-20250929-v1:0": {
|
|
163
180
|
id: string;
|
|
164
181
|
name: string;
|
|
@@ -230,6 +247,23 @@ export declare const MODELS: {
|
|
|
230
247
|
contextWindow: number;
|
|
231
248
|
maxTokens: number;
|
|
232
249
|
};
|
|
250
|
+
readonly "au.anthropic.claude-opus-4-8": {
|
|
251
|
+
id: string;
|
|
252
|
+
name: string;
|
|
253
|
+
api: "bedrock-converse-stream";
|
|
254
|
+
provider: string;
|
|
255
|
+
baseUrl: string;
|
|
256
|
+
reasoning: true;
|
|
257
|
+
input: ("image" | "text")[];
|
|
258
|
+
cost: {
|
|
259
|
+
input: number;
|
|
260
|
+
output: number;
|
|
261
|
+
cacheRead: number;
|
|
262
|
+
cacheWrite: number;
|
|
263
|
+
};
|
|
264
|
+
contextWindow: number;
|
|
265
|
+
maxTokens: number;
|
|
266
|
+
};
|
|
233
267
|
readonly "au.anthropic.claude-sonnet-4-5-20250929-v1:0": {
|
|
234
268
|
id: string;
|
|
235
269
|
name: string;
|
|
@@ -389,6 +423,23 @@ export declare const MODELS: {
|
|
|
389
423
|
contextWindow: number;
|
|
390
424
|
maxTokens: number;
|
|
391
425
|
};
|
|
426
|
+
readonly "eu.anthropic.claude-opus-4-8": {
|
|
427
|
+
id: string;
|
|
428
|
+
name: string;
|
|
429
|
+
api: "bedrock-converse-stream";
|
|
430
|
+
provider: string;
|
|
431
|
+
baseUrl: string;
|
|
432
|
+
reasoning: true;
|
|
433
|
+
input: ("image" | "text")[];
|
|
434
|
+
cost: {
|
|
435
|
+
input: number;
|
|
436
|
+
output: number;
|
|
437
|
+
cacheRead: number;
|
|
438
|
+
cacheWrite: number;
|
|
439
|
+
};
|
|
440
|
+
contextWindow: number;
|
|
441
|
+
maxTokens: number;
|
|
442
|
+
};
|
|
392
443
|
readonly "eu.anthropic.claude-sonnet-4-5-20250929-v1:0": {
|
|
393
444
|
id: string;
|
|
394
445
|
name: string;
|
|
@@ -497,6 +548,23 @@ export declare const MODELS: {
|
|
|
497
548
|
contextWindow: number;
|
|
498
549
|
maxTokens: number;
|
|
499
550
|
};
|
|
551
|
+
readonly "global.anthropic.claude-opus-4-8": {
|
|
552
|
+
id: string;
|
|
553
|
+
name: string;
|
|
554
|
+
api: "bedrock-converse-stream";
|
|
555
|
+
provider: string;
|
|
556
|
+
baseUrl: string;
|
|
557
|
+
reasoning: true;
|
|
558
|
+
input: ("image" | "text")[];
|
|
559
|
+
cost: {
|
|
560
|
+
input: number;
|
|
561
|
+
output: number;
|
|
562
|
+
cacheRead: number;
|
|
563
|
+
cacheWrite: number;
|
|
564
|
+
};
|
|
565
|
+
contextWindow: number;
|
|
566
|
+
maxTokens: number;
|
|
567
|
+
};
|
|
500
568
|
readonly "global.anthropic.claude-sonnet-4-5-20250929-v1:0": {
|
|
501
569
|
id: string;
|
|
502
570
|
name: string;
|
|
@@ -585,6 +653,23 @@ export declare const MODELS: {
|
|
|
585
653
|
contextWindow: number;
|
|
586
654
|
maxTokens: number;
|
|
587
655
|
};
|
|
656
|
+
readonly "jp.anthropic.claude-opus-4-8": {
|
|
657
|
+
id: string;
|
|
658
|
+
name: string;
|
|
659
|
+
api: "bedrock-converse-stream";
|
|
660
|
+
provider: string;
|
|
661
|
+
baseUrl: string;
|
|
662
|
+
reasoning: true;
|
|
663
|
+
input: ("image" | "text")[];
|
|
664
|
+
cost: {
|
|
665
|
+
input: number;
|
|
666
|
+
output: number;
|
|
667
|
+
cacheRead: number;
|
|
668
|
+
cacheWrite: number;
|
|
669
|
+
};
|
|
670
|
+
contextWindow: number;
|
|
671
|
+
maxTokens: number;
|
|
672
|
+
};
|
|
588
673
|
readonly "jp.anthropic.claude-sonnet-4-5-20250929-v1:0": {
|
|
589
674
|
id: string;
|
|
590
675
|
name: string;
|
|
@@ -1288,6 +1373,23 @@ export declare const MODELS: {
|
|
|
1288
1373
|
contextWindow: number;
|
|
1289
1374
|
maxTokens: number;
|
|
1290
1375
|
};
|
|
1376
|
+
readonly "us.anthropic.claude-opus-4-8": {
|
|
1377
|
+
id: string;
|
|
1378
|
+
name: string;
|
|
1379
|
+
api: "bedrock-converse-stream";
|
|
1380
|
+
provider: string;
|
|
1381
|
+
baseUrl: string;
|
|
1382
|
+
reasoning: true;
|
|
1383
|
+
input: ("image" | "text")[];
|
|
1384
|
+
cost: {
|
|
1385
|
+
input: number;
|
|
1386
|
+
output: number;
|
|
1387
|
+
cacheRead: number;
|
|
1388
|
+
cacheWrite: number;
|
|
1389
|
+
};
|
|
1390
|
+
contextWindow: number;
|
|
1391
|
+
maxTokens: number;
|
|
1392
|
+
};
|
|
1291
1393
|
readonly "us.anthropic.claude-sonnet-4-5-20250929-v1:0": {
|
|
1292
1394
|
id: string;
|
|
1293
1395
|
name: string;
|
|
@@ -1772,6 +1874,23 @@ export declare const MODELS: {
|
|
|
1772
1874
|
contextWindow: number;
|
|
1773
1875
|
maxTokens: number;
|
|
1774
1876
|
};
|
|
1877
|
+
readonly "claude-opus-4-8": {
|
|
1878
|
+
id: string;
|
|
1879
|
+
name: string;
|
|
1880
|
+
api: "anthropic-messages";
|
|
1881
|
+
provider: string;
|
|
1882
|
+
baseUrl: string;
|
|
1883
|
+
reasoning: true;
|
|
1884
|
+
input: ("image" | "text")[];
|
|
1885
|
+
cost: {
|
|
1886
|
+
input: number;
|
|
1887
|
+
output: number;
|
|
1888
|
+
cacheRead: number;
|
|
1889
|
+
cacheWrite: number;
|
|
1890
|
+
};
|
|
1891
|
+
contextWindow: number;
|
|
1892
|
+
maxTokens: number;
|
|
1893
|
+
};
|
|
1775
1894
|
readonly "claude-sonnet-4-0": {
|
|
1776
1895
|
id: string;
|
|
1777
1896
|
name: string;
|
|
@@ -4033,6 +4152,29 @@ export declare const MODELS: {
|
|
|
4033
4152
|
contextWindow: number;
|
|
4034
4153
|
maxTokens: number;
|
|
4035
4154
|
};
|
|
4155
|
+
readonly "claude-opus-4.8": {
|
|
4156
|
+
id: string;
|
|
4157
|
+
name: string;
|
|
4158
|
+
api: "anthropic-messages";
|
|
4159
|
+
provider: string;
|
|
4160
|
+
baseUrl: string;
|
|
4161
|
+
headers: {
|
|
4162
|
+
"User-Agent": string;
|
|
4163
|
+
"Editor-Version": string;
|
|
4164
|
+
"Editor-Plugin-Version": string;
|
|
4165
|
+
"Copilot-Integration-Id": string;
|
|
4166
|
+
};
|
|
4167
|
+
reasoning: true;
|
|
4168
|
+
input: ("image" | "text")[];
|
|
4169
|
+
cost: {
|
|
4170
|
+
input: number;
|
|
4171
|
+
output: number;
|
|
4172
|
+
cacheRead: number;
|
|
4173
|
+
cacheWrite: number;
|
|
4174
|
+
};
|
|
4175
|
+
contextWindow: number;
|
|
4176
|
+
maxTokens: number;
|
|
4177
|
+
};
|
|
4036
4178
|
readonly "claude-sonnet-4.5": {
|
|
4037
4179
|
id: string;
|
|
4038
4180
|
name: string;
|
|
@@ -7768,6 +7910,23 @@ export declare const MODELS: {
|
|
|
7768
7910
|
contextWindow: number;
|
|
7769
7911
|
maxTokens: number;
|
|
7770
7912
|
};
|
|
7913
|
+
readonly "claude-opus-4-8": {
|
|
7914
|
+
id: string;
|
|
7915
|
+
name: string;
|
|
7916
|
+
api: "anthropic-messages";
|
|
7917
|
+
provider: string;
|
|
7918
|
+
baseUrl: string;
|
|
7919
|
+
reasoning: true;
|
|
7920
|
+
input: ("image" | "text")[];
|
|
7921
|
+
cost: {
|
|
7922
|
+
input: number;
|
|
7923
|
+
output: number;
|
|
7924
|
+
cacheRead: number;
|
|
7925
|
+
cacheWrite: number;
|
|
7926
|
+
};
|
|
7927
|
+
contextWindow: number;
|
|
7928
|
+
maxTokens: number;
|
|
7929
|
+
};
|
|
7771
7930
|
readonly "claude-sonnet-4": {
|
|
7772
7931
|
id: string;
|
|
7773
7932
|
name: string;
|
|
@@ -8621,26 +8780,6 @@ export declare const MODELS: {
|
|
|
8621
8780
|
contextWindow: number;
|
|
8622
8781
|
maxTokens: number;
|
|
8623
8782
|
};
|
|
8624
|
-
readonly "qwen3.5-plus": {
|
|
8625
|
-
id: string;
|
|
8626
|
-
name: string;
|
|
8627
|
-
api: "openai-completions";
|
|
8628
|
-
provider: string;
|
|
8629
|
-
baseUrl: string;
|
|
8630
|
-
compat: {
|
|
8631
|
-
thinkingFormat: "qwen";
|
|
8632
|
-
};
|
|
8633
|
-
reasoning: true;
|
|
8634
|
-
input: ("image" | "text")[];
|
|
8635
|
-
cost: {
|
|
8636
|
-
input: number;
|
|
8637
|
-
output: number;
|
|
8638
|
-
cacheRead: number;
|
|
8639
|
-
cacheWrite: number;
|
|
8640
|
-
};
|
|
8641
|
-
contextWindow: number;
|
|
8642
|
-
maxTokens: number;
|
|
8643
|
-
};
|
|
8644
8783
|
readonly "qwen3.6-plus": {
|
|
8645
8784
|
id: string;
|
|
8646
8785
|
name: string;
|
|
@@ -8964,6 +9103,40 @@ export declare const MODELS: {
|
|
|
8964
9103
|
contextWindow: number;
|
|
8965
9104
|
maxTokens: number;
|
|
8966
9105
|
};
|
|
9106
|
+
readonly "anthropic/claude-opus-4.8": {
|
|
9107
|
+
id: string;
|
|
9108
|
+
name: string;
|
|
9109
|
+
api: "openai-completions";
|
|
9110
|
+
provider: string;
|
|
9111
|
+
baseUrl: string;
|
|
9112
|
+
reasoning: true;
|
|
9113
|
+
input: ("image" | "text")[];
|
|
9114
|
+
cost: {
|
|
9115
|
+
input: number;
|
|
9116
|
+
output: number;
|
|
9117
|
+
cacheRead: number;
|
|
9118
|
+
cacheWrite: number;
|
|
9119
|
+
};
|
|
9120
|
+
contextWindow: number;
|
|
9121
|
+
maxTokens: number;
|
|
9122
|
+
};
|
|
9123
|
+
readonly "anthropic/claude-opus-4.8-fast": {
|
|
9124
|
+
id: string;
|
|
9125
|
+
name: string;
|
|
9126
|
+
api: "openai-completions";
|
|
9127
|
+
provider: string;
|
|
9128
|
+
baseUrl: string;
|
|
9129
|
+
reasoning: true;
|
|
9130
|
+
input: ("image" | "text")[];
|
|
9131
|
+
cost: {
|
|
9132
|
+
input: number;
|
|
9133
|
+
output: number;
|
|
9134
|
+
cacheRead: number;
|
|
9135
|
+
cacheWrite: number;
|
|
9136
|
+
};
|
|
9137
|
+
contextWindow: number;
|
|
9138
|
+
maxTokens: number;
|
|
9139
|
+
};
|
|
8967
9140
|
readonly "anthropic/claude-sonnet-4": {
|
|
8968
9141
|
id: string;
|
|
8969
9142
|
name: string;
|
|
@@ -12691,6 +12864,23 @@ export declare const MODELS: {
|
|
|
12691
12864
|
contextWindow: number;
|
|
12692
12865
|
maxTokens: number;
|
|
12693
12866
|
};
|
|
12867
|
+
readonly "stepfun/step-3.7-flash": {
|
|
12868
|
+
id: string;
|
|
12869
|
+
name: string;
|
|
12870
|
+
api: "openai-completions";
|
|
12871
|
+
provider: string;
|
|
12872
|
+
baseUrl: string;
|
|
12873
|
+
reasoning: true;
|
|
12874
|
+
input: ("image" | "text")[];
|
|
12875
|
+
cost: {
|
|
12876
|
+
input: number;
|
|
12877
|
+
output: number;
|
|
12878
|
+
cacheRead: number;
|
|
12879
|
+
cacheWrite: number;
|
|
12880
|
+
};
|
|
12881
|
+
contextWindow: number;
|
|
12882
|
+
maxTokens: number;
|
|
12883
|
+
};
|
|
12694
12884
|
readonly "tencent/hy3-preview": {
|
|
12695
12885
|
id: string;
|
|
12696
12886
|
name: string;
|
|
@@ -14262,6 +14452,23 @@ export declare const MODELS: {
|
|
|
14262
14452
|
contextWindow: number;
|
|
14263
14453
|
maxTokens: number;
|
|
14264
14454
|
};
|
|
14455
|
+
readonly "anthropic/claude-opus-4.8": {
|
|
14456
|
+
id: string;
|
|
14457
|
+
name: string;
|
|
14458
|
+
api: "anthropic-messages";
|
|
14459
|
+
provider: string;
|
|
14460
|
+
baseUrl: string;
|
|
14461
|
+
reasoning: true;
|
|
14462
|
+
input: ("image" | "text")[];
|
|
14463
|
+
cost: {
|
|
14464
|
+
input: number;
|
|
14465
|
+
output: number;
|
|
14466
|
+
cacheRead: number;
|
|
14467
|
+
cacheWrite: number;
|
|
14468
|
+
};
|
|
14469
|
+
contextWindow: number;
|
|
14470
|
+
maxTokens: number;
|
|
14471
|
+
};
|
|
14265
14472
|
readonly "anthropic/claude-sonnet-4": {
|
|
14266
14473
|
id: string;
|
|
14267
14474
|
name: string;
|