@earendil-works/pi-ai 0.75.4 → 0.75.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 (36) hide show
  1. package/dist/cli.d.ts.map +1 -1
  2. package/dist/cli.js +14 -0
  3. package/dist/cli.js.map +1 -1
  4. package/dist/index.d.ts +1 -1
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js.map +1 -1
  7. package/dist/models.generated.d.ts +243 -549
  8. package/dist/models.generated.d.ts.map +1 -1
  9. package/dist/models.generated.js +299 -624
  10. package/dist/models.generated.js.map +1 -1
  11. package/dist/providers/amazon-bedrock.d.ts.map +1 -1
  12. package/dist/providers/amazon-bedrock.js +2 -1
  13. package/dist/providers/amazon-bedrock.js.map +1 -1
  14. package/dist/providers/anthropic.d.ts +22 -5
  15. package/dist/providers/anthropic.d.ts.map +1 -1
  16. package/dist/providers/anthropic.js +7 -21
  17. package/dist/providers/anthropic.js.map +1 -1
  18. package/dist/types.d.ts +10 -0
  19. package/dist/types.d.ts.map +1 -1
  20. package/dist/types.js.map +1 -1
  21. package/dist/utils/oauth/device-code.d.ts +19 -0
  22. package/dist/utils/oauth/device-code.d.ts.map +1 -0
  23. package/dist/utils/oauth/device-code.js +55 -0
  24. package/dist/utils/oauth/device-code.js.map +1 -0
  25. package/dist/utils/oauth/github-copilot.d.ts +3 -3
  26. package/dist/utils/oauth/github-copilot.d.ts.map +1 -1
  27. package/dist/utils/oauth/github-copilot.js +45 -69
  28. package/dist/utils/oauth/github-copilot.js.map +1 -1
  29. package/dist/utils/oauth/index.d.ts +1 -0
  30. package/dist/utils/oauth/index.d.ts.map +1 -1
  31. package/dist/utils/oauth/index.js +1 -0
  32. package/dist/utils/oauth/index.js.map +1 -1
  33. package/dist/utils/oauth/types.d.ts +8 -1
  34. package/dist/utils/oauth/types.d.ts.map +1 -1
  35. package/dist/utils/oauth/types.js.map +1 -1
  36. package/package.json +2 -1
