@earendil-works/pi-ai 0.79.3 → 0.79.5

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.
Files changed (67) hide show
  1. package/README.md +19 -0
  2. package/dist/env-api-keys.d.ts +5 -5
  3. package/dist/env-api-keys.d.ts.map +1 -1
  4. package/dist/env-api-keys.js +21 -57
  5. package/dist/env-api-keys.js.map +1 -1
  6. package/dist/models.d.ts.map +1 -1
  7. package/dist/models.generated.d.ts +316 -52
  8. package/dist/models.generated.d.ts.map +1 -1
  9. package/dist/models.generated.js +317 -142
  10. package/dist/models.generated.js.map +1 -1
  11. package/dist/models.js +4 -1
  12. package/dist/models.js.map +1 -1
  13. package/dist/providers/amazon-bedrock.d.ts.map +1 -1
  14. package/dist/providers/amazon-bedrock.js +52 -34
  15. package/dist/providers/amazon-bedrock.js.map +1 -1
  16. package/dist/providers/anthropic.d.ts.map +1 -1
  17. package/dist/providers/anthropic.js +11 -9
  18. package/dist/providers/anthropic.js.map +1 -1
  19. package/dist/providers/azure-openai-responses.d.ts.map +1 -1
  20. package/dist/providers/azure-openai-responses.js +7 -4
  21. package/dist/providers/azure-openai-responses.js.map +1 -1
  22. package/dist/providers/cloudflare.d.ts +3 -3
  23. package/dist/providers/cloudflare.d.ts.map +1 -1
  24. package/dist/providers/cloudflare.js +4 -3
  25. package/dist/providers/cloudflare.js.map +1 -1
  26. package/dist/providers/google-vertex.d.ts.map +1 -1
  27. package/dist/providers/google-vertex.js +15 -5
  28. package/dist/providers/google-vertex.js.map +1 -1
  29. package/dist/providers/google.d.ts.map +1 -1
  30. package/dist/providers/google.js +2 -1
  31. package/dist/providers/google.js.map +1 -1
  32. package/dist/providers/openai-codex-responses.d.ts.map +1 -1
  33. package/dist/providers/openai-codex-responses.js +18 -17
  34. package/dist/providers/openai-codex-responses.js.map +1 -1
  35. package/dist/providers/openai-completions.d.ts.map +1 -1
  36. package/dist/providers/openai-completions.js +21 -8
  37. package/dist/providers/openai-completions.js.map +1 -1
  38. package/dist/providers/openai-responses-shared.d.ts.map +1 -1
  39. package/dist/providers/openai-responses-shared.js +2 -1
  40. package/dist/providers/openai-responses-shared.js.map +1 -1
  41. package/dist/providers/openai-responses.d.ts.map +1 -1
  42. package/dist/providers/openai-responses.js +8 -7
  43. package/dist/providers/openai-responses.js.map +1 -1
  44. package/dist/providers/simple-options.d.ts.map +1 -1
  45. package/dist/providers/simple-options.js +1 -0
  46. package/dist/providers/simple-options.js.map +1 -1
  47. package/dist/stream.d.ts.map +1 -1
  48. package/dist/stream.js +1 -1
  49. package/dist/stream.js.map +1 -1
  50. package/dist/types.d.ts +10 -0
  51. package/dist/types.d.ts.map +1 -1
  52. package/dist/types.js.map +1 -1
  53. package/dist/utils/node-http-proxy.d.ts +2 -8
  54. package/dist/utils/node-http-proxy.d.ts.map +1 -1
  55. package/dist/utils/node-http-proxy.js +17 -22
  56. package/dist/utils/node-http-proxy.js.map +1 -1
  57. package/dist/utils/oauth/anthropic.d.ts.map +1 -1
  58. package/dist/utils/oauth/anthropic.js +2 -1
  59. package/dist/utils/oauth/anthropic.js.map +1 -1
  60. package/dist/utils/oauth/openai-codex.d.ts.map +1 -1
  61. package/dist/utils/oauth/openai-codex.js +2 -1
  62. package/dist/utils/oauth/openai-codex.js.map +1 -1
  63. package/dist/utils/provider-env.d.ts +7 -0
  64. package/dist/utils/provider-env.d.ts.map +1 -0
  65. package/dist/utils/provider-env.js +44 -0
  66. package/dist/utils/provider-env.js.map +1 -0
  67. package/package.json +1 -1
