@mariozechner/pi-ai 0.72.1 → 0.73.0

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.
@@ -8460,9 +8460,9 @@ export const MODELS = {
8460
8460
  "minimax-m2.7": {
8461
8461
  id: "minimax-m2.7",
8462
8462
  name: "MiniMax M2.7",
8463
- api: "anthropic-messages",
8463
+ api: "openai-completions",
8464
8464
  provider: "opencode-go",
8465
- baseUrl: "https://opencode.ai/zen/go",
8465
+ baseUrl: "https://opencode.ai/zen/go/v1",
8466
8466
  reasoning: true,
8467
8467
  input: ["text"],
8468
8468
  cost: {
@@ -8477,9 +8477,10 @@ export const MODELS = {
8477
8477
  "qwen3.5-plus": {
8478
8478
  id: "qwen3.5-plus",
8479
8479
  name: "Qwen3.5 Plus",
8480
- api: "anthropic-messages",
8480
+ api: "openai-completions",
8481
8481
  provider: "opencode-go",
8482
- baseUrl: "https://opencode.ai/zen/go",
8482
+ baseUrl: "https://opencode.ai/zen/go/v1",
8483
+ compat: { "thinkingFormat": "qwen" },
8483
8484
  reasoning: true,
8484
8485
  input: ["text", "image"],
8485
8486
  cost: {
@@ -8494,9 +8495,10 @@ export const MODELS = {
8494
8495
  "qwen3.6-plus": {
8495
8496
  id: "qwen3.6-plus",
8496
8497
  name: "Qwen3.6 Plus",
8497
- api: "anthropic-messages",
8498
+ api: "openai-completions",
8498
8499
  provider: "opencode-go",
8499
- baseUrl: "https://opencode.ai/zen/go",
8500
+ baseUrl: "https://opencode.ai/zen/go/v1",
8501
+ compat: { "thinkingFormat": "qwen" },
8500
8502
  reasoning: true,
8501
8503
  input: ["text", "image"],
8502
8504
  cost: {
@@ -9202,8 +9204,8 @@ export const MODELS = {
9202
9204
  reasoning: true,
9203
9205
  input: ["text"],
9204
9206
  cost: {
9205
- input: 0.21,
9206
- output: 0.7899999999999999,
9207
+ input: 0.27,
9208
+ output: 0.95,
9207
9209
  cacheRead: 0.13,
9208
9210
  cacheWrite: 0,
9209
9211
  },
@@ -9274,13 +9276,13 @@ export const MODELS = {
9274
9276
  thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "max" },
9275
9277
  input: ["text"],
9276
9278
  cost: {
9277
- input: 0.435,
9278
- output: 0.87,
9279
- cacheRead: 0.003625,
9279
+ input: 0,
9280
+ output: 0,
9281
+ cacheRead: 0,
9280
9282
  cacheWrite: 0,
9281
9283
  },
9282
- contextWindow: 1048576,
9283
- maxTokens: 384000,
9284
+ contextWindow: 131000,
9285
+ maxTokens: 131000,
9284
9286
  },
9285
9287
  "essentialai/rnj-1-instruct": {
9286
9288
  id: "essentialai/rnj-1-instruct",
@@ -11802,13 +11804,13 @@ export const MODELS = {
11802
11804
  reasoning: true,
11803
11805
  input: ["text"],
11804
11806
  cost: {
11805
- input: 0.08,
11806
- output: 0.28,
11807
+ input: 0.09,
11808
+ output: 0.44999999999999996,
11807
11809
  cacheRead: 0,
11808
11810
  cacheWrite: 0,
11809
11811
  },
11810
11812
  contextWindow: 40960,
11811
- maxTokens: 16384,
11813
+ maxTokens: 20000,
11812
11814
  },
11813
11815
  "qwen/qwen3-30b-a3b-instruct-2507": {
11814
11816
  id: "qwen/qwen3-30b-a3b-instruct-2507",
@@ -12227,13 +12229,13 @@ export const MODELS = {
12227
12229
  reasoning: true,
12228
12230
  input: ["text", "image"],
12229
12231
  cost: {
12230
- input: 0.1625,
12231
- output: 1.3,
12232
- cacheRead: 0,
12232
+ input: 0.15,
12233
+ output: 1,
12234
+ cacheRead: 0.049999999999999996,
12233
12235
  cacheWrite: 0,
12234
12236
  },
12235
12237
  contextWindow: 262144,
12236
- maxTokens: 65536,
12238
+ maxTokens: 262144,
12237
12239
  },
12238
12240
  "qwen/qwen3.5-397b-a17b": {
12239
12241
  id: "qwen/qwen3.5-397b-a17b",
@@ -12337,6 +12339,23 @@ export const MODELS = {
12337
12339
  contextWindow: 262144,
12338
12340
  maxTokens: 81920,
12339
12341
  },
12342
+ "qwen/qwen3.6-35b-a3b": {
12343
+ id: "qwen/qwen3.6-35b-a3b",
12344
+ name: "Qwen: Qwen3.6 35B A3B",
12345
+ api: "openai-completions",
12346
+ provider: "openrouter",
12347
+ baseUrl: "https://openrouter.ai/api/v1",
12348
+ reasoning: true,
12349
+ input: ["text", "image"],
12350
+ cost: {
12351
+ input: 0.15,
12352
+ output: 1,
12353
+ cacheRead: 0.049999999999999996,
12354
+ cacheWrite: 0,
12355
+ },
12356
+ contextWindow: 262144,
12357
+ maxTokens: 262144,
12358
+ },
12340
12359
  "qwen/qwen3.6-flash": {
12341
12360
  id: "qwen/qwen3.6-flash",
12342
12361
  name: "Qwen: Qwen3.6 Flash",
@@ -14568,23 +14587,6 @@ export const MODELS = {
14568
14587
  contextWindow: 131072,
14569
14588
  maxTokens: 131072,
14570
14589
  },
14571
- "moonshotai/kimi-k2-0905": {
14572
- id: "moonshotai/kimi-k2-0905",
14573
- name: "Kimi K2 0905",
14574
- api: "anthropic-messages",
14575
- provider: "vercel-ai-gateway",
14576
- baseUrl: "https://ai-gateway.vercel.sh",
14577
- reasoning: false,
14578
- input: ["text"],
14579
- cost: {
14580
- input: 0.6,
14581
- output: 2.5,
14582
- cacheRead: 0.3,
14583
- cacheWrite: 0,
14584
- },
14585
- contextWindow: 256000,
14586
- maxTokens: 128000,
14587
- },
14588
14590
  "moonshotai/kimi-k2-thinking": {
14589
14591
  id: "moonshotai/kimi-k2-thinking",
14590
14592
  name: "Kimi K2 Thinking",
@@ -16391,7 +16393,7 @@ export const MODELS = {
16391
16393
  name: "MiMo-V2-Flash",
16392
16394
  api: "anthropic-messages",
16393
16395
  provider: "xiaomi",
16394
- baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
16396
+ baseUrl: "https://api.xiaomimimo.com/anthropic",
16395
16397
  reasoning: true,
16396
16398
  input: ["text"],
16397
16399
  cost: {
@@ -16408,7 +16410,7 @@ export const MODELS = {
16408
16410
  name: "MiMo-V2-Omni",
16409
16411
  api: "anthropic-messages",
16410
16412
  provider: "xiaomi",
16411
- baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
16413
+ baseUrl: "https://api.xiaomimimo.com/anthropic",
16412
16414
  reasoning: true,
16413
16415
  input: ["text", "image"],
16414
16416
  cost: {
@@ -16425,7 +16427,7 @@ export const MODELS = {
16425
16427
  name: "MiMo-V2-Pro",
16426
16428
  api: "anthropic-messages",
16427
16429
  provider: "xiaomi",
16428
- baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
16430
+ baseUrl: "https://api.xiaomimimo.com/anthropic",
16429
16431
  reasoning: true,
16430
16432
  input: ["text"],
16431
16433
  cost: {
@@ -16442,7 +16444,7 @@ export const MODELS = {
16442
16444
  name: "MiMo-V2.5",
16443
16445
  api: "anthropic-messages",
16444
16446
  provider: "xiaomi",
16445
- baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
16447
+ baseUrl: "https://api.xiaomimimo.com/anthropic",
16446
16448
  reasoning: true,
16447
16449
  input: ["text"],
16448
16450
  cost: {
@@ -16459,9 +16461,270 @@ export const MODELS = {
16459
16461
  name: "MiMo-V2.5-Pro",
16460
16462
  api: "anthropic-messages",
16461
16463
  provider: "xiaomi",
16464
+ baseUrl: "https://api.xiaomimimo.com/anthropic",
16465
+ reasoning: true,
16466
+ input: ["text", "image"],
16467
+ cost: {
16468
+ input: 1,
16469
+ output: 3,
16470
+ cacheRead: 0.2,
16471
+ cacheWrite: 0,
16472
+ },
16473
+ contextWindow: 1048576,
16474
+ maxTokens: 131072,
16475
+ },
16476
+ },
16477
+ "xiaomi-token-plan-ams": {
16478
+ "mimo-v2-flash": {
16479
+ id: "mimo-v2-flash",
16480
+ name: "MiMo-V2-Flash",
16481
+ api: "anthropic-messages",
16482
+ provider: "xiaomi-token-plan-ams",
16483
+ baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
16484
+ reasoning: true,
16485
+ input: ["text"],
16486
+ cost: {
16487
+ input: 0.1,
16488
+ output: 0.3,
16489
+ cacheRead: 0.01,
16490
+ cacheWrite: 0,
16491
+ },
16492
+ contextWindow: 256000,
16493
+ maxTokens: 64000,
16494
+ },
16495
+ "mimo-v2-omni": {
16496
+ id: "mimo-v2-omni",
16497
+ name: "MiMo-V2-Omni",
16498
+ api: "anthropic-messages",
16499
+ provider: "xiaomi-token-plan-ams",
16462
16500
  baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
16463
16501
  reasoning: true,
16464
16502
  input: ["text", "image"],
16503
+ cost: {
16504
+ input: 0.4,
16505
+ output: 2,
16506
+ cacheRead: 0.08,
16507
+ cacheWrite: 0,
16508
+ },
16509
+ contextWindow: 256000,
16510
+ maxTokens: 128000,
16511
+ },
16512
+ "mimo-v2-pro": {
16513
+ id: "mimo-v2-pro",
16514
+ name: "MiMo-V2-Pro",
16515
+ api: "anthropic-messages",
16516
+ provider: "xiaomi-token-plan-ams",
16517
+ baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
16518
+ reasoning: true,
16519
+ input: ["text"],
16520
+ cost: {
16521
+ input: 1,
16522
+ output: 3,
16523
+ cacheRead: 0.2,
16524
+ cacheWrite: 0,
16525
+ },
16526
+ contextWindow: 1000000,
16527
+ maxTokens: 128000,
16528
+ },
16529
+ "mimo-v2.5": {
16530
+ id: "mimo-v2.5",
16531
+ name: "MiMo-V2.5",
16532
+ api: "anthropic-messages",
16533
+ provider: "xiaomi-token-plan-ams",
16534
+ baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
16535
+ reasoning: true,
16536
+ input: ["text"],
16537
+ cost: {
16538
+ input: 0.4,
16539
+ output: 2,
16540
+ cacheRead: 0.08,
16541
+ cacheWrite: 0,
16542
+ },
16543
+ contextWindow: 1048576,
16544
+ maxTokens: 131072,
16545
+ },
16546
+ "mimo-v2.5-pro": {
16547
+ id: "mimo-v2.5-pro",
16548
+ name: "MiMo-V2.5-Pro",
16549
+ api: "anthropic-messages",
16550
+ provider: "xiaomi-token-plan-ams",
16551
+ baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
16552
+ reasoning: true,
16553
+ input: ["text", "image"],
16554
+ cost: {
16555
+ input: 1,
16556
+ output: 3,
16557
+ cacheRead: 0.2,
16558
+ cacheWrite: 0,
16559
+ },
16560
+ contextWindow: 1048576,
16561
+ maxTokens: 131072,
16562
+ },
16563
+ },
16564
+ "xiaomi-token-plan-cn": {
16565
+ "mimo-v2-flash": {
16566
+ id: "mimo-v2-flash",
16567
+ name: "MiMo-V2-Flash",
16568
+ api: "anthropic-messages",
16569
+ provider: "xiaomi-token-plan-cn",
16570
+ baseUrl: "https://token-plan-cn.xiaomimimo.com/anthropic",
16571
+ reasoning: true,
16572
+ input: ["text"],
16573
+ cost: {
16574
+ input: 0.1,
16575
+ output: 0.3,
16576
+ cacheRead: 0.01,
16577
+ cacheWrite: 0,
16578
+ },
16579
+ contextWindow: 256000,
16580
+ maxTokens: 64000,
16581
+ },
16582
+ "mimo-v2-omni": {
16583
+ id: "mimo-v2-omni",
16584
+ name: "MiMo-V2-Omni",
16585
+ api: "anthropic-messages",
16586
+ provider: "xiaomi-token-plan-cn",
16587
+ baseUrl: "https://token-plan-cn.xiaomimimo.com/anthropic",
16588
+ reasoning: true,
16589
+ input: ["text", "image"],
16590
+ cost: {
16591
+ input: 0.4,
16592
+ output: 2,
16593
+ cacheRead: 0.08,
16594
+ cacheWrite: 0,
16595
+ },
16596
+ contextWindow: 256000,
16597
+ maxTokens: 128000,
16598
+ },
16599
+ "mimo-v2-pro": {
16600
+ id: "mimo-v2-pro",
16601
+ name: "MiMo-V2-Pro",
16602
+ api: "anthropic-messages",
16603
+ provider: "xiaomi-token-plan-cn",
16604
+ baseUrl: "https://token-plan-cn.xiaomimimo.com/anthropic",
16605
+ reasoning: true,
16606
+ input: ["text"],
16607
+ cost: {
16608
+ input: 1,
16609
+ output: 3,
16610
+ cacheRead: 0.2,
16611
+ cacheWrite: 0,
16612
+ },
16613
+ contextWindow: 1000000,
16614
+ maxTokens: 128000,
16615
+ },
16616
+ "mimo-v2.5": {
16617
+ id: "mimo-v2.5",
16618
+ name: "MiMo-V2.5",
16619
+ api: "anthropic-messages",
16620
+ provider: "xiaomi-token-plan-cn",
16621
+ baseUrl: "https://token-plan-cn.xiaomimimo.com/anthropic",
16622
+ reasoning: true,
16623
+ input: ["text"],
16624
+ cost: {
16625
+ input: 0.4,
16626
+ output: 2,
16627
+ cacheRead: 0.08,
16628
+ cacheWrite: 0,
16629
+ },
16630
+ contextWindow: 1048576,
16631
+ maxTokens: 131072,
16632
+ },
16633
+ "mimo-v2.5-pro": {
16634
+ id: "mimo-v2.5-pro",
16635
+ name: "MiMo-V2.5-Pro",
16636
+ api: "anthropic-messages",
16637
+ provider: "xiaomi-token-plan-cn",
16638
+ baseUrl: "https://token-plan-cn.xiaomimimo.com/anthropic",
16639
+ reasoning: true,
16640
+ input: ["text", "image"],
16641
+ cost: {
16642
+ input: 1,
16643
+ output: 3,
16644
+ cacheRead: 0.2,
16645
+ cacheWrite: 0,
16646
+ },
16647
+ contextWindow: 1048576,
16648
+ maxTokens: 131072,
16649
+ },
16650
+ },
16651
+ "xiaomi-token-plan-sgp": {
16652
+ "mimo-v2-flash": {
16653
+ id: "mimo-v2-flash",
16654
+ name: "MiMo-V2-Flash",
16655
+ api: "anthropic-messages",
16656
+ provider: "xiaomi-token-plan-sgp",
16657
+ baseUrl: "https://token-plan-sgp.xiaomimimo.com/anthropic",
16658
+ reasoning: true,
16659
+ input: ["text"],
16660
+ cost: {
16661
+ input: 0.1,
16662
+ output: 0.3,
16663
+ cacheRead: 0.01,
16664
+ cacheWrite: 0,
16665
+ },
16666
+ contextWindow: 256000,
16667
+ maxTokens: 64000,
16668
+ },
16669
+ "mimo-v2-omni": {
16670
+ id: "mimo-v2-omni",
16671
+ name: "MiMo-V2-Omni",
16672
+ api: "anthropic-messages",
16673
+ provider: "xiaomi-token-plan-sgp",
16674
+ baseUrl: "https://token-plan-sgp.xiaomimimo.com/anthropic",
16675
+ reasoning: true,
16676
+ input: ["text", "image"],
16677
+ cost: {
16678
+ input: 0.4,
16679
+ output: 2,
16680
+ cacheRead: 0.08,
16681
+ cacheWrite: 0,
16682
+ },
16683
+ contextWindow: 256000,
16684
+ maxTokens: 128000,
16685
+ },
16686
+ "mimo-v2-pro": {
16687
+ id: "mimo-v2-pro",
16688
+ name: "MiMo-V2-Pro",
16689
+ api: "anthropic-messages",
16690
+ provider: "xiaomi-token-plan-sgp",
16691
+ baseUrl: "https://token-plan-sgp.xiaomimimo.com/anthropic",
16692
+ reasoning: true,
16693
+ input: ["text"],
16694
+ cost: {
16695
+ input: 1,
16696
+ output: 3,
16697
+ cacheRead: 0.2,
16698
+ cacheWrite: 0,
16699
+ },
16700
+ contextWindow: 1000000,
16701
+ maxTokens: 128000,
16702
+ },
16703
+ "mimo-v2.5": {
16704
+ id: "mimo-v2.5",
16705
+ name: "MiMo-V2.5",
16706
+ api: "anthropic-messages",
16707
+ provider: "xiaomi-token-plan-sgp",
16708
+ baseUrl: "https://token-plan-sgp.xiaomimimo.com/anthropic",
16709
+ reasoning: true,
16710
+ input: ["text"],
16711
+ cost: {
16712
+ input: 0.4,
16713
+ output: 2,
16714
+ cacheRead: 0.08,
16715
+ cacheWrite: 0,
16716
+ },
16717
+ contextWindow: 1048576,
16718
+ maxTokens: 131072,
16719
+ },
16720
+ "mimo-v2.5-pro": {
16721
+ id: "mimo-v2.5-pro",
16722
+ name: "MiMo-V2.5-Pro",
16723
+ api: "anthropic-messages",
16724
+ provider: "xiaomi-token-plan-sgp",
16725
+ baseUrl: "https://token-plan-sgp.xiaomimimo.com/anthropic",
16726
+ reasoning: true,
16727
+ input: ["text", "image"],
16465
16728
  cost: {
16466
16729
  input: 1,
16467
16730
  output: 3,
@@ -16547,7 +16810,7 @@ export const MODELS = {
16547
16810
  },
16548
16811
  "glm-5v-turbo": {
16549
16812
  id: "glm-5v-turbo",
16550
- name: "glm-5v-turbo",
16813
+ name: "GLM-5V-Turbo",
16551
16814
  api: "openai-completions",
16552
16815
  provider: "zai",
16553
16816
  baseUrl: "https://api.z.ai/api/coding/paas/v4",