@caupulican/pi-ai 0.78.2 → 0.78.3
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.
- package/dist/models.generated.d.ts +122 -20
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +134 -47
- package/dist/models.generated.js.map +1 -1
- package/dist/providers/amazon-bedrock.d.ts.map +1 -1
- package/dist/providers/amazon-bedrock.js +10 -3
- package/dist/providers/amazon-bedrock.js.map +1 -1
- package/dist/providers/anthropic.d.ts.map +1 -1
- package/dist/providers/anthropic.js +31 -4
- package/dist/providers/anthropic.js.map +1 -1
- package/dist/providers/openai-completions.d.ts.map +1 -1
- package/dist/providers/openai-completions.js +33 -12
- package/dist/providers/openai-completions.js.map +1 -1
- package/dist/types.d.ts +7 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +2 -2
package/dist/models.generated.js
CHANGED
|
@@ -391,8 +391,8 @@ export const MODELS = {
|
|
|
391
391
|
thinkingLevelMap: { "xhigh": "max" },
|
|
392
392
|
input: ["text", "image"],
|
|
393
393
|
cost: {
|
|
394
|
-
input: 5,
|
|
395
|
-
output:
|
|
394
|
+
input: 5.5,
|
|
395
|
+
output: 27.5,
|
|
396
396
|
cacheRead: 0.5,
|
|
397
397
|
cacheWrite: 6.25,
|
|
398
398
|
},
|
|
@@ -409,10 +409,10 @@ export const MODELS = {
|
|
|
409
409
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
410
410
|
input: ["text", "image"],
|
|
411
411
|
cost: {
|
|
412
|
-
input: 5,
|
|
413
|
-
output:
|
|
414
|
-
cacheRead: 0.
|
|
415
|
-
cacheWrite: 6.
|
|
412
|
+
input: 5.5,
|
|
413
|
+
output: 27.5,
|
|
414
|
+
cacheRead: 0.55,
|
|
415
|
+
cacheWrite: 6.875,
|
|
416
416
|
},
|
|
417
417
|
contextWindow: 1000000,
|
|
418
418
|
maxTokens: 128000,
|
|
@@ -427,10 +427,10 @@ export const MODELS = {
|
|
|
427
427
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
428
428
|
input: ["text", "image"],
|
|
429
429
|
cost: {
|
|
430
|
-
input: 5,
|
|
431
|
-
output:
|
|
432
|
-
cacheRead: 0.
|
|
433
|
-
cacheWrite: 6.
|
|
430
|
+
input: 5.5,
|
|
431
|
+
output: 27.5,
|
|
432
|
+
cacheRead: 0.55,
|
|
433
|
+
cacheWrite: 6.875,
|
|
434
434
|
},
|
|
435
435
|
contextWindow: 1000000,
|
|
436
436
|
maxTokens: 128000,
|
|
@@ -444,10 +444,10 @@ export const MODELS = {
|
|
|
444
444
|
reasoning: true,
|
|
445
445
|
input: ["text", "image"],
|
|
446
446
|
cost: {
|
|
447
|
-
input: 3,
|
|
448
|
-
output:
|
|
449
|
-
cacheRead: 0.
|
|
450
|
-
cacheWrite:
|
|
447
|
+
input: 3.3,
|
|
448
|
+
output: 16.5,
|
|
449
|
+
cacheRead: 0.33,
|
|
450
|
+
cacheWrite: 4.125,
|
|
451
451
|
},
|
|
452
452
|
contextWindow: 200000,
|
|
453
453
|
maxTokens: 64000,
|
|
@@ -461,10 +461,10 @@ export const MODELS = {
|
|
|
461
461
|
reasoning: true,
|
|
462
462
|
input: ["text", "image"],
|
|
463
463
|
cost: {
|
|
464
|
-
input: 3,
|
|
465
|
-
output:
|
|
466
|
-
cacheRead: 0.
|
|
467
|
-
cacheWrite:
|
|
464
|
+
input: 3.3,
|
|
465
|
+
output: 16.5,
|
|
466
|
+
cacheRead: 0.33,
|
|
467
|
+
cacheWrite: 4.125,
|
|
468
468
|
},
|
|
469
469
|
contextWindow: 1000000,
|
|
470
470
|
maxTokens: 64000,
|
|
@@ -1847,7 +1847,7 @@ export const MODELS = {
|
|
|
1847
1847
|
api: "anthropic-messages",
|
|
1848
1848
|
provider: "anthropic",
|
|
1849
1849
|
baseUrl: "https://api.anthropic.com",
|
|
1850
|
-
compat: { "forceAdaptiveThinking": true },
|
|
1850
|
+
compat: { "forceAdaptiveThinking": true, "supportsTemperature": false },
|
|
1851
1851
|
reasoning: true,
|
|
1852
1852
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
1853
1853
|
input: ["text", "image"],
|
|
@@ -1866,7 +1866,7 @@ export const MODELS = {
|
|
|
1866
1866
|
api: "anthropic-messages",
|
|
1867
1867
|
provider: "anthropic",
|
|
1868
1868
|
baseUrl: "https://api.anthropic.com",
|
|
1869
|
-
compat: { "forceAdaptiveThinking": true },
|
|
1869
|
+
compat: { "forceAdaptiveThinking": true, "supportsTemperature": false },
|
|
1870
1870
|
reasoning: true,
|
|
1871
1871
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
1872
1872
|
input: ["text", "image"],
|
|
@@ -2955,7 +2955,7 @@ export const MODELS = {
|
|
|
2955
2955
|
api: "anthropic-messages",
|
|
2956
2956
|
provider: "cloudflare-ai-gateway",
|
|
2957
2957
|
baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
|
|
2958
|
-
compat: { "forceAdaptiveThinking": true },
|
|
2958
|
+
compat: { "forceAdaptiveThinking": true, "supportsTemperature": false },
|
|
2959
2959
|
reasoning: true,
|
|
2960
2960
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
2961
2961
|
input: ["text", "image"],
|
|
@@ -2974,7 +2974,7 @@ export const MODELS = {
|
|
|
2974
2974
|
api: "anthropic-messages",
|
|
2975
2975
|
provider: "cloudflare-ai-gateway",
|
|
2976
2976
|
baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
|
|
2977
|
-
compat: { "forceAdaptiveThinking": true },
|
|
2977
|
+
compat: { "forceAdaptiveThinking": true, "supportsTemperature": false },
|
|
2978
2978
|
reasoning: true,
|
|
2979
2979
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
2980
2980
|
input: ["text", "image"],
|
|
@@ -3482,24 +3482,6 @@ export const MODELS = {
|
|
|
3482
3482
|
contextWindow: 128000,
|
|
3483
3483
|
maxTokens: 128000,
|
|
3484
3484
|
},
|
|
3485
|
-
"@cf/moonshotai/kimi-k2.5": {
|
|
3486
|
-
id: "@cf/moonshotai/kimi-k2.5",
|
|
3487
|
-
name: "Kimi K2.5",
|
|
3488
|
-
api: "openai-completions",
|
|
3489
|
-
provider: "cloudflare-workers-ai",
|
|
3490
|
-
baseUrl: "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/v1",
|
|
3491
|
-
compat: { "sendSessionAffinityHeaders": true },
|
|
3492
|
-
reasoning: true,
|
|
3493
|
-
input: ["text", "image"],
|
|
3494
|
-
cost: {
|
|
3495
|
-
input: 0.6,
|
|
3496
|
-
output: 3,
|
|
3497
|
-
cacheRead: 0.1,
|
|
3498
|
-
cacheWrite: 0,
|
|
3499
|
-
},
|
|
3500
|
-
contextWindow: 256000,
|
|
3501
|
-
maxTokens: 256000,
|
|
3502
|
-
},
|
|
3503
3485
|
"@cf/moonshotai/kimi-k2.6": {
|
|
3504
3486
|
id: "@cf/moonshotai/kimi-k2.6",
|
|
3505
3487
|
name: "Kimi K2.6",
|
|
@@ -3932,7 +3914,7 @@ export const MODELS = {
|
|
|
3932
3914
|
provider: "github-copilot",
|
|
3933
3915
|
baseUrl: "https://api.individual.githubcopilot.com",
|
|
3934
3916
|
headers: { "User-Agent": "GitHubCopilotChat/0.35.0", "Editor-Version": "vscode/1.107.0", "Editor-Plugin-Version": "copilot-chat/0.35.0", "Copilot-Integration-Id": "vscode-chat" },
|
|
3935
|
-
compat: { "forceAdaptiveThinking": true },
|
|
3917
|
+
compat: { "forceAdaptiveThinking": true, "supportsTemperature": false },
|
|
3936
3918
|
reasoning: true,
|
|
3937
3919
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
3938
3920
|
input: ["text", "image"],
|
|
@@ -3952,7 +3934,7 @@ export const MODELS = {
|
|
|
3952
3934
|
provider: "github-copilot",
|
|
3953
3935
|
baseUrl: "https://api.individual.githubcopilot.com",
|
|
3954
3936
|
headers: { "User-Agent": "GitHubCopilotChat/0.35.0", "Editor-Version": "vscode/1.107.0", "Editor-Plugin-Version": "copilot-chat/0.35.0", "Copilot-Integration-Id": "vscode-chat" },
|
|
3955
|
-
compat: { "forceAdaptiveThinking": true },
|
|
3937
|
+
compat: { "forceAdaptiveThinking": true, "supportsTemperature": false },
|
|
3956
3938
|
reasoning: true,
|
|
3957
3939
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
3958
3940
|
input: ["text", "image"],
|
|
@@ -5525,6 +5507,26 @@ export const MODELS = {
|
|
|
5525
5507
|
maxTokens: 32768,
|
|
5526
5508
|
},
|
|
5527
5509
|
},
|
|
5510
|
+
"llama-cpp": {
|
|
5511
|
+
"local": {
|
|
5512
|
+
id: "local",
|
|
5513
|
+
name: "llama.cpp local server",
|
|
5514
|
+
api: "openai-completions",
|
|
5515
|
+
provider: "llama-cpp",
|
|
5516
|
+
baseUrl: "http://127.0.0.1:8080/v1",
|
|
5517
|
+
compat: { "supportsDeveloperRole": false, "supportsStore": false, "supportsReasoningEffort": false, "maxTokensField": "max_tokens", "supportsStrictMode": false },
|
|
5518
|
+
reasoning: false,
|
|
5519
|
+
input: ["text"],
|
|
5520
|
+
cost: {
|
|
5521
|
+
input: 0,
|
|
5522
|
+
output: 0,
|
|
5523
|
+
cacheRead: 0,
|
|
5524
|
+
cacheWrite: 0,
|
|
5525
|
+
},
|
|
5526
|
+
contextWindow: 32768,
|
|
5527
|
+
maxTokens: 4096,
|
|
5528
|
+
},
|
|
5529
|
+
},
|
|
5528
5530
|
"minimax": {
|
|
5529
5531
|
"MiniMax-M2.7": {
|
|
5530
5532
|
id: "MiniMax-M2.7",
|
|
@@ -6905,7 +6907,7 @@ export const MODELS = {
|
|
|
6905
6907
|
provider: "openai",
|
|
6906
6908
|
baseUrl: "https://api.openai.com/v1",
|
|
6907
6909
|
reasoning: true,
|
|
6908
|
-
thinkingLevelMap: { "off": "none", "xhigh": "xhigh" },
|
|
6910
|
+
thinkingLevelMap: { "off": "none", "xhigh": "xhigh", "minimal": null },
|
|
6909
6911
|
input: ["text", "image"],
|
|
6910
6912
|
cost: {
|
|
6911
6913
|
input: 5,
|
|
@@ -7275,7 +7277,7 @@ export const MODELS = {
|
|
|
7275
7277
|
api: "anthropic-messages",
|
|
7276
7278
|
provider: "opencode",
|
|
7277
7279
|
baseUrl: "https://opencode.ai/zen",
|
|
7278
|
-
compat: { "forceAdaptiveThinking": true },
|
|
7280
|
+
compat: { "forceAdaptiveThinking": true, "supportsTemperature": false },
|
|
7279
7281
|
reasoning: true,
|
|
7280
7282
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
7281
7283
|
input: ["text", "image"],
|
|
@@ -7294,7 +7296,7 @@ export const MODELS = {
|
|
|
7294
7296
|
api: "anthropic-messages",
|
|
7295
7297
|
provider: "opencode",
|
|
7296
7298
|
baseUrl: "https://opencode.ai/zen",
|
|
7297
|
-
compat: { "forceAdaptiveThinking": true },
|
|
7299
|
+
compat: { "forceAdaptiveThinking": true, "supportsTemperature": false },
|
|
7298
7300
|
reasoning: true,
|
|
7299
7301
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
7300
7302
|
input: ["text", "image"],
|
|
@@ -7878,6 +7880,23 @@ export const MODELS = {
|
|
|
7878
7880
|
contextWindow: 204800,
|
|
7879
7881
|
maxTokens: 131072,
|
|
7880
7882
|
},
|
|
7883
|
+
"minimax-m3-free": {
|
|
7884
|
+
id: "minimax-m3-free",
|
|
7885
|
+
name: "MiniMax M3 Free",
|
|
7886
|
+
api: "anthropic-messages",
|
|
7887
|
+
provider: "opencode",
|
|
7888
|
+
baseUrl: "https://opencode.ai/zen",
|
|
7889
|
+
reasoning: true,
|
|
7890
|
+
input: ["text", "image"],
|
|
7891
|
+
cost: {
|
|
7892
|
+
input: 0,
|
|
7893
|
+
output: 0,
|
|
7894
|
+
cacheRead: 0,
|
|
7895
|
+
cacheWrite: 0,
|
|
7896
|
+
},
|
|
7897
|
+
contextWindow: 200000,
|
|
7898
|
+
maxTokens: 32000,
|
|
7899
|
+
},
|
|
7881
7900
|
"nemotron-3-super-free": {
|
|
7882
7901
|
id: "nemotron-3-super-free",
|
|
7883
7902
|
name: "Nemotron 3 Super Free",
|
|
@@ -8107,6 +8126,23 @@ export const MODELS = {
|
|
|
8107
8126
|
contextWindow: 204800,
|
|
8108
8127
|
maxTokens: 131072,
|
|
8109
8128
|
},
|
|
8129
|
+
"minimax-m3": {
|
|
8130
|
+
id: "minimax-m3",
|
|
8131
|
+
name: "MiniMax M3",
|
|
8132
|
+
api: "anthropic-messages",
|
|
8133
|
+
provider: "opencode-go",
|
|
8134
|
+
baseUrl: "https://opencode.ai/zen/go",
|
|
8135
|
+
reasoning: true,
|
|
8136
|
+
input: ["text", "image"],
|
|
8137
|
+
cost: {
|
|
8138
|
+
input: 0.6,
|
|
8139
|
+
output: 2.4,
|
|
8140
|
+
cacheRead: 0.12,
|
|
8141
|
+
cacheWrite: 0,
|
|
8142
|
+
},
|
|
8143
|
+
contextWindow: 512000,
|
|
8144
|
+
maxTokens: 131072,
|
|
8145
|
+
},
|
|
8110
8146
|
"qwen3.6-plus": {
|
|
8111
8147
|
id: "qwen3.6-plus",
|
|
8112
8148
|
name: "Qwen3.6 Plus",
|
|
@@ -9515,6 +9551,23 @@ export const MODELS = {
|
|
|
9515
9551
|
contextWindow: 204800,
|
|
9516
9552
|
maxTokens: 4096,
|
|
9517
9553
|
},
|
|
9554
|
+
"minimax/minimax-m3": {
|
|
9555
|
+
id: "minimax/minimax-m3",
|
|
9556
|
+
name: "MiniMax: MiniMax M3",
|
|
9557
|
+
api: "openai-completions",
|
|
9558
|
+
provider: "openrouter",
|
|
9559
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
9560
|
+
reasoning: true,
|
|
9561
|
+
input: ["text", "image"],
|
|
9562
|
+
cost: {
|
|
9563
|
+
input: 0.3,
|
|
9564
|
+
output: 1.2,
|
|
9565
|
+
cacheRead: 0.06,
|
|
9566
|
+
cacheWrite: 0,
|
|
9567
|
+
},
|
|
9568
|
+
contextWindow: 1048576,
|
|
9569
|
+
maxTokens: 512000,
|
|
9570
|
+
},
|
|
9518
9571
|
"mistralai/codestral-2508": {
|
|
9519
9572
|
id: "mistralai/codestral-2508",
|
|
9520
9573
|
name: "Mistral: Codestral 2508",
|
|
@@ -13331,7 +13384,7 @@ export const MODELS = {
|
|
|
13331
13384
|
api: "anthropic-messages",
|
|
13332
13385
|
provider: "vercel-ai-gateway",
|
|
13333
13386
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
13334
|
-
compat: { "forceAdaptiveThinking": true },
|
|
13387
|
+
compat: { "forceAdaptiveThinking": true, "supportsTemperature": false },
|
|
13335
13388
|
reasoning: true,
|
|
13336
13389
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
13337
13390
|
input: ["text", "image"],
|
|
@@ -13350,7 +13403,7 @@ export const MODELS = {
|
|
|
13350
13403
|
api: "anthropic-messages",
|
|
13351
13404
|
provider: "vercel-ai-gateway",
|
|
13352
13405
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
13353
|
-
compat: { "forceAdaptiveThinking": true },
|
|
13406
|
+
compat: { "forceAdaptiveThinking": true, "supportsTemperature": false },
|
|
13354
13407
|
reasoning: true,
|
|
13355
13408
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
13356
13409
|
input: ["text", "image"],
|
|
@@ -14146,6 +14199,23 @@ export const MODELS = {
|
|
|
14146
14199
|
contextWindow: 204800,
|
|
14147
14200
|
maxTokens: 131100,
|
|
14148
14201
|
},
|
|
14202
|
+
"minimax/minimax-m3": {
|
|
14203
|
+
id: "minimax/minimax-m3",
|
|
14204
|
+
name: "MiniMax M3",
|
|
14205
|
+
api: "anthropic-messages",
|
|
14206
|
+
provider: "vercel-ai-gateway",
|
|
14207
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
14208
|
+
reasoning: true,
|
|
14209
|
+
input: ["text", "image"],
|
|
14210
|
+
cost: {
|
|
14211
|
+
input: 0.3,
|
|
14212
|
+
output: 1.2,
|
|
14213
|
+
cacheRead: 0.06,
|
|
14214
|
+
cacheWrite: 0,
|
|
14215
|
+
},
|
|
14216
|
+
contextWindow: 1000000,
|
|
14217
|
+
maxTokens: 1000000,
|
|
14218
|
+
},
|
|
14149
14219
|
"mistral/codestral": {
|
|
14150
14220
|
id: "mistral/codestral",
|
|
14151
14221
|
name: "Mistral Codestral",
|
|
@@ -15144,6 +15214,23 @@ export const MODELS = {
|
|
|
15144
15214
|
contextWindow: 200000,
|
|
15145
15215
|
maxTokens: 8000,
|
|
15146
15216
|
},
|
|
15217
|
+
"stepfun/step-3.5-flash": {
|
|
15218
|
+
id: "stepfun/step-3.5-flash",
|
|
15219
|
+
name: "StepFun 3.5 Flash",
|
|
15220
|
+
api: "anthropic-messages",
|
|
15221
|
+
provider: "vercel-ai-gateway",
|
|
15222
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
15223
|
+
reasoning: true,
|
|
15224
|
+
input: ["text"],
|
|
15225
|
+
cost: {
|
|
15226
|
+
input: 0.09,
|
|
15227
|
+
output: 0.3,
|
|
15228
|
+
cacheRead: 0,
|
|
15229
|
+
cacheWrite: 0.02,
|
|
15230
|
+
},
|
|
15231
|
+
contextWindow: 262114,
|
|
15232
|
+
maxTokens: 262114,
|
|
15233
|
+
},
|
|
15147
15234
|
"stepfun/step-3.7-flash": {
|
|
15148
15235
|
id: "stepfun/step-3.7-flash",
|
|
15149
15236
|
name: "Step 3.7 Flash",
|