@ottocode/sdk 0.1.236 → 0.1.237
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/package.json +1 -1
- package/src/core/src/tools/builtin/fs/edit-shared.ts +83 -0
- package/src/core/src/tools/builtin/fs/edit.ts +129 -0
- package/src/core/src/tools/builtin/fs/edit.txt +9 -0
- package/src/core/src/tools/builtin/fs/index.ts +4 -0
- package/src/core/src/tools/builtin/fs/multiedit.ts +137 -0
- package/src/core/src/tools/builtin/fs/multiedit.txt +9 -0
- package/src/core/src/tools/builtin/fs/read-tracker.ts +72 -0
- package/src/core/src/tools/builtin/fs/read.ts +2 -0
- package/src/core/src/tools/builtin/fs/write.ts +2 -0
- package/src/core/src/tools/builtin/fs/write.txt +1 -1
- package/src/prompts/src/agents/build.txt +9 -2
- package/src/prompts/src/base.txt +10 -7
- package/src/prompts/src/providers/default.txt +25 -14
- package/src/prompts/src/providers/glm.txt +25 -14
- package/src/prompts/src/providers/google.txt +3 -3
- package/src/prompts/src/providers/moonshot.txt +25 -14
- package/src/prompts/src/providers/openai.txt +1 -1
- package/src/providers/src/catalog.ts +497 -7
|
@@ -783,6 +783,58 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
|
|
|
783
783
|
output: 128000,
|
|
784
784
|
},
|
|
785
785
|
},
|
|
786
|
+
{
|
|
787
|
+
id: 'gpt-5.4-mini',
|
|
788
|
+
ownedBy: 'openai',
|
|
789
|
+
label: 'GPT-5.4 mini',
|
|
790
|
+
modalities: {
|
|
791
|
+
input: ['text', 'image'],
|
|
792
|
+
output: ['text'],
|
|
793
|
+
},
|
|
794
|
+
toolCall: true,
|
|
795
|
+
reasoningText: true,
|
|
796
|
+
attachment: true,
|
|
797
|
+
temperature: false,
|
|
798
|
+
knowledge: '2025-08-31',
|
|
799
|
+
releaseDate: '2026-03-17',
|
|
800
|
+
lastUpdated: '2026-03-17',
|
|
801
|
+
openWeights: false,
|
|
802
|
+
cost: {
|
|
803
|
+
input: 0.75,
|
|
804
|
+
output: 4.5,
|
|
805
|
+
cacheRead: 0.075,
|
|
806
|
+
},
|
|
807
|
+
limit: {
|
|
808
|
+
context: 400000,
|
|
809
|
+
output: 128000,
|
|
810
|
+
},
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
id: 'gpt-5.4-nano',
|
|
814
|
+
ownedBy: 'openai',
|
|
815
|
+
label: 'GPT-5.4 nano',
|
|
816
|
+
modalities: {
|
|
817
|
+
input: ['text', 'image'],
|
|
818
|
+
output: ['text'],
|
|
819
|
+
},
|
|
820
|
+
toolCall: true,
|
|
821
|
+
reasoningText: true,
|
|
822
|
+
attachment: true,
|
|
823
|
+
temperature: false,
|
|
824
|
+
knowledge: '2025-08-31',
|
|
825
|
+
releaseDate: '2026-03-17',
|
|
826
|
+
lastUpdated: '2026-03-17',
|
|
827
|
+
openWeights: false,
|
|
828
|
+
cost: {
|
|
829
|
+
input: 0.2,
|
|
830
|
+
output: 1.25,
|
|
831
|
+
cacheRead: 0.02,
|
|
832
|
+
},
|
|
833
|
+
limit: {
|
|
834
|
+
context: 400000,
|
|
835
|
+
output: 128000,
|
|
836
|
+
},
|
|
837
|
+
},
|
|
786
838
|
{
|
|
787
839
|
id: 'gpt-5.4-pro',
|
|
788
840
|
ownedBy: 'openai',
|
|
@@ -1623,7 +1675,7 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
|
|
|
1623
1675
|
temperature: true,
|
|
1624
1676
|
knowledge: '2025-05',
|
|
1625
1677
|
releaseDate: '2026-02-05',
|
|
1626
|
-
lastUpdated: '2026-
|
|
1678
|
+
lastUpdated: '2026-03-13',
|
|
1627
1679
|
openWeights: false,
|
|
1628
1680
|
cost: {
|
|
1629
1681
|
input: 5,
|
|
@@ -1632,7 +1684,7 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
|
|
|
1632
1684
|
cacheWrite: 6.25,
|
|
1633
1685
|
},
|
|
1634
1686
|
limit: {
|
|
1635
|
-
context:
|
|
1687
|
+
context: 1000000,
|
|
1636
1688
|
output: 128000,
|
|
1637
1689
|
},
|
|
1638
1690
|
},
|
|
@@ -1758,7 +1810,7 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
|
|
|
1758
1810
|
temperature: true,
|
|
1759
1811
|
knowledge: '2025-08',
|
|
1760
1812
|
releaseDate: '2026-02-17',
|
|
1761
|
-
lastUpdated: '2026-
|
|
1813
|
+
lastUpdated: '2026-03-13',
|
|
1762
1814
|
openWeights: false,
|
|
1763
1815
|
cost: {
|
|
1764
1816
|
input: 3,
|
|
@@ -1767,7 +1819,7 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
|
|
|
1767
1819
|
cacheWrite: 3.75,
|
|
1768
1820
|
},
|
|
1769
1821
|
limit: {
|
|
1770
|
-
context:
|
|
1822
|
+
context: 1000000,
|
|
1771
1823
|
output: 64000,
|
|
1772
1824
|
},
|
|
1773
1825
|
},
|
|
@@ -2365,9 +2417,10 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
|
|
|
2365
2417
|
lastUpdated: '2026-03-03',
|
|
2366
2418
|
openWeights: false,
|
|
2367
2419
|
cost: {
|
|
2368
|
-
input: 0.
|
|
2369
|
-
output:
|
|
2370
|
-
cacheRead: 0.
|
|
2420
|
+
input: 0.25,
|
|
2421
|
+
output: 1.5,
|
|
2422
|
+
cacheRead: 0.025,
|
|
2423
|
+
cacheWrite: 1,
|
|
2371
2424
|
},
|
|
2372
2425
|
limit: {
|
|
2373
2426
|
context: 1048576,
|
|
@@ -3691,6 +3744,32 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
|
|
|
3691
3744
|
output: 66000,
|
|
3692
3745
|
},
|
|
3693
3746
|
},
|
|
3747
|
+
{
|
|
3748
|
+
id: 'google/gemini-3.1-flash-lite-preview',
|
|
3749
|
+
ownedBy: 'google',
|
|
3750
|
+
label: 'Gemini 3.1 Flash Lite Preview',
|
|
3751
|
+
modalities: {
|
|
3752
|
+
input: ['text', 'image', 'video', 'pdf', 'audio'],
|
|
3753
|
+
output: ['text'],
|
|
3754
|
+
},
|
|
3755
|
+
toolCall: true,
|
|
3756
|
+
reasoningText: true,
|
|
3757
|
+
attachment: true,
|
|
3758
|
+
temperature: true,
|
|
3759
|
+
releaseDate: '2026-03-03',
|
|
3760
|
+
lastUpdated: '2026-03-03',
|
|
3761
|
+
openWeights: false,
|
|
3762
|
+
cost: {
|
|
3763
|
+
input: 0.25,
|
|
3764
|
+
output: 1.5,
|
|
3765
|
+
cacheRead: 0.025,
|
|
3766
|
+
cacheWrite: 0.083,
|
|
3767
|
+
},
|
|
3768
|
+
limit: {
|
|
3769
|
+
context: 1048576,
|
|
3770
|
+
output: 65536,
|
|
3771
|
+
},
|
|
3772
|
+
},
|
|
3694
3773
|
{
|
|
3695
3774
|
id: 'google/gemini-3.1-pro-preview',
|
|
3696
3775
|
ownedBy: 'google',
|
|
@@ -4402,6 +4481,32 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
|
|
|
4402
4481
|
output: 131072,
|
|
4403
4482
|
},
|
|
4404
4483
|
},
|
|
4484
|
+
{
|
|
4485
|
+
id: 'minimax/minimax-m2.7',
|
|
4486
|
+
ownedBy: 'minimax',
|
|
4487
|
+
label: 'MiniMax M2.7',
|
|
4488
|
+
modalities: {
|
|
4489
|
+
input: ['text'],
|
|
4490
|
+
output: ['text'],
|
|
4491
|
+
},
|
|
4492
|
+
toolCall: true,
|
|
4493
|
+
reasoningText: true,
|
|
4494
|
+
attachment: false,
|
|
4495
|
+
temperature: true,
|
|
4496
|
+
releaseDate: '2026-03-18',
|
|
4497
|
+
lastUpdated: '2026-03-18',
|
|
4498
|
+
openWeights: true,
|
|
4499
|
+
cost: {
|
|
4500
|
+
input: 0.3,
|
|
4501
|
+
output: 1.2,
|
|
4502
|
+
cacheRead: 0.06,
|
|
4503
|
+
cacheWrite: 0.375,
|
|
4504
|
+
},
|
|
4505
|
+
limit: {
|
|
4506
|
+
context: 204800,
|
|
4507
|
+
output: 131072,
|
|
4508
|
+
},
|
|
4509
|
+
},
|
|
4405
4510
|
{
|
|
4406
4511
|
id: 'mistralai/codestral-2508',
|
|
4407
4512
|
label: 'Codestral 2508',
|
|
@@ -5647,6 +5752,58 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
|
|
|
5647
5752
|
output: 128000,
|
|
5648
5753
|
},
|
|
5649
5754
|
},
|
|
5755
|
+
{
|
|
5756
|
+
id: 'openai/gpt-5.4-mini',
|
|
5757
|
+
ownedBy: 'openai',
|
|
5758
|
+
label: 'GPT-5.4 Mini',
|
|
5759
|
+
modalities: {
|
|
5760
|
+
input: ['text', 'image', 'pdf'],
|
|
5761
|
+
output: ['text'],
|
|
5762
|
+
},
|
|
5763
|
+
toolCall: true,
|
|
5764
|
+
reasoningText: true,
|
|
5765
|
+
attachment: true,
|
|
5766
|
+
temperature: true,
|
|
5767
|
+
knowledge: '2025-08-31',
|
|
5768
|
+
releaseDate: '2026-03-17',
|
|
5769
|
+
lastUpdated: '2026-03-17',
|
|
5770
|
+
openWeights: false,
|
|
5771
|
+
cost: {
|
|
5772
|
+
input: 7.5e-7,
|
|
5773
|
+
output: 0.0000045,
|
|
5774
|
+
cacheRead: 7.5e-8,
|
|
5775
|
+
},
|
|
5776
|
+
limit: {
|
|
5777
|
+
context: 400000,
|
|
5778
|
+
output: 128000,
|
|
5779
|
+
},
|
|
5780
|
+
},
|
|
5781
|
+
{
|
|
5782
|
+
id: 'openai/gpt-5.4-nano',
|
|
5783
|
+
ownedBy: 'openai',
|
|
5784
|
+
label: 'GPT-5.4 Nano',
|
|
5785
|
+
modalities: {
|
|
5786
|
+
input: ['text', 'image', 'pdf'],
|
|
5787
|
+
output: ['text'],
|
|
5788
|
+
},
|
|
5789
|
+
toolCall: true,
|
|
5790
|
+
reasoningText: false,
|
|
5791
|
+
attachment: true,
|
|
5792
|
+
temperature: true,
|
|
5793
|
+
knowledge: '2025-08-31',
|
|
5794
|
+
releaseDate: '2026-03-17',
|
|
5795
|
+
lastUpdated: '2026-03-17',
|
|
5796
|
+
openWeights: false,
|
|
5797
|
+
cost: {
|
|
5798
|
+
input: 2e-7,
|
|
5799
|
+
output: 0.00000125,
|
|
5800
|
+
cacheRead: 2e-8,
|
|
5801
|
+
},
|
|
5802
|
+
limit: {
|
|
5803
|
+
context: 400000,
|
|
5804
|
+
output: 128000,
|
|
5805
|
+
},
|
|
5806
|
+
},
|
|
5650
5807
|
{
|
|
5651
5808
|
id: 'openai/gpt-5.4-pro',
|
|
5652
5809
|
ownedBy: 'openai',
|
|
@@ -7112,6 +7269,56 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
|
|
|
7112
7269
|
output: 30000,
|
|
7113
7270
|
},
|
|
7114
7271
|
},
|
|
7272
|
+
{
|
|
7273
|
+
id: 'x-ai/grok-4.20-beta',
|
|
7274
|
+
ownedBy: 'xai',
|
|
7275
|
+
label: 'Grok 4.20 Beta',
|
|
7276
|
+
modalities: {
|
|
7277
|
+
input: ['text', 'image'],
|
|
7278
|
+
output: ['text'],
|
|
7279
|
+
},
|
|
7280
|
+
toolCall: true,
|
|
7281
|
+
reasoningText: true,
|
|
7282
|
+
attachment: true,
|
|
7283
|
+
temperature: true,
|
|
7284
|
+
releaseDate: '2026-03-12',
|
|
7285
|
+
lastUpdated: '2026-03-12',
|
|
7286
|
+
openWeights: false,
|
|
7287
|
+
cost: {
|
|
7288
|
+
input: 2,
|
|
7289
|
+
output: 6,
|
|
7290
|
+
cacheRead: 0.2,
|
|
7291
|
+
},
|
|
7292
|
+
limit: {
|
|
7293
|
+
context: 2000000,
|
|
7294
|
+
output: 30000,
|
|
7295
|
+
},
|
|
7296
|
+
},
|
|
7297
|
+
{
|
|
7298
|
+
id: 'x-ai/grok-4.20-multi-agent-beta',
|
|
7299
|
+
ownedBy: 'xai',
|
|
7300
|
+
label: 'Grok 4.20 Multi - Agent Beta',
|
|
7301
|
+
modalities: {
|
|
7302
|
+
input: ['text', 'image'],
|
|
7303
|
+
output: ['text'],
|
|
7304
|
+
},
|
|
7305
|
+
toolCall: false,
|
|
7306
|
+
reasoningText: true,
|
|
7307
|
+
attachment: true,
|
|
7308
|
+
temperature: true,
|
|
7309
|
+
releaseDate: '2026-03-12',
|
|
7310
|
+
lastUpdated: '2026-03-12',
|
|
7311
|
+
openWeights: false,
|
|
7312
|
+
cost: {
|
|
7313
|
+
input: 2,
|
|
7314
|
+
output: 6,
|
|
7315
|
+
cacheRead: 0.2,
|
|
7316
|
+
},
|
|
7317
|
+
limit: {
|
|
7318
|
+
context: 2000000,
|
|
7319
|
+
output: 30000,
|
|
7320
|
+
},
|
|
7321
|
+
},
|
|
7115
7322
|
{
|
|
7116
7323
|
id: 'x-ai/grok-code-fast-1',
|
|
7117
7324
|
ownedBy: 'xai',
|
|
@@ -7163,6 +7370,52 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
|
|
|
7163
7370
|
output: 65536,
|
|
7164
7371
|
},
|
|
7165
7372
|
},
|
|
7373
|
+
{
|
|
7374
|
+
id: 'xiaomi/mimo-v2-omni',
|
|
7375
|
+
label: 'MiMo-V2-Omni',
|
|
7376
|
+
modalities: {
|
|
7377
|
+
input: ['text', 'image', 'video', 'audio'],
|
|
7378
|
+
output: ['text'],
|
|
7379
|
+
},
|
|
7380
|
+
toolCall: true,
|
|
7381
|
+
reasoningText: true,
|
|
7382
|
+
attachment: true,
|
|
7383
|
+
temperature: true,
|
|
7384
|
+
releaseDate: '2026-03-18',
|
|
7385
|
+
lastUpdated: '2026-03-18',
|
|
7386
|
+
openWeights: true,
|
|
7387
|
+
cost: {
|
|
7388
|
+
input: 0.4,
|
|
7389
|
+
output: 2,
|
|
7390
|
+
},
|
|
7391
|
+
limit: {
|
|
7392
|
+
context: 262144,
|
|
7393
|
+
output: 65536,
|
|
7394
|
+
},
|
|
7395
|
+
},
|
|
7396
|
+
{
|
|
7397
|
+
id: 'xiaomi/mimo-v2-pro',
|
|
7398
|
+
label: 'MiMo-V2-Pro',
|
|
7399
|
+
modalities: {
|
|
7400
|
+
input: ['text'],
|
|
7401
|
+
output: ['text'],
|
|
7402
|
+
},
|
|
7403
|
+
toolCall: true,
|
|
7404
|
+
reasoningText: true,
|
|
7405
|
+
attachment: false,
|
|
7406
|
+
temperature: true,
|
|
7407
|
+
releaseDate: '2026-03-18',
|
|
7408
|
+
lastUpdated: '2026-03-18',
|
|
7409
|
+
openWeights: true,
|
|
7410
|
+
cost: {
|
|
7411
|
+
input: 1,
|
|
7412
|
+
output: 3,
|
|
7413
|
+
},
|
|
7414
|
+
limit: {
|
|
7415
|
+
context: 1048576,
|
|
7416
|
+
output: 65536,
|
|
7417
|
+
},
|
|
7418
|
+
},
|
|
7166
7419
|
{
|
|
7167
7420
|
id: 'z-ai/glm-4.5',
|
|
7168
7421
|
ownedBy: 'zai',
|
|
@@ -8234,6 +8487,64 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
|
|
|
8234
8487
|
npm: '@ai-sdk/openai',
|
|
8235
8488
|
},
|
|
8236
8489
|
},
|
|
8490
|
+
{
|
|
8491
|
+
id: 'gpt-5.4-mini',
|
|
8492
|
+
ownedBy: 'openai',
|
|
8493
|
+
label: 'GPT-5.4 Mini',
|
|
8494
|
+
modalities: {
|
|
8495
|
+
input: ['text', 'image', 'pdf'],
|
|
8496
|
+
output: ['text'],
|
|
8497
|
+
},
|
|
8498
|
+
toolCall: true,
|
|
8499
|
+
reasoningText: true,
|
|
8500
|
+
attachment: true,
|
|
8501
|
+
temperature: false,
|
|
8502
|
+
knowledge: '2025-08-31',
|
|
8503
|
+
releaseDate: '2026-03-17',
|
|
8504
|
+
lastUpdated: '2026-03-17',
|
|
8505
|
+
openWeights: false,
|
|
8506
|
+
cost: {
|
|
8507
|
+
input: 0.75,
|
|
8508
|
+
output: 4.5,
|
|
8509
|
+
cacheRead: 0.075,
|
|
8510
|
+
},
|
|
8511
|
+
limit: {
|
|
8512
|
+
context: 400000,
|
|
8513
|
+
output: 128000,
|
|
8514
|
+
},
|
|
8515
|
+
provider: {
|
|
8516
|
+
npm: '@ai-sdk/openai',
|
|
8517
|
+
},
|
|
8518
|
+
},
|
|
8519
|
+
{
|
|
8520
|
+
id: 'gpt-5.4-nano',
|
|
8521
|
+
ownedBy: 'openai',
|
|
8522
|
+
label: 'GPT-5.4 Nano',
|
|
8523
|
+
modalities: {
|
|
8524
|
+
input: ['text', 'image', 'pdf'],
|
|
8525
|
+
output: ['text'],
|
|
8526
|
+
},
|
|
8527
|
+
toolCall: true,
|
|
8528
|
+
reasoningText: true,
|
|
8529
|
+
attachment: true,
|
|
8530
|
+
temperature: false,
|
|
8531
|
+
knowledge: '2025-08-31',
|
|
8532
|
+
releaseDate: '2026-03-17',
|
|
8533
|
+
lastUpdated: '2026-03-17',
|
|
8534
|
+
openWeights: false,
|
|
8535
|
+
cost: {
|
|
8536
|
+
input: 0.2,
|
|
8537
|
+
output: 1.25,
|
|
8538
|
+
cacheRead: 0.02,
|
|
8539
|
+
},
|
|
8540
|
+
limit: {
|
|
8541
|
+
context: 400000,
|
|
8542
|
+
output: 128000,
|
|
8543
|
+
},
|
|
8544
|
+
provider: {
|
|
8545
|
+
npm: '@ai-sdk/openai',
|
|
8546
|
+
},
|
|
8547
|
+
},
|
|
8237
8548
|
{
|
|
8238
8549
|
id: 'gpt-5.4-pro',
|
|
8239
8550
|
ownedBy: 'openai',
|
|
@@ -8418,6 +8729,56 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
|
|
|
8418
8729
|
output: 65536,
|
|
8419
8730
|
},
|
|
8420
8731
|
},
|
|
8732
|
+
{
|
|
8733
|
+
id: 'mimo-v2-omni-free',
|
|
8734
|
+
label: 'MiMo V2 Omni Free',
|
|
8735
|
+
modalities: {
|
|
8736
|
+
input: ['text', 'image', 'audio', 'pdf'],
|
|
8737
|
+
output: ['text'],
|
|
8738
|
+
},
|
|
8739
|
+
toolCall: true,
|
|
8740
|
+
reasoningText: true,
|
|
8741
|
+
attachment: true,
|
|
8742
|
+
temperature: true,
|
|
8743
|
+
knowledge: '2024-12',
|
|
8744
|
+
releaseDate: '2026-03-18',
|
|
8745
|
+
lastUpdated: '2026-03-18',
|
|
8746
|
+
openWeights: true,
|
|
8747
|
+
cost: {
|
|
8748
|
+
input: 0,
|
|
8749
|
+
output: 0,
|
|
8750
|
+
cacheRead: 0,
|
|
8751
|
+
},
|
|
8752
|
+
limit: {
|
|
8753
|
+
context: 262144,
|
|
8754
|
+
output: 64000,
|
|
8755
|
+
},
|
|
8756
|
+
},
|
|
8757
|
+
{
|
|
8758
|
+
id: 'mimo-v2-pro-free',
|
|
8759
|
+
label: 'MiMo V2 Pro Free',
|
|
8760
|
+
modalities: {
|
|
8761
|
+
input: ['text'],
|
|
8762
|
+
output: ['text'],
|
|
8763
|
+
},
|
|
8764
|
+
toolCall: true,
|
|
8765
|
+
reasoningText: true,
|
|
8766
|
+
attachment: true,
|
|
8767
|
+
temperature: true,
|
|
8768
|
+
knowledge: '2024-12',
|
|
8769
|
+
releaseDate: '2026-03-18',
|
|
8770
|
+
lastUpdated: '2026-03-18',
|
|
8771
|
+
openWeights: true,
|
|
8772
|
+
cost: {
|
|
8773
|
+
input: 0,
|
|
8774
|
+
output: 0,
|
|
8775
|
+
cacheRead: 0,
|
|
8776
|
+
},
|
|
8777
|
+
limit: {
|
|
8778
|
+
context: 1048576,
|
|
8779
|
+
output: 64000,
|
|
8780
|
+
},
|
|
8781
|
+
},
|
|
8421
8782
|
{
|
|
8422
8783
|
id: 'minimax-m2.1',
|
|
8423
8784
|
ownedBy: 'minimax',
|
|
@@ -8849,6 +9210,32 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
|
|
|
8849
9210
|
output: 131072,
|
|
8850
9211
|
},
|
|
8851
9212
|
},
|
|
9213
|
+
{
|
|
9214
|
+
id: 'glm-5-turbo',
|
|
9215
|
+
ownedBy: 'zai',
|
|
9216
|
+
label: 'GLM-5-Turbo',
|
|
9217
|
+
modalities: {
|
|
9218
|
+
input: ['text'],
|
|
9219
|
+
output: ['text'],
|
|
9220
|
+
},
|
|
9221
|
+
toolCall: true,
|
|
9222
|
+
reasoningText: true,
|
|
9223
|
+
attachment: false,
|
|
9224
|
+
temperature: true,
|
|
9225
|
+
releaseDate: '2026-03-16',
|
|
9226
|
+
lastUpdated: '2026-03-16',
|
|
9227
|
+
openWeights: false,
|
|
9228
|
+
cost: {
|
|
9229
|
+
input: 1.2,
|
|
9230
|
+
output: 4,
|
|
9231
|
+
cacheRead: 0.24,
|
|
9232
|
+
cacheWrite: 0,
|
|
9233
|
+
},
|
|
9234
|
+
limit: {
|
|
9235
|
+
context: 200000,
|
|
9236
|
+
output: 131072,
|
|
9237
|
+
},
|
|
9238
|
+
},
|
|
8852
9239
|
],
|
|
8853
9240
|
label: 'Z.AI',
|
|
8854
9241
|
env: ['ZHIPU_API_KEY'],
|
|
@@ -9124,6 +9511,32 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
|
|
|
9124
9511
|
output: 131072,
|
|
9125
9512
|
},
|
|
9126
9513
|
},
|
|
9514
|
+
{
|
|
9515
|
+
id: 'glm-5-turbo',
|
|
9516
|
+
ownedBy: 'zai',
|
|
9517
|
+
label: 'GLM-5-Turbo',
|
|
9518
|
+
modalities: {
|
|
9519
|
+
input: ['text'],
|
|
9520
|
+
output: ['text'],
|
|
9521
|
+
},
|
|
9522
|
+
toolCall: true,
|
|
9523
|
+
reasoningText: true,
|
|
9524
|
+
attachment: false,
|
|
9525
|
+
temperature: true,
|
|
9526
|
+
releaseDate: '2026-03-16',
|
|
9527
|
+
lastUpdated: '2026-03-16',
|
|
9528
|
+
openWeights: false,
|
|
9529
|
+
cost: {
|
|
9530
|
+
input: 0,
|
|
9531
|
+
output: 0,
|
|
9532
|
+
cacheRead: 0,
|
|
9533
|
+
cacheWrite: 0,
|
|
9534
|
+
},
|
|
9535
|
+
limit: {
|
|
9536
|
+
context: 200000,
|
|
9537
|
+
output: 131072,
|
|
9538
|
+
},
|
|
9539
|
+
},
|
|
9127
9540
|
],
|
|
9128
9541
|
label: 'Z.AI Coding Plan',
|
|
9129
9542
|
env: ['ZHIPU_API_KEY'],
|
|
@@ -9400,6 +9813,58 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
|
|
|
9400
9813
|
output: 131072,
|
|
9401
9814
|
},
|
|
9402
9815
|
},
|
|
9816
|
+
{
|
|
9817
|
+
id: 'MiniMax-M2.7',
|
|
9818
|
+
ownedBy: 'minimax',
|
|
9819
|
+
label: 'MiniMax-M2.7',
|
|
9820
|
+
modalities: {
|
|
9821
|
+
input: ['text'],
|
|
9822
|
+
output: ['text'],
|
|
9823
|
+
},
|
|
9824
|
+
toolCall: true,
|
|
9825
|
+
reasoningText: true,
|
|
9826
|
+
attachment: false,
|
|
9827
|
+
temperature: true,
|
|
9828
|
+
releaseDate: '2026-03-18',
|
|
9829
|
+
lastUpdated: '2026-03-18',
|
|
9830
|
+
openWeights: true,
|
|
9831
|
+
cost: {
|
|
9832
|
+
input: 0.3,
|
|
9833
|
+
output: 1.2,
|
|
9834
|
+
cacheRead: 0.06,
|
|
9835
|
+
cacheWrite: 0.375,
|
|
9836
|
+
},
|
|
9837
|
+
limit: {
|
|
9838
|
+
context: 204800,
|
|
9839
|
+
output: 131072,
|
|
9840
|
+
},
|
|
9841
|
+
},
|
|
9842
|
+
{
|
|
9843
|
+
id: 'MiniMax-M2.7-highspeed',
|
|
9844
|
+
ownedBy: 'minimax',
|
|
9845
|
+
label: 'MiniMax-M2.7-highspeed',
|
|
9846
|
+
modalities: {
|
|
9847
|
+
input: ['text'],
|
|
9848
|
+
output: ['text'],
|
|
9849
|
+
},
|
|
9850
|
+
toolCall: true,
|
|
9851
|
+
reasoningText: true,
|
|
9852
|
+
attachment: false,
|
|
9853
|
+
temperature: true,
|
|
9854
|
+
releaseDate: '2026-03-18',
|
|
9855
|
+
lastUpdated: '2026-03-18',
|
|
9856
|
+
openWeights: true,
|
|
9857
|
+
cost: {
|
|
9858
|
+
input: 0.6,
|
|
9859
|
+
output: 2.4,
|
|
9860
|
+
cacheRead: 0.06,
|
|
9861
|
+
cacheWrite: 0.375,
|
|
9862
|
+
},
|
|
9863
|
+
limit: {
|
|
9864
|
+
context: 204800,
|
|
9865
|
+
output: 131072,
|
|
9866
|
+
},
|
|
9867
|
+
},
|
|
9403
9868
|
],
|
|
9404
9869
|
label: 'MiniMax (minimax.io)',
|
|
9405
9870
|
env: ['MINIMAX_API_KEY'],
|
|
@@ -9984,6 +10449,31 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
|
|
|
9984
10449
|
output: 128000,
|
|
9985
10450
|
},
|
|
9986
10451
|
},
|
|
10452
|
+
{
|
|
10453
|
+
id: 'gpt-5.4-mini',
|
|
10454
|
+
ownedBy: 'openai',
|
|
10455
|
+
label: 'GPT-5.4 mini',
|
|
10456
|
+
modalities: {
|
|
10457
|
+
input: ['text', 'image'],
|
|
10458
|
+
output: ['text'],
|
|
10459
|
+
},
|
|
10460
|
+
toolCall: true,
|
|
10461
|
+
reasoningText: true,
|
|
10462
|
+
attachment: true,
|
|
10463
|
+
temperature: false,
|
|
10464
|
+
knowledge: '2025-08-31',
|
|
10465
|
+
releaseDate: '2026-03-17',
|
|
10466
|
+
lastUpdated: '2026-03-17',
|
|
10467
|
+
openWeights: false,
|
|
10468
|
+
cost: {
|
|
10469
|
+
input: 0,
|
|
10470
|
+
output: 0,
|
|
10471
|
+
},
|
|
10472
|
+
limit: {
|
|
10473
|
+
context: 400000,
|
|
10474
|
+
output: 128000,
|
|
10475
|
+
},
|
|
10476
|
+
},
|
|
9987
10477
|
{
|
|
9988
10478
|
id: 'grok-code-fast-1',
|
|
9989
10479
|
ownedBy: 'xai',
|