@openeryc/pi-ai 0.75.45 → 0.75.47

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.
@@ -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: 144000,
3736
- maxTokens: 32000,
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: 160000,
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: 64000,
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: 144000,
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: 144000,
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: 128000,
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: 128000,
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: 264000,
3981
- maxTokens: 64000,
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",
@@ -8619,13 +8789,13 @@ export const MODELS = {
8619
8789
  thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "max" },
8620
8790
  input: ["text"],
8621
8791
  cost: {
8622
- input: 0.09999999999999999,
8623
- output: 0.19999999999999998,
8624
- cacheRead: 0.02,
8792
+ input: 0.0983,
8793
+ output: 0.1966,
8794
+ cacheRead: 0.019700000000000002,
8625
8795
  cacheWrite: 0,
8626
8796
  },
8627
8797
  contextWindow: 1048576,
8628
- maxTokens: 16384,
8798
+ maxTokens: 131072,
8629
8799
  },
8630
8800
  "deepseek/deepseek-v4-flash:free": {
8631
8801
  id: "deepseek/deepseek-v4-flash:free",
@@ -8696,7 +8866,7 @@ export const MODELS = {
8696
8866
  cacheRead: 0.024999999999999998,
8697
8867
  cacheWrite: 0.08333333333333334,
8698
8868
  },
8699
- contextWindow: 1000000,
8869
+ contextWindow: 1048576,
8700
8870
  maxTokens: 8192,
8701
8871
  },
8702
8872
  "google/gemini-2.0-flash-lite-001": {
@@ -9292,7 +9462,7 @@ export const MODELS = {
9292
9462
  cacheRead: 0,
9293
9463
  cacheWrite: 0,
9294
9464
  },
9295
- contextWindow: 262144,
9465
+ contextWindow: 204800,
9296
9466
  maxTokens: 8192,
9297
9467
  },
