@mariozechner/pi-ai 0.72.1 → 0.73.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/README.md +7 -2
- package/dist/env-api-keys.d.ts.map +1 -1
- package/dist/env-api-keys.js +3 -0
- package/dist/env-api-keys.js.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/models.generated.d.ts +339 -109
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +393 -165
- package/dist/models.generated.js.map +1 -1
- package/dist/providers/amazon-bedrock.d.ts.map +1 -1
- package/dist/providers/amazon-bedrock.js +6 -0
- package/dist/providers/amazon-bedrock.js.map +1 -1
- package/dist/providers/openai-codex-responses.d.ts +4 -0
- package/dist/providers/openai-codex-responses.d.ts.map +1 -1
- package/dist/providers/openai-codex-responses.js +145 -20
- package/dist/providers/openai-codex-responses.js.map +1 -1
- package/dist/providers/openai-completions.d.ts.map +1 -1
- package/dist/providers/openai-completions.js +132 -115
- package/dist/providers/openai-completions.js.map +1 -1
- package/dist/providers/openai-responses-shared.d.ts.map +1 -1
- package/dist/providers/openai-responses-shared.js +14 -1
- package/dist/providers/openai-responses-shared.js.map +1 -1
- package/dist/session-resources.d.ts +4 -0
- package/dist/session-resources.d.ts.map +1 -0
- package/dist/session-resources.js +22 -0
- package/dist/session-resources.js.map +1 -0
- package/dist/types.d.ts +3 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/diagnostics.d.ts +19 -0
- package/dist/utils/diagnostics.d.ts.map +1 -0
- package/dist/utils/diagnostics.js +25 -0
- package/dist/utils/diagnostics.js.map +1 -0
- package/dist/utils/oauth/openai-codex.d.ts.map +1 -1
- package/dist/utils/oauth/openai-codex.js +25 -14
- package/dist/utils/oauth/openai-codex.js.map +1 -1
- package/dist/utils/oauth/types.d.ts +10 -0
- package/dist/utils/oauth/types.d.ts.map +1 -1
- package/dist/utils/oauth/types.js.map +1 -1
- package/package.json +1 -1
package/dist/models.generated.js
CHANGED
|
@@ -5816,24 +5816,6 @@ export const MODELS = {
|
|
|
5816
5816
|
},
|
|
5817
5817
|
},
|
|
5818
5818
|
"kimi-coding": {
|
|
5819
|
-
"k2p6": {
|
|
5820
|
-
id: "k2p6",
|
|
5821
|
-
name: "Kimi K2.6",
|
|
5822
|
-
api: "anthropic-messages",
|
|
5823
|
-
provider: "kimi-coding",
|
|
5824
|
-
baseUrl: "https://api.kimi.com/coding",
|
|
5825
|
-
headers: { "User-Agent": "KimiCLI/1.5" },
|
|
5826
|
-
reasoning: true,
|
|
5827
|
-
input: ["text", "image"],
|
|
5828
|
-
cost: {
|
|
5829
|
-
input: 0,
|
|
5830
|
-
output: 0,
|
|
5831
|
-
cacheRead: 0,
|
|
5832
|
-
cacheWrite: 0,
|
|
5833
|
-
},
|
|
5834
|
-
contextWindow: 262144,
|
|
5835
|
-
maxTokens: 32768,
|
|
5836
|
-
},
|
|
5837
5819
|
"kimi-for-coding": {
|
|
5838
5820
|
id: "kimi-for-coding",
|
|
5839
5821
|
name: "Kimi For Coding",
|
|
@@ -7601,9 +7583,9 @@ export const MODELS = {
|
|
|
7601
7583
|
"big-pickle": {
|
|
7602
7584
|
id: "big-pickle",
|
|
7603
7585
|
name: "Big Pickle",
|
|
7604
|
-
api: "
|
|
7586
|
+
api: "openai-completions",
|
|
7605
7587
|
provider: "opencode",
|
|
7606
|
-
baseUrl: "https://opencode.ai/zen",
|
|
7588
|
+
baseUrl: "https://opencode.ai/zen/v1",
|
|
7607
7589
|
reasoning: true,
|
|
7608
7590
|
input: ["text"],
|
|
7609
7591
|
cost: {
|
|
@@ -7869,9 +7851,9 @@ export const MODELS = {
|
|
|
7869
7851
|
thinkingLevelMap: { "off": null },
|
|
7870
7852
|
input: ["text", "image"],
|
|
7871
7853
|
cost: {
|
|
7872
|
-
input: 0,
|
|
7873
|
-
output: 0,
|
|
7874
|
-
cacheRead: 0,
|
|
7854
|
+
input: 0.05,
|
|
7855
|
+
output: 0.4,
|
|
7856
|
+
cacheRead: 0.005,
|
|
7875
7857
|
cacheWrite: 0,
|
|
7876
7858
|
},
|
|
7877
7859
|
contextWindow: 400000,
|
|
@@ -8357,55 +8339,21 @@ export const MODELS = {
|
|
|
8357
8339
|
},
|
|
8358
8340
|
"kimi-k2.6": {
|
|
8359
8341
|
id: "kimi-k2.6",
|
|
8360
|
-
name: "Kimi K2.6
|
|
8342
|
+
name: "Kimi K2.6",
|
|
8361
8343
|
api: "openai-completions",
|
|
8362
8344
|
provider: "opencode-go",
|
|
8363
8345
|
baseUrl: "https://opencode.ai/zen/go/v1",
|
|
8364
8346
|
reasoning: true,
|
|
8365
8347
|
input: ["text", "image"],
|
|
8366
8348
|
cost: {
|
|
8367
|
-
input: 0.
|
|
8368
|
-
output:
|
|
8369
|
-
cacheRead: 0.
|
|
8349
|
+
input: 0.95,
|
|
8350
|
+
output: 4,
|
|
8351
|
+
cacheRead: 0.16,
|
|
8370
8352
|
cacheWrite: 0,
|
|
8371
8353
|
},
|
|
8372
8354
|
contextWindow: 262144,
|
|
8373
8355
|
maxTokens: 65536,
|
|
8374
8356
|
},
|
|
8375
|
-
"mimo-v2-omni": {
|
|
8376
|
-
id: "mimo-v2-omni",
|
|
8377
|
-
name: "MiMo V2 Omni",
|
|
8378
|
-
api: "openai-completions",
|
|
8379
|
-
provider: "opencode-go",
|
|
8380
|
-
baseUrl: "https://opencode.ai/zen/go/v1",
|
|
8381
|
-
reasoning: true,
|
|
8382
|
-
input: ["text", "image"],
|
|
8383
|
-
cost: {
|
|
8384
|
-
input: 0.4,
|
|
8385
|
-
output: 2,
|
|
8386
|
-
cacheRead: 0.08,
|
|
8387
|
-
cacheWrite: 0,
|
|
8388
|
-
},
|
|
8389
|
-
contextWindow: 262144,
|
|
8390
|
-
maxTokens: 128000,
|
|
8391
|
-
},
|
|
8392
|
-
"mimo-v2-pro": {
|
|
8393
|
-
id: "mimo-v2-pro",
|
|
8394
|
-
name: "MiMo V2 Pro",
|
|
8395
|
-
api: "openai-completions",
|
|
8396
|
-
provider: "opencode-go",
|
|
8397
|
-
baseUrl: "https://opencode.ai/zen/go/v1",
|
|
8398
|
-
reasoning: true,
|
|
8399
|
-
input: ["text"],
|
|
8400
|
-
cost: {
|
|
8401
|
-
input: 1,
|
|
8402
|
-
output: 3,
|
|
8403
|
-
cacheRead: 0.2,
|
|
8404
|
-
cacheWrite: 0,
|
|
8405
|
-
},
|
|
8406
|
-
contextWindow: 1048576,
|
|
8407
|
-
maxTokens: 128000,
|
|
8408
|
-
},
|
|
8409
8357
|
"mimo-v2.5": {
|
|
8410
8358
|
id: "mimo-v2.5",
|
|
8411
8359
|
name: "MiMo V2.5",
|
|
@@ -8460,9 +8408,9 @@ export const MODELS = {
|
|
|
8460
8408
|
"minimax-m2.7": {
|
|
8461
8409
|
id: "minimax-m2.7",
|
|
8462
8410
|
name: "MiniMax M2.7",
|
|
8463
|
-
api: "
|
|
8411
|
+
api: "openai-completions",
|
|
8464
8412
|
provider: "opencode-go",
|
|
8465
|
-
baseUrl: "https://opencode.ai/zen/go",
|
|
8413
|
+
baseUrl: "https://opencode.ai/zen/go/v1",
|
|
8466
8414
|
reasoning: true,
|
|
8467
8415
|
input: ["text"],
|
|
8468
8416
|
cost: {
|
|
@@ -8477,9 +8425,10 @@ export const MODELS = {
|
|
|
8477
8425
|
"qwen3.5-plus": {
|
|
8478
8426
|
id: "qwen3.5-plus",
|
|
8479
8427
|
name: "Qwen3.5 Plus",
|
|
8480
|
-
api: "
|
|
8428
|
+
api: "openai-completions",
|
|
8481
8429
|
provider: "opencode-go",
|
|
8482
|
-
baseUrl: "https://opencode.ai/zen/go",
|
|
8430
|
+
baseUrl: "https://opencode.ai/zen/go/v1",
|
|
8431
|
+
compat: { "thinkingFormat": "qwen" },
|
|
8483
8432
|
reasoning: true,
|
|
8484
8433
|
input: ["text", "image"],
|
|
8485
8434
|
cost: {
|
|
@@ -8494,9 +8443,10 @@ export const MODELS = {
|
|
|
8494
8443
|
"qwen3.6-plus": {
|
|
8495
8444
|
id: "qwen3.6-plus",
|
|
8496
8445
|
name: "Qwen3.6 Plus",
|
|
8497
|
-
api: "
|
|
8446
|
+
api: "openai-completions",
|
|
8498
8447
|
provider: "opencode-go",
|
|
8499
|
-
baseUrl: "https://opencode.ai/zen/go",
|
|
8448
|
+
baseUrl: "https://opencode.ai/zen/go/v1",
|
|
8449
|
+
compat: { "thinkingFormat": "qwen" },
|
|
8500
8450
|
reasoning: true,
|
|
8501
8451
|
input: ["text", "image"],
|
|
8502
8452
|
cost: {
|
|
@@ -8544,23 +8494,6 @@ export const MODELS = {
|
|
|
8544
8494
|
contextWindow: 131072,
|
|
8545
8495
|
maxTokens: 131072,
|
|
8546
8496
|
},
|
|
8547
|
-
"allenai/olmo-3.1-32b-instruct": {
|
|
8548
|
-
id: "allenai/olmo-3.1-32b-instruct",
|
|
8549
|
-
name: "AllenAI: Olmo 3.1 32B Instruct",
|
|
8550
|
-
api: "openai-completions",
|
|
8551
|
-
provider: "openrouter",
|
|
8552
|
-
baseUrl: "https://openrouter.ai/api/v1",
|
|
8553
|
-
reasoning: false,
|
|
8554
|
-
input: ["text"],
|
|
8555
|
-
cost: {
|
|
8556
|
-
input: 0.19999999999999998,
|
|
8557
|
-
output: 0.6,
|
|
8558
|
-
cacheRead: 0,
|
|
8559
|
-
cacheWrite: 0,
|
|
8560
|
-
},
|
|
8561
|
-
contextWindow: 65536,
|
|
8562
|
-
maxTokens: 16384,
|
|
8563
|
-
},
|
|
8564
8497
|
"amazon/nova-2-lite-v1": {
|
|
8565
8498
|
id: "amazon/nova-2-lite-v1",
|
|
8566
8499
|
name: "Amazon: Nova 2 Lite",
|
|
@@ -8695,7 +8628,7 @@ export const MODELS = {
|
|
|
8695
8628
|
cacheWrite: 3.75,
|
|
8696
8629
|
},
|
|
8697
8630
|
contextWindow: 200000,
|
|
8698
|
-
maxTokens:
|
|
8631
|
+
maxTokens: 64000,
|
|
8699
8632
|
},
|
|
8700
8633
|
"anthropic/claude-3.7-sonnet:thinking": {
|
|
8701
8634
|
id: "anthropic/claude-3.7-sonnet:thinking",
|
|
@@ -8972,6 +8905,23 @@ export const MODELS = {
|
|
|
8972
8905
|
contextWindow: 2000000,
|
|
8973
8906
|
maxTokens: 30000,
|
|
8974
8907
|
},
|
|
8908
|
+
"baidu/cobuddy:free": {
|
|
8909
|
+
id: "baidu/cobuddy:free",
|
|
8910
|
+
name: "Baidu Qianfan: CoBuddy (free)",
|
|
8911
|
+
api: "openai-completions",
|
|
8912
|
+
provider: "openrouter",
|
|
8913
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
8914
|
+
reasoning: true,
|
|
8915
|
+
input: ["text"],
|
|
8916
|
+
cost: {
|
|
8917
|
+
input: 0,
|
|
8918
|
+
output: 0,
|
|
8919
|
+
cacheRead: 0,
|
|
8920
|
+
cacheWrite: 0,
|
|
8921
|
+
},
|
|
8922
|
+
contextWindow: 131072,
|
|
8923
|
+
maxTokens: 65536,
|
|
8924
|
+
},
|
|
8975
8925
|
"baidu/ernie-4.5-21b-a3b": {
|
|
8976
8926
|
id: "baidu/ernie-4.5-21b-a3b",
|
|
8977
8927
|
name: "Baidu: ERNIE 4.5 21B A3B",
|
|
@@ -9202,8 +9152,8 @@ export const MODELS = {
|
|
|
9202
9152
|
reasoning: true,
|
|
9203
9153
|
input: ["text"],
|
|
9204
9154
|
cost: {
|
|
9205
|
-
input: 0.
|
|
9206
|
-
output: 0.
|
|
9155
|
+
input: 0.27,
|
|
9156
|
+
output: 0.95,
|
|
9207
9157
|
cacheRead: 0.13,
|
|
9208
9158
|
cacheWrite: 0,
|
|
9209
9159
|
},
|
|
@@ -9690,23 +9640,6 @@ export const MODELS = {
|
|
|
9690
9640
|
contextWindow: 256000,
|
|
9691
9641
|
maxTokens: 80000,
|
|
9692
9642
|
},
|
|
9693
|
-
"meta-llama/llama-3-8b-instruct": {
|
|
9694
|
-
id: "meta-llama/llama-3-8b-instruct",
|
|
9695
|
-
name: "Meta: Llama 3 8B Instruct",
|
|
9696
|
-
api: "openai-completions",
|
|
9697
|
-
provider: "openrouter",
|
|
9698
|
-
baseUrl: "https://openrouter.ai/api/v1",
|
|
9699
|
-
reasoning: false,
|
|
9700
|
-
input: ["text"],
|
|
9701
|
-
cost: {
|
|
9702
|
-
input: 0.03,
|
|
9703
|
-
output: 0.04,
|
|
9704
|
-
cacheRead: 0,
|
|
9705
|
-
cacheWrite: 0,
|
|
9706
|
-
},
|
|
9707
|
-
contextWindow: 8192,
|
|
9708
|
-
maxTokens: 16384,
|
|
9709
|
-
},
|
|
9710
9643
|
"meta-llama/llama-3.1-70b-instruct": {
|
|
9711
9644
|
id: "meta-llama/llama-3.1-70b-instruct",
|
|
9712
9645
|
name: "Meta: Llama 3.1 70B Instruct",
|
|
@@ -10098,6 +10031,23 @@ export const MODELS = {
|
|
|
10098
10031
|
contextWindow: 131072,
|
|
10099
10032
|
maxTokens: 4096,
|
|
10100
10033
|
},
|
|
10034
|
+
"mistralai/mistral-medium-3-5": {
|
|
10035
|
+
id: "mistralai/mistral-medium-3-5",
|
|
10036
|
+
name: "Mistral: Mistral Medium 3.5",
|
|
10037
|
+
api: "openai-completions",
|
|
10038
|
+
provider: "openrouter",
|
|
10039
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
10040
|
+
reasoning: true,
|
|
10041
|
+
input: ["text", "image"],
|
|
10042
|
+
cost: {
|
|
10043
|
+
input: 1.5,
|
|
10044
|
+
output: 7.5,
|
|
10045
|
+
cacheRead: 0,
|
|
10046
|
+
cacheWrite: 0,
|
|
10047
|
+
},
|
|
10048
|
+
contextWindow: 262144,
|
|
10049
|
+
maxTokens: 4096,
|
|
10050
|
+
},
|
|
10101
10051
|
"mistralai/mistral-medium-3.1": {
|
|
10102
10052
|
id: "mistralai/mistral-medium-3.1",
|
|
10103
10053
|
name: "Mistral: Mistral Medium 3.1",
|
|
@@ -10328,13 +10278,13 @@ export const MODELS = {
|
|
|
10328
10278
|
reasoning: true,
|
|
10329
10279
|
input: ["text", "image"],
|
|
10330
10280
|
cost: {
|
|
10331
|
-
input: 0.
|
|
10332
|
-
output: 3.
|
|
10333
|
-
cacheRead: 0.
|
|
10281
|
+
input: 0.75,
|
|
10282
|
+
output: 3.5,
|
|
10283
|
+
cacheRead: 0.15,
|
|
10334
10284
|
cacheWrite: 0,
|
|
10335
10285
|
},
|
|
10336
|
-
contextWindow:
|
|
10337
|
-
maxTokens:
|
|
10286
|
+
contextWindow: 262144,
|
|
10287
|
+
maxTokens: 16384,
|
|
10338
10288
|
},
|
|
10339
10289
|
"nex-agi/deepseek-v3.1-nex-n1": {
|
|
10340
10290
|
id: "nex-agi/deepseek-v3.1-nex-n1",
|
|
@@ -11249,6 +11199,23 @@ export const MODELS = {
|
|
|
11249
11199
|
contextWindow: 128000,
|
|
11250
11200
|
maxTokens: 16384,
|
|
11251
11201
|
},
|
|
11202
|
+
"openai/gpt-chat-latest": {
|
|
11203
|
+
id: "openai/gpt-chat-latest",
|
|
11204
|
+
name: "OpenAI: GPT Chat Latest",
|
|
11205
|
+
api: "openai-completions",
|
|
11206
|
+
provider: "openrouter",
|
|
11207
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
11208
|
+
reasoning: false,
|
|
11209
|
+
input: ["text", "image"],
|
|
11210
|
+
cost: {
|
|
11211
|
+
input: 5,
|
|
11212
|
+
output: 30,
|
|
11213
|
+
cacheRead: 0.5,
|
|
11214
|
+
cacheWrite: 0,
|
|
11215
|
+
},
|
|
11216
|
+
contextWindow: 400000,
|
|
11217
|
+
maxTokens: 128000,
|
|
11218
|
+
},
|
|
11252
11219
|
"openai/gpt-oss-120b": {
|
|
11253
11220
|
id: "openai/gpt-oss-120b",
|
|
11254
11221
|
name: "OpenAI: gpt-oss-120b",
|
|
@@ -11802,13 +11769,13 @@ export const MODELS = {
|
|
|
11802
11769
|
reasoning: true,
|
|
11803
11770
|
input: ["text"],
|
|
11804
11771
|
cost: {
|
|
11805
|
-
input: 0.
|
|
11806
|
-
output: 0.
|
|
11772
|
+
input: 0.09,
|
|
11773
|
+
output: 0.44999999999999996,
|
|
11807
11774
|
cacheRead: 0,
|
|
11808
11775
|
cacheWrite: 0,
|
|
11809
11776
|
},
|
|
11810
11777
|
contextWindow: 40960,
|
|
11811
|
-
maxTokens:
|
|
11778
|
+
maxTokens: 20000,
|
|
11812
11779
|
},
|
|
11813
11780
|
"qwen/qwen3-30b-a3b-instruct-2507": {
|
|
11814
11781
|
id: "qwen/qwen3-30b-a3b-instruct-2507",
|
|
@@ -11938,7 +11905,7 @@ export const MODELS = {
|
|
|
11938
11905
|
reasoning: false,
|
|
11939
11906
|
input: ["text"],
|
|
11940
11907
|
cost: {
|
|
11941
|
-
input: 0.
|
|
11908
|
+
input: 0.11,
|
|
11942
11909
|
output: 0.7999999999999999,
|
|
11943
11910
|
cacheRead: 0.07,
|
|
11944
11911
|
cacheWrite: 0,
|
|
@@ -12227,13 +12194,13 @@ export const MODELS = {
|
|
|
12227
12194
|
reasoning: true,
|
|
12228
12195
|
input: ["text", "image"],
|
|
12229
12196
|
cost: {
|
|
12230
|
-
input: 0.
|
|
12231
|
-
output: 1
|
|
12232
|
-
cacheRead: 0,
|
|
12197
|
+
input: 0.14,
|
|
12198
|
+
output: 1,
|
|
12199
|
+
cacheRead: 0.049999999999999996,
|
|
12233
12200
|
cacheWrite: 0,
|
|
12234
12201
|
},
|
|
12235
12202
|
contextWindow: 262144,
|
|
12236
|
-
maxTokens:
|
|
12203
|
+
maxTokens: 81920,
|
|
12237
12204
|
},
|
|
12238
12205
|
"qwen/qwen3.5-397b-a17b": {
|
|
12239
12206
|
id: "qwen/qwen3.5-397b-a17b",
|
|
@@ -12261,13 +12228,13 @@ export const MODELS = {
|
|
|
12261
12228
|
reasoning: true,
|
|
12262
12229
|
input: ["text", "image"],
|
|
12263
12230
|
cost: {
|
|
12264
|
-
input: 0.
|
|
12231
|
+
input: 0.04,
|
|
12265
12232
|
output: 0.15,
|
|
12266
12233
|
cacheRead: 0,
|
|
12267
12234
|
cacheWrite: 0,
|
|
12268
12235
|
},
|
|
12269
12236
|
contextWindow: 262144,
|
|
12270
|
-
maxTokens:
|
|
12237
|
+
maxTokens: 81920,
|
|
12271
12238
|
},
|
|
12272
12239
|
"qwen/qwen3.5-flash-02-23": {
|
|
12273
12240
|
id: "qwen/qwen3.5-flash-02-23",
|
|
@@ -12337,6 +12304,23 @@ export const MODELS = {
|
|
|
12337
12304
|
contextWindow: 262144,
|
|
12338
12305
|
maxTokens: 81920,
|
|
12339
12306
|
},
|
|
12307
|
+
"qwen/qwen3.6-35b-a3b": {
|
|
12308
|
+
id: "qwen/qwen3.6-35b-a3b",
|
|
12309
|
+
name: "Qwen: Qwen3.6 35B A3B",
|
|
12310
|
+
api: "openai-completions",
|
|
12311
|
+
provider: "openrouter",
|
|
12312
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
12313
|
+
reasoning: true,
|
|
12314
|
+
input: ["text", "image"],
|
|
12315
|
+
cost: {
|
|
12316
|
+
input: 0.15,
|
|
12317
|
+
output: 1,
|
|
12318
|
+
cacheRead: 0.049999999999999996,
|
|
12319
|
+
cacheWrite: 0,
|
|
12320
|
+
},
|
|
12321
|
+
contextWindow: 262144,
|
|
12322
|
+
maxTokens: 262144,
|
|
12323
|
+
},
|
|
12340
12324
|
"qwen/qwen3.6-flash": {
|
|
12341
12325
|
id: "qwen/qwen3.6-flash",
|
|
12342
12326
|
name: "Qwen: Qwen3.6 Flash",
|
|
@@ -12981,7 +12965,7 @@ export const MODELS = {
|
|
|
12981
12965
|
cacheWrite: 0,
|
|
12982
12966
|
},
|
|
12983
12967
|
contextWindow: 202752,
|
|
12984
|
-
maxTokens:
|
|
12968
|
+
maxTokens: 4096,
|
|
12985
12969
|
},
|
|
12986
12970
|
"z-ai/glm-5-turbo": {
|
|
12987
12971
|
id: "z-ai/glm-5-turbo",
|
|
@@ -13128,13 +13112,13 @@ export const MODELS = {
|
|
|
13128
13112
|
reasoning: true,
|
|
13129
13113
|
input: ["text", "image"],
|
|
13130
13114
|
cost: {
|
|
13131
|
-
input: 0.
|
|
13132
|
-
output: 3.
|
|
13133
|
-
cacheRead: 0.
|
|
13115
|
+
input: 0.75,
|
|
13116
|
+
output: 3.5,
|
|
13117
|
+
cacheRead: 0.15,
|
|
13134
13118
|
cacheWrite: 0,
|
|
13135
13119
|
},
|
|
13136
|
-
contextWindow:
|
|
13137
|
-
maxTokens:
|
|
13120
|
+
contextWindow: 262144,
|
|
13121
|
+
maxTokens: 16384,
|
|
13138
13122
|
},
|
|
13139
13123
|
"~openai/gpt-latest": {
|
|
13140
13124
|
id: "~openai/gpt-latest",
|
|
@@ -14568,23 +14552,6 @@ export const MODELS = {
|
|
|
14568
14552
|
contextWindow: 131072,
|
|
14569
14553
|
maxTokens: 131072,
|
|
14570
14554
|
},
|
|
14571
|
-
"moonshotai/kimi-k2-0905": {
|
|
14572
|
-
id: "moonshotai/kimi-k2-0905",
|
|
14573
|
-
name: "Kimi K2 0905",
|
|
14574
|
-
api: "anthropic-messages",
|
|
14575
|
-
provider: "vercel-ai-gateway",
|
|
14576
|
-
baseUrl: "https://ai-gateway.vercel.sh",
|
|
14577
|
-
reasoning: false,
|
|
14578
|
-
input: ["text"],
|
|
14579
|
-
cost: {
|
|
14580
|
-
input: 0.6,
|
|
14581
|
-
output: 2.5,
|
|
14582
|
-
cacheRead: 0.3,
|
|
14583
|
-
cacheWrite: 0,
|
|
14584
|
-
},
|
|
14585
|
-
contextWindow: 256000,
|
|
14586
|
-
maxTokens: 128000,
|
|
14587
|
-
},
|
|
14588
14555
|
"moonshotai/kimi-k2-thinking": {
|
|
14589
14556
|
id: "moonshotai/kimi-k2-thinking",
|
|
14590
14557
|
name: "Kimi K2 Thinking",
|
|
@@ -15541,8 +15508,8 @@ export const MODELS = {
|
|
|
15541
15508
|
reasoning: true,
|
|
15542
15509
|
input: ["text", "image"],
|
|
15543
15510
|
cost: {
|
|
15544
|
-
input:
|
|
15545
|
-
output:
|
|
15511
|
+
input: 1.25,
|
|
15512
|
+
output: 2.5,
|
|
15546
15513
|
cacheRead: 0.19999999999999998,
|
|
15547
15514
|
cacheWrite: 0,
|
|
15548
15515
|
},
|
|
@@ -15558,8 +15525,8 @@ export const MODELS = {
|
|
|
15558
15525
|
reasoning: true,
|
|
15559
15526
|
input: ["text", "image"],
|
|
15560
15527
|
cost: {
|
|
15561
|
-
input:
|
|
15562
|
-
output:
|
|
15528
|
+
input: 1.25,
|
|
15529
|
+
output: 2.5,
|
|
15563
15530
|
cacheRead: 0.19999999999999998,
|
|
15564
15531
|
cacheWrite: 0,
|
|
15565
15532
|
},
|
|
@@ -15575,8 +15542,8 @@ export const MODELS = {
|
|
|
15575
15542
|
reasoning: false,
|
|
15576
15543
|
input: ["text", "image"],
|
|
15577
15544
|
cost: {
|
|
15578
|
-
input:
|
|
15579
|
-
output:
|
|
15545
|
+
input: 1.25,
|
|
15546
|
+
output: 2.5,
|
|
15580
15547
|
cacheRead: 0.19999999999999998,
|
|
15581
15548
|
cacheWrite: 0,
|
|
15582
15549
|
},
|
|
@@ -15592,8 +15559,8 @@ export const MODELS = {
|
|
|
15592
15559
|
reasoning: false,
|
|
15593
15560
|
input: ["text", "image"],
|
|
15594
15561
|
cost: {
|
|
15595
|
-
input:
|
|
15596
|
-
output:
|
|
15562
|
+
input: 1.25,
|
|
15563
|
+
output: 2.5,
|
|
15597
15564
|
cacheRead: 0.19999999999999998,
|
|
15598
15565
|
cacheWrite: 0,
|
|
15599
15566
|
},
|
|
@@ -15609,8 +15576,8 @@ export const MODELS = {
|
|
|
15609
15576
|
reasoning: true,
|
|
15610
15577
|
input: ["text", "image"],
|
|
15611
15578
|
cost: {
|
|
15612
|
-
input:
|
|
15613
|
-
output:
|
|
15579
|
+
input: 1.25,
|
|
15580
|
+
output: 2.5,
|
|
15614
15581
|
cacheRead: 0.19999999999999998,
|
|
15615
15582
|
cacheWrite: 0,
|
|
15616
15583
|
},
|
|
@@ -15626,8 +15593,8 @@ export const MODELS = {
|
|
|
15626
15593
|
reasoning: true,
|
|
15627
15594
|
input: ["text", "image"],
|
|
15628
15595
|
cost: {
|
|
15629
|
-
input:
|
|
15630
|
-
output:
|
|
15596
|
+
input: 1.25,
|
|
15597
|
+
output: 2.5,
|
|
15631
15598
|
cacheRead: 0.19999999999999998,
|
|
15632
15599
|
cacheWrite: 0,
|
|
15633
15600
|
},
|
|
@@ -16391,7 +16358,7 @@ export const MODELS = {
|
|
|
16391
16358
|
name: "MiMo-V2-Flash",
|
|
16392
16359
|
api: "anthropic-messages",
|
|
16393
16360
|
provider: "xiaomi",
|
|
16394
|
-
baseUrl: "https://
|
|
16361
|
+
baseUrl: "https://api.xiaomimimo.com/anthropic",
|
|
16395
16362
|
reasoning: true,
|
|
16396
16363
|
input: ["text"],
|
|
16397
16364
|
cost: {
|
|
@@ -16400,15 +16367,15 @@ export const MODELS = {
|
|
|
16400
16367
|
cacheRead: 0.01,
|
|
16401
16368
|
cacheWrite: 0,
|
|
16402
16369
|
},
|
|
16403
|
-
contextWindow:
|
|
16404
|
-
maxTokens:
|
|
16370
|
+
contextWindow: 262144,
|
|
16371
|
+
maxTokens: 65536,
|
|
16405
16372
|
},
|
|
16406
16373
|
"mimo-v2-omni": {
|
|
16407
16374
|
id: "mimo-v2-omni",
|
|
16408
16375
|
name: "MiMo-V2-Omni",
|
|
16409
16376
|
api: "anthropic-messages",
|
|
16410
16377
|
provider: "xiaomi",
|
|
16411
|
-
baseUrl: "https://
|
|
16378
|
+
baseUrl: "https://api.xiaomimimo.com/anthropic",
|
|
16412
16379
|
reasoning: true,
|
|
16413
16380
|
input: ["text", "image"],
|
|
16414
16381
|
cost: {
|
|
@@ -16417,15 +16384,15 @@ export const MODELS = {
|
|
|
16417
16384
|
cacheRead: 0.08,
|
|
16418
16385
|
cacheWrite: 0,
|
|
16419
16386
|
},
|
|
16420
|
-
contextWindow:
|
|
16421
|
-
maxTokens:
|
|
16387
|
+
contextWindow: 262144,
|
|
16388
|
+
maxTokens: 131072,
|
|
16422
16389
|
},
|
|
16423
16390
|
"mimo-v2-pro": {
|
|
16424
16391
|
id: "mimo-v2-pro",
|
|
16425
16392
|
name: "MiMo-V2-Pro",
|
|
16426
16393
|
api: "anthropic-messages",
|
|
16427
16394
|
provider: "xiaomi",
|
|
16428
|
-
baseUrl: "https://
|
|
16395
|
+
baseUrl: "https://api.xiaomimimo.com/anthropic",
|
|
16429
16396
|
reasoning: true,
|
|
16430
16397
|
input: ["text"],
|
|
16431
16398
|
cost: {
|
|
@@ -16434,17 +16401,104 @@ export const MODELS = {
|
|
|
16434
16401
|
cacheRead: 0.2,
|
|
16435
16402
|
cacheWrite: 0,
|
|
16436
16403
|
},
|
|
16437
|
-
contextWindow:
|
|
16438
|
-
maxTokens:
|
|
16404
|
+
contextWindow: 1048576,
|
|
16405
|
+
maxTokens: 131072,
|
|
16439
16406
|
},
|
|
16440
16407
|
"mimo-v2.5": {
|
|
16441
16408
|
id: "mimo-v2.5",
|
|
16442
16409
|
name: "MiMo-V2.5",
|
|
16443
16410
|
api: "anthropic-messages",
|
|
16444
16411
|
provider: "xiaomi",
|
|
16412
|
+
baseUrl: "https://api.xiaomimimo.com/anthropic",
|
|
16413
|
+
reasoning: true,
|
|
16414
|
+
input: ["text", "image"],
|
|
16415
|
+
cost: {
|
|
16416
|
+
input: 0.4,
|
|
16417
|
+
output: 2,
|
|
16418
|
+
cacheRead: 0.08,
|
|
16419
|
+
cacheWrite: 0,
|
|
16420
|
+
},
|
|
16421
|
+
contextWindow: 1048576,
|
|
16422
|
+
maxTokens: 131072,
|
|
16423
|
+
},
|
|
16424
|
+
"mimo-v2.5-pro": {
|
|
16425
|
+
id: "mimo-v2.5-pro",
|
|
16426
|
+
name: "MiMo-V2.5-Pro",
|
|
16427
|
+
api: "anthropic-messages",
|
|
16428
|
+
provider: "xiaomi",
|
|
16429
|
+
baseUrl: "https://api.xiaomimimo.com/anthropic",
|
|
16430
|
+
reasoning: true,
|
|
16431
|
+
input: ["text"],
|
|
16432
|
+
cost: {
|
|
16433
|
+
input: 1,
|
|
16434
|
+
output: 3,
|
|
16435
|
+
cacheRead: 0.2,
|
|
16436
|
+
cacheWrite: 0,
|
|
16437
|
+
},
|
|
16438
|
+
contextWindow: 1048576,
|
|
16439
|
+
maxTokens: 131072,
|
|
16440
|
+
},
|
|
16441
|
+
},
|
|
16442
|
+
"xiaomi-token-plan-ams": {
|
|
16443
|
+
"mimo-v2-flash": {
|
|
16444
|
+
id: "mimo-v2-flash",
|
|
16445
|
+
name: "MiMo-V2-Flash",
|
|
16446
|
+
api: "anthropic-messages",
|
|
16447
|
+
provider: "xiaomi-token-plan-ams",
|
|
16448
|
+
baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
|
|
16449
|
+
reasoning: true,
|
|
16450
|
+
input: ["text"],
|
|
16451
|
+
cost: {
|
|
16452
|
+
input: 0.1,
|
|
16453
|
+
output: 0.3,
|
|
16454
|
+
cacheRead: 0.01,
|
|
16455
|
+
cacheWrite: 0,
|
|
16456
|
+
},
|
|
16457
|
+
contextWindow: 262144,
|
|
16458
|
+
maxTokens: 65536,
|
|
16459
|
+
},
|
|
16460
|
+
"mimo-v2-omni": {
|
|
16461
|
+
id: "mimo-v2-omni",
|
|
16462
|
+
name: "MiMo-V2-Omni",
|
|
16463
|
+
api: "anthropic-messages",
|
|
16464
|
+
provider: "xiaomi-token-plan-ams",
|
|
16465
|
+
baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
|
|
16466
|
+
reasoning: true,
|
|
16467
|
+
input: ["text", "image"],
|
|
16468
|
+
cost: {
|
|
16469
|
+
input: 0.4,
|
|
16470
|
+
output: 2,
|
|
16471
|
+
cacheRead: 0.08,
|
|
16472
|
+
cacheWrite: 0,
|
|
16473
|
+
},
|
|
16474
|
+
contextWindow: 262144,
|
|
16475
|
+
maxTokens: 131072,
|
|
16476
|
+
},
|
|
16477
|
+
"mimo-v2-pro": {
|
|
16478
|
+
id: "mimo-v2-pro",
|
|
16479
|
+
name: "MiMo-V2-Pro",
|
|
16480
|
+
api: "anthropic-messages",
|
|
16481
|
+
provider: "xiaomi-token-plan-ams",
|
|
16445
16482
|
baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
|
|
16446
16483
|
reasoning: true,
|
|
16447
16484
|
input: ["text"],
|
|
16485
|
+
cost: {
|
|
16486
|
+
input: 1,
|
|
16487
|
+
output: 3,
|
|
16488
|
+
cacheRead: 0.2,
|
|
16489
|
+
cacheWrite: 0,
|
|
16490
|
+
},
|
|
16491
|
+
contextWindow: 1048576,
|
|
16492
|
+
maxTokens: 131072,
|
|
16493
|
+
},
|
|
16494
|
+
"mimo-v2.5": {
|
|
16495
|
+
id: "mimo-v2.5",
|
|
16496
|
+
name: "MiMo-V2.5",
|
|
16497
|
+
api: "anthropic-messages",
|
|
16498
|
+
provider: "xiaomi-token-plan-ams",
|
|
16499
|
+
baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
|
|
16500
|
+
reasoning: true,
|
|
16501
|
+
input: ["text", "image"],
|
|
16448
16502
|
cost: {
|
|
16449
16503
|
input: 0.4,
|
|
16450
16504
|
output: 2,
|
|
@@ -16458,10 +16512,184 @@ export const MODELS = {
|
|
|
16458
16512
|
id: "mimo-v2.5-pro",
|
|
16459
16513
|
name: "MiMo-V2.5-Pro",
|
|
16460
16514
|
api: "anthropic-messages",
|
|
16461
|
-
provider: "xiaomi",
|
|
16515
|
+
provider: "xiaomi-token-plan-ams",
|
|
16462
16516
|
baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
|
|
16463
16517
|
reasoning: true,
|
|
16518
|
+
input: ["text"],
|
|
16519
|
+
cost: {
|
|
16520
|
+
input: 1,
|
|
16521
|
+
output: 3,
|
|
16522
|
+
cacheRead: 0.2,
|
|
16523
|
+
cacheWrite: 0,
|
|
16524
|
+
},
|
|
16525
|
+
contextWindow: 1048576,
|
|
16526
|
+
maxTokens: 131072,
|
|
16527
|
+
},
|
|
16528
|
+
},
|
|
16529
|
+
"xiaomi-token-plan-cn": {
|
|
16530
|
+
"mimo-v2-flash": {
|
|
16531
|
+
id: "mimo-v2-flash",
|
|
16532
|
+
name: "MiMo-V2-Flash",
|
|
16533
|
+
api: "anthropic-messages",
|
|
16534
|
+
provider: "xiaomi-token-plan-cn",
|
|
16535
|
+
baseUrl: "https://token-plan-cn.xiaomimimo.com/anthropic",
|
|
16536
|
+
reasoning: true,
|
|
16537
|
+
input: ["text"],
|
|
16538
|
+
cost: {
|
|
16539
|
+
input: 0.1,
|
|
16540
|
+
output: 0.3,
|
|
16541
|
+
cacheRead: 0.01,
|
|
16542
|
+
cacheWrite: 0,
|
|
16543
|
+
},
|
|
16544
|
+
contextWindow: 262144,
|
|
16545
|
+
maxTokens: 65536,
|
|
16546
|
+
},
|
|
16547
|
+
"mimo-v2-omni": {
|
|
16548
|
+
id: "mimo-v2-omni",
|
|
16549
|
+
name: "MiMo-V2-Omni",
|
|
16550
|
+
api: "anthropic-messages",
|
|
16551
|
+
provider: "xiaomi-token-plan-cn",
|
|
16552
|
+
baseUrl: "https://token-plan-cn.xiaomimimo.com/anthropic",
|
|
16553
|
+
reasoning: true,
|
|
16464
16554
|
input: ["text", "image"],
|
|
16555
|
+
cost: {
|
|
16556
|
+
input: 0.4,
|
|
16557
|
+
output: 2,
|
|
16558
|
+
cacheRead: 0.08,
|
|
16559
|
+
cacheWrite: 0,
|
|
16560
|
+
},
|
|
16561
|
+
contextWindow: 262144,
|
|
16562
|
+
maxTokens: 131072,
|
|
16563
|
+
},
|
|
16564
|
+
"mimo-v2-pro": {
|
|
16565
|
+
id: "mimo-v2-pro",
|
|
16566
|
+
name: "MiMo-V2-Pro",
|
|
16567
|
+
api: "anthropic-messages",
|
|
16568
|
+
provider: "xiaomi-token-plan-cn",
|
|
16569
|
+
baseUrl: "https://token-plan-cn.xiaomimimo.com/anthropic",
|
|
16570
|
+
reasoning: true,
|
|
16571
|
+
input: ["text"],
|
|
16572
|
+
cost: {
|
|
16573
|
+
input: 1,
|
|
16574
|
+
output: 3,
|
|
16575
|
+
cacheRead: 0.2,
|
|
16576
|
+
cacheWrite: 0,
|
|
16577
|
+
},
|
|
16578
|
+
contextWindow: 1048576,
|
|
16579
|
+
maxTokens: 131072,
|
|
16580
|
+
},
|
|
16581
|
+
"mimo-v2.5": {
|
|
16582
|
+
id: "mimo-v2.5",
|
|
16583
|
+
name: "MiMo-V2.5",
|
|
16584
|
+
api: "anthropic-messages",
|
|
16585
|
+
provider: "xiaomi-token-plan-cn",
|
|
16586
|
+
baseUrl: "https://token-plan-cn.xiaomimimo.com/anthropic",
|
|
16587
|
+
reasoning: true,
|
|
16588
|
+
input: ["text", "image"],
|
|
16589
|
+
cost: {
|
|
16590
|
+
input: 0.4,
|
|
16591
|
+
output: 2,
|
|
16592
|
+
cacheRead: 0.08,
|
|
16593
|
+
cacheWrite: 0,
|
|
16594
|
+
},
|
|
16595
|
+
contextWindow: 1048576,
|
|
16596
|
+
maxTokens: 131072,
|
|
16597
|
+
},
|
|
16598
|
+
"mimo-v2.5-pro": {
|
|
16599
|
+
id: "mimo-v2.5-pro",
|
|
16600
|
+
name: "MiMo-V2.5-Pro",
|
|
16601
|
+
api: "anthropic-messages",
|
|
16602
|
+
provider: "xiaomi-token-plan-cn",
|
|
16603
|
+
baseUrl: "https://token-plan-cn.xiaomimimo.com/anthropic",
|
|
16604
|
+
reasoning: true,
|
|
16605
|
+
input: ["text"],
|
|
16606
|
+
cost: {
|
|
16607
|
+
input: 1,
|
|
16608
|
+
output: 3,
|
|
16609
|
+
cacheRead: 0.2,
|
|
16610
|
+
cacheWrite: 0,
|
|
16611
|
+
},
|
|
16612
|
+
contextWindow: 1048576,
|
|
16613
|
+
maxTokens: 131072,
|
|
16614
|
+
},
|
|
16615
|
+
},
|
|
16616
|
+
"xiaomi-token-plan-sgp": {
|
|
16617
|
+
"mimo-v2-flash": {
|
|
16618
|
+
id: "mimo-v2-flash",
|
|
16619
|
+
name: "MiMo-V2-Flash",
|
|
16620
|
+
api: "anthropic-messages",
|
|
16621
|
+
provider: "xiaomi-token-plan-sgp",
|
|
16622
|
+
baseUrl: "https://token-plan-sgp.xiaomimimo.com/anthropic",
|
|
16623
|
+
reasoning: true,
|
|
16624
|
+
input: ["text"],
|
|
16625
|
+
cost: {
|
|
16626
|
+
input: 0.1,
|
|
16627
|
+
output: 0.3,
|
|
16628
|
+
cacheRead: 0.01,
|
|
16629
|
+
cacheWrite: 0,
|
|
16630
|
+
},
|
|
16631
|
+
contextWindow: 262144,
|
|
16632
|
+
maxTokens: 65536,
|
|
16633
|
+
},
|
|
16634
|
+
"mimo-v2-omni": {
|
|
16635
|
+
id: "mimo-v2-omni",
|
|
16636
|
+
name: "MiMo-V2-Omni",
|
|
16637
|
+
api: "anthropic-messages",
|
|
16638
|
+
provider: "xiaomi-token-plan-sgp",
|
|
16639
|
+
baseUrl: "https://token-plan-sgp.xiaomimimo.com/anthropic",
|
|
16640
|
+
reasoning: true,
|
|
16641
|
+
input: ["text", "image"],
|
|
16642
|
+
cost: {
|
|
16643
|
+
input: 0.4,
|
|
16644
|
+
output: 2,
|
|
16645
|
+
cacheRead: 0.08,
|
|
16646
|
+
cacheWrite: 0,
|
|
16647
|
+
},
|
|
16648
|
+
contextWindow: 262144,
|
|
16649
|
+
maxTokens: 131072,
|
|
16650
|
+
},
|
|
16651
|
+
"mimo-v2-pro": {
|
|
16652
|
+
id: "mimo-v2-pro",
|
|
16653
|
+
name: "MiMo-V2-Pro",
|
|
16654
|
+
api: "anthropic-messages",
|
|
16655
|
+
provider: "xiaomi-token-plan-sgp",
|
|
16656
|
+
baseUrl: "https://token-plan-sgp.xiaomimimo.com/anthropic",
|
|
16657
|
+
reasoning: true,
|
|
16658
|
+
input: ["text"],
|
|
16659
|
+
cost: {
|
|
16660
|
+
input: 1,
|
|
16661
|
+
output: 3,
|
|
16662
|
+
cacheRead: 0.2,
|
|
16663
|
+
cacheWrite: 0,
|
|
16664
|
+
},
|
|
16665
|
+
contextWindow: 1048576,
|
|
16666
|
+
maxTokens: 131072,
|
|
16667
|
+
},
|
|
16668
|
+
"mimo-v2.5": {
|
|
16669
|
+
id: "mimo-v2.5",
|
|
16670
|
+
name: "MiMo-V2.5",
|
|
16671
|
+
api: "anthropic-messages",
|
|
16672
|
+
provider: "xiaomi-token-plan-sgp",
|
|
16673
|
+
baseUrl: "https://token-plan-sgp.xiaomimimo.com/anthropic",
|
|
16674
|
+
reasoning: true,
|
|
16675
|
+
input: ["text", "image"],
|
|
16676
|
+
cost: {
|
|
16677
|
+
input: 0.4,
|
|
16678
|
+
output: 2,
|
|
16679
|
+
cacheRead: 0.08,
|
|
16680
|
+
cacheWrite: 0,
|
|
16681
|
+
},
|
|
16682
|
+
contextWindow: 1048576,
|
|
16683
|
+
maxTokens: 131072,
|
|
16684
|
+
},
|
|
16685
|
+
"mimo-v2.5-pro": {
|
|
16686
|
+
id: "mimo-v2.5-pro",
|
|
16687
|
+
name: "MiMo-V2.5-Pro",
|
|
16688
|
+
api: "anthropic-messages",
|
|
16689
|
+
provider: "xiaomi-token-plan-sgp",
|
|
16690
|
+
baseUrl: "https://token-plan-sgp.xiaomimimo.com/anthropic",
|
|
16691
|
+
reasoning: true,
|
|
16692
|
+
input: ["text"],
|
|
16465
16693
|
cost: {
|
|
16466
16694
|
input: 1,
|
|
16467
16695
|
output: 3,
|
|
@@ -16547,7 +16775,7 @@ export const MODELS = {
|
|
|
16547
16775
|
},
|
|
16548
16776
|
"glm-5v-turbo": {
|
|
16549
16777
|
id: "glm-5v-turbo",
|
|
16550
|
-
name: "
|
|
16778
|
+
name: "GLM-5V-Turbo",
|
|
16551
16779
|
api: "openai-completions",
|
|
16552
16780
|
provider: "zai",
|
|
16553
16781
|
baseUrl: "https://api.z.ai/api/coding/paas/v4",
|