@caupulican/pi-ai 0.80.22 → 0.80.23

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",
@@ -5477,6 +5495,24 @@ export const MODELS = {
5477
5495
  },
5478
5496
  },
5479
5497
  "kimi-coding": {
5498
+ "k2p7": {
5499
+ id: "k2p7",
5500
+ name: "Kimi K2.7 Code",
5501
+ api: "anthropic-messages",
5502
+ provider: "kimi-coding",
5503
+ baseUrl: "https://api.kimi.com/coding",
5504
+ headers: { "User-Agent": "KimiCLI/1.5" },
5505
+ reasoning: true,
5506
+ input: ["text", "image"],
5507
+ cost: {
5508
+ input: 0,
5509
+ output: 0,
5510
+ cacheRead: 0,
5511
+ cacheWrite: 0,
5512
+ },
5513
+ contextWindow: 262144,
5514
+ maxTokens: 32768,
5515
+ },
5480
5516
  "kimi-for-coding": {
5481
5517
  id: "kimi-for-coding",
5482
5518
  name: "Kimi For Coding",
@@ -6245,6 +6281,24 @@ export const MODELS = {
6245
6281
  contextWindow: 262144,
6246
6282
  maxTokens: 262144,
6247
6283
  },
6284
+ "kimi-k2.7-code": {
6285
+ id: "kimi-k2.7-code",
6286
+ name: "Kimi K2.7 Code",
6287
+ api: "openai-completions",
6288
+ provider: "moonshotai",
6289
+ baseUrl: "https://api.moonshot.ai/v1",
6290
+ compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": false, "maxTokensField": "max_tokens", "supportsStrictMode": false },
6291
+ reasoning: true,
6292
+ input: ["text", "image"],
6293
+ cost: {
6294
+ input: 0.95,
6295
+ output: 4,
6296
+ cacheRead: 0.19,
6297
+ cacheWrite: 0,
6298
+ },
6299
+ contextWindow: 262144,
6300
+ maxTokens: 262144,
6301
+ },
6248
6302
  },
6249
6303
  "moonshotai-cn": {
6250
6304
  "kimi-k2-0711-preview": {
@@ -8099,41 +8153,41 @@ export const MODELS = {
8099
8153
  contextWindow: 202752,
8100
8154
  maxTokens: 32768,
8101
8155
  },
8102
- "kimi-k2.5": {
8103
- id: "kimi-k2.5",
8104
- name: "Kimi K2.5",
8156
+ "kimi-k2.6": {
8157
+ id: "kimi-k2.6",
8158
+ name: "Kimi K2.6",
8105
8159
  api: "openai-completions",
8106
8160
  provider: "opencode-go",
8107
8161
  baseUrl: "https://opencode.ai/zen/go/v1",
8162
+ compat: { "thinkingFormat": "deepseek", "supportsReasoningEffort": false },
8108
8163
  reasoning: true,
8164
+ thinkingLevelMap: { "minimal": null, "low": null, "medium": null },
8109
8165
  input: ["text", "image"],
8110
8166
  cost: {
8111
- input: 0.6,
8112
- output: 3,
8113
- cacheRead: 0.1,
8167
+ input: 0.95,
8168
+ output: 4,
8169
+ cacheRead: 0.16,
8114
8170
  cacheWrite: 0,
8115
8171
  },
8116
8172
  contextWindow: 262144,
8117
8173
  maxTokens: 65536,
8118
8174
  },
8119
- "kimi-k2.6": {
8120
- id: "kimi-k2.6",
8121
- name: "Kimi K2.6",
8175
+ "kimi-k2.7-code": {
8176
+ id: "kimi-k2.7-code",
8177
+ name: "Kimi K2.7 Code",
8122
8178
  api: "openai-completions",
8123
8179
  provider: "opencode-go",
8124
8180
  baseUrl: "https://opencode.ai/zen/go/v1",
8125
- compat: { "thinkingFormat": "deepseek", "supportsReasoningEffort": false },
8126
8181
  reasoning: true,
8127
- thinkingLevelMap: { "minimal": null, "low": null, "medium": null },
8128
8182
  input: ["text", "image"],
8129
8183
  cost: {
8130
8184
  input: 0.95,
8131
8185
  output: 4,
8132
- cacheRead: 0.16,
8186
+ cacheRead: 0.19,
8133
8187
  cacheWrite: 0,
8134
8188
  },
8135
8189
  contextWindow: 262144,
8136
- maxTokens: 65536,
8190
+ maxTokens: 262144,
8137
8191
  },
8138
8192
  "mimo-v2.5": {
8139
8193
  id: "mimo-v2.5",
@@ -8169,23 +8223,6 @@ export const MODELS = {
8169
8223
  contextWindow: 1048576,
8170
8224
  maxTokens: 128000,
8171
8225
  },
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
8226
  "minimax-m2.7": {
8190
8227
  id: "minimax-m2.7",
8191
8228
  name: "MiniMax M2.7",
@@ -8855,7 +8892,7 @@ export const MODELS = {
8855
8892
  cacheRead: 0.135,
8856
8893
  cacheWrite: 0,
8857
8894
  },
8858
- contextWindow: 131072,
8895
+ contextWindow: 163840,
8859
8896
  maxTokens: 16384,
8860
8897
  },
8861
8898
  "deepseek/deepseek-chat-v3.1": {
@@ -9995,13 +10032,13 @@ export const MODELS = {
9995
10032
  reasoning: true,
9996
10033
  input: ["text", "image"],
9997
10034
  cost: {
9998
- input: 0.67,
9999
- output: 3.39,
10000
- cacheRead: 0.14,
10035
+ input: 0.6799999999999999,
10036
+ output: 3.41,
10037
+ cacheRead: 0.33999999999999997,
10001
10038
  cacheWrite: 0,
10002
10039
  },
10003
10040
  contextWindow: 262144,
10004
- maxTokens: 262144,
10041
+ maxTokens: 262142,
10005
10042
  },
10006
10043
  "moonshotai/kimi-k2.7-code": {
10007
10044
  id: "moonshotai/kimi-k2.7-code",
@@ -11911,8 +11948,8 @@ export const MODELS = {
11911
11948
  reasoning: true,
11912
11949
  input: ["text", "image"],
11913
11950
  cost: {
11914
- input: 0.28700000000000003,
11915
- output: 3.1,
11951
+ input: 0.28850000000000003,
11952
+ output: 3.17,
11916
11953
  cacheRead: 0,
11917
11954
  cacheWrite: 0,
11918
11955
  },
@@ -12557,13 +12594,13 @@ export const MODELS = {
12557
12594
  reasoning: true,
12558
12595
  input: ["text", "image"],
12559
12596
  cost: {
12560
- input: 0.67,
12561
- output: 3.39,
12562
- cacheRead: 0.14,
12597
+ input: 0.6799999999999999,
12598
+ output: 3.41,
12599
+ cacheRead: 0.33999999999999997,
12563
12600
  cacheWrite: 0,
12564
12601
  },
12565
12602
  contextWindow: 262144,
12566
- maxTokens: 262144,
12603
+ maxTokens: 262142,
12567
12604
  },
12568
12605
  "~openai/gpt-latest": {
12569
12606
  id: "~openai/gpt-latest",
@@ -14509,6 +14546,23 @@ export const MODELS = {
14509
14546
  contextWindow: 262000,
14510
14547
  maxTokens: 262000,
14511
14548
  },
14549
+ "moonshotai/kimi-k2.7-code": {
14550
+ id: "moonshotai/kimi-k2.7-code",
14551
+ name: "Kimi K2.7 Code",
14552
+ api: "anthropic-messages",
14553
+ provider: "vercel-ai-gateway",
14554
+ baseUrl: "https://ai-gateway.vercel.sh",
14555
+ reasoning: true,
14556
+ input: ["text", "image"],
14557
+ cost: {
14558
+ input: 0.95,
14559
+ output: 4,
14560
+ cacheRead: 0.19,
14561
+ cacheWrite: 0,
14562
+ },
14563
+ contextWindow: 256000,
14564
+ maxTokens: 32768,
14565
+ },
14512
14566
  "nvidia/nemotron-3-super-120b-a12b": {
14513
14567
  id: "nvidia/nemotron-3-super-120b-a12b",
14514
14568
  name: "NVIDIA Nemotron 3 Super 120B A12B",