@@ -4035,6 +4035,26 @@ export declare const MODELS: {
4035
4035
  contextWindow: number;
4036
4036
  maxTokens: number;
4037
4037
  };
4038
+ readonly "@cf/zai-org/glm-5.2": {
4039
+ id: string;
4040
+ name: string;
4041
+ api: "openai-completions";
4042
+ provider: string;
4043
+ baseUrl: string;
4044
+ compat: {
4045
+ sendSessionAffinityHeaders: true;
4046
+ };
4047
+ reasoning: true;
4048
+ input: "text"[];
4049
+ cost: {
4050
+ input: number;
4051
+ output: number;
4052
+ cacheRead: number;
4053
+ cacheWrite: number;
4054
+ };
4055
+ contextWindow: number;
4056
+ maxTokens: number;
4057
+ };
4038
4058
  };
4039
4059
  readonly deepseek: {
4040
4060
  readonly "deepseek-v4-flash": {
@@ -4544,6 +4564,7 @@ export declare const MODELS: {
4544
4564
  reasoning: true;
4545
4565
  thinkingLevelMap: {
4546
4566
  xhigh: string;
4567
+ minimal: string;
4547
4568
  };
4548
4569
  input: ("image" | "text")[];
4549
4570
  cost: {
@@ -4574,6 +4595,7 @@ export declare const MODELS: {
4574
4595
  reasoning: true;
4575
4596
  thinkingLevelMap: {
4576
4597
  xhigh: string;
4598
+ minimal: string;
4577
4599
  };
4578
4600
  input: ("image" | "text")[];
4579
4601
  cost: {
@@ -4653,6 +4675,10 @@ export declare const MODELS: {
4653
4675
  forceAdaptiveThinking: true;
4654
4676
  };
4655
4677
  reasoning: true;
4678
+ thinkingLevelMap: {
4679
+ minimal: string;
4680
+ xhigh: string;
4681
+ };
4656
4682
  input: ("image" | "text")[];
4657
4683
  cost: {
4658
4684
  input: number;
@@ -5300,6 +5326,9 @@ export declare const MODELS: {
5300
5326
  provider: string;
5301
5327
  baseUrl: string;
5302
5328
  reasoning: true;
5329
+ thinkingLevelMap: {
5330
+ off: null;
5331
+ };
5303
5332
  input: ("image" | "text")[];
5304
5333
  cost: {
5305
5334
  input: number;
@@ -5317,6 +5346,9 @@ export declare const MODELS: {
5317
5346
  provider: string;
5318
5347
  baseUrl: string;
5319
5348
  reasoning: true;
5349
+ thinkingLevelMap: {
5350
+ off: null;
5351
+ };
5320
5352
  input: ("image" | "text")[];
5321
5353
  cost: {
5322
5354
  input: number;
@@ -5375,32 +5407,20 @@ export declare const MODELS: {
5375
5407
  contextWindow: number;
5376
5408
  maxTokens: number;
5377
5409
  };
5378
- };
5379
- readonly "google-vertex": {
5380
- readonly "gemini-1.5-flash": {
5410
+ readonly "gemma-4-E2B-it": {
5381
5411
  id: string;
5382
5412
  name: string;
5383
- api: "google-vertex";
5413
+ api: "google-generative-ai";
5384
5414
  provider: string;
5385
5415
  baseUrl: string;
5386
- reasoning: false;
5387
- input: ("image" | "text")[];
5388
- cost: {
5389
- input: number;
5390
- output: number;
5391
- cacheRead: number;
5392
- cacheWrite: number;
5416
+ reasoning: true;
5417
+ thinkingLevelMap: {
5418
+ off: null;
5419
+ minimal: string;
5420
+ low: null;
5421
+ medium: null;
5422
+ high: string;
5393
5423
  };
5394
- contextWindow: number;
5395
- maxTokens: number;
5396
- };
5397
- readonly "gemini-1.5-flash-8b": {
5398
- id: string;
5399
- name: string;
5400
- api: "google-vertex";
5401
- provider: string;
5402
- baseUrl: string;
5403
- reasoning: false;
5404
5424
  input: ("image" | "text")[];
5405
5425
  cost: {
5406
5426
  input: number;
@@ -5411,13 +5431,20 @@ export declare const MODELS: {
5411
5431
  contextWindow: number;
5412
5432
  maxTokens: number;
5413
5433
  };
5414
- readonly "gemini-1.5-pro": {
5434
+ readonly "gemma-4-E4B-it": {
5415
5435
  id: string;
5416
5436
  name: string;
5417
- api: "google-vertex";
5437
+ api: "google-generative-ai";
5418
5438
  provider: string;
5419
5439
  baseUrl: string;
5420
- reasoning: false;
5440
+ reasoning: true;
5441
+ thinkingLevelMap: {
5442
+ off: null;
5443
+ minimal: string;
5444
+ low: null;
5445
+ medium: null;
5446
+ high: string;
5447
+ };
5421
5448
  input: ("image" | "text")[];
5422
5449
  cost: {
5423
5450
  input: number;
@@ -5428,13 +5455,15 @@ export declare const MODELS: {
5428
5455
  contextWindow: number;
5429
5456
  maxTokens: number;
5430
5457
  };
5431
- readonly "gemini-2.0-flash": {
5458
+ };
5459
+ readonly "google-vertex": {
5460
+ readonly "gemini-2.5-flash": {
5432
5461
  id: string;
5433
5462
  name: string;
5434
5463
  api: "google-vertex";
5435
5464
  provider: string;
5436
5465
  baseUrl: string;
5437
- reasoning: false;
5466
+ reasoning: true;
5438
5467
  input: ("image" | "text")[];
5439
5468
  cost: {
5440
5469
  input: number;
@@ -5445,7 +5474,7 @@ export declare const MODELS: {
5445
5474
  contextWindow: number;
5446
5475
  maxTokens: number;
5447
5476
  };
5448
- readonly "gemini-2.0-flash-lite": {
5477
+ readonly "gemini-2.5-flash-lite": {
5449
5478
  id: string;
5450
5479
  name: string;
5451
5480
  api: "google-vertex";
@@ -5462,7 +5491,7 @@ export declare const MODELS: {
5462
5491
  contextWindow: number;
5463
5492
  maxTokens: number;
5464
5493
  };
5465
- readonly "gemini-2.5-flash": {
5494
+ readonly "gemini-2.5-pro": {
5466
5495
  id: string;
5467
5496
  name: string;
5468
5497
  api: "google-vertex";
@@ -5479,13 +5508,16 @@ export declare const MODELS: {
5479
5508
  contextWindow: number;
5480
5509
  maxTokens: number;
5481
5510
  };
5482
- readonly "gemini-2.5-flash-lite": {
5511
+ readonly "gemini-3-flash-preview": {
5483
5512
  id: string;
5484
5513
  name: string;
5485
5514
  api: "google-vertex";
5486
5515
  provider: string;
5487
5516
  baseUrl: string;
5488
5517
  reasoning: true;
5518
+ thinkingLevelMap: {
5519
+ off: null;
5520
+ };
5489
5521
  input: ("image" | "text")[];
5490
5522
  cost: {
5491
5523
  input: number;
@@ -5496,13 +5528,16 @@ export declare const MODELS: {
5496
5528
  contextWindow: number;
5497
5529
  maxTokens: number;
5498
5530
  };
5499
- readonly "gemini-2.5-flash-lite-preview-09-2025": {
5531
+ readonly "gemini-3.1-flash-lite": {
5500
5532
  id: string;
5501
5533
  name: string;
5502
5534
  api: "google-vertex";
5503
5535
  provider: string;
5504
5536
  baseUrl: string;
5505
5537
  reasoning: true;
5538
+ thinkingLevelMap: {
5539
+ off: null;
5540
+ };
5506
5541
  input: ("image" | "text")[];
5507
5542
  cost: {
5508
5543
  input: number;
@@ -5513,13 +5548,20 @@ export declare const MODELS: {
5513
5548
  contextWindow: number;
5514
5549
  maxTokens: number;
5515
5550
  };
5516
- readonly "gemini-2.5-pro": {
5551
+ readonly "gemini-3.1-pro-preview": {
5517
5552
  id: string;
5518
5553
  name: string;
5519
5554
  api: "google-vertex";
5520
5555
  provider: string;
5521
5556
  baseUrl: string;
5522
5557
  reasoning: true;
5558
+ thinkingLevelMap: {
5559
+ off: null;
5560
+ minimal: null;
5561
+ low: string;
5562
+ medium: null;
5563
+ high: string;
5564
+ };
5523
5565
  input: ("image" | "text")[];
5524
5566
  cost: {
5525
5567
  input: number;
@@ -5530,7 +5572,7 @@ export declare const MODELS: {
5530
5572
  contextWindow: number;
5531
5573
  maxTokens: number;
5532
5574
  };
5533
- readonly "gemini-3-flash-preview": {
5575
+ readonly "gemini-3.1-pro-preview-customtools": {
5534
5576
  id: string;
5535
5577
  name: string;
5536
5578
  api: "google-vertex";
@@ -5539,6 +5581,10 @@ export declare const MODELS: {
5539
5581
  reasoning: true;
5540
5582
  thinkingLevelMap: {
5541
5583
  off: null;
5584
+ minimal: null;
5585
+ low: string;
5586
+ medium: null;
5587
+ high: string;
5542
5588
  };
5543
5589
  input: ("image" | "text")[];
5544
5590
  cost: {
@@ -5550,7 +5596,7 @@ export declare const MODELS: {
5550
5596
  contextWindow: number;
5551
5597
  maxTokens: number;
5552
5598
  };
5553
- readonly "gemini-3-pro-preview": {
5599
+ readonly "gemini-3.5-flash": {
5554
5600
  id: string;
5555
5601
  name: string;
5556
5602
  api: "google-vertex";
@@ -5559,10 +5605,6 @@ export declare const MODELS: {
5559
5605
  reasoning: true;
5560
5606
  thinkingLevelMap: {
5561
5607
  off: null;
5562
- minimal: null;
5563
- low: string;
5564
- medium: null;
5565
- high: string;
5566
5608
  };
5567
5609
  input: ("image" | "text")[];
5568
5610
  cost: {
@@ -5574,7 +5616,7 @@ export declare const MODELS: {
5574
5616
  contextWindow: number;
5575
5617
  maxTokens: number;
5576
5618
  };
5577
- readonly "gemini-3.1-pro-preview": {
5619
+ readonly "gemini-flash-latest": {
5578
5620
  id: string;
5579
5621
  name: string;
5580
5622
  api: "google-vertex";
@@ -5583,10 +5625,6 @@ export declare const MODELS: {
5583
5625
  reasoning: true;
5584
5626
  thinkingLevelMap: {
5585
5627
  off: null;
5586
- minimal: null;
5587
- low: string;
5588
- medium: null;
5589
- high: string;
5590
5628
  };
5591
5629
  input: ("image" | "text")[];
5592
5630
  cost: {
@@ -5598,7 +5636,7 @@ export declare const MODELS: {
5598
5636
  contextWindow: number;
5599
5637
  maxTokens: number;
5600
5638
  };
5601
- readonly "gemini-3.1-pro-preview-customtools": {
5639
+ readonly "gemini-flash-lite-latest": {
5602
5640
  id: string;
5603
5641
  name: string;
5604
5642
  api: "google-vertex";
@@ -5607,10 +5645,6 @@ export declare const MODELS: {
5607
5645
  reasoning: true;
5608
5646
  thinkingLevelMap: {
5609
5647
  off: null;
5610
- minimal: null;
5611
- low: string;
5612
- medium: null;
5613
- high: string;
5614
5648
  };
5615
5649
  input: ("image" | "text")[];
5616
5650
  cost: {
@@ -7063,6 +7097,37 @@ export declare const MODELS: {
7063
7097
  thinkingFormat: "deepseek";
7064
7098
  };
7065
7099
  reasoning: true;
7100
+ thinkingLevelMap: {
7101
+ off: null;
7102
+ };
7103
+ input: ("image" | "text")[];
7104
+ cost: {
7105
+ input: number;
7106
+ output: number;
7107
+ cacheRead: number;
7108
+ cacheWrite: number;
7109
+ };
7110
+ contextWindow: number;
7111
+ maxTokens: number;
7112
+ };
7113
+ readonly "kimi-k2.7-code-highspeed": {
7114
+ id: string;
7115
+ name: string;
7116
+ api: "openai-completions";
7117
+ provider: string;
7118
+ baseUrl: string;
7119
+ compat: {
7120
+ supportsStore: false;
7121
+ supportsDeveloperRole: false;
7122
+ supportsReasoningEffort: false;
7123
+ maxTokensField: "max_tokens";
7124
+ supportsStrictMode: false;
7125
+ thinkingFormat: "deepseek";
7126
+ };
7127
+ reasoning: true;
7128
+ thinkingLevelMap: {
7129
+ off: null;
7130
+ };
7066
7131
  input: ("image" | "text")[];
7067
7132
  cost: {
7068
7133
  input: number;
@@ -7250,6 +7315,62 @@ export declare const MODELS: {
7250
7315
  contextWindow: number;
7251
7316
  maxTokens: number;
7252
7317
  };
7318
+ readonly "kimi-k2.7-code": {
7319
+ id: string;
7320
+ name: string;
7321
+ api: "openai-completions";
7322
+ provider: string;
7323
+ baseUrl: string;
7324
+ compat: {
7325
+ supportsStore: false;
7326
+ supportsDeveloperRole: false;
7327
+ supportsReasoningEffort: false;
7328
+ maxTokensField: "max_tokens";
7329
+ supportsStrictMode: false;
7330
+ thinkingFormat: "deepseek";
7331
+ };
7332
+ reasoning: true;
7333
+ thinkingLevelMap: {
7334
+ off: null;
7335
+ };
7336
+ input: ("image" | "text")[];
7337
+ cost: {
7338
+ input: number;
7339
+ output: number;
7340
+ cacheRead: number;
7341
+ cacheWrite: number;
7342
+ };
7343
+ contextWindow: number;
7344
+ maxTokens: number;
7345
+ };
7346
+ readonly "kimi-k2.7-code-highspeed": {
7347
+ id: string;
7348
+ name: string;
7349
+ api: "openai-completions";
7350
+ provider: string;
7351
+ baseUrl: string;
7352
+ compat: {
7353
+ supportsStore: false;
7354
+ supportsDeveloperRole: false;
7355
+ supportsReasoningEffort: false;
7356
+ maxTokensField: "max_tokens";
7357
+ supportsStrictMode: false;
7358
+ thinkingFormat: "deepseek";
7359
+ };
7360
+ reasoning: true;
7361
+ thinkingLevelMap: {
7362
+ off: null;
7363
+ };
7364
+ input: ("image" | "text")[];
7365
+ cost: {
7366
+ input: number;
7367
+ output: number;
7368
+ cacheRead: number;
7369
+ cacheWrite: number;
7370
+ };
7371
+ contextWindow: number;
7372
+ maxTokens: number;
7373
+ };
7253
7374
  };
7254
7375
  readonly nvidia: {
7255
7376
  readonly "meta/llama-3.1-70b-instruct": {
@@ -8880,8 +9001,8 @@ export declare const MODELS: {
8880
9001
  baseUrl: string;
8881
9002
  compat: {
8882
9003
  maxTokensField: "max_tokens";
9004
+ supportsLongCacheRetention: false;
8883
9005
  requiresReasoningContentOnAssistantMessages: true;
8884
- thinkingFormat: "deepseek";
8885
9006
  };
8886
9007
  reasoning: true;
8887
9008
  thinkingLevelMap: {
@@ -8910,7 +9031,6 @@ export declare const MODELS: {
8910
9031
  compat: {
8911
9032
  maxTokensField: "max_tokens";
8912
9033
  requiresReasoningContentOnAssistantMessages: true;
8913
- thinkingFormat: "deepseek";
8914
9034
  };
8915
9035
  reasoning: true;
8916
9036
  thinkingLevelMap: {
@@ -8938,8 +9058,8 @@ export declare const MODELS: {
8938
9058
  baseUrl: string;
8939
9059
  compat: {
8940
9060
  maxTokensField: "max_tokens";
9061
+ supportsLongCacheRetention: false;
8941
9062
  requiresReasoningContentOnAssistantMessages: true;
8942
- thinkingFormat: "deepseek";
8943
9063
  };
8944
9064
  reasoning: true;
8945
9065
  thinkingLevelMap: {
@@ -9429,6 +9549,7 @@ export declare const MODELS: {
9429
9549
  baseUrl: string;
9430
9550
  compat: {
9431
9551
  maxTokensField: "max_tokens";
9552
+ supportsLongCacheRetention: false;
9432
9553
  };
9433
9554
  reasoning: true;
9434
9555
  input: ("image" | "text")[];
@@ -9451,6 +9572,7 @@ export declare const MODELS: {
9451
9572
  thinkingFormat: "deepseek";
9452
9573
  supportsReasoningEffort: false;
9453
9574
  maxTokensField: "max_tokens";
9575
+ supportsLongCacheRetention: false;
9454
9576
  };
9455
9577
  reasoning: true;
9456
9578
  input: ("image" | "text")[];
@@ -9511,6 +9633,7 @@ export declare const MODELS: {
9511
9633
  baseUrl: string;
9512
9634
  compat: {
9513
9635
  maxTokensField: "max_tokens";
9636
+ supportsLongCacheRetention: false;
9514
9637
  };
9515
9638
  reasoning: true;
9516
9639
  input: "text"[];
@@ -9608,7 +9731,6 @@ export declare const MODELS: {
9608
9731
  compat: {
9609
9732
  maxTokensField: "max_tokens";
9610
9733
  requiresReasoningContentOnAssistantMessages: true;
9611
- thinkingFormat: "deepseek";
9612
9734
  };
9613
9735
  reasoning: true;
9614
9736
  thinkingLevelMap: {
@@ -9637,7 +9759,6 @@ export declare const MODELS: {
9637
9759
  compat: {
9638
9760
  maxTokensField: "max_tokens";
9639
9761
  requiresReasoningContentOnAssistantMessages: true;
9640
- thinkingFormat: "deepseek";
9641
9762
  };
9642
9763
  reasoning: true;
9643
9764
  thinkingLevelMap: {
@@ -9707,6 +9828,7 @@ export declare const MODELS: {
9707
9828
  thinkingFormat: "deepseek";
9708
9829
  supportsReasoningEffort: false;
9709
9830
  maxTokensField: "max_tokens";
9831
+ supportsLongCacheRetention: false;
9710
9832
  };
9711
9833
  reasoning: true;
9712
9834
  thinkingLevelMap: {
@@ -14110,6 +14232,23 @@ export declare const MODELS: {
14110
14232
  contextWindow: number;
14111
14233
  maxTokens: number;
14112
14234
  };
14235
+ readonly "z-ai/glm-5.2": {
14236
+ id: string;
14237
+ name: string;
14238
+ api: "openai-completions";
14239
+ provider: string;
14240
+ baseUrl: string;
14241
+ reasoning: true;
14242
+ input: "text"[];
14243
+ cost: {
14244
+ input: number;
14245
+ output: number;
14246
+ cacheRead: number;
14247
+ cacheWrite: number;
14248
+ };
14249
+ contextWindow: number;
14250
+ maxTokens: number;
14251
+ };
14113
14252
  readonly "~anthropic/claude-fable-latest": {
14114
14253
  id: string;
14115
14254
  name: string;
@@ -14640,6 +14779,37 @@ export declare const MODELS: {
14640
14779
  contextWindow: number;
14641
14780
  maxTokens: number;
14642
14781
  };
14782
+ readonly "moonshotai/Kimi-K2.7-Code": {
14783
+ id: string;
14784
+ name: string;
14785
+ api: "openai-completions";
14786
+ provider: string;
14787
+ baseUrl: string;
14788
+ compat: {
14789
+ supportsStore: false;
14790
+ supportsDeveloperRole: false;
14791
+ supportsReasoningEffort: false;
14792
+ maxTokensField: "max_tokens";
14793
+ supportsStrictMode: false;
14794
+ supportsLongCacheRetention: false;
14795
+ thinkingFormat: "together";
14796
+ };
14797
+ reasoning: true;
14798
+ thinkingLevelMap: {
14799
+ minimal: null;
14800
+ low: null;
14801
+ medium: null;
14802
+ };
14803
+ input: "text"[];
14804
+ cost: {
14805
+ input: number;
14806
+ output: number;
14807
+ cacheRead: number;
14808
+ cacheWrite: number;
14809
+ };
14810
+ contextWindow: number;
14811
+ maxTokens: number;
14812
+ };
14643
14813
  readonly "nvidia/nemotron-3-ultra-550b-a55b": {
14644
14814
  id: string;
14645
14815
  name: string;
@@ -16399,6 +16569,23 @@ export declare const MODELS: {
16399
16569
  contextWindow: number;
16400
16570
  maxTokens: number;
16401
16571
  };
16572
+ readonly "moonshotai/kimi-k2.7-code-highspeed": {
16573
+ id: string;
16574
+ name: string;
16575
+ api: "anthropic-messages";
16576
+ provider: string;
16577
+ baseUrl: string;
16578
+ reasoning: true;
16579
+ input: ("image" | "text")[];
16580
+ cost: {
16581
+ input: number;
16582
+ output: number;
16583
+ cacheRead: number;
16584
+ cacheWrite: number;
16585
+ };
16586
+ contextWindow: number;
16587
+ maxTokens: number;
16588
+ };
16402
16589
  readonly "nvidia/nemotron-3-super-120b-a12b": {
16403
16590
  id: string;
16404
16591
  name: string;
@@ -17662,6 +17849,23 @@ export declare const MODELS: {
17662
17849
  contextWindow: number;
17663
17850
  maxTokens: number;
17664
17851
  };
17852
+ readonly "zai/glm-5.2": {
17853
+ id: string;
17854
+ name: string;
17855
+ api: "anthropic-messages";
17856
+ provider: string;
17857
+ baseUrl: string;
17858
+ reasoning: true;
17859
+ input: "text"[];
17860
+ cost: {
17861
+ input: number;
17862
+ output: number;
17863
+ cacheRead: number;
17864
+ cacheWrite: number;
17865
+ };
17866
+ contextWindow: number;
17867
+ maxTokens: number;
17868
+ };
17665
17869
  readonly "zai/glm-5v-turbo": {
17666
17870
  id: string;
17667
17871
  name: string;
@@ -18338,6 +18542,36 @@ export declare const MODELS: {
18338
18542
  contextWindow: number;
18339
18543
  maxTokens: number;
18340
18544
  };
18545
+ readonly "glm-5.2": {
18546
+ id: string;
18547
+ name: string;
18548
+ api: "openai-completions";
18549
+ provider: string;
18550
+ baseUrl: string;
18551
+ compat: {
18552
+ supportsDeveloperRole: false;
18553
+ thinkingFormat: "zai";
18554
+ supportsReasoningEffort: true;
18555
+ zaiToolStream: true;
18556
+ };
18557
+ reasoning: true;
18558
+ thinkingLevelMap: {
18559
+ minimal: null;
18560
+ low: string;
18561
+ medium: string;
18562
+ high: string;
18563
+ xhigh: string;
18564
+ };
18565
+ input: "text"[];
18566
+ cost: {
18567
+ input: number;
18568
+ output: number;
18569
+ cacheRead: number;
18570
+ cacheWrite: number;
18571
+ };
18572
+ contextWindow: number;
18573
+ maxTokens: number;
18574
+ };
18341
18575
  readonly "glm-5v-turbo": {
18342
18576
  id: string;
18343
18577
  name: string;
@@ -18449,6 +18683,36 @@ export declare const MODELS: {
18449
18683
  contextWindow: number;
18450
18684
  maxTokens: number;
18451
18685
  };
18686
+ readonly "glm-5.2": {
18687
+ id: string;
18688
+ name: string;
18689
+ api: "openai-completions";
18690
+ provider: string;
18691
+ baseUrl: string;
18692
+ compat: {
18693
+ supportsDeveloperRole: false;
18694
+ thinkingFormat: "zai";
18695
+ supportsReasoningEffort: true;
18696
+ zaiToolStream: true;
18697
+ };
18698
+ reasoning: true;
18699
+ thinkingLevelMap: {
18700
+ minimal: null;
18701
+ low: string;
18702
+ medium: string;
18703
+ high: string;
18704
+ xhigh: string;
18705
+ };
18706
+ input: "text"[];
18707
+ cost: {
18708
+ input: number;
18709
+ output: number;
18710
+ cacheRead: number;
18711
+ cacheWrite: number;
18712
+ };
18713
+ contextWindow: number;
18714
+ maxTokens: number;
18715
+ };
18452
18716
  readonly "glm-5v-turbo": {
18453
18717
  id: string;
18454
18718
  name: string;