@caupulican/pi-ai 0.80.18 → 0.80.20

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.
@@ -8,7 +8,7 @@ export const MODELS = {
8
8
  api: "bedrock-converse-stream",
9
9
  provider: "amazon-bedrock",
10
10
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
11
- reasoning: false,
11
+ reasoning: true,
12
12
  input: ["text", "image"],
13
13
  cost: {
14
14
  input: 0.33,
@@ -347,6 +347,23 @@ export const MODELS = {
347
347
  contextWindow: 163840,
348
348
  maxTokens: 81920,
349
349
  },
350
+ "eu.anthropic.claude-fable-5": {
351
+ id: "eu.anthropic.claude-fable-5",
352
+ name: "Claude Fable 5 (EU)",
353
+ api: "bedrock-converse-stream",
354
+ provider: "amazon-bedrock",
355
+ baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
356
+ reasoning: true,
357
+ input: ["text", "image"],
358
+ cost: {
359
+ input: 11,
360
+ output: 55,
361
+ cacheRead: 1.1,
362
+ cacheWrite: 13.75,
363
+ },
364
+ contextWindow: 1000000,
365
+ maxTokens: 128000,
366
+ },
350
367
  "eu.anthropic.claude-haiku-4-5-20251001-v1:0": {
351
368
  id: "eu.anthropic.claude-haiku-4-5-20251001-v1:0",
352
369
  name: "Claude Haiku 4.5 (EU)",
@@ -469,6 +486,23 @@ export const MODELS = {
469
486
  contextWindow: 1000000,
470
487
  maxTokens: 64000,
471
488
  },
489
+ "global.anthropic.claude-fable-5": {
490
+ id: "global.anthropic.claude-fable-5",
491
+ name: "Claude Fable 5 (Global)",
492
+ api: "bedrock-converse-stream",
493
+ provider: "amazon-bedrock",
494
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
495
+ reasoning: true,
496
+ input: ["text", "image"],
497
+ cost: {
498
+ input: 10,
499
+ output: 50,
500
+ cacheRead: 1,
501
+ cacheWrite: 12.5,
502
+ },
503
+ contextWindow: 1000000,
504
+ maxTokens: 128000,
505
+ },
472
506
  "global.anthropic.claude-haiku-4-5-20251001-v1:0": {
473
507
  id: "global.anthropic.claude-haiku-4-5-20251001-v1:0",
474
508
  name: "Claude Haiku 4.5 (Global)",
@@ -1128,7 +1162,7 @@ export const MODELS = {
1128
1162
  api: "bedrock-converse-stream",
1129
1163
  provider: "amazon-bedrock",
1130
1164
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1131
- reasoning: false,
1165
+ reasoning: true,
1132
1166
  input: ["text"],
1133
1167
  cost: {
1134
1168
  input: 0.15,
@@ -1145,7 +1179,7 @@ export const MODELS = {
1145
1179
  api: "bedrock-converse-stream",
1146
1180
  provider: "amazon-bedrock",
1147
1181
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1148
- reasoning: false,
1182
+ reasoning: true,
1149
1183
  input: ["text"],
1150
1184
  cost: {
1151
1185
  input: 0.15,
@@ -1162,7 +1196,7 @@ export const MODELS = {
1162
1196
  api: "bedrock-converse-stream",
1163
1197
  provider: "amazon-bedrock",
1164
1198
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1165
- reasoning: false,
1199
+ reasoning: true,
1166
1200
  input: ["text"],
1167
1201
  cost: {
1168
1202
  input: 0.07,
@@ -1179,7 +1213,7 @@ export const MODELS = {
1179
1213
  api: "bedrock-converse-stream",
1180
1214
  provider: "amazon-bedrock",
1181
1215
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1182
- reasoning: false,
1216
+ reasoning: true,
1183
1217
  input: ["text"],
1184
1218
  cost: {
1185
1219
  input: 0.07,
@@ -1343,6 +1377,23 @@ export const MODELS = {
1343
1377
  contextWindow: 262000,
1344
1378
  maxTokens: 262000,
1345
1379
  },
1380
+ "us.anthropic.claude-fable-5": {
1381
+ id: "us.anthropic.claude-fable-5",
1382
+ name: "Claude Fable 5 (US)",
1383
+ api: "bedrock-converse-stream",
1384
+ provider: "amazon-bedrock",
1385
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1386
+ reasoning: true,
1387
+ input: ["text", "image"],
1388
+ cost: {
1389
+ input: 10,
1390
+ output: 50,
1391
+ cacheRead: 1,
1392
+ cacheWrite: 12.5,
1393
+ },
1394
+ contextWindow: 1000000,
1395
+ maxTokens: 128000,
1396
+ },
1346
1397
  "us.anthropic.claude-haiku-4-5-20251001-v1:0": {
1347
1398
  id: "us.anthropic.claude-haiku-4-5-20251001-v1:0",
1348
1399
  name: "Claude Haiku 4.5 (US)",
@@ -1756,6 +1807,23 @@ export const MODELS = {
1756
1807
  contextWindow: 200000,
1757
1808
  maxTokens: 4096,
1758
1809
  },
1810
+ "claude-fable-5": {
1811
+ id: "claude-fable-5",
1812
+ name: "Claude Fable 5",
1813
+ api: "anthropic-messages",
1814
+ provider: "anthropic",
1815
+ baseUrl: "https://api.anthropic.com",
1816
+ reasoning: true,
1817
+ input: ["text", "image"],
1818
+ cost: {
1819
+ input: 10,
1820
+ output: 50,
1821
+ cacheRead: 1,
1822
+ cacheWrite: 12.5,
1823
+ },
1824
+ contextWindow: 1000000,
1825
+ maxTokens: 128000,
1826
+ },
1759
1827
  "claude-haiku-4-5": {
1760
1828
  id: "claude-haiku-4-5",
1761
1829
  name: "Claude Haiku 4.5 (latest)",
@@ -2932,6 +3000,23 @@ export const MODELS = {
2932
3000
  contextWindow: 200000,
2933
3001
  maxTokens: 8192,
2934
3002
  },
3003
+ "claude-fable-5": {
3004
+ id: "claude-fable-5",
3005
+ name: "Claude Fable 5",
3006
+ api: "anthropic-messages",
3007
+ provider: "cloudflare-ai-gateway",
3008
+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
3009
+ reasoning: true,
3010
+ input: ["text", "image"],
3011
+ cost: {
3012
+ input: 10,
3013
+ output: 50,
3014
+ cacheRead: 1,
3015
+ cacheWrite: 12.5,
3016
+ },
3017
+ contextWindow: 1000000,
3018
+ maxTokens: 128000,
3019
+ },
2935
3020
  "claude-haiku-4-5": {
2936
3021
  id: "claude-haiku-4-5",
2937
3022
  name: "Claude Haiku 4.5 (latest)",
@@ -7342,6 +7427,23 @@ export const MODELS = {
7342
7427
  contextWindow: 200000,
7343
7428
  maxTokens: 32000,
7344
7429
  },
7430
+ "claude-fable-5": {
7431
+ id: "claude-fable-5",
7432
+ name: "Claude Fable 5",
7433
+ api: "anthropic-messages",
7434
+ provider: "opencode",
7435
+ baseUrl: "https://opencode.ai/zen",
7436
+ reasoning: true,
7437
+ input: ["text", "image"],
7438
+ cost: {
7439
+ input: 10,
7440
+ output: 50,
7441
+ cacheRead: 1,
7442
+ cacheWrite: 12.5,
7443
+ },
7444
+ contextWindow: 1000000,
7445
+ maxTokens: 128000,
7446
+ },
7345
7447
  "claude-haiku-4-5": {
7346
7448
  id: "claude-haiku-4-5",
7347
7449
  name: "Claude Haiku 4.5",
@@ -8038,6 +8140,23 @@ export const MODELS = {
8038
8140
  contextWindow: 1000000,
8039
8141
  maxTokens: 128000,
8040
8142
  },
8143
+ "north-mini-code-free": {
8144
+ id: "north-mini-code-free",
8145
+ name: "North Mini Code Free",
8146
+ api: "openai-completions",
8147
+ provider: "opencode",
8148
+ baseUrl: "https://opencode.ai/zen/v1",
8149
+ reasoning: true,
8150
+ input: ["text"],
8151
+ cost: {
8152
+ input: 0,
8153
+ output: 0,
8154
+ cacheRead: 0,
8155
+ cacheWrite: 0,
8156
+ },
8157
+ contextWindow: 256000,
8158
+ maxTokens: 64000,
8159
+ },
8041
8160
  "qwen3.5-plus": {
8042
8161
  id: "qwen3.5-plus",
8043
8162
  name: "Qwen3.5 Plus",
@@ -8457,6 +8576,23 @@ export const MODELS = {
8457
8576
  contextWindow: 200000,
8458
8577
  maxTokens: 8192,
8459
8578
  },
8579
+ "anthropic/claude-fable-5": {
8580
+ id: "anthropic/claude-fable-5",
8581
+ name: "Anthropic: Claude Fable 5",
8582
+ api: "openai-completions",
8583
+ provider: "openrouter",
8584
+ baseUrl: "https://openrouter.ai/api/v1",
8585
+ reasoning: true,
8586
+ input: ["text", "image"],
8587
+ cost: {
8588
+ input: 10,
8589
+ output: 50,
8590
+ cacheRead: 1,
8591
+ cacheWrite: 12.5,
8592
+ },
8593
+ contextWindow: 1000000,
8594
+ maxTokens: 128000,
8595
+ },
8460
8596
  "anthropic/claude-haiku-4.5": {
8461
8597
  id: "anthropic/claude-haiku-4.5",
8462
8598
  name: "Anthropic: Claude Haiku 4.5",
@@ -9617,8 +9753,8 @@ export const MODELS = {
9617
9753
  input: ["text"],
9618
9754
  cost: {
9619
9755
  input: 0.15,
9620
- output: 1.15,
9621
- cacheRead: 0,
9756
+ output: 0.8999999999999999,
9757
+ cacheRead: 0.049999999999999996,
9622
9758
  cacheWrite: 0,
9623
9759
  },
9624
9760
  contextWindow: 204800,
@@ -9633,13 +9769,13 @@ export const MODELS = {
9633
9769
  reasoning: true,
9634
9770
  input: ["text"],
9635
9771
  cost: {
9636
- input: 0.27899999999999997,
9637
- output: 1.2,
9638
- cacheRead: 0,
9772
+ input: 0.27,
9773
+ output: 1.08,
9774
+ cacheRead: 0.054,
9639
9775
  cacheWrite: 0,
9640
9776
  },
9641
9777
  contextWindow: 204800,
9642
- maxTokens: 196608,
9778
+ maxTokens: 131072,
9643
9779
  },
9644
9780
  "minimax/minimax-m3": {
9645
9781
  id: "minimax/minimax-m3",
@@ -12324,23 +12460,6 @@ export const MODELS = {
12324
12460
  contextWindow: 1048576,
12325
12461
  maxTokens: 131072,
12326
12462
  },
12327
- "z-ai/glm-4-32b": {
12328
- id: "z-ai/glm-4-32b",
12329
- name: "Z.ai: GLM 4 32B ",
12330
- api: "openai-completions",
12331
- provider: "openrouter",
12332
- baseUrl: "https://openrouter.ai/api/v1",
12333
- reasoning: false,
12334
- input: ["text"],
12335
- cost: {
12336
- input: 0.09999999999999999,
12337
- output: 0.09999999999999999,
12338
- cacheRead: 0,
12339
- cacheWrite: 0,
12340
- },
12341
- contextWindow: 128000,
12342
- maxTokens: 4096,
12343
- },
12344
12463
  "z-ai/glm-4.5": {
12345
12464
  id: "z-ai/glm-4.5",
12346
12465
  name: "Z.ai: GLM 4.5",
@@ -12375,23 +12494,6 @@ export const MODELS = {
12375
12494
  contextWindow: 131072,
12376
12495
  maxTokens: 131070,
12377
12496
  },
12378
- "z-ai/glm-4.5-air:free": {
12379
- id: "z-ai/glm-4.5-air:free",
12380
- name: "Z.ai: GLM 4.5 Air (free)",
12381
- api: "openai-completions",
12382
- provider: "openrouter",
12383
- baseUrl: "https://openrouter.ai/api/v1",
12384
- reasoning: true,
12385
- input: ["text"],
12386
- cost: {
12387
- input: 0,
12388
- output: 0,
12389
- cacheRead: 0,
12390
- cacheWrite: 0,
12391
- },
12392
- contextWindow: 131072,
12393
- maxTokens: 96000,
12394
- },
12395
12497
  "z-ai/glm-4.5v": {
12396
12498
  id: "z-ai/glm-4.5v",
12397
12499
  name: "Z.ai: GLM 4.5V",
@@ -12437,11 +12539,11 @@ export const MODELS = {
12437
12539
  cost: {
12438
12540
  input: 0.3,
12439
12541
  output: 0.8999999999999999,
12440
- cacheRead: 0.049999999999999996,
12542
+ cacheRead: 0.055,
12441
12543
  cacheWrite: 0,
12442
12544
  },
12443
12545
  contextWindow: 131072,
12444
- maxTokens: 24000,
12546
+ maxTokens: 32768,
12445
12547
  },
12446
12548
  "z-ai/glm-4.7": {
12447
12549
  id: "z-ai/glm-4.7",
@@ -12508,7 +12610,7 @@ export const MODELS = {
12508
12610
  cacheRead: 0.24,
12509
12611
  cacheWrite: 0,
12510
12612
  },
12511
- contextWindow: 202752,
12613
+ contextWindow: 262144,
12512
12614
  maxTokens: 131072,
12513
12615
  },
12514
12616
  "z-ai/glm-5.1": {
@@ -12528,22 +12630,22 @@ export const MODELS = {
12528
12630
  contextWindow: 202752,
12529
12631
  maxTokens: 4096,
12530
12632
  },
12531
- "z-ai/glm-5v-turbo": {
12532
- id: "z-ai/glm-5v-turbo",
12533
- name: "Z.ai: GLM 5V Turbo",
12633
+ "~anthropic/claude-fable-latest": {
12634
+ id: "~anthropic/claude-fable-latest",
12635
+ name: "Anthropic: Claude Fable Latest",
12534
12636
  api: "openai-completions",
12535
12637
  provider: "openrouter",
12536
12638
  baseUrl: "https://openrouter.ai/api/v1",
12537
12639
  reasoning: true,
12538
12640
  input: ["text", "image"],
12539
12641
  cost: {
12540
- input: 1.2,
12541
- output: 4,
12542
- cacheRead: 0.24,
12543
- cacheWrite: 0,
12642
+ input: 10,
12643
+ output: 50,
12644
+ cacheRead: 1,
12645
+ cacheWrite: 12.5,
12544
12646
  },
12545
- contextWindow: 202752,
12546
- maxTokens: 131072,
12647
+ contextWindow: 1000000,
12648
+ maxTokens: 128000,
12547
12649
  },
12548
12650
  "~anthropic/claude-haiku-latest": {
12549
12651
  id: "~anthropic/claude-haiku-latest",
@@ -13451,6 +13553,23 @@ export const MODELS = {
13451
13553
  contextWindow: 200000,
13452
13554
  maxTokens: 8192,
13453
13555
  },
13556
+ "anthropic/claude-fable-5": {
13557
+ id: "anthropic/claude-fable-5",
13558
+ name: "Claude Fable 5",
13559
+ api: "anthropic-messages",
13560
+ provider: "vercel-ai-gateway",
13561
+ baseUrl: "https://ai-gateway.vercel.sh",
13562
+ reasoning: true,
13563
+ input: ["text", "image"],
13564
+ cost: {
13565
+ input: 10,
13566
+ output: 50,
13567
+ cacheRead: 1,
13568
+ cacheWrite: 12.5,
13569
+ },
13570
+ contextWindow: 1000000,
13571
+ maxTokens: 128000,
13572
+ },
13454
13573
  "anthropic/claude-haiku-4.5": {
13455
13574
  id: "anthropic/claude-haiku-4.5",
13456
13575
  name: "Claude Haiku 4.5",
@@ -15951,7 +16070,7 @@ export const MODELS = {
15951
16070
  cacheRead: 0.2,
15952
16071
  cacheWrite: 0,
15953
16072
  },
15954
- contextWindow: 2000000,
16073
+ contextWindow: 1000000,
15955
16074
  maxTokens: 30000,
15956
16075
  },
15957
16076
  "grok-4.20-0309-reasoning": {
@@ -15968,7 +16087,7 @@ export const MODELS = {
15968
16087
  cacheRead: 0.2,
15969
16088
  cacheWrite: 0,
15970
16089
  },
15971
- contextWindow: 2000000,
16090
+ contextWindow: 1000000,
15972
16091
  maxTokens: 30000,
15973
16092
  },
15974
16093
  "grok-4.3": {
@@ -16114,6 +16233,24 @@ export const MODELS = {
16114
16233
  contextWindow: 1048576,
16115
16234
  maxTokens: 131072,
16116
16235
  },
16236
+ "mimo-v2.5-pro-ultraspeed": {
16237
+ id: "mimo-v2.5-pro-ultraspeed",
16238
+ name: "MiMo-V2.5-Pro-UltraSpeed",
16239
+ api: "openai-completions",
16240
+ provider: "xiaomi",
16241
+ baseUrl: "https://api.xiaomimimo.com/v1",
16242
+ compat: { "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek" },
16243
+ reasoning: true,
16244
+ input: ["text"],
16245
+ cost: {
16246
+ input: 1.305,
16247
+ output: 2.61,
16248
+ cacheRead: 0.0108,
16249
+ cacheWrite: 0,
16250
+ },
16251
+ contextWindow: 1048576,
16252
+ maxTokens: 131072,
16253
+ },
16117
16254
  },
16118
16255
  "xiaomi-token-plan-ams": {
16119
16256
  "mimo-v2-omni": {
@@ -16188,6 +16325,24 @@ export const MODELS = {
16188
16325
  contextWindow: 1048576,
16189
16326
  maxTokens: 131072,
16190
16327
  },
16328
+ "mimo-v2.5-pro-ultraspeed": {
16329
+ id: "mimo-v2.5-pro-ultraspeed",
16330
+ name: "MiMo-V2.5-Pro-UltraSpeed",
16331
+ api: "openai-completions",
16332
+ provider: "xiaomi-token-plan-ams",
16333
+ baseUrl: "https://token-plan-ams.xiaomimimo.com/v1",
16334
+ compat: { "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek" },
16335
+ reasoning: true,
16336
+ input: ["text"],
16337
+ cost: {
16338
+ input: 1.305,
16339
+ output: 2.61,
16340
+ cacheRead: 0.0108,
16341
+ cacheWrite: 0,
16342
+ },
16343
+ contextWindow: 1048576,
16344
+ maxTokens: 131072,
16345
+ },
16191
16346
  },
16192
16347
  "xiaomi-token-plan-cn": {
16193
16348
  "mimo-v2-omni": {
@@ -16262,6 +16417,24 @@ export const MODELS = {
16262
16417
  contextWindow: 1048576,
16263
16418
  maxTokens: 131072,
16264
16419
  },
16420
+ "mimo-v2.5-pro-ultraspeed": {
16421
+ id: "mimo-v2.5-pro-ultraspeed",
16422
+ name: "MiMo-V2.5-Pro-UltraSpeed",
16423
+ api: "openai-completions",
16424
+ provider: "xiaomi-token-plan-cn",
16425
+ baseUrl: "https://token-plan-cn.xiaomimimo.com/v1",
16426
+ compat: { "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek" },
16427
+ reasoning: true,
16428
+ input: ["text"],
16429
+ cost: {
16430
+ input: 1.305,
16431
+ output: 2.61,
16432
+ cacheRead: 0.0108,
16433
+ cacheWrite: 0,
16434
+ },
16435
+ contextWindow: 1048576,
16436
+ maxTokens: 131072,
16437
+ },
16265
16438
  },
16266
16439
  "xiaomi-token-plan-sgp": {
16267
16440
  "mimo-v2-omni": {
@@ -16336,6 +16509,24 @@ export const MODELS = {
16336
16509
  contextWindow: 1048576,
16337
16510
  maxTokens: 131072,
16338
16511
  },
16512
+ "mimo-v2.5-pro-ultraspeed": {
16513
+ id: "mimo-v2.5-pro-ultraspeed",
16514
+ name: "MiMo-V2.5-Pro-UltraSpeed",
16515
+ api: "openai-completions",
16516
+ provider: "xiaomi-token-plan-sgp",
16517
+ baseUrl: "https://token-plan-sgp.xiaomimimo.com/v1",
16518
+ compat: { "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek" },
16519
+ reasoning: true,
16520
+ input: ["text"],
16521
+ cost: {
16522
+ input: 1.305,
16523
+ output: 2.61,
16524
+ cacheRead: 0.0108,
16525
+ cacheWrite: 0,
16526
+ },
16527
+ contextWindow: 1048576,
16528
+ maxTokens: 131072,
16529
+ },
16339
16530
  },
16340
16531
  "zai": {
16341
16532
  "glm-4.5-air": {