@@ -1738,6 +1738,9 @@ export declare const MODELS: {
1738
1738
  api: "anthropic-messages";
1739
1739
  provider: string;
1740
1740
  baseUrl: string;
1741
+ compat: {
1742
+ forceAdaptiveThinking: true;
1743
+ };
1741
1744
  reasoning: true;
1742
1745
  thinkingLevelMap: {
1743
1746
  xhigh: string;
@@ -1758,6 +1761,9 @@ export declare const MODELS: {
1758
1761
  api: "anthropic-messages";
1759
1762
  provider: string;
1760
1763
  baseUrl: string;
1764
+ compat: {
1765
+ forceAdaptiveThinking: true;
1766
+ };
1761
1767
  reasoning: true;
1762
1768
  thinkingLevelMap: {
1763
1769
  xhigh: string;
@@ -1846,6 +1852,9 @@ export declare const MODELS: {
1846
1852
  api: "anthropic-messages";
1847
1853
  provider: string;
1848
1854
  baseUrl: string;
1855
+ compat: {
1856
+ forceAdaptiveThinking: true;
1857
+ };
1849
1858
  reasoning: true;
1850
1859
  input: ("image" | "text")[];
1851
1860
  cost: {
@@ -2906,6 +2915,9 @@ export declare const MODELS: {
2906
2915
  api: "anthropic-messages";
2907
2916
  provider: string;
2908
2917
  baseUrl: string;
2918
+ compat: {
2919
+ forceAdaptiveThinking: true;
2920
+ };
2909
2921
  reasoning: true;
2910
2922
  thinkingLevelMap: {
2911
2923
  xhigh: string;
@@ -2926,6 +2938,9 @@ export declare const MODELS: {
2926
2938
  api: "anthropic-messages";
2927
2939
  provider: string;
2928
2940
  baseUrl: string;
2941
+ compat: {
2942
+ forceAdaptiveThinking: true;
2943
+ };
2929
2944
  reasoning: true;
2930
2945
  thinkingLevelMap: {
2931
2946
  xhigh: string;
@@ -2980,6 +2995,9 @@ export declare const MODELS: {
2980
2995
  api: "anthropic-messages";
2981
2996
  provider: string;
2982
2997
  baseUrl: string;
2998
+ compat: {
2999
+ forceAdaptiveThinking: true;
3000
+ };
2983
3001
  reasoning: true;
2984
3002
  input: ("image" | "text")[];
2985
3003
  cost: {
@@ -3391,7 +3409,7 @@ export declare const MODELS: {
3391
3409
  contextWindow: number;
3392
3410
  maxTokens: number;
3393
3411
  };
3394
- readonly "@cf/meta/llama-4-scout-17b-16e-instruct": {
3412
+ readonly "@cf/ibm-granite/granite-4.0-h-micro": {
3395
3413
  id: string;
3396
3414
  name: string;
3397
3415
  api: "openai-completions";
@@ -3401,7 +3419,7 @@ export declare const MODELS: {
3401
3419
  sendSessionAffinityHeaders: true;
3402
3420
  };
3403
3421
  reasoning: false;
3404
- input: ("image" | "text")[];
3422
+ input: "text"[];
3405
3423
  cost: {
3406
3424
  input: number;
3407
3425
  output: number;
@@ -3411,7 +3429,7 @@ export declare const MODELS: {
3411
3429
  contextWindow: number;
3412
3430
  maxTokens: number;
3413
3431
  };
3414
- readonly "@cf/moonshotai/kimi-k2.5": {
3432
+ readonly "@cf/meta/llama-3.3-70b-instruct-fp8-fast": {
3415
3433
  id: string;
3416
3434
  name: string;
3417
3435
  api: "openai-completions";
@@ -3420,8 +3438,8 @@ export declare const MODELS: {
3420
3438
  compat: {
3421
3439
  sendSessionAffinityHeaders: true;
3422
3440
  };
3423
- reasoning: true;
3424
- input: ("image" | "text")[];
3441
+ reasoning: false;
3442
+ input: "text"[];
3425
3443
  cost: {
3426
3444
  input: number;
3427
3445
  output: number;
@@ -3431,7 +3449,7 @@ export declare const MODELS: {
3431
3449
  contextWindow: number;
3432
3450
  maxTokens: number;
3433
3451
  };
3434
- readonly "@cf/moonshotai/kimi-k2.6": {
3452
+ readonly "@cf/meta/llama-4-scout-17b-16e-instruct": {
3435
3453
  id: string;
3436
3454
  name: string;
3437
3455
  api: "openai-completions";
@@ -3440,7 +3458,7 @@ export declare const MODELS: {
3440
3458
  compat: {
3441
3459
  sendSessionAffinityHeaders: true;
3442
3460
  };
3443
- reasoning: true;
3461
+ reasoning: false;
3444
3462
  input: ("image" | "text")[];
3445
3463
  cost: {
3446
3464
  input: number;
@@ -3451,7 +3469,7 @@ export declare const MODELS: {
3451
3469
  contextWindow: number;
3452
3470
  maxTokens: number;
3453
3471
  };
3454
- readonly "@cf/nvidia/nemotron-3-120b-a12b": {
3472
+ readonly "@cf/mistralai/mistral-small-3.1-24b-instruct": {
3455
3473
  id: string;
3456
3474
  name: string;
3457
3475
  api: "openai-completions";
@@ -3460,7 +3478,7 @@ export declare const MODELS: {
3460
3478
  compat: {
3461
3479
  sendSessionAffinityHeaders: true;
3462
3480
  };
3463
- reasoning: true;
3481
+ reasoning: false;
3464
3482
  input: "text"[];
3465
3483
  cost: {
3466
3484
  input: number;
@@ -3471,7 +3489,7 @@ export declare const MODELS: {
3471
3489
  contextWindow: number;
3472
3490
  maxTokens: number;
3473
3491
  };
3474
- readonly "@cf/openai/gpt-oss-120b": {
3492
+ readonly "@cf/moonshotai/kimi-k2.5": {
3475
3493
  id: string;
3476
3494
  name: string;
3477
3495
  api: "openai-completions";
@@ -3481,7 +3499,7 @@ export declare const MODELS: {
3481
3499
  sendSessionAffinityHeaders: true;
3482
3500
  };
3483
3501
  reasoning: true;
3484
- input: "text"[];
3502
+ input: ("image" | "text")[];
3485
3503
  cost: {
3486
3504
  input: number;
3487
3505
  output: number;
@@ -3491,7 +3509,7 @@ export declare const MODELS: {
3491
3509
  contextWindow: number;
3492
3510
  maxTokens: number;
3493
3511
  };
3494
- readonly "@cf/openai/gpt-oss-20b": {
3512
+ readonly "@cf/moonshotai/kimi-k2.6": {
3495
3513
  id: string;
3496
3514
  name: string;
3497
3515
  api: "openai-completions";
@@ -3501,7 +3519,7 @@ export declare const MODELS: {
3501
3519
  sendSessionAffinityHeaders: true;
3502
3520
  };
3503
3521
  reasoning: true;
3504
- input: "text"[];
3522
+ input: ("image" | "text")[];
3505
3523
  cost: {
3506
3524
  input: number;
3507
3525
  output: number;
@@ -3511,7 +3529,7 @@ export declare const MODELS: {
3511
3529
  contextWindow: number;
3512
3530
  maxTokens: number;
3513
3531
  };
3514
- readonly "@cf/zai-org/glm-4.7-flash": {
3532
+ readonly "@cf/nvidia/nemotron-3-120b-a12b": {
3515
3533
  id: string;
3516
3534
  name: string;
3517
3535
  api: "openai-completions";
@@ -3531,26 +3549,16 @@ export declare const MODELS: {
3531
3549
  contextWindow: number;
3532
3550
  maxTokens: number;
3533
3551
  };
3534
- };
3535
- readonly deepseek: {
3536
- readonly "deepseek-v4-flash": {
3552
+ readonly "@cf/openai/gpt-oss-120b": {
3537
3553
  id: string;
3538
3554
  name: string;
3539
3555
  api: "openai-completions";
3540
3556
  provider: string;
3541
3557
  baseUrl: string;
3542
3558
  compat: {
3543
- requiresReasoningContentOnAssistantMessages: true;
3544
- thinkingFormat: "deepseek";
3559
+ sendSessionAffinityHeaders: true;
3545
3560
  };
3546
3561
  reasoning: true;
3547
- thinkingLevelMap: {
3548
- minimal: null;
3549
- low: null;
3550
- medium: null;
3551
- high: string;
3552
- xhigh: string;
3553
- };
3554
3562
  input: "text"[];
3555
3563
  cost: {
3556
3564
  input: number;
@@ -3561,47 +3569,14 @@ export declare const MODELS: {
3561
3569
  contextWindow: number;
3562
3570
  maxTokens: number;
3563
3571
  };
3564
- readonly "deepseek-v4-pro": {
3572
+ readonly "@cf/openai/gpt-oss-20b": {
3565
3573
  id: string;
3566
3574
  name: string;
3567
3575
  api: "openai-completions";
3568
3576
  provider: string;
3569
3577
  baseUrl: string;
3570
- compat: {
3571
- requiresReasoningContentOnAssistantMessages: true;
3572
- thinkingFormat: "deepseek";
3573
- };
3574
- reasoning: true;
3575
- thinkingLevelMap: {
3576
- minimal: null;
3577
- low: null;
3578
- medium: null;
3579
- high: string;
3580
- xhigh: string;
3581
- };
3582
- input: "text"[];
3583
- cost: {
3584
- input: number;
3585
- output: number;
3586
- cacheRead: number;
3587
- cacheWrite: number;
3588
- };
3589
- contextWindow: number;
3590
- maxTokens: number;
3591
- };
3592
- };
3593
- readonly fireworks: {
3594
- readonly "accounts/fireworks/models/deepseek-v3p1": {
3595
- id: string;
3596
- name: string;
3597
- api: "anthropic-messages";
3598
- provider: string;
3599
- baseUrl: string;
3600
3578
  compat: {
3601
3579
  sendSessionAffinityHeaders: true;
3602
- supportsEagerToolInputStreaming: false;
3603
- supportsCacheControlOnTools: false;
3604
- supportsLongCacheRetention: false;
3605
3580
  };
3606
3581
  reasoning: true;
3607
3582
  input: "text"[];
@@ -3614,17 +3589,14 @@ export declare const MODELS: {
3614
3589
  contextWindow: number;
3615
3590
  maxTokens: number;
3616
3591
  };
3617
- readonly "accounts/fireworks/models/deepseek-v3p2": {
3592
+ readonly "@cf/qwen/qwen3-30b-a3b-fp8": {
3618
3593
  id: string;
3619
3594
  name: string;
3620
- api: "anthropic-messages";
3595
+ api: "openai-completions";
3621
3596
  provider: string;
3622
3597
  baseUrl: string;
3623
3598
  compat: {
3624
3599
  sendSessionAffinityHeaders: true;
3625
- supportsEagerToolInputStreaming: false;
3626
- supportsCacheControlOnTools: false;
3627
- supportsLongCacheRetention: false;
3628
3600
  };
3629
3601
  reasoning: true;
3630
3602
  input: "text"[];
@@ -3637,17 +3609,14 @@ export declare const MODELS: {
3637
3609
  contextWindow: number;
3638
3610
  maxTokens: number;
3639
3611
  };
3640
- readonly "accounts/fireworks/models/deepseek-v4-flash": {
3612
+ readonly "@cf/zai-org/glm-4.7-flash": {
3641
3613
  id: string;
3642
3614
  name: string;
3643
- api: "anthropic-messages";
3615
+ api: "openai-completions";
3644
3616
  provider: string;
3645
3617
  baseUrl: string;
3646
3618
  compat: {
3647
3619
  sendSessionAffinityHeaders: true;
3648
- supportsEagerToolInputStreaming: false;
3649
- supportsCacheControlOnTools: false;
3650
- supportsLongCacheRetention: false;
3651
3620
  };
3652
3621
  reasoning: true;
3653
3622
  input: "text"[];
@@ -3660,42 +3629,26 @@ export declare const MODELS: {
3660
3629
  contextWindow: number;
3661
3630
  maxTokens: number;
3662
3631
  };
3663
- readonly "accounts/fireworks/models/deepseek-v4-pro": {
3632
+ };
3633
+ readonly deepseek: {
3634
+ readonly "deepseek-v4-flash": {
3664
3635
  id: string;
3665
3636
  name: string;
3666
- api: "anthropic-messages";
3637
+ api: "openai-completions";
3667
3638
  provider: string;
3668
3639
  baseUrl: string;
3669
3640
  compat: {
3670
- sendSessionAffinityHeaders: true;
3671
- supportsEagerToolInputStreaming: false;
3672
- supportsCacheControlOnTools: false;
3673
- supportsLongCacheRetention: false;
3641
+ requiresReasoningContentOnAssistantMessages: true;
3642
+ thinkingFormat: "deepseek";
3674
3643
  };
3675
3644
  reasoning: true;
3676
- input: "text"[];
3677
- cost: {
3678
- input: number;
3679
- output: number;
3680
- cacheRead: number;
3681
- cacheWrite: number;
3682
- };
3683
- contextWindow: number;
3684
- maxTokens: number;
3685
- };
3686
- readonly "accounts/fireworks/models/glm-4p5": {
3687
- id: string;
3688
- name: string;
3689
- api: "anthropic-messages";
3690
- provider: string;
3691
- baseUrl: string;
3692
- compat: {
3693
- sendSessionAffinityHeaders: true;
3694
- supportsEagerToolInputStreaming: false;
3695
- supportsCacheControlOnTools: false;
3696
- supportsLongCacheRetention: false;
3645
+ thinkingLevelMap: {
3646
+ minimal: null;
3647
+ low: null;
3648
+ medium: null;
3649
+ high: string;
3650
+ xhigh: string;
3697
3651
  };
3698
- reasoning: true;
3699
3652
  input: "text"[];
3700
3653
  cost: {
3701
3654
  input: number;
@@ -3706,19 +3659,24 @@ export declare const MODELS: {
3706
3659
  contextWindow: number;
3707
3660
  maxTokens: number;
3708
3661
  };
3709
- readonly "accounts/fireworks/models/glm-4p5-air": {
3662
+ readonly "deepseek-v4-pro": {
3710
3663
  id: string;
3711
3664
  name: string;
3712
- api: "anthropic-messages";
3665
+ api: "openai-completions";
3713
3666
  provider: string;
3714
3667
  baseUrl: string;
3715
3668
  compat: {
3716
- sendSessionAffinityHeaders: true;
3717
- supportsEagerToolInputStreaming: false;
3718
- supportsCacheControlOnTools: false;
3719
- supportsLongCacheRetention: false;
3669
+ requiresReasoningContentOnAssistantMessages: true;
3670
+ thinkingFormat: "deepseek";
3720
3671
  };
3721
3672
  reasoning: true;
3673
+ thinkingLevelMap: {
3674
+ minimal: null;
3675
+ low: null;
3676
+ medium: null;
3677
+ high: string;
3678
+ xhigh: string;
3679
+ };
3722
3680
  input: "text"[];
3723
3681
  cost: {
3724
3682
  input: number;
@@ -3729,7 +3687,9 @@ export declare const MODELS: {
3729
3687
  contextWindow: number;
3730
3688
  maxTokens: number;
3731
3689
  };
3732
- readonly "accounts/fireworks/models/glm-4p7": {
3690
+ };
3691
+ readonly fireworks: {
3692
+ readonly "accounts/fireworks/models/deepseek-v4-flash": {
3733
3693
  id: string;
3734
3694
  name: string;
3735
3695
  api: "anthropic-messages";
@@ -3752,7 +3712,7 @@ export declare const MODELS: {
3752
3712
  contextWindow: number;
3753
3713
  maxTokens: number;
3754
3714
  };
3755
- readonly "accounts/fireworks/models/glm-5": {
3715
+ readonly "accounts/fireworks/models/deepseek-v4-pro": {
3756
3716
  id: string;
3757
3717
  name: string;
3758
3718
  api: "anthropic-messages";
@@ -3844,52 +3804,6 @@ export declare const MODELS: {
3844
3804
  contextWindow: number;
3845
3805
  maxTokens: number;
3846
3806
  };
3847
- readonly "accounts/fireworks/models/kimi-k2-instruct": {
3848
- id: string;
3849
- name: string;
3850
- api: "anthropic-messages";
3851
- provider: string;
3852
- baseUrl: string;
3853
- compat: {
3854
- sendSessionAffinityHeaders: true;
3855
- supportsEagerToolInputStreaming: false;
3856
- supportsCacheControlOnTools: false;
3857
- supportsLongCacheRetention: false;
3858
- };
3859
- reasoning: false;
3860
- input: "text"[];
3861
- cost: {
3862
- input: number;
3863
- output: number;
3864
- cacheRead: number;
3865
- cacheWrite: number;
3866
- };
3867
- contextWindow: number;
3868
- maxTokens: number;
3869
- };
3870
- readonly "accounts/fireworks/models/kimi-k2-thinking": {
3871
- id: string;
3872
- name: string;
3873
- api: "anthropic-messages";
3874
- provider: string;
3875
- baseUrl: string;
3876
- compat: {
3877
- sendSessionAffinityHeaders: true;
3878
- supportsEagerToolInputStreaming: false;
3879
- supportsCacheControlOnTools: false;
3880
- supportsLongCacheRetention: false;
3881
- };
3882
- reasoning: true;
3883
- input: "text"[];
3884
- cost: {
3885
- input: number;
3886
- output: number;
3887
- cacheRead: number;
3888
- cacheWrite: number;
3889
- };
3890
- contextWindow: number;
3891
- maxTokens: number;
3892
- };
3893
3807
  readonly "accounts/fireworks/models/kimi-k2p5": {
3894
3808
  id: string;
3895
3809
  name: string;
@@ -3936,7 +3850,7 @@ export declare const MODELS: {
3936
3850
  contextWindow: number;
3937
3851
  maxTokens: number;
3938
3852
  };
3939
- readonly "accounts/fireworks/models/minimax-m2p1": {
3853
+ readonly "accounts/fireworks/models/minimax-m2p5": {
3940
3854
  id: string;
3941
3855
  name: string;
3942
3856
  api: "anthropic-messages";
@@ -3959,7 +3873,7 @@ export declare const MODELS: {
3959
3873
  contextWindow: number;
3960
3874
  maxTokens: number;
3961
3875
  };
3962
- readonly "accounts/fireworks/models/minimax-m2p5": {
3876
+ readonly "accounts/fireworks/models/minimax-m2p7": {
3963
3877
  id: string;
3964
3878
  name: string;
3965
3879
  api: "anthropic-messages";
@@ -3982,7 +3896,7 @@ export declare const MODELS: {
3982
3896
  contextWindow: number;
3983
3897
  maxTokens: number;
3984
3898
  };
3985
- readonly "accounts/fireworks/models/minimax-m2p7": {
3899
+ readonly "accounts/fireworks/models/qwen3p6-plus": {
3986
3900
  id: string;
3987
3901
  name: string;
3988
3902
  api: "anthropic-messages";
@@ -3995,7 +3909,7 @@ export declare const MODELS: {
3995
3909
  supportsLongCacheRetention: false;
3996
3910
  };
3997
3911
  reasoning: true;
3998
- input: "text"[];
3912
+ input: ("image" | "text")[];
3999
3913
  cost: {
4000
3914
  input: number;
4001
3915
  output: number;
@@ -4005,7 +3919,7 @@ export declare const MODELS: {
4005
3919
  contextWindow: number;
4006
3920
  maxTokens: number;
4007
3921
  };
4008
- readonly "accounts/fireworks/models/qwen3p6-plus": {
3922
+ readonly "accounts/fireworks/routers/glm-5p1-fast": {
4009
3923
  id: string;
4010
3924
  name: string;
4011
3925
  api: "anthropic-messages";
@@ -4018,7 +3932,7 @@ export declare const MODELS: {
4018
3932
  supportsLongCacheRetention: false;
4019
3933
  };
4020
3934
  reasoning: true;
4021
- input: ("image" | "text")[];
3935
+ input: "text"[];
4022
3936
  cost: {
4023
3937
  input: number;
4024
3938
  output: number;
@@ -4028,7 +3942,7 @@ export declare const MODELS: {
4028
3942
  contextWindow: number;
4029
3943
  maxTokens: number;
4030
3944
  };
4031
- readonly "accounts/fireworks/routers/kimi-k2p5-turbo": {
3945
+ readonly "accounts/fireworks/routers/kimi-k2p6-turbo": {
4032
3946
  id: string;
4033
3947
  name: string;
4034
3948
  api: "anthropic-messages";
@@ -4114,6 +4028,9 @@ export declare const MODELS: {
4114
4028
  "Editor-Plugin-Version": string;
4115
4029
  "Copilot-Integration-Id": string;
4116
4030
  };
4031
+ compat: {
4032
+ forceAdaptiveThinking: true;
4033
+ };
4117
4034
  reasoning: true;
4118
4035
  thinkingLevelMap: {
4119
4036
  xhigh: string;
@@ -4140,6 +4057,9 @@ export declare const MODELS: {
4140
4057
  "Editor-Plugin-Version": string;
4141
4058
  "Copilot-Integration-Id": string;
4142
4059
  };
4060
+ compat: {
4061
+ forceAdaptiveThinking: true;
4062
+ };
4143
4063
  reasoning: true;
4144
4064
  thinkingLevelMap: {
4145
4065
  xhigh: string;
@@ -4192,6 +4112,9 @@ export declare const MODELS: {
4192
4112
  "Editor-Plugin-Version": string;
4193
4113
  "Copilot-Integration-Id": string;
4194
4114
  };
4115
+ compat: {
4116
+ forceAdaptiveThinking: true;
4117
+ };
4195
4118
  reasoning: true;
4196
4119
  input: ("image" | "text")[];
4197
4120
  cost: {
@@ -4287,6 +4210,34 @@ export declare const MODELS: {
4287
4210
  contextWindow: number;
4288
4211
  maxTokens: number;
4289
4212
  };
4213
+ readonly "gemini-3.5-flash": {
4214
+ id: string;
4215
+ name: string;
4216
+ api: "openai-completions";
4217
+ provider: string;
4218
+ baseUrl: string;
4219
+ headers: {
4220
+ "User-Agent": string;
4221
+ "Editor-Version": string;
4222
+ "Editor-Plugin-Version": string;
4223
+ "Copilot-Integration-Id": string;
4224
+ };
4225
+ compat: {
4226
+ supportsStore: false;
4227
+ supportsDeveloperRole: false;
4228
+ supportsReasoningEffort: false;
4229
+ };
4230
+ reasoning: true;
4231
+ input: ("image" | "text")[];
4232
+ cost: {
4233
+ input: number;
4234
+ output: number;
4235
+ cacheRead: number;
4236
+ cacheWrite: number;
4237
+ };
4238
+ contextWindow: number;
4239
+ maxTokens: number;
4240
+ };
4290
4241
  readonly "gpt-4.1": {
4291
4242
  id: string;
4292
4243
  name: string;
@@ -4568,57 +4519,6 @@ export declare const MODELS: {
4568
4519
  };
4569
4520
  };
4570
4521
  readonly google: {
4571
- readonly "gemini-1.5-flash": {
4572
- id: string;
4573
- name: string;
4574
- api: "google-generative-ai";
4575
- provider: string;
4576
- baseUrl: string;
4577
- reasoning: false;
4578
- input: ("image" | "text")[];
4579
- cost: {
4580
- input: number;
4581
- output: number;
4582
- cacheRead: number;
4583
- cacheWrite: number;
4584
- };
4585
- contextWindow: number;
4586
- maxTokens: number;
4587
- };
4588
- readonly "gemini-1.5-flash-8b": {
4589
- id: string;
4590
- name: string;
4591
- api: "google-generative-ai";
4592
- provider: string;
4593
- baseUrl: string;
4594
- reasoning: false;
4595
- input: ("image" | "text")[];
4596
- cost: {
4597
- input: number;
4598
- output: number;
4599
- cacheRead: number;
4600
- cacheWrite: number;
4601
- };
4602
- contextWindow: number;
4603
- maxTokens: number;
4604
- };
4605
- readonly "gemini-1.5-pro": {
4606
- id: string;
4607
- name: string;
4608
- api: "google-generative-ai";
4609
- provider: string;
4610
- baseUrl: string;
4611
- reasoning: false;
4612
- input: ("image" | "text")[];
4613
- cost: {
4614
- input: number;
4615
- output: number;
4616
- cacheRead: number;
4617
- cacheWrite: number;
4618
- };
4619
- contextWindow: number;
4620
- maxTokens: number;
4621
- };
4622
4522
  readonly "gemini-2.0-flash": {
4623
4523
  id: string;
4624
4524
  name: string;
@@ -4687,91 +4587,6 @@ export declare const MODELS: {
4687
4587
  contextWindow: number;
4688
4588
  maxTokens: number;
4689
4589
  };
4690
- readonly "gemini-2.5-flash-lite-preview-06-17": {
4691
- id: string;
4692
- name: string;
4693
- api: "google-generative-ai";
4694
- provider: string;
4695
- baseUrl: string;
4696
- reasoning: true;
4697
- input: ("image" | "text")[];
4698
- cost: {
4699
- input: number;
4700
- output: number;
4701
- cacheRead: number;
4702
- cacheWrite: number;
4703
- };
4704
- contextWindow: number;
4705
- maxTokens: number;
4706
- };
4707
- readonly "gemini-2.5-flash-lite-preview-09-2025": {
4708
- id: string;
4709
- name: string;
4710
- api: "google-generative-ai";
4711
- provider: string;
4712
- baseUrl: string;
4713
- reasoning: true;
4714
- input: ("image" | "text")[];
4715
- cost: {
4716
- input: number;
4717
- output: number;
4718
- cacheRead: number;
4719
- cacheWrite: number;
4720
- };
4721
- contextWindow: number;
4722
- maxTokens: number;
4723
- };
4724
- readonly "gemini-2.5-flash-preview-04-17": {
4725
- id: string;
4726
- name: string;
4727
- api: "google-generative-ai";
4728
- provider: string;
4729
- baseUrl: string;
4730
- reasoning: true;
4731
- input: ("image" | "text")[];
4732
- cost: {
4733
- input: number;
4734
- output: number;
4735
- cacheRead: number;
4736
- cacheWrite: number;
4737
- };
4738
- contextWindow: number;
4739
- maxTokens: number;
4740
- };
4741
- readonly "gemini-2.5-flash-preview-05-20": {
4742
- id: string;
4743
- name: string;
4744
- api: "google-generative-ai";
4745
- provider: string;
4746
- baseUrl: string;
4747
- reasoning: true;
4748
- input: ("image" | "text")[];
4749
- cost: {
4750
- input: number;
4751
- output: number;
4752
- cacheRead: number;
4753
- cacheWrite: number;
4754
- };
4755
- contextWindow: number;
4756
- maxTokens: number;
4757
- };
4758
- readonly "gemini-2.5-flash-preview-09-2025": {
4759
- id: string;
4760
- name: string;
4761
- api: "google-generative-ai";
4762
- provider: string;
4763
- baseUrl: string;
4764
- reasoning: true;
4765
- input: ("image" | "text")[];
4766
- cost: {
4767
- input: number;
4768
- output: number;
4769
- cacheRead: number;
4770
- cacheWrite: number;
4771
- };
4772
- contextWindow: number;
4773
- maxTokens: number;
4774
- };
4775
4590
  readonly "gemini-2.5-pro": {
4776
4591
  id: string;
4777
4592
  name: string;
@@ -4789,40 +4604,6 @@ export declare const MODELS: {
4789
4604
  contextWindow: number;
4790
4605
  maxTokens: number;
4791
4606
  };
4792
- readonly "gemini-2.5-pro-preview-05-06": {
4793
- id: string;
4794
- name: string;
4795
- api: "google-generative-ai";
4796
- provider: string;
4797
- baseUrl: string;
4798
- reasoning: true;
4799
- input: ("image" | "text")[];
4800
- cost: {
4801
- input: number;
4802
- output: number;
4803
- cacheRead: number;
4804
- cacheWrite: number;
4805
- };
4806
- contextWindow: number;
4807
- maxTokens: number;
4808
- };
4809
- readonly "gemini-2.5-pro-preview-06-05": {
4810
- id: string;
4811
- name: string;
4812
- api: "google-generative-ai";
4813
- provider: string;
4814
- baseUrl: string;
4815
- reasoning: true;
4816
- input: ("image" | "text")[];
4817
- cost: {
4818
- input: number;
4819
- output: number;
4820
- cacheRead: number;
4821
- cacheWrite: number;
4822
- };
4823
- contextWindow: number;
4824
- maxTokens: number;
4825
- };
4826
4607
  readonly "gemini-3-flash-preview": {
4827
4608
  id: string;
4828
4609
  name: string;
@@ -5009,57 +4790,6 @@ export declare const MODELS: {
5009
4790
  contextWindow: number;
5010
4791
  maxTokens: number;
5011
4792
  };
5012
- readonly "gemini-live-2.5-flash": {
5013
- id: string;
5014
- name: string;
5015
- api: "google-generative-ai";
5016
- provider: string;
5017
- baseUrl: string;
5018
- reasoning: true;
5019
- input: ("image" | "text")[];
5020
- cost: {
5021
- input: number;
5022
- output: number;
5023
- cacheRead: number;
5024
- cacheWrite: number;
5025
- };
5026
- contextWindow: number;
5027
- maxTokens: number;
5028
- };
5029
- readonly "gemini-live-2.5-flash-preview-native-audio": {
5030
- id: string;
5031
- name: string;
5032
- api: "google-generative-ai";
5033
- provider: string;
5034
- baseUrl: string;
5035
- reasoning: true;
5036
- input: "text"[];
5037
- cost: {
5038
- input: number;
5039
- output: number;
5040
- cacheRead: number;
5041
- cacheWrite: number;
5042
- };
5043
- contextWindow: number;
5044
- maxTokens: number;
5045
- };
5046
- readonly "gemma-3-27b-it": {
5047
- id: string;
5048
- name: string;
5049
- api: "google-generative-ai";
5050
- provider: string;
5051
- baseUrl: string;
5052
- reasoning: false;
5053
- input: ("image" | "text")[];
5054
- cost: {
5055
- input: number;
5056
- output: number;
5057
- cacheRead: number;
5058
- cacheWrite: number;
5059
- };
5060
- contextWindow: number;
5061
- maxTokens: number;
5062
- };
5063
4793
  readonly "gemma-4-26b-a4b-it": {
5064
4794
  id: string;
5065
4795
  name: string;
@@ -8048,6 +7778,9 @@ export declare const MODELS: {
8048
7778
  api: "anthropic-messages";
8049
7779
  provider: string;
8050
7780
  baseUrl: string;
7781
+ compat: {
7782
+ forceAdaptiveThinking: true;
7783
+ };
8051
7784
  reasoning: true;
8052
7785
  thinkingLevelMap: {
8053
7786
  xhigh: string;
@@ -8068,6 +7801,9 @@ export declare const MODELS: {
8068
7801
  api: "anthropic-messages";
8069
7802
  provider: string;
8070
7803
  baseUrl: string;
7804
+ compat: {
7805
+ forceAdaptiveThinking: true;
7806
+ };
8071
7807
  reasoning: true;
8072
7808
  thinkingLevelMap: {
8073
7809
  xhigh: string;
@@ -8122,6 +7858,9 @@ export declare const MODELS: {
8122
7858
  api: "anthropic-messages";
8123
7859
  provider: string;
8124
7860
  baseUrl: string;
7861
+ compat: {
7862
+ forceAdaptiveThinking: true;
7863
+ };
8125
7864
  reasoning: true;
8126
7865
  input: ("image" | "text")[];
8127
7866
  cost: {
@@ -8588,24 +8327,7 @@ export declare const MODELS: {
8588
8327
  contextWindow: number;
8589
8328
  maxTokens: number;
8590
8329
  };
8591
- readonly "kimi-k2.5": {
8592
- id: string;
8593
- name: string;
8594
- api: "openai-completions";
8595
- provider: string;
8596
- baseUrl: string;
8597
- reasoning: true;
8598
- input: ("image" | "text")[];
8599
- cost: {
8600
- input: number;
8601
- output: number;
8602
- cacheRead: number;
8603
- cacheWrite: number;
8604
- };
8605
- contextWindow: number;
8606
- maxTokens: number;
8607
- };
8608
- readonly "kimi-k2.6": {
8330
+ readonly "grok-build-0.1": {
8609
8331
  id: string;
8610
8332
  name: string;
8611
8333
  api: "openai-completions";
@@ -8622,14 +8344,14 @@ export declare const MODELS: {
8622
8344
  contextWindow: number;
8623
8345
  maxTokens: number;
8624
8346
  };
8625
- readonly "minimax-m2.5": {
8347
+ readonly "kimi-k2.5": {
8626
8348
  id: string;
8627
8349
  name: string;
8628
8350
  api: "openai-completions";
8629
8351
  provider: string;
8630
8352
  baseUrl: string;
8631
8353
  reasoning: true;
8632
- input: "text"[];
8354
+ input: ("image" | "text")[];
8633
8355
  cost: {
8634
8356
  input: number;
8635
8357
  output: number;
@@ -8639,14 +8361,14 @@ export declare const MODELS: {
8639
8361
  contextWindow: number;
8640
8362
  maxTokens: number;
8641
8363
  };
8642
- readonly "minimax-m2.5-free": {
8364
+ readonly "kimi-k2.6": {
8643
8365
  id: string;
8644
8366
  name: string;
8645
- api: "anthropic-messages";
8367
+ api: "openai-completions";
8646
8368
  provider: string;
8647
8369
  baseUrl: string;
8648
8370
  reasoning: true;
8649
- input: "text"[];
8371
+ input: ("image" | "text")[];
8650
8372
  cost: {
8651
8373
  input: number;
8652
8374
  output: number;
@@ -8656,7 +8378,7 @@ export declare const MODELS: {
8656
8378
  contextWindow: number;
8657
8379
  maxTokens: number;
8658
8380
  };
8659
- readonly "minimax-m2.7": {
8381
+ readonly "minimax-m2.5": {
8660
8382
  id: string;
8661
8383
  name: string;
8662
8384
  api: "openai-completions";
@@ -8673,7 +8395,7 @@ export declare const MODELS: {
8673
8395
  contextWindow: number;
8674
8396
  maxTokens: number;
8675
8397
  };
8676
- readonly "nemotron-3-super-free": {
8398
+ readonly "minimax-m2.7": {
8677
8399
  id: string;
8678
8400
  name: string;
8679
8401
  api: "openai-completions";
@@ -8690,14 +8412,14 @@ export declare const MODELS: {
8690
8412
  contextWindow: number;
8691
8413
  maxTokens: number;
8692
8414
  };
8693
- readonly "qwen3.5-plus": {
8415
+ readonly "nemotron-3-super-free": {
8694
8416
  id: string;
8695
8417
  name: string;
8696
- api: "anthropic-messages";
8418
+ api: "openai-completions";
8697
8419
  provider: string;
8698
8420
  baseUrl: string;
8699
8421
  reasoning: true;
8700
- input: ("image" | "text")[];
8422
+ input: "text"[];
8701
8423
  cost: {
8702
8424
  input: number;
8703
8425
  output: number;
@@ -8707,7 +8429,7 @@ export declare const MODELS: {
8707
8429
  contextWindow: number;
8708
8430
  maxTokens: number;
8709
8431
  };
8710
- readonly "qwen3.6-plus": {
8432
+ readonly "qwen3.5-plus": {
8711
8433
  id: string;
8712
8434
  name: string;
8713
8435
  api: "anthropic-messages";
@@ -8724,7 +8446,7 @@ export declare const MODELS: {
8724
8446
  contextWindow: number;
8725
8447
  maxTokens: number;
8726
8448
  };
8727
- readonly "qwen3.6-plus-free": {
8449
+ readonly "qwen3.6-plus": {
8728
8450
  id: string;
8729
8451
  name: string;
8730
8452
  api: "anthropic-messages";
@@ -9329,23 +9051,6 @@ export declare const MODELS: {
9329
9051
  contextWindow: number;
9330
9052
  maxTokens: number;
9331
9053
  };
9332
- readonly "arcee-ai/trinity-large-preview": {
9333
- id: string;
9334
- name: string;
9335
- api: "openai-completions";
9336
- provider: string;
9337
- baseUrl: string;
9338
- reasoning: false;
9339
- input: "text"[];
9340
- cost: {
9341
- input: number;
9342
- output: number;
9343
- cacheRead: number;
9344
- cacheWrite: number;
9345
- };
9346
- contextWindow: number;
9347
- maxTokens: number;
9348
- };
9349
9054
  readonly "arcee-ai/trinity-large-thinking": {
9350
9055
  id: string;
9351
9056
  name: string;
@@ -12937,6 +12642,23 @@ export declare const MODELS: {
12937
12642
  contextWindow: number;
12938
12643
  maxTokens: number;
12939
12644
  };
12645
+ readonly "qwen/qwen3.7-max": {
12646
+ id: string;
12647
+ name: string;
12648
+ api: "openai-completions";
12649
+ provider: string;
12650
+ baseUrl: string;
12651
+ reasoning: true;
12652
+ input: "text"[];
12653
+ cost: {
12654
+ input: number;
12655
+ output: number;
12656
+ cacheRead: number;
12657
+ cacheWrite: number;
12658
+ };
12659
+ contextWindow: number;
12660
+ maxTokens: number;
12661
+ };
12940
12662
  readonly "rekaai/reka-edge": {
12941
12663
  id: string;
12942
12664
  name: string;
@@ -13124,6 +12846,23 @@ export declare const MODELS: {
13124
12846
  contextWindow: number;
13125
12847
  maxTokens: number;
13126
12848
  };
12849
+ readonly "x-ai/grok-build-0.1": {
12850
+ id: string;
12851
+ name: string;
12852
+ api: "openai-completions";
12853
+ provider: string;
12854
+ baseUrl: string;
12855
+ reasoning: true;
12856
+ input: ("image" | "text")[];
12857
+ cost: {
12858
+ input: number;
12859
+ output: number;
12860
+ cacheRead: number;
12861
+ cacheWrite: number;
12862
+ };
12863
+ contextWindow: number;
12864
+ maxTokens: number;
12865
+ };
13127
12866
  readonly "xiaomi/mimo-v2-flash": {
13128
12867
  id: string;
13129
12868
  name: string;
@@ -13779,6 +13518,37 @@ export declare const MODELS: {
13779
13518
  contextWindow: number;
13780
13519
  maxTokens: number;
13781
13520
  };
13521
+ readonly "Qwen/Qwen3.7-Max": {
13522
+ id: string;
13523
+ name: string;
13524
+ api: "openai-completions";
13525
+ provider: string;
13526
+ baseUrl: string;
13527
+ compat: {
13528
+ supportsStore: false;
13529
+ supportsDeveloperRole: false;
13530
+ supportsReasoningEffort: false;
13531
+ maxTokensField: "max_tokens";
13532
+ supportsStrictMode: false;
13533
+ supportsLongCacheRetention: false;
13534
+ thinkingFormat: "together";
13535
+ };
13536
+ reasoning: true;
13537
+ thinkingLevelMap: {
13538
+ minimal: null;
13539
+ low: null;
13540
+ medium: null;
13541
+ };
13542
+ input: "text"[];
13543
+ cost: {
13544
+ input: number;
13545
+ output: number;
13546
+ cacheRead: number;
13547
+ cacheWrite: number;
13548
+ };
13549
+ contextWindow: number;
13550
+ maxTokens: number;
13551
+ };
13782
13552
  readonly "deepseek-ai/DeepSeek-V3": {
13783
13553
  id: string;
13784
13554
  name: string;
@@ -14386,6 +14156,23 @@ export declare const MODELS: {
14386
14156
  contextWindow: number;
14387
14157
  maxTokens: number;
14388
14158
  };
14159
+ readonly "alibaba/qwen3.7-max": {
14160
+ id: string;
14161
+ name: string;
14162
+ api: "anthropic-messages";
14163
+ provider: string;
14164
+ baseUrl: string;
14165
+ reasoning: true;
14166
+ input: ("image" | "text")[];
14167
+ cost: {
14168
+ input: number;
14169
+ output: number;
14170
+ cacheRead: number;
14171
+ cacheWrite: number;
14172
+ };
14173
+ contextWindow: number;
14174
+ maxTokens: number;
14175
+ };
14389
14176
  readonly "anthropic/claude-3-haiku": {
14390
14177
  id: string;
14391
14178
  name: string;
@@ -14494,6 +14281,9 @@ export declare const MODELS: {
14494
14281
  api: "anthropic-messages";
14495
14282
  provider: string;
14496
14283
  baseUrl: string;
14284
+ compat: {
14285
+ forceAdaptiveThinking: true;
14286
+ };
14497
14287
  reasoning: true;
14498
14288
  thinkingLevelMap: {
14499
14289
  xhigh: string;
@@ -14514,6 +14304,9 @@ export declare const MODELS: {
14514
14304
  api: "anthropic-messages";
14515
14305
  provider: string;
14516
14306
  baseUrl: string;
14307
+ compat: {
14308
+ forceAdaptiveThinking: true;
14309
+ };
14517
14310
  reasoning: true;
14518
14311
  thinkingLevelMap: {
14519
14312
  xhigh: string;
@@ -14568,6 +14361,9 @@ export declare const MODELS: {
14568
14361
  api: "anthropic-messages";
14569
14362
  provider: string;
14570
14363
  baseUrl: string;
14364
+ compat: {
14365
+ forceAdaptiveThinking: true;
14366
+ };
14571
14367
  reasoning: true;
14572
14368
  input: ("image" | "text")[];
14573
14369
  cost: {
@@ -16485,6 +16281,23 @@ export declare const MODELS: {
16485
16281
  contextWindow: number;
16486
16282
  maxTokens: number;
16487
16283
  };
16284
+ readonly "xai/grok-build-0.1": {
16285
+ id: string;
16286
+ name: string;
16287
+ api: "anthropic-messages";
16288
+ provider: string;
16289
+ baseUrl: string;
16290
+ reasoning: true;
16291
+ input: ("image" | "text")[];
16292
+ cost: {
16293
+ input: number;
16294
+ output: number;
16295
+ cacheRead: number;
16296
+ cacheWrite: number;
16297
+ };
16298
+ contextWindow: number;
16299
+ maxTokens: number;
16300
+ };
16488
16301
  readonly "xiaomi/mimo-v2-flash": {
16489
16302
  id: string;
16490
16303
  name: string;
@@ -16776,108 +16589,6 @@ export declare const MODELS: {
16776
16589
  };
16777
16590
  };
16778
16591
  readonly xai: {
16779
- readonly "grok-2": {
16780
- id: string;
16781
- name: string;
16782
- api: "openai-completions";
16783
- provider: string;
16784
- baseUrl: string;
16785
- reasoning: false;
16786
- input: "text"[];
16787
- cost: {
16788
- input: number;
16789
- output: number;
16790
- cacheRead: number;
16791
- cacheWrite: number;
16792
- };
16793
- contextWindow: number;
16794
- maxTokens: number;
16795
- };
16796
- readonly "grok-2-1212": {
16797
- id: string;
16798
- name: string;
16799
- api: "openai-completions";
16800
- provider: string;
16801
- baseUrl: string;
16802
- reasoning: false;
16803
- input: "text"[];
16804
- cost: {
16805
- input: number;
16806
- output: number;
16807
- cacheRead: number;
16808
- cacheWrite: number;
16809
- };
16810
- contextWindow: number;
16811
- maxTokens: number;
16812
- };
16813
- readonly "grok-2-latest": {
16814
- id: string;
16815
- name: string;
16816
- api: "openai-completions";
16817
- provider: string;
16818
- baseUrl: string;
16819
- reasoning: false;
16820
- input: "text"[];
16821
- cost: {
16822
- input: number;
16823
- output: number;
16824
- cacheRead: number;
16825
- cacheWrite: number;
16826
- };
16827
- contextWindow: number;
16828
- maxTokens: number;
16829
- };
16830
- readonly "grok-2-vision": {
16831
- id: string;
16832
- name: string;
16833
- api: "openai-completions";
16834
- provider: string;
16835
- baseUrl: string;
16836
- reasoning: false;
16837
- input: ("image" | "text")[];
16838
- cost: {
16839
- input: number;
16840
- output: number;
16841
- cacheRead: number;
16842
- cacheWrite: number;
16843
- };
16844
- contextWindow: number;
16845
- maxTokens: number;
16846
- };
16847
- readonly "grok-2-vision-1212": {
16848
- id: string;
16849
- name: string;
16850
- api: "openai-completions";
16851
- provider: string;
16852
- baseUrl: string;
16853
- reasoning: false;
16854
- input: ("image" | "text")[];
16855
- cost: {
16856
- input: number;
16857
- output: number;
16858
- cacheRead: number;
16859
- cacheWrite: number;
16860
- };
16861
- contextWindow: number;
16862
- maxTokens: number;
16863
- };
16864
- readonly "grok-2-vision-latest": {
16865
- id: string;
16866
- name: string;
16867
- api: "openai-completions";
16868
- provider: string;
16869
- baseUrl: string;
16870
- reasoning: false;
16871
- input: ("image" | "text")[];
16872
- cost: {
16873
- input: number;
16874
- output: number;
16875
- cacheRead: number;
16876
- cacheWrite: number;
16877
- };
16878
- contextWindow: number;
16879
- maxTokens: number;
16880
- };
16881
16592
  readonly "grok-3": {
16882
16593
  id: string;
16883
16594
  name: string;
@@ -16963,14 +16674,14 @@ export declare const MODELS: {
16963
16674
  contextWindow: number;
16964
16675
  maxTokens: number;
16965
16676
  };
16966
- readonly "grok-beta": {
16677
+ readonly "grok-build-0.1": {
16967
16678
  id: string;
16968
16679
  name: string;
16969
16680
  api: "openai-completions";
16970
16681
  provider: string;
16971
16682
  baseUrl: string;
16972
- reasoning: false;
16973
- input: "text"[];
16683
+ reasoning: true;
16684
+ input: ("image" | "text")[];
16974
16685
  cost: {
16975
16686
  input: number;
16976
16687
  output: number;
@@ -16997,23 +16708,6 @@ export declare const MODELS: {
16997
16708
  contextWindow: number;
16998
16709
  maxTokens: number;
16999
16710
  };
17000
- readonly "grok-vision-beta": {
17001
- id: string;
17002
- name: string;
17003
- api: "openai-completions";
17004
- provider: string;
17005
- baseUrl: string;
17006
- reasoning: false;
17007
- input: ("image" | "text")[];
17008
- cost: {
17009
- input: number;
17010
- output: number;
17011
- cacheRead: number;
17012
- cacheWrite: number;
17013
- };
17014
- contextWindow: number;
17015
- maxTokens: number;
17016
- };
17017
16711
  };
17018
16712
  readonly xiaomi: {
17019
16713
  readonly "mimo-v2-flash": {