@caupulican/pi-ai 0.75.6 → 0.78.2

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 (71) hide show
  1. package/README.md +1 -1
  2. package/dist/image-models.generated.d.ts.map +1 -1
  3. package/dist/image-models.generated.js +146 -146
  4. package/dist/image-models.generated.js.map +1 -1
  5. package/dist/models.generated.d.ts +399 -299
  6. package/dist/models.generated.d.ts.map +1 -1
  7. package/dist/models.generated.js +494 -455
  8. package/dist/models.generated.js.map +1 -1
  9. package/dist/providers/amazon-bedrock.d.ts +1 -1
  10. package/dist/providers/amazon-bedrock.d.ts.map +1 -1
  11. package/dist/providers/amazon-bedrock.js +38 -2
  12. package/dist/providers/amazon-bedrock.js.map +1 -1
  13. package/dist/providers/anthropic.d.ts.map +1 -1
  14. package/dist/providers/anthropic.js +21 -12
  15. package/dist/providers/anthropic.js.map +1 -1
  16. package/dist/providers/azure-openai-responses.d.ts.map +1 -1
  17. package/dist/providers/azure-openai-responses.js +6 -10
  18. package/dist/providers/azure-openai-responses.js.map +1 -1
  19. package/dist/providers/google-vertex.d.ts.map +1 -1
  20. package/dist/providers/google-vertex.js +1 -1
  21. package/dist/providers/google-vertex.js.map +1 -1
  22. package/dist/providers/google.d.ts.map +1 -1
  23. package/dist/providers/google.js +5 -3
  24. package/dist/providers/google.js.map +1 -1
  25. package/dist/providers/images/openrouter.d.ts.map +1 -1
  26. package/dist/providers/images/openrouter.js +3 -4
  27. package/dist/providers/images/openrouter.js.map +1 -1
  28. package/dist/providers/mistral.d.ts.map +1 -1
  29. package/dist/providers/mistral.js +2 -3
  30. package/dist/providers/mistral.js.map +1 -1
  31. package/dist/providers/openai-codex-responses.d.ts.map +1 -1
  32. package/dist/providers/openai-codex-responses.js +159 -78
  33. package/dist/providers/openai-codex-responses.js.map +1 -1
  34. package/dist/providers/openai-completions.d.ts.map +1 -1
  35. package/dist/providers/openai-completions.js +16 -11
  36. package/dist/providers/openai-completions.js.map +1 -1
  37. package/dist/providers/openai-responses-shared.d.ts.map +1 -1
  38. package/dist/providers/openai-responses-shared.js +4 -1
  39. package/dist/providers/openai-responses-shared.js.map +1 -1
  40. package/dist/providers/openai-responses.d.ts.map +1 -1
  41. package/dist/providers/openai-responses.js +6 -10
  42. package/dist/providers/openai-responses.js.map +1 -1
  43. package/dist/providers/simple-options.d.ts.map +1 -1
  44. package/dist/providers/simple-options.js +1 -0
  45. package/dist/providers/simple-options.js.map +1 -1
  46. package/dist/stream.d.ts.map +1 -1
  47. package/dist/stream.js +14 -2
  48. package/dist/stream.js.map +1 -1
  49. package/dist/types.d.ts +14 -4
  50. package/dist/types.d.ts.map +1 -1
  51. package/dist/types.js.map +1 -1
  52. package/dist/utils/abort-signals.d.ts +6 -0
  53. package/dist/utils/abort-signals.d.ts.map +1 -0
  54. package/dist/utils/abort-signals.js +34 -0
  55. package/dist/utils/abort-signals.js.map +1 -0
  56. package/dist/utils/oauth/device-code.d.ts +9 -7
  57. package/dist/utils/oauth/device-code.d.ts.map +1 -1
  58. package/dist/utils/oauth/device-code.js +8 -7
  59. package/dist/utils/oauth/device-code.js.map +1 -1
  60. package/dist/utils/oauth/github-copilot.d.ts.map +1 -1
  61. package/dist/utils/oauth/github-copilot.js +1 -1
  62. package/dist/utils/oauth/github-copilot.js.map +1 -1
  63. package/dist/utils/oauth/index.d.ts +1 -1
  64. package/dist/utils/oauth/index.d.ts.map +1 -1
  65. package/dist/utils/oauth/index.js +1 -1
  66. package/dist/utils/oauth/index.js.map +1 -1
  67. package/dist/utils/oauth/openai-codex.d.ts +10 -1
  68. package/dist/utils/oauth/openai-codex.d.ts.map +1 -1
  69. package/dist/utils/oauth/openai-codex.js +179 -79
  70. package/dist/utils/oauth/openai-codex.js.map +1 -1
  71. package/package.json +104 -91
@@ -159,6 +159,26 @@ export declare const MODELS: {
159
159
  contextWindow: number;
160
160
  maxTokens: number;
161
161
  };
