@mariozechner/pi-ai 0.54.2 → 0.55.1
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/env-api-keys.d.ts.map +1 -1
- package/dist/env-api-keys.js +8 -2
- package/dist/env-api-keys.js.map +1 -1
- package/dist/models.generated.d.ts +182 -12
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +203 -33
- package/dist/models.generated.js.map +1 -1
- package/dist/providers/amazon-bedrock.d.ts.map +1 -1
- package/dist/providers/amazon-bedrock.js +8 -5
- package/dist/providers/amazon-bedrock.js.map +1 -1
- package/dist/providers/anthropic.d.ts +4 -4
- package/dist/providers/anthropic.d.ts.map +1 -1
- package/dist/providers/anthropic.js +13 -9
- package/dist/providers/anthropic.js.map +1 -1
- package/package.json +1 -1
package/dist/models.generated.js
CHANGED
|
@@ -3495,6 +3495,23 @@ export const MODELS = {
|
|
|
3495
3495
|
contextWindow: 1048576,
|
|
3496
3496
|
maxTokens: 65535,
|
|
3497
3497
|
},
|
|
3498
|
+
"gemini-3.1-pro-preview": {
|
|
3499
|
+
id: "gemini-3.1-pro-preview",
|
|
3500
|
+
name: "Gemini 3.1 Pro Preview (Cloud Code Assist)",
|
|
3501
|
+
api: "google-gemini-cli",
|
|
3502
|
+
provider: "google-gemini-cli",
|
|
3503
|
+
baseUrl: "https://cloudcode-pa.googleapis.com",
|
|
3504
|
+
reasoning: true,
|
|
3505
|
+
input: ["text", "image"],
|
|
3506
|
+
cost: {
|
|
3507
|
+
input: 0,
|
|
3508
|
+
output: 0,
|
|
3509
|
+
cacheRead: 0,
|
|
3510
|
+
cacheWrite: 0,
|
|
3511
|
+
},
|
|
3512
|
+
contextWindow: 1048576,
|
|
3513
|
+
maxTokens: 65535,
|
|
3514
|
+
},
|
|
3498
3515
|
},
|
|
3499
3516
|
"google-vertex": {
|
|
3500
3517
|
"gemini-1.5-flash": {
|
|
@@ -5879,23 +5896,6 @@ export const MODELS = {
|
|
|
5879
5896
|
contextWindow: 204800,
|
|
5880
5897
|
maxTokens: 131072,
|
|
5881
5898
|
},
|
|
5882
|
-
"glm-5-free": {
|
|
5883
|
-
id: "glm-5-free",
|
|
5884
|
-
name: "GLM-5 Free",
|
|
5885
|
-
api: "openai-completions",
|
|
5886
|
-
provider: "opencode",
|
|
5887
|
-
baseUrl: "https://opencode.ai/zen/v1",
|
|
5888
|
-
reasoning: true,
|
|
5889
|
-
input: ["text"],
|
|
5890
|
-
cost: {
|
|
5891
|
-
input: 0,
|
|
5892
|
-
output: 0,
|
|
5893
|
-
cacheRead: 0,
|
|
5894
|
-
cacheWrite: 0,
|
|
5895
|
-
},
|
|
5896
|
-
contextWindow: 204800,
|
|
5897
|
-
maxTokens: 131072,
|
|
5898
|
-
},
|
|
5899
5899
|
"gpt-5": {
|
|
5900
5900
|
id: "gpt-5",
|
|
5901
5901
|
name: "GPT-5",
|
|
@@ -6049,6 +6049,23 @@ export const MODELS = {
|
|
|
6049
6049
|
contextWindow: 400000,
|
|
6050
6050
|
maxTokens: 128000,
|
|
6051
6051
|
},
|
|
6052
|
+
"gpt-5.3-codex": {
|
|
6053
|
+
id: "gpt-5.3-codex",
|
|
6054
|
+
name: "GPT-5.3 Codex",
|
|
6055
|
+
api: "openai-responses",
|
|
6056
|
+
provider: "opencode",
|
|
6057
|
+
baseUrl: "https://opencode.ai/zen/v1",
|
|
6058
|
+
reasoning: true,
|
|
6059
|
+
input: ["text", "image"],
|
|
6060
|
+
cost: {
|
|
6061
|
+
input: 1.75,
|
|
6062
|
+
output: 14,
|
|
6063
|
+
cacheRead: 0.175,
|
|
6064
|
+
cacheWrite: 0,
|
|
6065
|
+
},
|
|
6066
|
+
contextWindow: 400000,
|
|
6067
|
+
maxTokens: 128000,
|
|
6068
|
+
},
|
|
6052
6069
|
"kimi-k2": {
|
|
6053
6070
|
id: "kimi-k2",
|
|
6054
6071
|
name: "Kimi K2",
|
|
@@ -6842,13 +6859,13 @@ export const MODELS = {
|
|
|
6842
6859
|
reasoning: true,
|
|
6843
6860
|
input: ["text"],
|
|
6844
6861
|
cost: {
|
|
6845
|
-
input: 0.
|
|
6846
|
-
output: 0.
|
|
6847
|
-
cacheRead: 0
|
|
6862
|
+
input: 0.25,
|
|
6863
|
+
output: 0.39999999999999997,
|
|
6864
|
+
cacheRead: 0,
|
|
6848
6865
|
cacheWrite: 0,
|
|
6849
6866
|
},
|
|
6850
6867
|
contextWindow: 163840,
|
|
6851
|
-
maxTokens:
|
|
6868
|
+
maxTokens: 163840,
|
|
6852
6869
|
},
|
|
6853
6870
|
"deepseek/deepseek-v3.2-exp": {
|
|
6854
6871
|
id: "deepseek/deepseek-v3.2-exp",
|
|
@@ -7054,6 +7071,23 @@ export const MODELS = {
|
|
|
7054
7071
|
contextWindow: 1048576,
|
|
7055
7072
|
maxTokens: 65536,
|
|
7056
7073
|
},
|
|
7074
|
+
"google/gemini-3.1-pro-preview-customtools": {
|
|
7075
|
+
id: "google/gemini-3.1-pro-preview-customtools",
|
|
7076
|
+
name: "Google: Gemini 3.1 Pro Preview Custom Tools",
|
|
7077
|
+
api: "openai-completions",
|
|
7078
|
+
provider: "openrouter",
|
|
7079
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
7080
|
+
reasoning: true,
|
|
7081
|
+
input: ["text", "image"],
|
|
7082
|
+
cost: {
|
|
7083
|
+
input: 2,
|
|
7084
|
+
output: 12,
|
|
7085
|
+
cacheRead: 0.19999999999999998,
|
|
7086
|
+
cacheWrite: 0.375,
|
|
7087
|
+
},
|
|
7088
|
+
contextWindow: 1048576,
|
|
7089
|
+
maxTokens: 65536,
|
|
7090
|
+
},
|
|
7057
7091
|
"google/gemma-3-27b-it": {
|
|
7058
7092
|
id: "google/gemma-3-27b-it",
|
|
7059
7093
|
name: "Google: Gemma 3 27B",
|
|
@@ -7139,6 +7173,23 @@ export const MODELS = {
|
|
|
7139
7173
|
contextWindow: 256000,
|
|
7140
7174
|
maxTokens: 128000,
|
|
7141
7175
|
},
|
|
7176
|
+
"meituan/longcat-flash-chat": {
|
|
7177
|
+
id: "meituan/longcat-flash-chat",
|
|
7178
|
+
name: "Meituan: LongCat Flash Chat",
|
|
7179
|
+
api: "openai-completions",
|
|
7180
|
+
provider: "openrouter",
|
|
7181
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
7182
|
+
reasoning: false,
|
|
7183
|
+
input: ["text"],
|
|
7184
|
+
cost: {
|
|
7185
|
+
input: 0.19999999999999998,
|
|
7186
|
+
output: 0.7999999999999999,
|
|
7187
|
+
cacheRead: 0.19999999999999998,
|
|
7188
|
+
cacheWrite: 0,
|
|
7189
|
+
},
|
|
7190
|
+
contextWindow: 131072,
|
|
7191
|
+
maxTokens: 32768,
|
|
7192
|
+
},
|
|
7142
7193
|
"meta-llama/llama-3-8b-instruct": {
|
|
7143
7194
|
id: "meta-llama/llama-3-8b-instruct",
|
|
7144
7195
|
name: "Meta: Llama 3 8B Instruct",
|
|
@@ -8550,6 +8601,23 @@ export const MODELS = {
|
|
|
8550
8601
|
contextWindow: 400000,
|
|
8551
8602
|
maxTokens: 128000,
|
|
8552
8603
|
},
|
|
8604
|
+
"openai/gpt-5.3-codex": {
|
|
8605
|
+
id: "openai/gpt-5.3-codex",
|
|
8606
|
+
name: "OpenAI: GPT-5.3-Codex",
|
|
8607
|
+
api: "openai-completions",
|
|
8608
|
+
provider: "openrouter",
|
|
8609
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
8610
|
+
reasoning: true,
|
|
8611
|
+
input: ["text", "image"],
|
|
8612
|
+
cost: {
|
|
8613
|
+
input: 1.75,
|
|
8614
|
+
output: 14,
|
|
8615
|
+
cacheRead: 0.175,
|
|
8616
|
+
cacheWrite: 0,
|
|
8617
|
+
},
|
|
8618
|
+
contextWindow: 400000,
|
|
8619
|
+
maxTokens: 128000,
|
|
8620
|
+
},
|
|
8553
8621
|
"openai/gpt-oss-120b": {
|
|
8554
8622
|
id: "openai/gpt-oss-120b",
|
|
8555
8623
|
name: "OpenAI: gpt-oss-120b",
|
|
@@ -9485,6 +9553,57 @@ export const MODELS = {
|
|
|
9485
9553
|
contextWindow: 131072,
|
|
9486
9554
|
maxTokens: 32768,
|
|
9487
9555
|
},
|
|
9556
|
+
"qwen/qwen3.5-122b-a10b": {
|
|
9557
|
+
id: "qwen/qwen3.5-122b-a10b",
|
|
9558
|
+
name: "Qwen: Qwen3.5-122B-A10B",
|
|
9559
|
+
api: "openai-completions",
|
|
9560
|
+
provider: "openrouter",
|
|
9561
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
9562
|
+
reasoning: true,
|
|
9563
|
+
input: ["text", "image"],
|
|
9564
|
+
cost: {
|
|
9565
|
+
input: 0.39999999999999997,
|
|
9566
|
+
output: 3.1999999999999997,
|
|
9567
|
+
cacheRead: 0,
|
|
9568
|
+
cacheWrite: 0,
|
|
9569
|
+
},
|
|
9570
|
+
contextWindow: 262144,
|
|
9571
|
+
maxTokens: 65536,
|
|
9572
|
+
},
|
|
9573
|
+
"qwen/qwen3.5-27b": {
|
|
9574
|
+
id: "qwen/qwen3.5-27b",
|
|
9575
|
+
name: "Qwen: Qwen3.5-27B",
|
|
9576
|
+
api: "openai-completions",
|
|
9577
|
+
provider: "openrouter",
|
|
9578
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
9579
|
+
reasoning: true,
|
|
9580
|
+
input: ["text", "image"],
|
|
9581
|
+
cost: {
|
|
9582
|
+
input: 0.3,
|
|
9583
|
+
output: 2.4,
|
|
9584
|
+
cacheRead: 0,
|
|
9585
|
+
cacheWrite: 0,
|
|
9586
|
+
},
|
|
9587
|
+
contextWindow: 262144,
|
|
9588
|
+
maxTokens: 65536,
|
|
9589
|
+
},
|
|
9590
|
+
"qwen/qwen3.5-35b-a3b": {
|
|
9591
|
+
id: "qwen/qwen3.5-35b-a3b",
|
|
9592
|
+
name: "Qwen: Qwen3.5-35B-A3B",
|
|
9593
|
+
api: "openai-completions",
|
|
9594
|
+
provider: "openrouter",
|
|
9595
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
9596
|
+
reasoning: true,
|
|
9597
|
+
input: ["text", "image"],
|
|
9598
|
+
cost: {
|
|
9599
|
+
input: 0.25,
|
|
9600
|
+
output: 2,
|
|
9601
|
+
cacheRead: 0,
|
|
9602
|
+
cacheWrite: 0,
|
|
9603
|
+
},
|
|
9604
|
+
contextWindow: 262144,
|
|
9605
|
+
maxTokens: 65536,
|
|
9606
|
+
},
|
|
9488
9607
|
"qwen/qwen3.5-397b-a17b": {
|
|
9489
9608
|
id: "qwen/qwen3.5-397b-a17b",
|
|
9490
9609
|
name: "Qwen: Qwen3.5 397B A17B",
|
|
@@ -9494,14 +9613,31 @@ export const MODELS = {
|
|
|
9494
9613
|
reasoning: true,
|
|
9495
9614
|
input: ["text", "image"],
|
|
9496
9615
|
cost: {
|
|
9497
|
-
input: 0.
|
|
9498
|
-
output:
|
|
9499
|
-
cacheRead: 0.
|
|
9616
|
+
input: 0.55,
|
|
9617
|
+
output: 3.5,
|
|
9618
|
+
cacheRead: 0.55,
|
|
9500
9619
|
cacheWrite: 0,
|
|
9501
9620
|
},
|
|
9502
9621
|
contextWindow: 262144,
|
|
9503
9622
|
maxTokens: 65536,
|
|
9504
9623
|
},
|
|
9624
|
+
"qwen/qwen3.5-flash-02-23": {
|
|
9625
|
+
id: "qwen/qwen3.5-flash-02-23",
|
|
9626
|
+
name: "Qwen: Qwen3.5-Flash",
|
|
9627
|
+
api: "openai-completions",
|
|
9628
|
+
provider: "openrouter",
|
|
9629
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
9630
|
+
reasoning: true,
|
|
9631
|
+
input: ["text", "image"],
|
|
9632
|
+
cost: {
|
|
9633
|
+
input: 0.09999999999999999,
|
|
9634
|
+
output: 0.39999999999999997,
|
|
9635
|
+
cacheRead: 0,
|
|
9636
|
+
cacheWrite: 0,
|
|
9637
|
+
},
|
|
9638
|
+
contextWindow: 1000000,
|
|
9639
|
+
maxTokens: 65536,
|
|
9640
|
+
},
|
|
9505
9641
|
"qwen/qwen3.5-plus-02-15": {
|
|
9506
9642
|
id: "qwen/qwen3.5-plus-02-15",
|
|
9507
9643
|
name: "Qwen: Qwen3.5 Plus 2026-02-15",
|
|
@@ -9987,13 +10123,13 @@ export const MODELS = {
|
|
|
9987
10123
|
reasoning: true,
|
|
9988
10124
|
input: ["text"],
|
|
9989
10125
|
cost: {
|
|
9990
|
-
input: 0.
|
|
9991
|
-
output: 1.
|
|
9992
|
-
cacheRead: 0.
|
|
10126
|
+
input: 0.3,
|
|
10127
|
+
output: 1.4,
|
|
10128
|
+
cacheRead: 0.15,
|
|
9993
10129
|
cacheWrite: 0,
|
|
9994
10130
|
},
|
|
9995
10131
|
contextWindow: 202752,
|
|
9996
|
-
maxTokens:
|
|
10132
|
+
maxTokens: 4096,
|
|
9997
10133
|
},
|
|
9998
10134
|
"z-ai/glm-4.7-flash": {
|
|
9999
10135
|
id: "z-ai/glm-4.7-flash",
|
|
@@ -10023,7 +10159,7 @@ export const MODELS = {
|
|
|
10023
10159
|
cost: {
|
|
10024
10160
|
input: 0.95,
|
|
10025
10161
|
output: 2.5500000000000003,
|
|
10026
|
-
cacheRead: 0,
|
|
10162
|
+
cacheRead: 0.19999999999999998,
|
|
10027
10163
|
cacheWrite: 0,
|
|
10028
10164
|
},
|
|
10029
10165
|
contextWindow: 204800,
|
|
@@ -10235,6 +10371,23 @@ export const MODELS = {
|
|
|
10235
10371
|
contextWindow: 256000,
|
|
10236
10372
|
maxTokens: 256000,
|
|
10237
10373
|
},
|
|
10374
|
+
"alibaba/qwen3.5-flash": {
|
|
10375
|
+
id: "alibaba/qwen3.5-flash",
|
|
10376
|
+
name: "Qwen 3.5 Flash",
|
|
10377
|
+
api: "anthropic-messages",
|
|
10378
|
+
provider: "vercel-ai-gateway",
|
|
10379
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
10380
|
+
reasoning: true,
|
|
10381
|
+
input: ["text", "image"],
|
|
10382
|
+
cost: {
|
|
10383
|
+
input: 0.09999999999999999,
|
|
10384
|
+
output: 0.39999999999999997,
|
|
10385
|
+
cacheRead: 0.001,
|
|
10386
|
+
cacheWrite: 0.125,
|
|
10387
|
+
},
|
|
10388
|
+
contextWindow: 1000000,
|
|
10389
|
+
maxTokens: 64000,
|
|
10390
|
+
},
|
|
10238
10391
|
"alibaba/qwen3.5-plus": {
|
|
10239
10392
|
id: "alibaba/qwen3.5-plus",
|
|
10240
10393
|
name: "Qwen 3.5 Plus",
|
|
@@ -11410,7 +11563,7 @@ export const MODELS = {
|
|
|
11410
11563
|
},
|
|
11411
11564
|
"openai/gpt-5-chat": {
|
|
11412
11565
|
id: "openai/gpt-5-chat",
|
|
11413
|
-
name: "GPT
|
|
11566
|
+
name: "GPT 5 Chat",
|
|
11414
11567
|
api: "anthropic-messages",
|
|
11415
11568
|
provider: "vercel-ai-gateway",
|
|
11416
11569
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
@@ -11529,7 +11682,7 @@ export const MODELS = {
|
|
|
11529
11682
|
},
|
|
11530
11683
|
"openai/gpt-5.1-codex-mini": {
|
|
11531
11684
|
id: "openai/gpt-5.1-codex-mini",
|
|
11532
|
-
name: "GPT
|
|
11685
|
+
name: "GPT 5.1 Codex Mini",
|
|
11533
11686
|
api: "anthropic-messages",
|
|
11534
11687
|
provider: "vercel-ai-gateway",
|
|
11535
11688
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
@@ -11597,7 +11750,7 @@ export const MODELS = {
|
|
|
11597
11750
|
},
|
|
11598
11751
|
"openai/gpt-5.2-chat": {
|
|
11599
11752
|
id: "openai/gpt-5.2-chat",
|
|
11600
|
-
name: "GPT
|
|
11753
|
+
name: "GPT 5.2 Chat",
|
|
11601
11754
|
api: "anthropic-messages",
|
|
11602
11755
|
provider: "vercel-ai-gateway",
|
|
11603
11756
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
@@ -11614,7 +11767,7 @@ export const MODELS = {
|
|
|
11614
11767
|
},
|
|
11615
11768
|
"openai/gpt-5.2-codex": {
|
|
11616
11769
|
id: "openai/gpt-5.2-codex",
|
|
11617
|
-
name: "GPT
|
|
11770
|
+
name: "GPT 5.2 Codex",
|
|
11618
11771
|
api: "anthropic-messages",
|
|
11619
11772
|
provider: "vercel-ai-gateway",
|
|
11620
11773
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
@@ -11646,6 +11799,23 @@ export const MODELS = {
|
|
|
11646
11799
|
contextWindow: 400000,
|
|
11647
11800
|
maxTokens: 128000,
|
|
11648
11801
|
},
|
|
11802
|
+
"openai/gpt-5.3-codex": {
|
|
11803
|
+
id: "openai/gpt-5.3-codex",
|
|
11804
|
+
name: "GPT 5.3 Codex",
|
|
11805
|
+
api: "anthropic-messages",
|
|
11806
|
+
provider: "vercel-ai-gateway",
|
|
11807
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
11808
|
+
reasoning: true,
|
|
11809
|
+
input: ["text", "image"],
|
|
11810
|
+
cost: {
|
|
11811
|
+
input: 1.75,
|
|
11812
|
+
output: 14,
|
|
11813
|
+
cacheRead: 0.175,
|
|
11814
|
+
cacheWrite: 0,
|
|
11815
|
+
},
|
|
11816
|
+
contextWindow: 400000,
|
|
11817
|
+
maxTokens: 128000,
|
|
11818
|
+
},
|
|
11649
11819
|
"openai/gpt-oss-120b": {
|
|
11650
11820
|
id: "openai/gpt-oss-120b",
|
|
11651
11821
|
name: "gpt-oss-120b",
|