9298
9468
  "minimax/minimax-m2.7": {
@@ -9746,13 +9916,13 @@ export const MODELS = {
9746
9916
  reasoning: true,
9747
9917
  input: ["text", "image"],
9748
9918
  cost: {
9749
- input: 0.73,
9750
- output: 3.49,
9751
- cacheRead: 0.25,
9919
+ input: 0.684,
9920
+ output: 3.42,
9921
+ cacheRead: 0.144,
9752
9922
  cacheWrite: 0,
9753
9923
  },
9754
9924
  contextWindow: 262144,
9755
- maxTokens: 262142,
9925
+ maxTokens: 262144,
9756
9926
  },
9757
9927
  "moonshotai/kimi-k2.6:free": {
9758
9928
  id: "moonshotai/kimi-k2.6:free",
@@ -10196,23 +10366,6 @@ export const MODELS = {
10196
10366
  contextWindow: 128000,
10197
10367
  maxTokens: 16384,
10198
10368
  },
10199
- "openai/gpt-4o-audio-preview": {
10200
- id: "openai/gpt-4o-audio-preview",
10201
- name: "OpenAI: GPT-4o Audio",
10202
- api: "openai-completions",
10203
- provider: "openrouter",
10204
- baseUrl: "https://openrouter.ai/api/v1",
10205
- reasoning: false,
10206
- input: ["text"],
10207
- cost: {
10208
- input: 2.5,
10209
- output: 10,
10210
- cacheRead: 0,
10211
- cacheWrite: 0,
10212
- },
10213
- contextWindow: 128000,
10214
- maxTokens: 16384,
10215
- },
10216
10369
  "openai/gpt-4o-mini": {
10217
10370
  id: "openai/gpt-4o-mini",
10218
10371
  name: "OpenAI: GPT-4o-mini",
@@ -11891,6 +12044,23 @@ export const MODELS = {
11891
12044
  contextWindow: 262144,
11892
12045
  maxTokens: 16384,
11893
12046
  },
12047
+ "stepfun/step-3.7-flash": {
12048
+ id: "stepfun/step-3.7-flash",
12049
+ name: "StepFun: Step 3.7 Flash",
12050
+ api: "openai-completions",
12051
+ provider: "openrouter",
12052
+ baseUrl: "https://openrouter.ai/api/v1",
12053
+ reasoning: true,
12054
+ input: ["text", "image"],
12055
+ cost: {
12056
+ input: 0.19999999999999998,
12057
+ output: 1.15,
12058
+ cacheRead: 0.04,
12059
+ cacheWrite: 0,
12060
+ },
12061
+ contextWindow: 256000,
12062
+ maxTokens: 256000,
12063
+ },
11894
12064
  "tencent/hy3-preview": {
11895
12065
  id: "tencent/hy3-preview",
11896
12066
  name: "Tencent: Hy3 preview",
@@ -12139,8 +12309,8 @@ export const MODELS = {
12139
12309
  input: ["text"],
12140
12310
  cost: {
12141
12311
  input: 0.125,
12142
- output: 0.84,
12143
- cacheRead: 0,
12312
+ output: 0.85,
12313
+ cacheRead: 0.06,
12144
12314
  cacheWrite: 0,
12145
12315
  },
12146
12316
  contextWindow: 131072,
@@ -12410,13 +12580,13 @@ export const MODELS = {
12410
12580
  reasoning: true,
12411
12581
  input: ["text", "image"],
12412
12582
  cost: {
12413
- input: 0.73,
12414
- output: 3.49,
12415
- cacheRead: 0.25,
12583
+ input: 0.684,
12584
+ output: 3.42,
12585
+ cacheRead: 0.144,
12416
12586
  cacheWrite: 0,
12417
12587
  },
12418
12588
  contextWindow: 262144,
12419
- maxTokens: 262142,
12589
+ maxTokens: 262144,
12420
12590
  },
12421
12591
  "~openai/gpt-latest": {
12422
12592
  id: "~openai/gpt-latest",
@@ -12814,20 +12984,20 @@ export const MODELS = {
12814
12984
  },
12815
12985
  "alibaba/qwen-3-235b": {
12816
12986
  id: "alibaba/qwen-3-235b",
12817
- name: "Qwen3 235B A22b Instruct 2507",
12987
+ name: "Qwen3 235B A22B",
12818
12988
  api: "anthropic-messages",
12819
12989
  provider: "vercel-ai-gateway",
12820
12990
  baseUrl: "https://ai-gateway.vercel.sh",
12821
12991
  reasoning: false,
12822
12992
  input: ["text"],
12823
12993
  cost: {
12824
- input: 0.6,
12825
- output: 1.2,
12826
- cacheRead: 0.6,
12994
+ input: 0.22,
12995
+ output: 0.88,
12996
+ cacheRead: 0,
12827
12997
  cacheWrite: 0,
12828
12998
  },
12829
- contextWindow: 131000,
12830
- maxTokens: 40000,
12999
+ contextWindow: 262144,
13000
+ maxTokens: 16384,
12831
13001
  },
12832
13002
  "alibaba/qwen-3-30b": {
12833
13003
  id: "alibaba/qwen-3-30b",
@@ -13256,6 +13426,23 @@ export const MODELS = {
13256
13426
  contextWindow: 1000000,
13257
13427
  maxTokens: 128000,
13258
13428
  },
13429
+ "anthropic/claude-opus-4.8": {
13430
+ id: "anthropic/claude-opus-4.8",
13431
+ name: "Claude Opus 4.8",
13432
+ api: "anthropic-messages",
13433
+ provider: "vercel-ai-gateway",
13434
+ baseUrl: "https://ai-gateway.vercel.sh",
13435
+ reasoning: true,
13436
+ input: ["text", "image"],
13437
+ cost: {
13438
+ input: 5,
13439
+ output: 25,
13440
+ cacheRead: 0.5,
13441
+ cacheWrite: 6.25,
13442
+ },
13443
+ contextWindow: 1000000,
13444
+ maxTokens: 128000,
13445
+ },
13259
13446
  "anthropic/claude-sonnet-4": {
13260
13447
  id: "anthropic/claude-sonnet-4",
13261
13448
  name: "Claude Sonnet 4",