162
+ readonly "anthropic.claude-opus-4-8": {
163
+ id: string;
164
+ name: string;
165
+ api: "bedrock-converse-stream";
166
+ provider: string;
167
+ baseUrl: string;
168
+ reasoning: true;
169
+ thinkingLevelMap: {
170
+ xhigh: string;
171
+ };
172
+ input: ("image" | "text")[];
173
+ cost: {
174
+ input: number;
175
+ output: number;
176
+ cacheRead: number;
177
+ cacheWrite: number;
178
+ };
179
+ contextWindow: number;
180
+ maxTokens: number;
181
+ };
162
182
  readonly "anthropic.claude-sonnet-4-5-20250929-v1:0": {
163
183
  id: string;
164
184
  name: string;
@@ -230,6 +250,26 @@ export declare const MODELS: {
230
250
  contextWindow: number;
231
251
  maxTokens: number;
232
252
  };
253
+ readonly "au.anthropic.claude-opus-4-8": {
254
+ id: string;
255
+ name: string;
256
+ api: "bedrock-converse-stream";
257
+ provider: string;
258
+ baseUrl: string;
259
+ reasoning: true;
260
+ thinkingLevelMap: {
261
+ xhigh: string;
262
+ };
263
+ input: ("image" | "text")[];
264
+ cost: {
265
+ input: number;
266
+ output: number;
267
+ cacheRead: number;
268
+ cacheWrite: number;
269
+ };
270
+ contextWindow: number;
271
+ maxTokens: number;
272
+ };
233
273
  readonly "au.anthropic.claude-sonnet-4-5-20250929-v1:0": {
234
274
  id: string;
235
275
  name: string;
@@ -389,6 +429,26 @@ export declare const MODELS: {
389
429
  contextWindow: number;
390
430
  maxTokens: number;
391
431
  };
432
+ readonly "eu.anthropic.claude-opus-4-8": {
433
+ id: string;
434
+ name: string;
435
+ api: "bedrock-converse-stream";
436
+ provider: string;
437
+ baseUrl: string;
438
+ reasoning: true;
439
+ thinkingLevelMap: {
440
+ xhigh: string;
441
+ };
442
+ input: ("image" | "text")[];
443
+ cost: {
444
+ input: number;
445
+ output: number;
446
+ cacheRead: number;
447
+ cacheWrite: number;
448
+ };
449
+ contextWindow: number;
450
+ maxTokens: number;
451
+ };
392
452
  readonly "eu.anthropic.claude-sonnet-4-5-20250929-v1:0": {
393
453
  id: string;
394
454
  name: string;
@@ -497,6 +557,26 @@ export declare const MODELS: {
497
557
  contextWindow: number;
498
558
  maxTokens: number;
499
559
  };
560
+ readonly "global.anthropic.claude-opus-4-8": {
561
+ id: string;
562
+ name: string;
563
+ api: "bedrock-converse-stream";
564
+ provider: string;
565
+ baseUrl: string;
566
+ reasoning: true;
567
+ thinkingLevelMap: {
568
+ xhigh: string;
569
+ };
570
+ input: ("image" | "text")[];
571
+ cost: {
572
+ input: number;
573
+ output: number;
574
+ cacheRead: number;
575
+ cacheWrite: number;
576
+ };
577
+ contextWindow: number;
578
+ maxTokens: number;
579
+ };
500
580
  readonly "global.anthropic.claude-sonnet-4-5-20250929-v1:0": {
501
581
  id: string;
502
582
  name: string;
@@ -585,6 +665,26 @@ export declare const MODELS: {
585
665
  contextWindow: number;
586
666
  maxTokens: number;
587
667
  };
668
+ readonly "jp.anthropic.claude-opus-4-8": {
669
+ id: string;
670
+ name: string;
671
+ api: "bedrock-converse-stream";
672
+ provider: string;
673
+ baseUrl: string;
674
+ reasoning: true;
675
+ thinkingLevelMap: {
676
+ xhigh: string;
677
+ };
678
+ input: ("image" | "text")[];
679
+ cost: {
680
+ input: number;
681
+ output: number;
682
+ cacheRead: number;
683
+ cacheWrite: number;
684
+ };
685
+ contextWindow: number;
686
+ maxTokens: number;
687
+ };
588
688
  readonly "jp.anthropic.claude-sonnet-4-5-20250929-v1:0": {
589
689
  id: string;
590
690
  name: string;
@@ -1288,6 +1388,26 @@ export declare const MODELS: {
1288
1388
  contextWindow: number;
1289
1389
  maxTokens: number;
1290
1390
  };
1391
+ readonly "us.anthropic.claude-opus-4-8": {
1392
+ id: string;
1393
+ name: string;
1394
+ api: "bedrock-converse-stream";
1395
+ provider: string;
1396
+ baseUrl: string;
1397
+ reasoning: true;
1398
+ thinkingLevelMap: {
1399
+ xhigh: string;
1400
+ };
1401
+ input: ("image" | "text")[];
1402
+ cost: {
1403
+ input: number;
1404
+ output: number;
1405
+ cacheRead: number;
1406
+ cacheWrite: number;
1407
+ };
1408
+ contextWindow: number;
1409
+ maxTokens: number;
1410
+ };
1291
1411
  readonly "us.anthropic.claude-sonnet-4-5-20250929-v1:0": {
1292
1412
  id: string;
1293
1413
  name: string;
@@ -1778,6 +1898,29 @@ export declare const MODELS: {
1778
1898
  contextWindow: number;
1779
1899
  maxTokens: number;
1780
1900
  };
1901
+ readonly "claude-opus-4-8": {
1902
+ id: string;
1903
+ name: string;
1904
+ api: "anthropic-messages";
1905
+ provider: string;
1906
+ baseUrl: string;
1907
+ compat: {
1908
+ forceAdaptiveThinking: true;
1909
+ };
1910
+ reasoning: true;
1911
+ thinkingLevelMap: {
1912
+ xhigh: string;
1913
+ };
1914
+ input: ("image" | "text")[];
1915
+ cost: {
1916
+ input: number;
1917
+ output: number;
1918
+ cacheRead: number;
1919
+ cacheWrite: number;
1920
+ };
1921
+ contextWindow: number;
1922
+ maxTokens: number;
1923
+ };
1781
1924
  readonly "claude-sonnet-4-0": {
1782
1925
  id: string;
1783
1926
  name: string;
@@ -2520,6 +2663,8 @@ export declare const MODELS: {
2520
2663
  thinkingLevelMap: {
2521
2664
  off: null;
2522
2665
  xhigh: string;
2666
+ minimal: null;
2667
+ low: null;
2523
2668
  };
2524
2669
  input: ("image" | "text")[];
2525
2670
  cost: {
@@ -2703,23 +2848,6 @@ export declare const MODELS: {
2703
2848
  contextWindow: number;
2704
2849
  maxTokens: number;
2705
2850
  };
2706
- readonly "qwen-3-235b-a22b-instruct-2507": {
2707
- id: string;
2708
- name: string;
2709
- api: "openai-completions";
2710
- provider: string;
2711
- baseUrl: string;
2712
- reasoning: false;
2713
- input: "text"[];
2714
- cost: {
2715
- input: number;
2716
- output: number;
2717
- cacheRead: number;
2718
- cacheWrite: number;
2719
- };
2720
- contextWindow: number;
2721
- maxTokens: number;
2722
- };
2723
2851
  readonly "zai-glm-4.7": {
2724
2852
  id: string;
2725
2853
  name: string;
@@ -2955,6 +3083,29 @@ export declare const MODELS: {
2955
3083
  contextWindow: number;
2956
3084
  maxTokens: number;
2957
3085
  };
3086
+ readonly "claude-opus-4-8": {
3087
+ id: string;
3088
+ name: string;
3089
+ api: "anthropic-messages";
3090
+ provider: string;
3091
+ baseUrl: string;
3092
+ compat: {
3093
+ forceAdaptiveThinking: true;
3094
+ };
3095
+ reasoning: true;
3096
+ thinkingLevelMap: {
3097
+ xhigh: string;
3098
+ };
3099
+ input: ("image" | "text")[];
3100
+ cost: {
3101
+ input: number;
3102
+ output: number;
3103
+ cacheRead: number;
3104
+ cacheWrite: number;
3105
+ };
3106
+ contextWindow: number;
3107
+ maxTokens: number;
3108
+ };
2958
3109
  readonly "claude-sonnet-4": {
2959
3110
  id: string;
2960
3111
  name: string;
@@ -4074,6 +4225,35 @@ export declare const MODELS: {
4074
4225
  contextWindow: number;
4075
4226
  maxTokens: number;
4076
4227
  };
4228
+ readonly "claude-opus-4.8": {
4229
+ id: string;
4230
+ name: string;
4231
+ api: "anthropic-messages";
4232
+ provider: string;
4233
+ baseUrl: string;
4234
+ headers: {
4235
+ "User-Agent": string;
4236
+ "Editor-Version": string;
4237
+ "Editor-Plugin-Version": string;
4238
+ "Copilot-Integration-Id": string;
4239
+ };
4240
+ compat: {
4241
+ forceAdaptiveThinking: true;
4242
+ };
4243
+ reasoning: true;
4244
+ thinkingLevelMap: {
4245
+ xhigh: string;
4246
+ };
4247
+ input: ("image" | "text")[];
4248
+ cost: {
4249
+ input: number;
4250
+ output: number;
4251
+ cacheRead: number;
4252
+ cacheWrite: number;
4253
+ };
4254
+ contextWindow: number;
4255
+ maxTokens: number;
4256
+ };
4077
4257
  readonly "claude-sonnet-4.5": {
4078
4258
  id: string;
4079
4259
  name: string;
@@ -7427,6 +7607,8 @@ export declare const MODELS: {
7427
7607
  thinkingLevelMap: {
7428
7608
  off: null;
7429
7609
  xhigh: string;
7610
+ minimal: null;
7611
+ low: null;
7430
7612
  };
7431
7613
  input: ("image" | "text")[];
7432
7614
  cost: {
@@ -7818,6 +8000,29 @@ export declare const MODELS: {
7818
8000
  contextWindow: number;
7819
8001
  maxTokens: number;
7820
8002
  };
8003
+ readonly "claude-opus-4-8": {
8004
+ id: string;
8005
+ name: string;
8006
+ api: "anthropic-messages";
8007
+ provider: string;
8008
+ baseUrl: string;
8009
+ compat: {
8010
+ forceAdaptiveThinking: true;
8011
+ };
8012
+ reasoning: true;
8013
+ thinkingLevelMap: {
8014
+ xhigh: string;
8015
+ };
8016
+ input: ("image" | "text")[];
8017
+ cost: {
8018
+ input: number;
8019
+ output: number;
8020
+ cacheRead: number;
8021
+ cacheWrite: number;
8022
+ };
8023
+ contextWindow: number;
8024
+ maxTokens: number;
8025
+ };
7821
8026
  readonly "claude-sonnet-4": {
7822
8027
  id: string;
7823
8028
  name: string;
@@ -7872,6 +8077,34 @@ export declare const MODELS: {
7872
8077
  contextWindow: number;
7873
8078
  maxTokens: number;
7874
8079
  };
8080
+ readonly "deepseek-v4-flash": {
8081
+ id: string;
8082
+ name: string;
8083
+ api: "openai-completions";
8084
+ provider: string;
8085
+ baseUrl: string;
8086
+ compat: {
8087
+ requiresReasoningContentOnAssistantMessages: true;
8088
+ thinkingFormat: "deepseek";
8089
+ };
8090
+ reasoning: true;
8091
+ thinkingLevelMap: {
8092
+ minimal: null;
8093
+ low: null;
8094
+ medium: null;
8095
+ high: string;
8096
+ xhigh: string;
8097
+ };
8098
+ input: "text"[];
8099
+ cost: {
8100
+ input: number;
8101
+ output: number;
8102
+ cacheRead: number;
8103
+ cacheWrite: number;
8104
+ };
8105
+ contextWindow: number;
8106
+ maxTokens: number;
8107
+ };
7875
8108
  readonly "deepseek-v4-flash-free": {
7876
8109
  id: string;
7877
8110
  name: string;
@@ -8316,6 +8549,8 @@ export declare const MODELS: {
8316
8549
  thinkingLevelMap: {
8317
8550
  off: null;
8318
8551
  xhigh: string;
8552
+ minimal: null;
8553
+ low: null;
8319
8554
  };
8320
8555
  input: ("image" | "text")[];
8321
8556
  cost: {
@@ -8333,7 +8568,16 @@ export declare const MODELS: {
8333
8568
  api: "openai-completions";
8334
8569
  provider: string;
8335
8570
  baseUrl: string;
8571
+ compat: {
8572
+ supportsReasoningEffort: false;
8573
+ };
8336
8574
  reasoning: true;
8575
+ thinkingLevelMap: {
8576
+ off: null;
8577
+ minimal: null;
8578
+ low: null;
8579
+ medium: null;
8580
+ };
8337
8581
  input: ("image" | "text")[];
8338
8582
  cost: {
8339
8583
  input: number;
@@ -8362,6 +8606,27 @@ export declare const MODELS: {
8362
8606
  maxTokens: number;
8363
8607
  };
8364
8608
  readonly "kimi-k2.6": {
8609
+ id: string;
8610
+ name: string;
8611
+ api: "openai-completions";
8612
+ provider: string;
8613
+ baseUrl: string;
8614
+ compat: {
8615
+ thinkingFormat: "deepseek";
8616
+ supportsReasoningEffort: false;
8617
+ };
8618
+ reasoning: true;
8619
+ input: ("image" | "text")[];
8620
+ cost: {
8621
+ input: number;
8622
+ output: number;
8623
+ cacheRead: number;
8624
+ cacheWrite: number;
8625
+ };
8626
+ contextWindow: number;
8627
+ maxTokens: number;
8628
+ };
8629
+ readonly "mimo-v2.5-free": {
8365
8630
  id: string;
8366
8631
  name: string;
8367
8632
  api: "openai-completions";
@@ -8578,7 +8843,16 @@ export declare const MODELS: {
8578
8843
  api: "openai-completions";
8579
8844
  provider: string;
8580
8845
  baseUrl: string;
8846
+ compat: {
8847
+ thinkingFormat: "deepseek";
8848
+ supportsReasoningEffort: false;
8849
+ };
8581
8850
  reasoning: true;
8851
+ thinkingLevelMap: {
8852
+ minimal: null;
8853
+ low: null;
8854
+ medium: null;
8855
+ };
8582
8856
  input: ("image" | "text")[];
8583
8857
  cost: {
8584
8858
  input: number;
@@ -8657,7 +8931,7 @@ export declare const MODELS: {
8657
8931
  contextWindow: number;
8658
8932
  maxTokens: number;
8659
8933
  };
8660
- readonly "qwen3.5-plus": {
8934
+ readonly "qwen3.6-plus": {
8661
8935
  id: string;
8662
8936
  name: string;
8663
8937
  api: "openai-completions";
@@ -8677,17 +8951,14 @@ export declare const MODELS: {
8677
8951
  contextWindow: number;
8678
8952
  maxTokens: number;
8679
8953
  };
8680
- readonly "qwen3.6-plus": {
8954
+ readonly "qwen3.7-max": {
8681
8955
  id: string;
8682
8956
  name: string;
8683
- api: "openai-completions";
8957
+ api: "anthropic-messages";
8684
8958
  provider: string;
8685
8959
  baseUrl: string;
8686
- compat: {
8687
- thinkingFormat: "qwen";
8688
- };
8689
8960
  reasoning: true;
8690
- input: ("image" | "text")[];
8961
+ input: "text"[];
8691
8962
  cost: {
8692
8963
  input: number;
8693
8964
  output: number;
@@ -8716,23 +8987,6 @@ export declare const MODELS: {
8716
8987
  contextWindow: number;
8717
8988
  maxTokens: number;
8718
8989
  };
8719
- readonly "alibaba/tongyi-deepresearch-30b-a3b": {
8720
- id: string;
8721
- name: string;
8722
- api: "openai-completions";
8723
- provider: string;
8724
- baseUrl: string;
8725
- reasoning: true;
8726
- input: "text"[];
8727
- cost: {
8728
- input: number;
8729
- output: number;
8730
- cacheRead: number;
8731
- cacheWrite: number;
8732
- };
8733
- contextWindow: number;
8734
- maxTokens: number;
8735
- };
8736
8990
  readonly "amazon/nova-2-lite-v1": {
8737
8991
  id: string;
8738
8992
  name: string;
@@ -9000,13 +9254,16 @@ export declare const MODELS: {
9000
9254
  contextWindow: number;
9001
9255
  maxTokens: number;
9002
9256
  };
9003
- readonly "anthropic/claude-sonnet-4": {
9257
+ readonly "anthropic/claude-opus-4.8": {
9004
9258
  id: string;
9005
9259
  name: string;
9006
9260
  api: "openai-completions";
9007
9261
  provider: string;
9008
9262
  baseUrl: string;
9009
9263
  reasoning: true;
9264
+ thinkingLevelMap: {
9265
+ xhigh: string;
9266
+ };
9010
9267
  input: ("image" | "text")[];
9011
9268
  cost: {
9012
9269
  input: number;
@@ -9017,13 +9274,16 @@ export declare const MODELS: {
9017
9274
  contextWindow: number;
9018
9275
  maxTokens: number;
9019
9276
  };
9020
- readonly "anthropic/claude-sonnet-4.5": {
9277
+ readonly "anthropic/claude-opus-4.8-fast": {
9021
9278
  id: string;
9022
9279
  name: string;
9023
9280
  api: "openai-completions";
9024
9281
  provider: string;
9025
9282
  baseUrl: string;
9026
9283
  reasoning: true;
9284
+ thinkingLevelMap: {
9285
+ xhigh: string;
9286
+ };
9027
9287
  input: ("image" | "text")[];
9028
9288
  cost: {
9029
9289
  input: number;
@@ -9034,7 +9294,7 @@ export declare const MODELS: {
9034
9294
  contextWindow: number;
9035
9295
  maxTokens: number;
9036
9296
  };
9037
- readonly "anthropic/claude-sonnet-4.6": {
9297
+ readonly "anthropic/claude-sonnet-4": {
9038
9298
  id: string;
9039
9299
  name: string;
9040
9300
  api: "openai-completions";
@@ -9051,14 +9311,14 @@ export declare const MODELS: {
9051
9311
  contextWindow: number;
9052
9312
  maxTokens: number;
9053
9313
  };
9054
- readonly "arcee-ai/trinity-large-thinking": {
9314
+ readonly "anthropic/claude-sonnet-4.5": {
9055
9315
  id: string;
9056
9316
  name: string;
9057
9317
  api: "openai-completions";
9058
9318
  provider: string;
9059
9319
  baseUrl: string;
9060
9320
  reasoning: true;
9061
- input: "text"[];
9321
+ input: ("image" | "text")[];
9062
9322
  cost: {
9063
9323
  input: number;
9064
9324
  output: number;
@@ -9068,14 +9328,14 @@ export declare const MODELS: {
9068
9328
  contextWindow: number;
9069
9329
  maxTokens: number;
9070
9330
  };
9071
- readonly "arcee-ai/trinity-large-thinking:free": {
9331
+ readonly "anthropic/claude-sonnet-4.6": {
9072
9332
  id: string;
9073
9333
  name: string;
9074
9334
  api: "openai-completions";
9075
9335
  provider: string;
9076
9336
  baseUrl: string;
9077
9337
  reasoning: true;
9078
- input: "text"[];
9338
+ input: ("image" | "text")[];
9079
9339
  cost: {
9080
9340
  input: number;
9081
9341
  output: number;
@@ -9085,7 +9345,7 @@ export declare const MODELS: {
9085
9345
  contextWindow: number;
9086
9346
  maxTokens: number;
9087
9347
  };
9088
- readonly "arcee-ai/trinity-mini": {
9348
+ readonly "arcee-ai/trinity-large-thinking": {
9089
9349
  id: string;
9090
9350
  name: string;
9091
9351
  api: "openai-completions";
@@ -9102,31 +9362,14 @@ export declare const MODELS: {
9102
9362
  contextWindow: number;
9103
9363
  maxTokens: number;
9104
9364
  };
9105
- readonly "arcee-ai/virtuoso-large": {
9106
- id: string;
9107
- name: string;
9108
- api: "openai-completions";
9109
- provider: string;
9110
- baseUrl: string;
9111
- reasoning: false;
9112
- input: "text"[];
9113
- cost: {
9114
- input: number;
9115
- output: number;
9116
- cacheRead: number;
9117
- cacheWrite: number;
9118
- };
9119
- contextWindow: number;
9120
- maxTokens: number;
9121
- };
9122
- readonly auto: {
9365
+ readonly "arcee-ai/trinity-mini": {
9123
9366
  id: string;
9124
9367
  name: string;
9125
9368
  api: "openai-completions";
9126
9369
  provider: string;
9127
9370
  baseUrl: string;
9128
9371
  reasoning: true;
9129
- input: ("image" | "text")[];
9372
+ input: "text"[];
9130
9373
  cost: {
9131
9374
  input: number;
9132
9375
  output: number;
@@ -9136,13 +9379,13 @@ export declare const MODELS: {
9136
9379
  contextWindow: number;
9137
9380
  maxTokens: number;
9138
9381
  };
9139
- readonly "baidu/cobuddy:free": {
9382
+ readonly "arcee-ai/virtuoso-large": {
9140
9383
  id: string;
9141
9384
  name: string;
9142
9385
  api: "openai-completions";
9143
9386
  provider: string;
9144
9387
  baseUrl: string;
9145
- reasoning: true;
9388
+ reasoning: false;
9146
9389
  input: "text"[];
9147
9390
  cost: {
9148
9391
  input: number;
@@ -9153,14 +9396,14 @@ export declare const MODELS: {
9153
9396
  contextWindow: number;
9154
9397
  maxTokens: number;
9155
9398
  };
9156
- readonly "baidu/ernie-4.5-21b-a3b": {
9399
+ readonly auto: {
9157
9400
  id: string;
9158
9401
  name: string;
9159
9402
  api: "openai-completions";
9160
9403
  provider: string;
9161
9404
  baseUrl: string;
9162
- reasoning: false;
9163
- input: "text"[];
9405
+ reasoning: true;
9406
+ input: ("image" | "text")[];
9164
9407
  cost: {
9165
9408
  input: number;
9166
9409
  output: number;
@@ -9433,35 +9676,6 @@ export declare const MODELS: {
9433
9676
  baseUrl: string;
9434
9677
  compat: {
9435
9678
  requiresReasoningContentOnAssistantMessages: true;
9436
- thinkingFormat: "deepseek";
9437
- };
9438
- reasoning: true;
9439
- thinkingLevelMap: {
9440
- minimal: null;
9441
- low: null;
9442
- medium: null;
9443
- high: string;
9444
- xhigh: string;
9445
- };
9446
- input: "text"[];
9447
- cost: {
9448
- input: number;
9449
- output: number;
9450
- cacheRead: number;
9451
- cacheWrite: number;
9452
- };
9453
- contextWindow: number;
9454
- maxTokens: number;
9455
- };
9456
- readonly "deepseek/deepseek-v4-flash:free": {
9457
- id: string;
9458
- name: string;
9459
- api: "openai-completions";
9460
- provider: string;
9461
- baseUrl: string;
9462
- compat: {
9463
- requiresReasoningContentOnAssistantMessages: true;
9464
- thinkingFormat: "deepseek";
9465
9679
  };
9466
9680
  reasoning: true;
9467
9681
  thinkingLevelMap: {
@@ -9489,7 +9703,6 @@ export declare const MODELS: {
9489
9703
  baseUrl: string;
9490
9704
  compat: {
9491
9705
  requiresReasoningContentOnAssistantMessages: true;
9492
- thinkingFormat: "deepseek";
9493
9706
  };
9494
9707
  reasoning: true;
9495
9708
  thinkingLevelMap: {
@@ -10039,7 +10252,7 @@ export declare const MODELS: {
10039
10252
  contextWindow: number;
10040
10253
  maxTokens: number;
10041
10254
  };
10042
- readonly "meta-llama/llama-4-scout": {
10255
+ readonly "meta-llama/llama-4-maverick": {
10043
10256
  id: string;
10044
10257
  name: string;
10045
10258
  api: "openai-completions";
@@ -10056,14 +10269,14 @@ export declare const MODELS: {
10056
10269
  contextWindow: number;
10057
10270
  maxTokens: number;
10058
10271
  };
10059
- readonly "minimax/minimax-m1": {
10272
+ readonly "meta-llama/llama-4-scout": {
10060
10273
  id: string;
10061
10274
  name: string;
10062
10275
  api: "openai-completions";
10063
10276
  provider: string;
10064
10277
  baseUrl: string;
10065
- reasoning: true;
10066
- input: "text"[];
10278
+ reasoning: false;
10279
+ input: ("image" | "text")[];
10067
10280
  cost: {
10068
10281
  input: number;
10069
10282
  output: number;
@@ -10073,7 +10286,7 @@ export declare const MODELS: {
10073
10286
  contextWindow: number;
10074
10287
  maxTokens: number;
10075
10288
  };
10076
- readonly "minimax/minimax-m2": {
10289
+ readonly "minimax/minimax-m1": {
10077
10290
  id: string;
10078
10291
  name: string;
10079
10292
  api: "openai-completions";
@@ -10090,7 +10303,7 @@ export declare const MODELS: {
10090
10303
  contextWindow: number;
10091
10304
  maxTokens: number;
10092
10305
  };
10093
- readonly "minimax/minimax-m2.1": {
10306
+ readonly "minimax/minimax-m2": {
10094
10307
  id: string;
10095
10308
  name: string;
10096
10309
  api: "openai-completions";
@@ -10107,7 +10320,7 @@ export declare const MODELS: {
10107
10320
  contextWindow: number;
10108
10321
  maxTokens: number;
10109
10322
  };
10110
- readonly "minimax/minimax-m2.5": {
10323
+ readonly "minimax/minimax-m2.1": {
10111
10324
  id: string;
10112
10325
  name: string;
10113
10326
  api: "openai-completions";
@@ -10124,7 +10337,7 @@ export declare const MODELS: {
10124
10337
  contextWindow: number;
10125
10338
  maxTokens: number;
10126
10339
  };
10127
- readonly "minimax/minimax-m2.5:free": {
10340
+ readonly "minimax/minimax-m2.5": {
10128
10341
  id: string;
10129
10342
  name: string;
10130
10343
  api: "openai-completions";
@@ -10192,40 +10405,6 @@ export declare const MODELS: {
10192
10405
  contextWindow: number;
10193
10406
  maxTokens: number;
10194
10407
  };
10195
- readonly "mistralai/devstral-medium": {
10196
- id: string;
10197
- name: string;
10198
- api: "openai-completions";
10199
- provider: string;
10200
- baseUrl: string;
10201
- reasoning: false;
10202
- input: "text"[];
10203
- cost: {
10204
- input: number;
10205
- output: number;
10206
- cacheRead: number;
10207
- cacheWrite: number;
10208
- };
10209
- contextWindow: number;
10210
- maxTokens: number;
10211
- };
10212
- readonly "mistralai/devstral-small": {
10213
- id: string;
10214
- name: string;
10215
- api: "openai-completions";
10216
- provider: string;
10217
- baseUrl: string;
10218
- reasoning: false;
10219
- input: "text"[];
10220
- cost: {
10221
- input: number;
10222
- output: number;
10223
- cacheRead: number;
10224
- cacheWrite: number;
10225
- };
10226
- contextWindow: number;
10227
- maxTokens: number;
10228
- };
10229
10408
  readonly "mistralai/ministral-14b-2512": {
10230
10409
  id: string;
10231
10410
  name: string;
@@ -10311,23 +10490,6 @@ export declare const MODELS: {
10311
10490
  contextWindow: number;
10312
10491
  maxTokens: number;
10313
10492
  };
10314
- readonly "mistralai/mistral-large-2411": {
10315
- id: string;
10316
- name: string;
10317
- api: "openai-completions";
10318
- provider: string;
10319
- baseUrl: string;
10320
- reasoning: false;
10321
- input: "text"[];
10322
- cost: {
10323
- input: number;
10324
- output: number;
10325
- cacheRead: number;
10326
- cacheWrite: number;
10327
- };
10328
- contextWindow: number;
10329
- maxTokens: number;
10330
- };
10331
10493
  readonly "mistralai/mistral-large-2512": {
10332
10494
  id: string;
10333
10495
  name: string;
@@ -10481,14 +10643,14 @@ export declare const MODELS: {
10481
10643
  contextWindow: number;
10482
10644
  maxTokens: number;
10483
10645
  };
10484
- readonly "mistralai/pixtral-large-2411": {
10646
+ readonly "mistralai/voxtral-small-24b-2507": {
10485
10647
  id: string;
10486
10648
  name: string;
10487
10649
  api: "openai-completions";
10488
10650
  provider: string;
10489
10651
  baseUrl: string;
10490
10652
  reasoning: false;
10491
- input: ("image" | "text")[];
10653
+ input: "text"[];
10492
10654
  cost: {
10493
10655
  input: number;
10494
10656
  output: number;
@@ -10498,7 +10660,7 @@ export declare const MODELS: {
10498
10660
  contextWindow: number;
10499
10661
  maxTokens: number;
10500
10662
  };
10501
- readonly "mistralai/voxtral-small-24b-2507": {
10663
+ readonly "moonshotai/kimi-k2": {
10502
10664
  id: string;
10503
10665
  name: string;
10504
10666
  api: "openai-completions";
@@ -10515,7 +10677,7 @@ export declare const MODELS: {
10515
10677
  contextWindow: number;
10516
10678
  maxTokens: number;
10517
10679
  };
10518
- readonly "moonshotai/kimi-k2": {
10680
+ readonly "moonshotai/kimi-k2-0905": {
10519
10681
  id: string;
10520
10682
  name: string;
10521
10683
  api: "openai-completions";
@@ -10532,13 +10694,13 @@ export declare const MODELS: {
10532
10694
  contextWindow: number;
10533
10695
  maxTokens: number;
10534
10696
  };
10535
- readonly "moonshotai/kimi-k2-0905": {
10697
+ readonly "moonshotai/kimi-k2-thinking": {
10536
10698
  id: string;
10537
10699
  name: string;
10538
10700
  api: "openai-completions";
10539
10701
  provider: string;
10540
10702
  baseUrl: string;
10541
- reasoning: false;
10703
+ reasoning: true;
10542
10704
  input: "text"[];
10543
10705
  cost: {
10544
10706
  input: number;
@@ -10549,14 +10711,14 @@ export declare const MODELS: {
10549
10711
  contextWindow: number;
10550
10712
  maxTokens: number;
10551
10713
  };
10552
- readonly "moonshotai/kimi-k2-thinking": {
10714
+ readonly "moonshotai/kimi-k2.5": {
10553
10715
  id: string;
10554
10716
  name: string;
10555
10717
  api: "openai-completions";
10556
10718
  provider: string;
10557
10719
  baseUrl: string;
10558
10720
  reasoning: true;
10559
- input: "text"[];
10721
+ input: ("image" | "text")[];
10560
10722
  cost: {
10561
10723
  input: number;
10562
10724
  output: number;
@@ -10566,12 +10728,15 @@ export declare const MODELS: {
10566
10728
  contextWindow: number;
10567
10729
  maxTokens: number;
10568
10730
  };
10569
- readonly "moonshotai/kimi-k2.5": {
10731
+ readonly "moonshotai/kimi-k2.6": {
10570
10732
  id: string;
10571
10733
  name: string;
10572
10734
  api: "openai-completions";
10573
10735
  provider: string;
10574
10736
  baseUrl: string;
10737
+ compat: {
10738
+ supportsDeveloperRole: false;
10739
+ };
10575
10740
  reasoning: true;
10576
10741
  input: ("image" | "text")[];
10577
10742
  cost: {
@@ -10583,12 +10748,15 @@ export declare const MODELS: {
10583
10748
  contextWindow: number;
10584
10749
  maxTokens: number;
10585
10750
  };
10586
- readonly "moonshotai/kimi-k2.6": {
10751
+ readonly "moonshotai/kimi-k2.6:free": {
10587
10752
  id: string;
10588
10753
  name: string;
10589
10754
  api: "openai-completions";
10590
10755
  provider: string;
10591
10756
  baseUrl: string;
10757
+ compat: {
10758
+ supportsDeveloperRole: false;
10759
+ };
10592
10760
  reasoning: true;
10593
10761
  input: ("image" | "text")[];
10594
10762
  cost: {
@@ -11025,23 +11193,6 @@ export declare const MODELS: {
11025
11193
  contextWindow: number;
11026
11194
  maxTokens: number;
11027
11195
  };
11028
- readonly "openai/gpt-4o-audio-preview": {
11029
- id: string;
11030
- name: string;
11031
- api: "openai-completions";
11032
- provider: string;
11033
- baseUrl: string;
11034
- reasoning: false;
11035
- input: "text"[];
11036
- cost: {
11037
- input: number;
11038
- output: number;
11039
- cacheRead: number;
11040
- cacheWrite: number;
11041
- };
11042
- contextWindow: number;
11043
- maxTokens: number;
11044
- };
11045
11196
  readonly "openai/gpt-4o-mini": {
11046
11197
  id: string;
11047
11198
  name: string;
@@ -11475,6 +11626,9 @@ export declare const MODELS: {
11475
11626
  reasoning: true;
11476
11627
  thinkingLevelMap: {
11477
11628
  xhigh: string;
11629
+ off: null;
11630
+ minimal: null;
11631
+ low: null;
11478
11632
  };
11479
11633
  input: ("image" | "text")[];
11480
11634
  cost: {
@@ -11894,23 +12048,6 @@ export declare const MODELS: {
11894
12048
  contextWindow: number;
11895
12049
  maxTokens: number;
11896
12050
  };
11897
- readonly "qwen/qwen-2.5-7b-instruct": {
11898
- id: string;
11899
- name: string;
11900
- api: "openai-completions";
11901
- provider: string;
11902
- baseUrl: string;
11903
- reasoning: false;
11904
- input: "text"[];
11905
- cost: {
11906
- input: number;
11907
- output: number;
11908
- cacheRead: number;
11909
- cacheWrite: number;
11910
- };
11911
- contextWindow: number;
11912
- maxTokens: number;
11913
- };
11914
12051
  readonly "qwen/qwen-plus": {
11915
12052
  id: string;
11916
12053
  name: string;
@@ -12744,14 +12881,14 @@ export declare const MODELS: {
12744
12881
  contextWindow: number;
12745
12882
  maxTokens: number;
12746
12883
  };
12747
- readonly "tencent/hy3-preview": {
12884
+ readonly "stepfun/step-3.7-flash": {
12748
12885
  id: string;
12749
12886
  name: string;
12750
12887
  api: "openai-completions";
12751
12888
  provider: string;
12752
12889
  baseUrl: string;
12753
12890
  reasoning: true;
12754
- input: "text"[];
12891
+ input: ("image" | "text")[];
12755
12892
  cost: {
12756
12893
  input: number;
12757
12894
  output: number;
@@ -12761,13 +12898,13 @@ export declare const MODELS: {
12761
12898
  contextWindow: number;
12762
12899
  maxTokens: number;
12763
12900
  };
12764
- readonly "thedrummer/rocinante-12b": {
12901
+ readonly "tencent/hy3-preview": {
12765
12902
  id: string;
12766
12903
  name: string;
12767
12904
  api: "openai-completions";
12768
12905
  provider: string;
12769
12906
  baseUrl: string;
12770
- reasoning: false;
12907
+ reasoning: true;
12771
12908
  input: "text"[];
12772
12909
  cost: {
12773
12910
  input: number;
@@ -12778,7 +12915,7 @@ export declare const MODELS: {
12778
12915
  contextWindow: number;
12779
12916
  maxTokens: number;
12780
12917
  };
12781
- readonly "thedrummer/unslopnemo-12b": {
12918
+ readonly "thedrummer/rocinante-12b": {
12782
12919
  id: string;
12783
12920
  name: string;
12784
12921
  api: "openai-completions";
@@ -12795,13 +12932,13 @@ export declare const MODELS: {
12795
12932
  contextWindow: number;
12796
12933
  maxTokens: number;
12797
12934
  };
12798
- readonly "upstage/solar-pro-3": {
12935
+ readonly "thedrummer/unslopnemo-12b": {
12799
12936
  id: string;
12800
12937
  name: string;
12801
12938
  api: "openai-completions";
12802
12939
  provider: string;
12803
12940
  baseUrl: string;
12804
- reasoning: true;
12941
+ reasoning: false;
12805
12942
  input: "text"[];
12806
12943
  cost: {
12807
12944
  input: number;
@@ -12812,14 +12949,14 @@ export declare const MODELS: {
12812
12949
  contextWindow: number;
12813
12950
  maxTokens: number;
12814
12951
  };
12815
- readonly "x-ai/grok-4.20": {
12952
+ readonly "upstage/solar-pro-3": {
12816
12953
  id: string;
12817
12954
  name: string;
12818
12955
  api: "openai-completions";
12819
12956
  provider: string;
12820
12957
  baseUrl: string;
12821
12958
  reasoning: true;
12822
- input: ("image" | "text")[];
12959
+ input: "text"[];
12823
12960
  cost: {
12824
12961
  input: number;
12825
12962
  output: number;
@@ -12829,7 +12966,7 @@ export declare const MODELS: {
12829
12966
  contextWindow: number;
12830
12967
  maxTokens: number;
12831
12968
  };
12832
- readonly "x-ai/grok-4.3": {
12969
+ readonly "x-ai/grok-4.20": {
12833
12970
  id: string;
12834
12971
  name: string;
12835
12972
  api: "openai-completions";
@@ -12846,7 +12983,7 @@ export declare const MODELS: {
12846
12983
  contextWindow: number;
12847
12984
  maxTokens: number;
12848
12985
  };
12849
- readonly "x-ai/grok-build-0.1": {
12986
+ readonly "x-ai/grok-4.3": {
12850
12987
  id: string;
12851
12988
  name: string;
12852
12989
  api: "openai-completions";
@@ -12863,24 +13000,7 @@ export declare const MODELS: {
12863
13000
  contextWindow: number;
12864
13001
  maxTokens: number;
12865
13002
  };
12866
- readonly "xiaomi/mimo-v2-flash": {
12867
- id: string;
12868
- name: string;
12869
- api: "openai-completions";
12870
- provider: string;
12871
- baseUrl: string;
12872
- reasoning: true;
12873
- input: "text"[];
12874
- cost: {
12875
- input: number;
12876
- output: number;
12877
- cacheRead: number;
12878
- cacheWrite: number;
12879
- };
12880
- contextWindow: number;
12881
- maxTokens: number;
12882
- };
12883
- readonly "xiaomi/mimo-v2-omni": {
13003
+ readonly "x-ai/grok-build-0.1": {
12884
13004
  id: string;
12885
13005
  name: string;
12886
13006
  api: "openai-completions";
@@ -12897,7 +13017,7 @@ export declare const MODELS: {
12897
13017
  contextWindow: number;
12898
13018
  maxTokens: number;
12899
13019
  };
12900
- readonly "xiaomi/mimo-v2-pro": {
13020
+ readonly "xiaomi/mimo-v2-flash": {
12901
13021
  id: string;
12902
13022
  name: string;
12903
13023
  api: "openai-completions";
@@ -14321,6 +14441,29 @@ export declare const MODELS: {
14321
14441
  contextWindow: number;
14322
14442
  maxTokens: number;
14323
14443
  };
14444
+ readonly "anthropic/claude-opus-4.8": {
14445
+ id: string;
14446
+ name: string;
14447
+ api: "anthropic-messages";
14448
+ provider: string;
14449
+ baseUrl: string;
14450
+ compat: {
14451
+ forceAdaptiveThinking: true;
14452
+ };
14453
+ reasoning: true;
14454
+ thinkingLevelMap: {
14455
+ xhigh: string;
14456
+ };
14457
+ input: ("image" | "text")[];
14458
+ cost: {
14459
+ input: number;
14460
+ output: number;
14461
+ cacheRead: number;
14462
+ cacheWrite: number;
14463
+ };
14464
+ contextWindow: number;
14465
+ maxTokens: number;
14466
+ };
14324
14467
  readonly "anthropic/claude-sonnet-4": {
14325
14468
  id: string;
14326
14469
  name: string;
@@ -15947,6 +16090,9 @@ export declare const MODELS: {
15947
16090
  reasoning: true;
15948
16091
  thinkingLevelMap: {
15949
16092
  xhigh: string;
16093
+ off: null;
16094
+ minimal: null;
16095
+ low: null;
15950
16096
  };
15951
16097
  input: ("image" | "text")[];
15952
16098
  cost: {
@@ -16128,6 +16274,23 @@ export declare const MODELS: {
16128
16274
  contextWindow: number;
16129
16275
  maxTokens: number;
16130
16276
  };
16277
+ readonly "stepfun/step-3.7-flash": {
16278
+ id: string;
16279
+ name: string;
16280
+ api: "anthropic-messages";
16281
+ provider: string;
16282
+ baseUrl: string;
16283
+ reasoning: true;
16284
+ input: ("image" | "text")[];
16285
+ cost: {
16286
+ input: number;
16287
+ output: number;
16288
+ cacheRead: number;
16289
+ cacheWrite: number;
16290
+ };
16291
+ contextWindow: number;
16292
+ maxTokens: number;
16293
+ };
16131
16294
  readonly "xai/grok-4.1-fast-non-reasoning": {
16132
16295
  id: string;
16133
16296
  name: string;
@@ -16817,27 +16980,6 @@ export declare const MODELS: {
16817
16980
  };
16818
16981
  };
16819
16982
  readonly "xiaomi-token-plan-ams": {
16820
- readonly "mimo-v2-flash": {
16821
- id: string;
16822
- name: string;
16823
- api: "openai-completions";
16824
- provider: string;
16825
- baseUrl: string;
16826
- compat: {
16827
- requiresReasoningContentOnAssistantMessages: true;
16828
- thinkingFormat: "deepseek";
16829
- };
16830
- reasoning: true;
16831
- input: "text"[];
16832
- cost: {
16833
- input: number;
16834
- output: number;
16835
- cacheRead: number;
16836
- cacheWrite: number;
16837
- };
16838
- contextWindow: number;
16839
- maxTokens: number;
16840
- };
16841
16983
  readonly "mimo-v2-omni": {
16842
16984
  id: string;
16843
16985
  name: string;
@@ -16924,27 +17066,6 @@ export declare const MODELS: {
16924
17066
  };
16925
17067
  };
16926
17068
  readonly "xiaomi-token-plan-cn": {
16927
- readonly "mimo-v2-flash": {
16928
- id: string;
16929
- name: string;
16930
- api: "openai-completions";
16931
- provider: string;
16932
- baseUrl: string;
16933
- compat: {
16934
- requiresReasoningContentOnAssistantMessages: true;
16935
- thinkingFormat: "deepseek";
16936
- };
16937
- reasoning: true;
16938
- input: "text"[];
16939
- cost: {
16940
- input: number;
16941
- output: number;
16942
- cacheRead: number;
16943
- cacheWrite: number;
16944
- };
16945
- contextWindow: number;
16946
- maxTokens: number;
16947
- };
16948
17069
  readonly "mimo-v2-omni": {
16949
17070
  id: string;
16950
17071
  name: string;
@@ -17031,27 +17152,6 @@ export declare const MODELS: {
17031
17152
  };
17032
17153
  };
17033
17154
  readonly "xiaomi-token-plan-sgp": {
17034
- readonly "mimo-v2-flash": {
17035
- id: string;
17036
- name: string;
17037
- api: "openai-completions";
17038
- provider: string;
17039
- baseUrl: string;
17040
- compat: {
17041
- requiresReasoningContentOnAssistantMessages: true;
17042
- thinkingFormat: "deepseek";
17043
- };
17044
- reasoning: true;
17045
- input: "text"[];
17046
- cost: {
17047
- input: number;
17048
- output: number;
17049
- cacheRead: number;
17050
- cacheWrite: number;
17051
- };
17052
- contextWindow: number;
17053
- maxTokens: number;
17054
- };
17055
17155
  readonly "mimo-v2-omni": {
17056
17156
  id: string;
17057
17157
  name: string;