@caupulican/pi-ai 0.80.22 → 0.80.25

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.
@@ -3638,6 +3638,24 @@ export const MODELS = {
3638
3638
  contextWindow: 262144,
3639
3639
  maxTokens: 256000,
3640
3640
  },
3641
+ "@cf/moonshotai/kimi-k2.7-code": {
3642
+ id: "@cf/moonshotai/kimi-k2.7-code",
3643
+ name: "Kimi K2.7 Code",
3644
+ api: "openai-completions",
3645
+ provider: "cloudflare-workers-ai",
3646
+ baseUrl: "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/v1",
3647
+ compat: { "sendSessionAffinityHeaders": true },
3648
+ reasoning: true,
3649
+ input: ["text", "image"],
3650
+ cost: {
3651
+ input: 0.95,
3652
+ output: 4,
3653
+ cacheRead: 0.19,
3654
+ cacheWrite: 0,
3655
+ },
3656
+ contextWindow: 262144,
3657
+ maxTokens: 262144,
3658
+ },
3641
3659
  "@cf/nvidia/nemotron-3-120b-a12b": {
3642
3660
  id: "@cf/nvidia/nemotron-3-120b-a12b",
3643
3661
  name: "Nemotron 3 Super 120B",
@@ -3860,9 +3878,9 @@ export const MODELS = {
3860
3878
  contextWindow: 131072,
3861
3879
  maxTokens: 32768,
3862
3880
  },
3863
- "accounts/fireworks/models/kimi-k2p5": {
3864
- id: "accounts/fireworks/models/kimi-k2p5",
3865
- name: "Kimi K2.5",
3881
+ "accounts/fireworks/models/kimi-k2p6": {
3882
+ id: "accounts/fireworks/models/kimi-k2p6",
3883
+ name: "Kimi K2.6",
3866
3884
  api: "anthropic-messages",
3867
3885
  provider: "fireworks",
3868
3886
  baseUrl: "https://api.fireworks.ai/inference",
@@ -3870,17 +3888,17 @@ export const MODELS = {
3870
3888
  reasoning: true,
3871
3889
  input: ["text", "image"],
3872
3890
  cost: {
3873
- input: 0.6,
3874
- output: 3,
3875
- cacheRead: 0.1,
3891
+ input: 0.95,
3892
+ output: 4,
3893
+ cacheRead: 0.16,
3876
3894
  cacheWrite: 0,
3877
3895
  },
3878
- contextWindow: 256000,
3879
- maxTokens: 256000,
3896
+ contextWindow: 262000,
3897
+ maxTokens: 262000,
3880
3898
  },
3881
- "accounts/fireworks/models/kimi-k2p6": {
3882
- id: "accounts/fireworks/models/kimi-k2p6",
3883
- name: "Kimi K2.6",
3899
+ "accounts/fireworks/models/kimi-k2p7-code": {
3900
+ id: "accounts/fireworks/models/kimi-k2p7-code",
3901
+ name: "Kimi K2.7 Code",
3884
3902
  api: "anthropic-messages",
3885
3903
  provider: "fireworks",
3886
3904
  baseUrl: "https://api.fireworks.ai/inference",
@@ -3890,15 +3908,15 @@ export const MODELS = {
3890
3908
  cost: {
3891
3909
  input: 0.95,
3892
3910
  output: 4,
3893
- cacheRead: 0.16,
3911
+ cacheRead: 0.19,
3894
3912
  cacheWrite: 0,
3895
3913
  },
3896
3914
  contextWindow: 262000,
3897
3915
  maxTokens: 262000,
3898
3916
  },
3899
- "accounts/fireworks/models/minimax-m2p5": {
3900
- id: "accounts/fireworks/models/minimax-m2p5",
3901
- name: "MiniMax-M2.5",
3917
+ "accounts/fireworks/models/minimax-m2p7": {
3918
+ id: "accounts/fireworks/models/minimax-m2p7",
3919
+ name: "MiniMax-M2.7",
3902
3920
  api: "anthropic-messages",
3903
3921
  provider: "fireworks",
3904
3922
  baseUrl: "https://api.fireworks.ai/inference",
@@ -3908,15 +3926,15 @@ export const MODELS = {
3908
3926
  cost: {
3909
3927
  input: 0.3,
3910
3928
  output: 1.2,
3911
- cacheRead: 0.03,
3929
+ cacheRead: 0.06,
3912
3930
  cacheWrite: 0,
3913
3931
  },
3914
3932
  contextWindow: 196608,
3915
3933
  maxTokens: 196608,
3916
3934
  },
3917
- "accounts/fireworks/models/minimax-m2p7": {
3918
- id: "accounts/fireworks/models/minimax-m2p7",
3919
- name: "MiniMax-M2.7",
3935
+ "accounts/fireworks/models/minimax-m3": {
3936
+ id: "accounts/fireworks/models/minimax-m3",
3937
+ name: "MiniMax-M3",
3920
3938
  api: "anthropic-messages",
3921
3939
  provider: "fireworks",
3922
3940
  baseUrl: "https://api.fireworks.ai/inference",
@@ -3929,12 +3947,12 @@ export const MODELS = {
3929
3947
  cacheRead: 0.06,
3930
3948
  cacheWrite: 0,
3931
3949
  },
3932
- contextWindow: 196608,
3933
- maxTokens: 196608,
3950
+ contextWindow: 512000,
3951
+ maxTokens: 512000,
3934
3952
  },
3935
- "accounts/fireworks/models/qwen3p6-plus": {
3936
- id: "accounts/fireworks/models/qwen3p6-plus",
3937
- name: "Qwen 3.6 Plus",
3953
+ "accounts/fireworks/models/qwen3p7-plus": {
3954
+ id: "accounts/fireworks/models/qwen3p7-plus",
3955
+ name: "Qwen 3.7 Plus",
3938
3956
  api: "anthropic-messages",
3939
3957
  provider: "fireworks",
3940
3958
  baseUrl: "https://api.fireworks.ai/inference",
@@ -3942,9 +3960,9 @@ export const MODELS = {
3942
3960
  reasoning: true,
3943
3961
  input: ["text", "image"],
3944
3962
  cost: {
3945
- input: 0.5,
3946
- output: 3,
3947
- cacheRead: 0.1,
3963
+ input: 0.4,
3964
+ output: 1.6,
3965
+ cacheRead: 0.08,
3948
3966
  cacheWrite: 0,
3949
3967
  },
3950
3968
  contextWindow: 262144,
@@ -4004,6 +4022,24 @@ export const MODELS = {
4004
4022
  contextWindow: 262000,
4005
4023
  maxTokens: 262000,
4006
4024
  },
4025
+ "accounts/fireworks/routers/kimi-k2p7-code-fast": {
4026
+ id: "accounts/fireworks/routers/kimi-k2p7-code-fast",
4027
+ name: "Kimi K2.7 Code Fast",
4028
+ api: "anthropic-messages",
4029
+ provider: "fireworks",
4030
+ baseUrl: "https://api.fireworks.ai/inference",
4031
+ compat: { "sendSessionAffinityHeaders": true, "supportsEagerToolInputStreaming": false, "supportsCacheControlOnTools": false, "supportsLongCacheRetention": false },
4032
+ reasoning: true,
4033
+ input: ["text", "image"],
4034
+ cost: {
4035
+ input: 2,
4036
+ output: 8,
4037
+ cacheRead: 0.38,
4038
+ cacheWrite: 0,
4039
+ },
4040
+ contextWindow: 262000,
4041
+ maxTokens: 262000,
4042
+ },
4007
4043
  },
4008
4044
  "github-copilot": {
4009
4045
  "claude-fable-5": {
@@ -5477,6 +5513,24 @@ export const MODELS = {
5477
5513
  },
5478
5514
  },
5479
5515
  "kimi-coding": {
5516
+ "k2p7": {
5517
+ id: "k2p7",
5518
+ name: "Kimi K2.7 Code",
5519
+ api: "anthropic-messages",
5520
+ provider: "kimi-coding",
5521
+ baseUrl: "https://api.kimi.com/coding",
5522
+ headers: { "User-Agent": "KimiCLI/1.5" },
5523
+ reasoning: true,
5524
+ input: ["text", "image"],
5525
+ cost: {
5526
+ input: 0,
5527
+ output: 0,
5528
+ cacheRead: 0,
5529
+ cacheWrite: 0,
5530
+ },
5531
+ contextWindow: 262144,
5532
+ maxTokens: 32768,
5533
+ },
5480
5534
  "kimi-for-coding": {
5481
5535
  id: "kimi-for-coding",
5482
5536
  name: "Kimi For Coding",
@@ -6245,6 +6299,24 @@ export const MODELS = {
6245
6299
  contextWindow: 262144,
6246
6300
  maxTokens: 262144,
6247
6301
  },
6302
+ "kimi-k2.7-code": {
6303
+ id: "kimi-k2.7-code",
6304
+ name: "Kimi K2.7 Code",
6305
+ api: "openai-completions",
6306
+ provider: "moonshotai",
6307
+ baseUrl: "https://api.moonshot.ai/v1",
6308
+ compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": false, "maxTokensField": "max_tokens", "supportsStrictMode": false },
6309
+ reasoning: true,
6310
+ input: ["text", "image"],
6311
+ cost: {
6312
+ input: 0.95,
6313
+ output: 4,
6314
+ cacheRead: 0.19,
6315
+ cacheWrite: 0,
6316
+ },
6317
+ contextWindow: 262144,
6318
+ maxTokens: 262144,
6319
+ },
6248
6320
  },
6249
6321
  "moonshotai-cn": {
6250
6322
  "kimi-k2-0711-preview": {
@@ -7242,23 +7314,6 @@ export const MODELS = {
7242
7314
  contextWindow: 200000,
7243
7315
  maxTokens: 32000,
7244
7316
  },
7245
- "claude-fable-5": {
7246
- id: "claude-fable-5",
7247
- name: "Claude Fable 5",
7248
- api: "anthropic-messages",
7249
- provider: "opencode",
7250
- baseUrl: "https://opencode.ai/zen",
7251
- reasoning: true,
7252
- input: ["text", "image"],
7253
- cost: {
7254
- input: 10,
7255
- output: 50,
7256
- cacheRead: 1,
7257
- cacheWrite: 12.5,
7258
- },
7259
- contextWindow: 1000000,
7260
- maxTokens: 128000,
7261
- },
7262
7317
  "claude-haiku-4-5": {
7263
7318
  id: "claude-haiku-4-5",
7264
7319
  name: "Claude Haiku 4.5",
@@ -8099,41 +8154,41 @@ export const MODELS = {
8099
8154
  contextWindow: 202752,
8100
8155
  maxTokens: 32768,
8101
8156
  },
8102
- "kimi-k2.5": {
8103
- id: "kimi-k2.5",
8104
- name: "Kimi K2.5",
8157
+ "kimi-k2.6": {
8158
+ id: "kimi-k2.6",
8159
+ name: "Kimi K2.6",
8105
8160
  api: "openai-completions",
8106
8161
  provider: "opencode-go",
8107
8162
  baseUrl: "https://opencode.ai/zen/go/v1",
8163
+ compat: { "thinkingFormat": "deepseek", "supportsReasoningEffort": false },
8108
8164
  reasoning: true,
8165
+ thinkingLevelMap: { "minimal": null, "low": null, "medium": null },
8109
8166
  input: ["text", "image"],
8110
8167
  cost: {
8111
- input: 0.6,
8112
- output: 3,
8113
- cacheRead: 0.1,
8168
+ input: 0.95,
8169
+ output: 4,
8170
+ cacheRead: 0.16,
8114
8171
  cacheWrite: 0,
8115
8172
  },
8116
8173
  contextWindow: 262144,
8117
8174
  maxTokens: 65536,
8118
8175
  },
8119
- "kimi-k2.6": {
8120
- id: "kimi-k2.6",
8121
- name: "Kimi K2.6",
8176
+ "kimi-k2.7-code": {
8177
+ id: "kimi-k2.7-code",
8178
+ name: "Kimi K2.7 Code",
8122
8179
  api: "openai-completions",
8123
8180
  provider: "opencode-go",
8124
8181
  baseUrl: "https://opencode.ai/zen/go/v1",
8125
- compat: { "thinkingFormat": "deepseek", "supportsReasoningEffort": false },
8126
8182
  reasoning: true,
8127
- thinkingLevelMap: { "minimal": null, "low": null, "medium": null },
8128
8183
  input: ["text", "image"],
8129
8184
  cost: {
8130
8185
  input: 0.95,
8131
8186
  output: 4,
8132
- cacheRead: 0.16,
8187
+ cacheRead: 0.19,
8133
8188
  cacheWrite: 0,
8134
8189
  },
8135
8190
  contextWindow: 262144,
8136
- maxTokens: 65536,
8191
+ maxTokens: 262144,
8137
8192
  },
8138
8193
  "mimo-v2.5": {
8139
8194
  id: "mimo-v2.5",
@@ -8169,23 +8224,6 @@ export const MODELS = {
8169
8224
  contextWindow: 1048576,
8170
8225
  maxTokens: 128000,
8171
8226
  },
8172
- "minimax-m2.5": {
8173
- id: "minimax-m2.5",
8174
- name: "MiniMax M2.5",
8175
- api: "anthropic-messages",
8176
- provider: "opencode-go",
8177
- baseUrl: "https://opencode.ai/zen/go",
8178
- reasoning: true,
8179
- input: ["text"],
8180
- cost: {
8181
- input: 0.3,
8182
- output: 1.2,
8183
- cacheRead: 0.03,
8184
- cacheWrite: 0,
8185
- },
8186
- contextWindow: 204800,
8187
- maxTokens: 65536,
8188
- },
8189
8227
  "minimax-m2.7": {
8190
8228
  id: "minimax-m2.7",
8191
8229
  name: "MiniMax M2.7",
@@ -8855,7 +8893,7 @@ export const MODELS = {
8855
8893
  cacheRead: 0.135,
8856
8894
  cacheWrite: 0,
8857
8895
  },
8858
- contextWindow: 131072,
8896
+ contextWindow: 163840,
8859
8897
  maxTokens: 16384,
8860
8898
  },
8861
8899
  "deepseek/deepseek-chat-v3.1": {
@@ -8971,13 +9009,13 @@ export const MODELS = {
8971
9009
  thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "xhigh" },
8972
9010
  input: ["text"],
8973
9011
  cost: {
8974
- input: 0.098,
8975
- output: 0.196,
9012
+ input: 0.09,
9013
+ output: 0.18,
8976
9014
  cacheRead: 0.02,
8977
9015
  cacheWrite: 0,
8978
9016
  },
8979
9017
  contextWindow: 1048576,
8980
- maxTokens: 4096,
9018
+ maxTokens: 65536,
8981
9019
  },
8982
9020
  "deepseek/deepseek-v4-pro": {
8983
9021
  id: "deepseek/deepseek-v4-pro",
@@ -9995,13 +10033,13 @@ export const MODELS = {
9995
10033
  reasoning: true,
9996
10034
  input: ["text", "image"],
9997
10035
  cost: {
9998
- input: 0.67,
9999
- output: 3.39,
10000
- cacheRead: 0.14,
10036
+ input: 0.6799999999999999,
10037
+ output: 3.41,
10038
+ cacheRead: 0.33999999999999997,
10001
10039
  cacheWrite: 0,
10002
10040
  },
10003
10041
  contextWindow: 262144,
10004
- maxTokens: 262144,
10042
+ maxTokens: 262142,
10005
10043
  },
10006
10044
  "moonshotai/kimi-k2.7-code": {
10007
10045
  id: "moonshotai/kimi-k2.7-code",
@@ -10012,13 +10050,13 @@ export const MODELS = {
10012
10050
  reasoning: true,
10013
10051
  input: ["text", "image"],
10014
10052
  cost: {
10015
- input: 0.95,
10016
- output: 4,
10017
- cacheRead: 0.19,
10053
+ input: 0.75,
10054
+ output: 3.5,
10055
+ cacheRead: 0.16,
10018
10056
  cacheWrite: 0,
10019
10057
  },
10020
10058
  contextWindow: 262144,
10021
- maxTokens: 4096,
10059
+ maxTokens: 262144,
10022
10060
  },
10023
10061
  "nex-agi/nex-n2-pro:free": {
10024
10062
  id: "nex-agi/nex-n2-pro:free",
@@ -11911,8 +11949,8 @@ export const MODELS = {
11911
11949
  reasoning: true,
11912
11950
  input: ["text", "image"],
11913
11951
  cost: {
11914
- input: 0.28700000000000003,
11915
- output: 3.1,
11952
+ input: 0.28850000000000003,
11953
+ output: 3.17,
11916
11954
  cacheRead: 0,
11917
11955
  cacheWrite: 0,
11918
11956
  },
@@ -12557,13 +12595,13 @@ export const MODELS = {
12557
12595
  reasoning: true,
12558
12596
  input: ["text", "image"],
12559
12597
  cost: {
12560
- input: 0.67,
12561
- output: 3.39,
12562
- cacheRead: 0.14,
12598
+ input: 0.6799999999999999,
12599
+ output: 3.41,
12600
+ cacheRead: 0.33999999999999997,
12563
12601
  cacheWrite: 0,
12564
12602
  },
12565
12603
  contextWindow: 262144,
12566
- maxTokens: 262144,
12604
+ maxTokens: 262142,
12567
12605
  },
12568
12606
  "~openai/gpt-latest": {
12569
12607
  id: "~openai/gpt-latest",
@@ -12620,6 +12658,25 @@ export const MODELS = {
12620
12658
  contextWindow: 202752,
12621
12659
  maxTokens: 131072,
12622
12660
  },
12661
+ "MiniMaxAI/MiniMax-M3": {
12662
+ id: "MiniMaxAI/MiniMax-M3",
12663
+ name: "MiniMax-M3",
12664
+ api: "openai-completions",
12665
+ provider: "together",
12666
+ baseUrl: "https://api.together.ai/v1",
12667
+ compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": false, "maxTokensField": "max_tokens", "supportsStrictMode": false, "supportsLongCacheRetention": false, "thinkingFormat": "together" },
12668
+ reasoning: true,
12669
+ thinkingLevelMap: { "minimal": null, "low": null, "medium": null },
12670
+ input: ["text", "image"],
12671
+ cost: {
12672
+ input: 0.3,
12673
+ output: 1.2,
12674
+ cacheRead: 0.06,
12675
+ cacheWrite: 0,
12676
+ },
12677
+ contextWindow: 524288,
12678
+ maxTokens: 250000,
12679
+ },
12623
12680
  "Qwen/Qwen2.5-7B-Instruct-Turbo": {
12624
12681
  id: "Qwen/Qwen2.5-7B-Instruct-Turbo",
12625
12682
  name: "Qwen 2.5 7B Instruct Turbo",
@@ -13329,23 +13386,6 @@ export const MODELS = {
13329
13386
  contextWindow: 200000,
13330
13387
  maxTokens: 8192,
13331
13388
  },
13332
- "anthropic/claude-fable-5": {
13333
- id: "anthropic/claude-fable-5",
13334
- name: "Claude Fable 5",
13335
- api: "anthropic-messages",
13336
- provider: "vercel-ai-gateway",
13337
- baseUrl: "https://ai-gateway.vercel.sh",
13338
- reasoning: true,
13339
- input: ["text", "image"],
13340
- cost: {
13341
- input: 10,
13342
- output: 50,
13343
- cacheRead: 1,
13344
- cacheWrite: 12.5,
13345
- },
13346
- contextWindow: 1000000,
13347
- maxTokens: 128000,
13348
- },
13349
13389
  "anthropic/claude-haiku-4.5": {
13350
13390
  id: "anthropic/claude-haiku-4.5",
13351
13391
  name: "Claude Haiku 4.5",
@@ -14509,6 +14549,23 @@ export const MODELS = {
14509
14549
  contextWindow: 262000,
14510
14550
  maxTokens: 262000,
14511
14551
  },
14552
+ "moonshotai/kimi-k2.7-code": {
14553
+ id: "moonshotai/kimi-k2.7-code",
14554
+ name: "Kimi K2.7 Code",
14555
+ api: "anthropic-messages",
14556
+ provider: "vercel-ai-gateway",
14557
+ baseUrl: "https://ai-gateway.vercel.sh",
14558
+ reasoning: true,
14559
+ input: ["text", "image"],
14560
+ cost: {
14561
+ input: 0.95,
14562
+ output: 4,
14563
+ cacheRead: 0.19,
14564
+ cacheWrite: 0,
14565
+ },
14566
+ contextWindow: 256000,
14567
+ maxTokens: 32768,
14568
+ },
14512
14569
  "nvidia/nemotron-3-super-120b-a12b": {
14513
14570
  id: "nvidia/nemotron-3-super-120b-a12b",
14514
14571
  name: "NVIDIA Nemotron 3 Super 120B A12B",
@@ -16343,6 +16400,24 @@ export const MODELS = {
16343
16400
  contextWindow: 200000,
16344
16401
  maxTokens: 131072,
16345
16402
  },
16403
+ "glm-5.2": {
16404
+ id: "glm-5.2",
16405
+ name: "GLM-5.2",
16406
+ api: "openai-completions",
16407
+ provider: "zai",
16408
+ baseUrl: "https://api.z.ai/api/coding/paas/v4",
16409
+ compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai", "zaiToolStream": true },
16410
+ reasoning: true,
16411
+ input: ["text"],
16412
+ cost: {
16413
+ input: 0,
16414
+ output: 0,
16415
+ cacheRead: 0,
16416
+ cacheWrite: 0,
16417
+ },
16418
+ contextWindow: 1000000,
16419
+ maxTokens: 131072,
16420
+ },
16346
16421
  "glm-5v-turbo": {
16347
16422
  id: "glm-5v-turbo",
16348
16423
  name: "GLM-5V-Turbo",