@fleetagent/pi-ai 0.1.0 → 0.1.2

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.
@@ -3630,6 +3630,24 @@ export const MODELS = {
3630
3630
  contextWindow: 262144,
3631
3631
  maxTokens: 256000,
3632
3632
  },
3633
+ "@cf/moonshotai/kimi-k2.7-code": {
3634
+ id: "@cf/moonshotai/kimi-k2.7-code",
3635
+ name: "Kimi K2.7 Code",
3636
+ api: "openai-completions",
3637
+ provider: "cloudflare-workers-ai",
3638
+ baseUrl: "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/v1",
3639
+ compat: { "sendSessionAffinityHeaders": true },
3640
+ reasoning: true,
3641
+ input: ["text", "image"],
3642
+ cost: {
3643
+ input: 0.95,
3644
+ output: 4,
3645
+ cacheRead: 0.19,
3646
+ cacheWrite: 0,
3647
+ },
3648
+ contextWindow: 262144,
3649
+ maxTokens: 262144,
3650
+ },
3633
3651
  "@cf/nvidia/nemotron-3-120b-a12b": {
3634
3652
  id: "@cf/nvidia/nemotron-3-120b-a12b",
3635
3653
  name: "Nemotron 3 Super 120B",
@@ -3852,9 +3870,9 @@ export const MODELS = {
3852
3870
  contextWindow: 131072,
3853
3871
  maxTokens: 32768,
3854
3872
  },
3855
- "accounts/fireworks/models/kimi-k2p5": {
3856
- id: "accounts/fireworks/models/kimi-k2p5",
3857
- name: "Kimi K2.5",
3873
+ "accounts/fireworks/models/kimi-k2p6": {
3874
+ id: "accounts/fireworks/models/kimi-k2p6",
3875
+ name: "Kimi K2.6",
3858
3876
  api: "anthropic-messages",
3859
3877
  provider: "fireworks",
3860
3878
  baseUrl: "https://api.fireworks.ai/inference",
@@ -3862,17 +3880,17 @@ export const MODELS = {
3862
3880
  reasoning: true,
3863
3881
  input: ["text", "image"],
3864
3882
  cost: {
3865
- input: 0.6,
3866
- output: 3,
3867
- cacheRead: 0.1,
3883
+ input: 0.95,
3884
+ output: 4,
3885
+ cacheRead: 0.16,
3868
3886
  cacheWrite: 0,
3869
3887
  },
3870
- contextWindow: 256000,
3871
- maxTokens: 256000,
3888
+ contextWindow: 262000,
3889
+ maxTokens: 262000,
3872
3890
  },
3873
- "accounts/fireworks/models/kimi-k2p6": {
3874
- id: "accounts/fireworks/models/kimi-k2p6",
3875
- name: "Kimi K2.6",
3891
+ "accounts/fireworks/models/kimi-k2p7-code": {
3892
+ id: "accounts/fireworks/models/kimi-k2p7-code",
3893
+ name: "Kimi K2.7 Code",
3876
3894
  api: "anthropic-messages",
3877
3895
  provider: "fireworks",
3878
3896
  baseUrl: "https://api.fireworks.ai/inference",
@@ -3882,15 +3900,15 @@ export const MODELS = {
3882
3900
  cost: {
3883
3901
  input: 0.95,
3884
3902
  output: 4,
3885
- cacheRead: 0.16,
3903
+ cacheRead: 0.19,
3886
3904
  cacheWrite: 0,
3887
3905
  },
3888
3906
  contextWindow: 262000,
3889
3907
  maxTokens: 262000,
3890
3908
  },
3891
- "accounts/fireworks/models/minimax-m2p5": {
3892
- id: "accounts/fireworks/models/minimax-m2p5",
3893
- name: "MiniMax-M2.5",
3909
+ "accounts/fireworks/models/minimax-m2p7": {
3910
+ id: "accounts/fireworks/models/minimax-m2p7",
3911
+ name: "MiniMax-M2.7",
3894
3912
  api: "anthropic-messages",
3895
3913
  provider: "fireworks",
3896
3914
  baseUrl: "https://api.fireworks.ai/inference",
@@ -3900,15 +3918,15 @@ export const MODELS = {
3900
3918
  cost: {
3901
3919
  input: 0.3,
3902
3920
  output: 1.2,
3903
- cacheRead: 0.03,
3921
+ cacheRead: 0.06,
3904
3922
  cacheWrite: 0,
3905
3923
  },
3906
3924
  contextWindow: 196608,
3907
3925
  maxTokens: 196608,
3908
3926
  },
3909
- "accounts/fireworks/models/minimax-m2p7": {
3910
- id: "accounts/fireworks/models/minimax-m2p7",
3911
- name: "MiniMax-M2.7",
3927
+ "accounts/fireworks/models/minimax-m3": {
3928
+ id: "accounts/fireworks/models/minimax-m3",
3929
+ name: "MiniMax-M3",
3912
3930
  api: "anthropic-messages",
3913
3931
  provider: "fireworks",
3914
3932
  baseUrl: "https://api.fireworks.ai/inference",
@@ -3921,12 +3939,12 @@ export const MODELS = {
3921
3939
  cacheRead: 0.06,
3922
3940
  cacheWrite: 0,
3923
3941
  },
3924
- contextWindow: 196608,
3925
- maxTokens: 196608,
3942
+ contextWindow: 512000,
3943
+ maxTokens: 512000,
3926
3944
  },
3927
- "accounts/fireworks/models/qwen3p6-plus": {
3928
- id: "accounts/fireworks/models/qwen3p6-plus",
3929
- name: "Qwen 3.6 Plus",
3945
+ "accounts/fireworks/models/qwen3p7-plus": {
3946
+ id: "accounts/fireworks/models/qwen3p7-plus",
3947
+ name: "Qwen 3.7 Plus",
3930
3948
  api: "anthropic-messages",
3931
3949
  provider: "fireworks",
3932
3950
  baseUrl: "https://api.fireworks.ai/inference",
@@ -3934,9 +3952,9 @@ export const MODELS = {
3934
3952
  reasoning: true,
3935
3953
  input: ["text", "image"],
3936
3954
  cost: {
3937
- input: 0.5,
3938
- output: 3,
3939
- cacheRead: 0.1,
3955
+ input: 0.4,
3956
+ output: 1.6,
3957
+ cacheRead: 0.08,
3940
3958
  cacheWrite: 0,
3941
3959
  },
3942
3960
  contextWindow: 262144,
@@ -3996,6 +4014,24 @@ export const MODELS = {
3996
4014
  contextWindow: 262000,
3997
4015
  maxTokens: 262000,
3998
4016
  },
4017
+ "accounts/fireworks/routers/kimi-k2p7-code-fast": {
4018
+ id: "accounts/fireworks/routers/kimi-k2p7-code-fast",
4019
+ name: "Kimi K2.7 Code Fast",
4020
+ api: "anthropic-messages",
4021
+ provider: "fireworks",
4022
+ baseUrl: "https://api.fireworks.ai/inference",
4023
+ compat: { "sendSessionAffinityHeaders": true, "supportsEagerToolInputStreaming": false, "supportsCacheControlOnTools": false, "supportsLongCacheRetention": false },
4024
+ reasoning: true,
4025
+ input: ["text", "image"],
4026
+ cost: {
4027
+ input: 2,
4028
+ output: 8,
4029
+ cacheRead: 0.38,
4030
+ cacheWrite: 0,
4031
+ },
4032
+ contextWindow: 262000,
4033
+ maxTokens: 262000,
4034
+ },
3999
4035
  },
4000
4036
  "github-copilot": {
4001
4037
  "claude-fable-5": {
@@ -5468,6 +5504,24 @@ export const MODELS = {
5468
5504
  },
5469
5505
  },
5470
5506
  "kimi-coding": {
5507
+ "k2p7": {
5508
+ id: "k2p7",
5509
+ name: "Kimi K2.7 Code",
5510
+ api: "anthropic-messages",
5511
+ provider: "kimi-coding",
5512
+ baseUrl: "https://api.kimi.com/coding",
5513
+ headers: { "User-Agent": "KimiCLI/1.5" },
5514
+ reasoning: true,
5515
+ input: ["text", "image"],
5516
+ cost: {
5517
+ input: 0,
5518
+ output: 0,
5519
+ cacheRead: 0,
5520
+ cacheWrite: 0,
5521
+ },
5522
+ contextWindow: 262144,
5523
+ maxTokens: 32768,
5524
+ },
5471
5525
  "kimi-for-coding": {
5472
5526
  id: "kimi-for-coding",
5473
5527
  name: "Kimi For Coding",
@@ -6216,6 +6270,24 @@ export const MODELS = {
6216
6270
  contextWindow: 262144,
6217
6271
  maxTokens: 262144,
6218
6272
  },
6273
+ "kimi-k2.7-code": {
6274
+ id: "kimi-k2.7-code",
6275
+ name: "Kimi K2.7 Code",
6276
+ api: "openai-completions",
6277
+ provider: "moonshotai",
6278
+ baseUrl: "https://api.moonshot.ai/v1",
6279
+ compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": false, "maxTokensField": "max_tokens", "supportsStrictMode": false },
6280
+ reasoning: true,
6281
+ input: ["text", "image"],
6282
+ cost: {
6283
+ input: 0.95,
6284
+ output: 4,
6285
+ cacheRead: 0.19,
6286
+ cacheWrite: 0,
6287
+ },
6288
+ contextWindow: 262144,
6289
+ maxTokens: 262144,
6290
+ },
6219
6291
  },
6220
6292
  "moonshotai-cn": {
6221
6293
  "kimi-k2-0711-preview": {
@@ -7213,23 +7285,6 @@ export const MODELS = {
7213
7285
  contextWindow: 200000,
7214
7286
  maxTokens: 32000,
7215
7287
  },
7216
- "claude-fable-5": {
7217
- id: "claude-fable-5",
7218
- name: "Claude Fable 5",
7219
- api: "anthropic-messages",
7220
- provider: "opencode",
7221
- baseUrl: "https://opencode.ai/zen",
7222
- reasoning: true,
7223
- input: ["text", "image"],
7224
- cost: {
7225
- input: 10,
7226
- output: 50,
7227
- cacheRead: 1,
7228
- cacheWrite: 12.5,
7229
- },
7230
- contextWindow: 1000000,
7231
- maxTokens: 128000,
7232
- },
7233
7288
  "claude-haiku-4-5": {
7234
7289
  id: "claude-haiku-4-5",
7235
7290
  name: "Claude Haiku 4.5",
@@ -8069,41 +8124,41 @@ export const MODELS = {
8069
8124
  contextWindow: 202752,
8070
8125
  maxTokens: 32768,
8071
8126
  },
8072
- "kimi-k2.5": {
8073
- id: "kimi-k2.5",
8074
- name: "Kimi K2.5",
8127
+ "kimi-k2.6": {
8128
+ id: "kimi-k2.6",
8129
+ name: "Kimi K2.6",
8075
8130
  api: "openai-completions",
8076
8131
  provider: "opencode-go",
8077
8132
  baseUrl: "https://opencode.ai/zen/go/v1",
8133
+ compat: { "thinkingFormat": "deepseek", "supportsReasoningEffort": false },
8078
8134
  reasoning: true,
8135
+ thinkingLevelMap: { "minimal": null, "low": null, "medium": null },
8079
8136
  input: ["text", "image"],
8080
8137
  cost: {
8081
- input: 0.6,
8082
- output: 3,
8083
- cacheRead: 0.1,
8138
+ input: 0.95,
8139
+ output: 4,
8140
+ cacheRead: 0.16,
8084
8141
  cacheWrite: 0,
8085
8142
  },
8086
8143
  contextWindow: 262144,
8087
8144
  maxTokens: 65536,
8088
8145
  },
8089
- "kimi-k2.6": {
8090
- id: "kimi-k2.6",
8091
- name: "Kimi K2.6",
8146
+ "kimi-k2.7-code": {
8147
+ id: "kimi-k2.7-code",
8148
+ name: "Kimi K2.7 Code",
8092
8149
  api: "openai-completions",
8093
8150
  provider: "opencode-go",
8094
8151
  baseUrl: "https://opencode.ai/zen/go/v1",
8095
- compat: { "thinkingFormat": "deepseek", "supportsReasoningEffort": false },
8096
8152
  reasoning: true,
8097
- thinkingLevelMap: { "minimal": null, "low": null, "medium": null },
8098
8153
  input: ["text", "image"],
8099
8154
  cost: {
8100
8155
  input: 0.95,
8101
8156
  output: 4,
8102
- cacheRead: 0.16,
8157
+ cacheRead: 0.19,
8103
8158
  cacheWrite: 0,
8104
8159
  },
8105
8160
  contextWindow: 262144,
8106
- maxTokens: 65536,
8161
+ maxTokens: 262144,
8107
8162
  },
8108
8163
  "mimo-v2.5": {
8109
8164
  id: "mimo-v2.5",
@@ -8139,23 +8194,6 @@ export const MODELS = {
8139
8194
  contextWindow: 1048576,
8140
8195
  maxTokens: 128000,
8141
8196
  },
8142
- "minimax-m2.5": {
8143
- id: "minimax-m2.5",
8144
- name: "MiniMax M2.5",
8145
- api: "anthropic-messages",
8146
- provider: "opencode-go",
8147
- baseUrl: "https://opencode.ai/zen/go",
8148
- reasoning: true,
8149
- input: ["text"],
8150
- cost: {
8151
- input: 0.3,
8152
- output: 1.2,
8153
- cacheRead: 0.03,
8154
- cacheWrite: 0,
8155
- },
8156
- contextWindow: 204800,
8157
- maxTokens: 65536,
8158
- },
8159
8197
  "minimax-m2.7": {
8160
8198
  id: "minimax-m2.7",
8161
8199
  name: "MiniMax M2.7",
@@ -8175,16 +8213,16 @@ export const MODELS = {
8175
8213
  },
8176
8214
  "minimax-m3": {
8177
8215
  id: "minimax-m3",
8178
- name: "MiniMax M3",
8216
+ name: "MiniMax M3 (3x usage)",
8179
8217
  api: "anthropic-messages",
8180
8218
  provider: "opencode-go",
8181
8219
  baseUrl: "https://opencode.ai/zen/go",
8182
8220
  reasoning: true,
8183
8221
  input: ["text", "image"],
8184
8222
  cost: {
8185
- input: 0.3,
8186
- output: 1.2,
8187
- cacheRead: 0.06,
8223
+ input: 0.1,
8224
+ output: 0.4,
8225
+ cacheRead: 0.02,
8188
8226
  cacheWrite: 0,
8189
8227
  },
8190
8228
  contextWindow: 512000,
@@ -8823,7 +8861,7 @@ export const MODELS = {
8823
8861
  cacheRead: 0.135,
8824
8862
  cacheWrite: 0,
8825
8863
  },
8826
- contextWindow: 131072,
8864
+ contextWindow: 163840,
8827
8865
  maxTokens: 16384,
8828
8866
  },
8829
8867
  "deepseek/deepseek-chat-v3.1": {
@@ -9963,13 +10001,30 @@ export const MODELS = {
9963
10001
  reasoning: true,
9964
10002
  input: ["text", "image"],
9965
10003
  cost: {
9966
- input: 0.67,
9967
- output: 3.39,
9968
- cacheRead: 0.14,
10004
+ input: 0.6799999999999999,
10005
+ output: 3.41,
10006
+ cacheRead: 0.33999999999999997,
9969
10007
  cacheWrite: 0,
9970
10008
  },
9971
10009
  contextWindow: 262144,
9972
- maxTokens: 262144,
10010
+ maxTokens: 262142,
10011
+ },
10012
+ "moonshotai/kimi-k2.7-code": {
10013
+ id: "moonshotai/kimi-k2.7-code",
10014
+ name: "MoonshotAI: Kimi K2.7 Code",
10015
+ api: "openai-completions",
10016
+ provider: "openrouter",
10017
+ baseUrl: "https://openrouter.ai/api/v1",
10018
+ reasoning: true,
10019
+ input: ["text", "image"],
10020
+ cost: {
10021
+ input: 0.95,
10022
+ output: 4,
10023
+ cacheRead: 0.19,
10024
+ cacheWrite: 0,
10025
+ },
10026
+ contextWindow: 262144,
10027
+ maxTokens: 4096,
9973
10028
  },
9974
10029
  "nex-agi/nex-n2-pro:free": {
9975
10030
  id: "nex-agi/nex-n2-pro:free",
@@ -11862,8 +11917,8 @@ export const MODELS = {
11862
11917
  reasoning: true,
11863
11918
  input: ["text", "image"],
11864
11919
  cost: {
11865
- input: 0.28700000000000003,
11866
- output: 3.1,
11920
+ input: 0.28850000000000003,
11921
+ output: 3.17,
11867
11922
  cacheRead: 0,
11868
11923
  cacheWrite: 0,
11869
11924
  },
@@ -12508,13 +12563,13 @@ export const MODELS = {
12508
12563
  reasoning: true,
12509
12564
  input: ["text", "image"],
12510
12565
  cost: {
12511
- input: 0.67,
12512
- output: 3.39,
12513
- cacheRead: 0.14,
12566
+ input: 0.6799999999999999,
12567
+ output: 3.41,
12568
+ cacheRead: 0.33999999999999997,
12514
12569
  cacheWrite: 0,
12515
12570
  },
12516
12571
  contextWindow: 262144,
12517
- maxTokens: 262144,
12572
+ maxTokens: 262142,
12518
12573
  },
12519
12574
  "~openai/gpt-latest": {
12520
12575
  id: "~openai/gpt-latest",
@@ -12571,6 +12626,25 @@ export const MODELS = {
12571
12626
  contextWindow: 202752,
12572
12627
  maxTokens: 131072,
12573
12628
  },
12629
+ "MiniMaxAI/MiniMax-M3": {
12630
+ id: "MiniMaxAI/MiniMax-M3",
12631
+ name: "MiniMax-M3",
12632
+ api: "openai-completions",
12633
+ provider: "together",
12634
+ baseUrl: "https://api.together.ai/v1",
12635
+ compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": false, "maxTokensField": "max_tokens", "supportsStrictMode": false, "supportsLongCacheRetention": false, "thinkingFormat": "together" },
12636
+ reasoning: true,
12637
+ thinkingLevelMap: { "minimal": null, "low": null, "medium": null },
12638
+ input: ["text", "image"],
12639
+ cost: {
12640
+ input: 0.3,
12641
+ output: 1.2,
12642
+ cacheRead: 0.06,
12643
+ cacheWrite: 0,
12644
+ },
12645
+ contextWindow: 524288,
12646
+ maxTokens: 250000,
12647
+ },
12574
12648
  "Qwen/Qwen2.5-7B-Instruct-Turbo": {
12575
12649
  id: "Qwen/Qwen2.5-7B-Instruct-Turbo",
12576
12650
  name: "Qwen 2.5 7B Instruct Turbo",
@@ -13280,23 +13354,6 @@ export const MODELS = {
13280
13354
  contextWindow: 200000,
13281
13355
  maxTokens: 8192,
13282
13356
  },
13283
- "anthropic/claude-fable-5": {
13284
- id: "anthropic/claude-fable-5",
13285
- name: "Claude Fable 5",
13286
- api: "anthropic-messages",
13287
- provider: "vercel-ai-gateway",
13288
- baseUrl: "https://ai-gateway.vercel.sh",
13289
- reasoning: true,
13290
- input: ["text", "image"],
13291
- cost: {
13292
- input: 10,
13293
- output: 50,
13294
- cacheRead: 1,
13295
- cacheWrite: 12.5,
13296
- },
13297
- contextWindow: 1000000,
13298
- maxTokens: 128000,
13299
- },
13300
13357
  "anthropic/claude-haiku-4.5": {
13301
13358
  id: "anthropic/claude-haiku-4.5",
13302
13359
  name: "Claude Haiku 4.5",
@@ -14459,6 +14516,23 @@ export const MODELS = {
14459
14516
  contextWindow: 262000,
14460
14517
  maxTokens: 262000,
14461
14518
  },
14519
+ "moonshotai/kimi-k2.7-code": {
14520
+ id: "moonshotai/kimi-k2.7-code",
14521
+ name: "Kimi K2.7 Code",
14522
+ api: "anthropic-messages",
14523
+ provider: "vercel-ai-gateway",
14524
+ baseUrl: "https://ai-gateway.vercel.sh",
14525
+ reasoning: true,
14526
+ input: ["text", "image"],
14527
+ cost: {
14528
+ input: 0.95,
14529
+ output: 4,
14530
+ cacheRead: 0.19,
14531
+ cacheWrite: 0,
14532
+ },
14533
+ contextWindow: 256000,
14534
+ maxTokens: 32768,
14535
+ },
14462
14536
  "nvidia/nemotron-3-super-120b-a12b": {
14463
14537
  id: "nvidia/nemotron-3-super-120b-a12b",
14464
14538
  name: "NVIDIA Nemotron 3 Super 120B A12B",