@dexto/llm 1.9.5 → 1.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -857,36 +857,10 @@ var MODELS_BY_PROVIDER = {
857
857
  unit: "per_million_tokens"
858
858
  }
859
859
  },
860
- {
861
- name: "gpt-5.6",
862
- displayName: "GPT-5.6 Sol",
863
- maxInputTokens: 922e3,
864
- supportedFileTypes: ["pdf", "image", "document"],
865
- reasoning: true,
866
- supportsTemperature: false,
867
- supportsToolCall: true,
868
- releaseDate: "2026-07-09",
869
- modalities: {
870
- input: ["text", "image", "pdf"],
871
- output: ["text"]
872
- },
873
- pricing: {
874
- inputPerM: 5,
875
- outputPerM: 30,
876
- cacheReadPerM: 0.5,
877
- cacheWritePerM: 6.25,
878
- contextOver200kPerM: {
879
- inputPerM: 10,
880
- outputPerM: 45
881
- },
882
- currency: "USD",
883
- unit: "per_million_tokens"
884
- }
885
- },
886
860
  {
887
861
  name: "gpt-5.6-luna",
888
862
  displayName: "GPT-5.6 Luna",
889
- maxInputTokens: 922e3,
863
+ maxInputTokens: 272e3,
890
864
  supportedFileTypes: ["pdf", "image", "document"],
891
865
  reasoning: true,
892
866
  supportsTemperature: false,
@@ -902,6 +876,9 @@ var MODELS_BY_PROVIDER = {
902
876
  cacheReadPerM: 0.1,
903
877
  cacheWritePerM: 1.25,
904
878
  contextOver200kPerM: {
879
+ inputTokensAbove: 272e3,
880
+ cacheReadPerM: 0.2,
881
+ cacheWritePerM: 2.5,
905
882
  inputPerM: 2,
906
883
  outputPerM: 9
907
884
  },
@@ -912,7 +889,7 @@ var MODELS_BY_PROVIDER = {
912
889
  {
913
890
  name: "gpt-5.6-sol",
914
891
  displayName: "GPT-5.6 Sol",
915
- maxInputTokens: 922e3,
892
+ maxInputTokens: 272e3,
916
893
  supportedFileTypes: ["pdf", "image", "document"],
917
894
  reasoning: true,
918
895
  supportsTemperature: false,
@@ -928,6 +905,9 @@ var MODELS_BY_PROVIDER = {
928
905
  cacheReadPerM: 0.5,
929
906
  cacheWritePerM: 6.25,
930
907
  contextOver200kPerM: {
908
+ inputTokensAbove: 272e3,
909
+ cacheReadPerM: 1,
910
+ cacheWritePerM: 12.5,
931
911
  inputPerM: 10,
932
912
  outputPerM: 45
933
913
  },
@@ -938,7 +918,7 @@ var MODELS_BY_PROVIDER = {
938
918
  {
939
919
  name: "gpt-5.6-terra",
940
920
  displayName: "GPT-5.6 Terra",
941
- maxInputTokens: 922e3,
921
+ maxInputTokens: 272e3,
942
922
  supportedFileTypes: ["pdf", "image", "document"],
943
923
  reasoning: true,
944
924
  supportsTemperature: false,
@@ -954,6 +934,9 @@ var MODELS_BY_PROVIDER = {
954
934
  cacheReadPerM: 0.25,
955
935
  cacheWritePerM: 3.125,
956
936
  contextOver200kPerM: {
937
+ inputTokensAbove: 272e3,
938
+ cacheReadPerM: 0.5,
939
+ cacheWritePerM: 6.25,
957
940
  inputPerM: 5,
958
941
  outputPerM: 22.5
959
942
  },
@@ -3232,9 +3215,9 @@ var MODELS_BY_PROVIDER = {
3232
3215
  output: ["text"]
3233
3216
  },
3234
3217
  pricing: {
3235
- inputPerM: 0.65,
3218
+ inputPerM: 0.66,
3236
3219
  outputPerM: 3.41,
3237
- cacheReadPerM: 0.14,
3220
+ cacheReadPerM: 0.15,
3238
3221
  currency: "USD",
3239
3222
  unit: "per_million_tokens"
3240
3223
  }
@@ -3256,6 +3239,7 @@ var MODELS_BY_PROVIDER = {
3256
3239
  inputPerM: 5,
3257
3240
  outputPerM: 30,
3258
3241
  cacheReadPerM: 0.5,
3242
+ cacheWritePerM: 6.25,
3259
3243
  currency: "USD",
3260
3244
  unit: "per_million_tokens"
3261
3245
  }
@@ -3529,7 +3513,7 @@ var MODELS_BY_PROVIDER = {
3529
3513
  {
3530
3514
  name: "anthracite-org/magnum-v4-72b",
3531
3515
  displayName: "Magnum v4 72B",
3532
- maxInputTokens: 16384,
3516
+ maxInputTokens: 32768,
3533
3517
  supportedFileTypes: [],
3534
3518
  reasoning: false,
3535
3519
  supportsTemperature: true,
@@ -3980,7 +3964,7 @@ var MODELS_BY_PROVIDER = {
3980
3964
  {
3981
3965
  name: "baidu/ernie-4.5-vl-424b-a47b",
3982
3966
  displayName: "ERNIE 4.5 VL 424B A47B ",
3983
- maxInputTokens: 123e3,
3967
+ maxInputTokens: 131072,
3984
3968
  supportedFileTypes: ["image"],
3985
3969
  reasoning: true,
3986
3970
  supportsTemperature: true,
@@ -4098,6 +4082,26 @@ var MODELS_BY_PROVIDER = {
4098
4082
  unit: "per_million_tokens"
4099
4083
  }
4100
4084
  },
4085
+ {
4086
+ name: "cognitivecomputations/dolphin-mistral-24b-venice-edition",
4087
+ displayName: "Uncensored",
4088
+ maxInputTokens: 128e3,
4089
+ supportedFileTypes: [],
4090
+ reasoning: false,
4091
+ supportsTemperature: true,
4092
+ supportsToolCall: false,
4093
+ releaseDate: "2025-07-09",
4094
+ modalities: {
4095
+ input: ["text"],
4096
+ output: ["text"]
4097
+ },
4098
+ pricing: {
4099
+ inputPerM: 0.2,
4100
+ outputPerM: 0.9,
4101
+ currency: "USD",
4102
+ unit: "per_million_tokens"
4103
+ }
4104
+ },
4101
4105
  {
4102
4106
  name: "cognitivecomputations/dolphin-mistral-24b-venice-edition:free",
4103
4107
  displayName: "Uncensored (free)",
@@ -4241,7 +4245,7 @@ var MODELS_BY_PROVIDER = {
4241
4245
  {
4242
4246
  name: "deepseek/deepseek-chat",
4243
4247
  displayName: "DeepSeek Chat",
4244
- maxInputTokens: 128e3,
4248
+ maxInputTokens: 131072,
4245
4249
  supportedFileTypes: [],
4246
4250
  reasoning: false,
4247
4251
  supportsTemperature: true,
@@ -4303,7 +4307,7 @@ var MODELS_BY_PROVIDER = {
4303
4307
  {
4304
4308
  name: "deepseek/deepseek-r1",
4305
4309
  displayName: "DeepSeek-R1",
4306
- maxInputTokens: 64e3,
4310
+ maxInputTokens: 163840,
4307
4311
  supportedFileTypes: [],
4308
4312
  reasoning: true,
4309
4313
  supportsTemperature: true,
@@ -4344,7 +4348,7 @@ var MODELS_BY_PROVIDER = {
4344
4348
  {
4345
4349
  name: "deepseek/deepseek-r1-distill-llama-70b",
4346
4350
  displayName: "R1 Distill Llama 70B",
4347
- maxInputTokens: 8192,
4351
+ maxInputTokens: 128e3,
4348
4352
  supportedFileTypes: [],
4349
4353
  reasoning: true,
4350
4354
  supportsTemperature: true,
@@ -4385,7 +4389,7 @@ var MODELS_BY_PROVIDER = {
4385
4389
  {
4386
4390
  name: "deepseek/deepseek-v3.2",
4387
4391
  displayName: "DeepSeek V3.2",
4388
- maxInputTokens: 128e3,
4392
+ maxInputTokens: 131072,
4389
4393
  supportedFileTypes: [],
4390
4394
  reasoning: true,
4391
4395
  supportsTemperature: true,
@@ -4823,7 +4827,7 @@ var MODELS_BY_PROVIDER = {
4823
4827
  {
4824
4828
  name: "google/gemini-3.1-pro-preview-customtools",
4825
4829
  displayName: "Gemini 3.1 Pro Preview Custom Tools",
4826
- maxInputTokens: 1048576,
4830
+ maxInputTokens: 1048756,
4827
4831
  supportedFileTypes: ["pdf", "image", "audio", "video", "document"],
4828
4832
  reasoning: true,
4829
4833
  supportsTemperature: true,
@@ -4997,7 +5001,7 @@ var MODELS_BY_PROVIDER = {
4997
5001
  {
4998
5002
  name: "google/gemma-4-26b-a4b-it:free",
4999
5003
  displayName: "Gemma 4 26B A4B (free)",
5000
- maxInputTokens: 131072,
5004
+ maxInputTokens: 262144,
5001
5005
  supportedFileTypes: ["image", "video", "document"],
5002
5006
  reasoning: true,
5003
5007
  supportsTemperature: true,
@@ -5444,7 +5448,7 @@ var MODELS_BY_PROVIDER = {
5444
5448
  {
5445
5449
  name: "meta-llama/llama-3.2-1b-instruct",
5446
5450
  displayName: "Llama 3.2 1B Instruct",
5447
- maxInputTokens: 6e4,
5451
+ maxInputTokens: 131072,
5448
5452
  supportedFileTypes: [],
5449
5453
  reasoning: false,
5450
5454
  supportsTemperature: true,
@@ -5524,7 +5528,7 @@ var MODELS_BY_PROVIDER = {
5524
5528
  {
5525
5529
  name: "meta-llama/llama-3.3-70b-instruct:free",
5526
5530
  displayName: "Llama 3.3 70B Instruct (free)",
5527
- maxInputTokens: 65536,
5531
+ maxInputTokens: 131072,
5528
5532
  supportedFileTypes: [],
5529
5533
  reasoning: false,
5530
5534
  supportsTemperature: true,
@@ -5564,7 +5568,7 @@ var MODELS_BY_PROVIDER = {
5564
5568
  {
5565
5569
  name: "meta-llama/llama-4-scout",
5566
5570
  displayName: "Llama 4 Scout",
5567
- maxInputTokens: 327680,
5571
+ maxInputTokens: 1e7,
5568
5572
  supportedFileTypes: ["image"],
5569
5573
  reasoning: false,
5570
5574
  supportsTemperature: true,
@@ -5624,7 +5628,7 @@ var MODELS_BY_PROVIDER = {
5624
5628
  {
5625
5629
  name: "microsoft/wizardlm-2-8x22b",
5626
5630
  displayName: "WizardLM-2 8x22B",
5627
- maxInputTokens: 65535,
5631
+ maxInputTokens: 65536,
5628
5632
  supportedFileTypes: [],
5629
5633
  reasoning: false,
5630
5634
  supportsTemperature: true,
@@ -5754,7 +5758,7 @@ var MODELS_BY_PROVIDER = {
5754
5758
  {
5755
5759
  name: "minimax/minimax-m2.5",
5756
5760
  displayName: "MiniMax-M2.5",
5757
- maxInputTokens: 196608,
5761
+ maxInputTokens: 204800,
5758
5762
  supportedFileTypes: [],
5759
5763
  reasoning: true,
5760
5764
  supportsTemperature: true,
@@ -5779,7 +5783,7 @@ var MODELS_BY_PROVIDER = {
5779
5783
  {
5780
5784
  name: "minimax/minimax-m2.7",
5781
5785
  displayName: "MiniMax-M2.7",
5782
- maxInputTokens: 196608,
5786
+ maxInputTokens: 204800,
5783
5787
  supportedFileTypes: [],
5784
5788
  reasoning: true,
5785
5789
  supportsTemperature: true,
@@ -5799,7 +5803,7 @@ var MODELS_BY_PROVIDER = {
5799
5803
  {
5800
5804
  name: "minimax/minimax-m3",
5801
5805
  displayName: "MiniMax-M3",
5802
- maxInputTokens: 524288,
5806
+ maxInputTokens: 1048576,
5803
5807
  supportedFileTypes: ["image", "video"],
5804
5808
  reasoning: true,
5805
5809
  supportsTemperature: true,
@@ -6280,7 +6284,7 @@ var MODELS_BY_PROVIDER = {
6280
6284
  {
6281
6285
  name: "moonshotai/kimi-k2.5",
6282
6286
  displayName: "Kimi K2.5",
6283
- maxInputTokens: 256e3,
6287
+ maxInputTokens: 262144,
6284
6288
  supportedFileTypes: ["image"],
6285
6289
  reasoning: true,
6286
6290
  supportsTemperature: true,
@@ -6320,9 +6324,9 @@ var MODELS_BY_PROVIDER = {
6320
6324
  },
6321
6325
  supportsInterleaved: true,
6322
6326
  pricing: {
6323
- inputPerM: 0.65,
6327
+ inputPerM: 0.66,
6324
6328
  outputPerM: 3.41,
6325
- cacheReadPerM: 0.14,
6329
+ cacheReadPerM: 0.15,
6326
6330
  currency: "USD",
6327
6331
  unit: "per_million_tokens"
6328
6332
  }
@@ -6342,8 +6346,8 @@ var MODELS_BY_PROVIDER = {
6342
6346
  },
6343
6347
  pricing: {
6344
6348
  inputPerM: 0.72,
6345
- outputPerM: 3.5,
6346
- cacheReadPerM: 0.15,
6349
+ outputPerM: 3.49,
6350
+ cacheReadPerM: 0.159,
6347
6351
  currency: "USD",
6348
6352
  unit: "per_million_tokens"
6349
6353
  }
@@ -6613,7 +6617,7 @@ var MODELS_BY_PROVIDER = {
6613
6617
  {
6614
6618
  name: "nvidia/nemotron-3-super-120b-a12b",
6615
6619
  displayName: "Nemotron 3 Super 120B A12B",
6616
- maxInputTokens: 262144,
6620
+ maxInputTokens: 1e6,
6617
6621
  supportedFileTypes: [],
6618
6622
  reasoning: true,
6619
6623
  supportsTemperature: true,
@@ -6633,7 +6637,7 @@ var MODELS_BY_PROVIDER = {
6633
6637
  {
6634
6638
  name: "nvidia/nemotron-3-super-120b-a12b:free",
6635
6639
  displayName: "Nemotron 3 Super (free)",
6636
- maxInputTokens: 262144,
6640
+ maxInputTokens: 1e6,
6637
6641
  supportedFileTypes: [],
6638
6642
  reasoning: true,
6639
6643
  supportsTemperature: true,
@@ -6653,7 +6657,7 @@ var MODELS_BY_PROVIDER = {
6653
6657
  {
6654
6658
  name: "nvidia/nemotron-3-ultra-550b-a55b",
6655
6659
  displayName: "Nemotron 3 Ultra 550B A55B",
6656
- maxInputTokens: 262144,
6660
+ maxInputTokens: 1e6,
6657
6661
  supportedFileTypes: [],
6658
6662
  reasoning: true,
6659
6663
  supportsTemperature: true,
@@ -7660,6 +7664,138 @@ var MODELS_BY_PROVIDER = {
7660
7664
  unit: "per_million_tokens"
7661
7665
  }
7662
7666
  },
7667
+ {
7668
+ name: "openai/gpt-5.6-luna",
7669
+ displayName: "GPT-5.6 Luna",
7670
+ maxInputTokens: 922e3,
7671
+ supportedFileTypes: ["pdf", "image", "document"],
7672
+ reasoning: true,
7673
+ supportsTemperature: false,
7674
+ supportsToolCall: true,
7675
+ releaseDate: "2026-07-09",
7676
+ modalities: {
7677
+ input: ["text", "image", "pdf"],
7678
+ output: ["text"]
7679
+ },
7680
+ pricing: {
7681
+ inputPerM: 1,
7682
+ outputPerM: 6,
7683
+ cacheReadPerM: 0.1,
7684
+ cacheWritePerM: 1.25,
7685
+ currency: "USD",
7686
+ unit: "per_million_tokens"
7687
+ }
7688
+ },
7689
+ {
7690
+ name: "openai/gpt-5.6-luna-pro",
7691
+ displayName: "GPT-5.6 Luna Pro",
7692
+ maxInputTokens: 922e3,
7693
+ supportedFileTypes: ["pdf", "image", "document"],
7694
+ reasoning: true,
7695
+ supportsTemperature: false,
7696
+ supportsToolCall: true,
7697
+ releaseDate: "2026-07-09",
7698
+ modalities: {
7699
+ input: ["text", "image", "pdf"],
7700
+ output: ["text"]
7701
+ },
7702
+ pricing: {
7703
+ inputPerM: 1,
7704
+ outputPerM: 6,
7705
+ cacheReadPerM: 0.1,
7706
+ cacheWritePerM: 1.25,
7707
+ currency: "USD",
7708
+ unit: "per_million_tokens"
7709
+ }
7710
+ },
7711
+ {
7712
+ name: "openai/gpt-5.6-sol",
7713
+ displayName: "GPT-5.6 Sol",
7714
+ maxInputTokens: 922e3,
7715
+ supportedFileTypes: ["pdf", "image", "document"],
7716
+ reasoning: true,
7717
+ supportsTemperature: false,
7718
+ supportsToolCall: true,
7719
+ releaseDate: "2026-07-09",
7720
+ modalities: {
7721
+ input: ["text", "image", "pdf"],
7722
+ output: ["text"]
7723
+ },
7724
+ pricing: {
7725
+ inputPerM: 5,
7726
+ outputPerM: 30,
7727
+ cacheReadPerM: 0.5,
7728
+ cacheWritePerM: 6.25,
7729
+ currency: "USD",
7730
+ unit: "per_million_tokens"
7731
+ }
7732
+ },
7733
+ {
7734
+ name: "openai/gpt-5.6-sol-pro",
7735
+ displayName: "GPT-5.6 Sol Pro",
7736
+ maxInputTokens: 922e3,
7737
+ supportedFileTypes: ["pdf", "image", "document"],
7738
+ reasoning: true,
7739
+ supportsTemperature: false,
7740
+ supportsToolCall: true,
7741
+ releaseDate: "2026-07-09",
7742
+ modalities: {
7743
+ input: ["text", "image", "pdf"],
7744
+ output: ["text"]
7745
+ },
7746
+ pricing: {
7747
+ inputPerM: 5,
7748
+ outputPerM: 30,
7749
+ cacheReadPerM: 0.5,
7750
+ cacheWritePerM: 6.25,
7751
+ currency: "USD",
7752
+ unit: "per_million_tokens"
7753
+ }
7754
+ },
7755
+ {
7756
+ name: "openai/gpt-5.6-terra",
7757
+ displayName: "GPT-5.6 Terra",
7758
+ maxInputTokens: 922e3,
7759
+ supportedFileTypes: ["pdf", "image", "document"],
7760
+ reasoning: true,
7761
+ supportsTemperature: false,
7762
+ supportsToolCall: true,
7763
+ releaseDate: "2026-07-09",
7764
+ modalities: {
7765
+ input: ["text", "image", "pdf"],
7766
+ output: ["text"]
7767
+ },
7768
+ pricing: {
7769
+ inputPerM: 2.5,
7770
+ outputPerM: 15,
7771
+ cacheReadPerM: 0.25,
7772
+ cacheWritePerM: 3.125,
7773
+ currency: "USD",
7774
+ unit: "per_million_tokens"
7775
+ }
7776
+ },
7777
+ {
7778
+ name: "openai/gpt-5.6-terra-pro",
7779
+ displayName: "GPT-5.6 Terra Pro",
7780
+ maxInputTokens: 922e3,
7781
+ supportedFileTypes: ["pdf", "image", "document"],
7782
+ reasoning: true,
7783
+ supportsTemperature: false,
7784
+ supportsToolCall: true,
7785
+ releaseDate: "2026-07-09",
7786
+ modalities: {
7787
+ input: ["text", "image", "pdf"],
7788
+ output: ["text"]
7789
+ },
7790
+ pricing: {
7791
+ inputPerM: 2.5,
7792
+ outputPerM: 15,
7793
+ cacheReadPerM: 0.25,
7794
+ cacheWritePerM: 3.125,
7795
+ currency: "USD",
7796
+ unit: "per_million_tokens"
7797
+ }
7798
+ },
7663
7799
  {
7664
7800
  name: "openai/gpt-audio",
7665
7801
  displayName: "GPT Audio",
@@ -8316,7 +8452,7 @@ var MODELS_BY_PROVIDER = {
8316
8452
  {
8317
8453
  name: "qwen/qwen-2.5-72b-instruct",
8318
8454
  displayName: "Qwen2.5 72B Instruct",
8319
- maxInputTokens: 32768,
8455
+ maxInputTokens: 131072,
8320
8456
  supportedFileTypes: [],
8321
8457
  reasoning: false,
8322
8458
  supportsTemperature: true,
@@ -8336,7 +8472,7 @@ var MODELS_BY_PROVIDER = {
8336
8472
  {
8337
8473
  name: "qwen/qwen-2.5-7b-instruct",
8338
8474
  displayName: "Qwen2.5 7B Instruct",
8339
- maxInputTokens: 32768,
8475
+ maxInputTokens: 131072,
8340
8476
  supportedFileTypes: [],
8341
8477
  reasoning: false,
8342
8478
  supportsTemperature: true,
@@ -8356,7 +8492,7 @@ var MODELS_BY_PROVIDER = {
8356
8492
  {
8357
8493
  name: "qwen/qwen-2.5-coder-32b-instruct",
8358
8494
  displayName: "Qwen2.5 Coder 32B Instruct",
8359
- maxInputTokens: 32768,
8495
+ maxInputTokens: 128e3,
8360
8496
  supportedFileTypes: [],
8361
8497
  reasoning: false,
8362
8498
  supportsTemperature: true,
@@ -8439,7 +8575,7 @@ var MODELS_BY_PROVIDER = {
8439
8575
  {
8440
8576
  name: "qwen/qwen2.5-vl-72b-instruct",
8441
8577
  displayName: "Qwen2.5 VL 72B Instruct",
8442
- maxInputTokens: 128e3,
8578
+ maxInputTokens: 131072,
8443
8579
  supportedFileTypes: ["image"],
8444
8580
  reasoning: false,
8445
8581
  supportsTemperature: true,
@@ -8460,7 +8596,7 @@ var MODELS_BY_PROVIDER = {
8460
8596
  {
8461
8597
  name: "qwen/qwen3-14b",
8462
8598
  displayName: "Qwen3 14B",
8463
- maxInputTokens: 40960,
8599
+ maxInputTokens: 131702,
8464
8600
  supportedFileTypes: [],
8465
8601
  reasoning: true,
8466
8602
  supportsTemperature: true,
@@ -8520,7 +8656,7 @@ var MODELS_BY_PROVIDER = {
8520
8656
  {
8521
8657
  name: "qwen/qwen3-235b-a22b-thinking-2507",
8522
8658
  displayName: "Qwen3 235B A22B Thinking 2507",
8523
- maxInputTokens: 131072,
8659
+ maxInputTokens: 262144,
8524
8660
  supportedFileTypes: [],
8525
8661
  reasoning: true,
8526
8662
  supportsTemperature: true,
@@ -8540,7 +8676,7 @@ var MODELS_BY_PROVIDER = {
8540
8676
  {
8541
8677
  name: "qwen/qwen3-30b-a3b",
8542
8678
  displayName: "Qwen3 30B A3B",
8543
- maxInputTokens: 40960,
8679
+ maxInputTokens: 131072,
8544
8680
  supportedFileTypes: [],
8545
8681
  reasoning: true,
8546
8682
  supportsTemperature: true,
@@ -8560,7 +8696,7 @@ var MODELS_BY_PROVIDER = {
8560
8696
  {
8561
8697
  name: "qwen/qwen3-30b-a3b-instruct-2507",
8562
8698
  displayName: "Qwen3 30B A3B Instruct 2507",
8563
- maxInputTokens: 128e3,
8699
+ maxInputTokens: 131072,
8564
8700
  supportedFileTypes: [],
8565
8701
  reasoning: false,
8566
8702
  supportsTemperature: true,
@@ -8580,7 +8716,7 @@ var MODELS_BY_PROVIDER = {
8580
8716
  {
8581
8717
  name: "qwen/qwen3-30b-a3b-thinking-2507",
8582
8718
  displayName: "Qwen3 30B A3B Thinking 2507",
8583
- maxInputTokens: 81920,
8719
+ maxInputTokens: 131072,
8584
8720
  supportedFileTypes: [],
8585
8721
  reasoning: true,
8586
8722
  supportsTemperature: true,
@@ -8600,7 +8736,7 @@ var MODELS_BY_PROVIDER = {
8600
8736
  {
8601
8737
  name: "qwen/qwen3-32b",
8602
8738
  displayName: "Qwen3 32B",
8603
- maxInputTokens: 40960,
8739
+ maxInputTokens: 131072,
8604
8740
  supportedFileTypes: [],
8605
8741
  reasoning: true,
8606
8742
  supportsTemperature: true,
@@ -8640,7 +8776,7 @@ var MODELS_BY_PROVIDER = {
8640
8776
  {
8641
8777
  name: "qwen/qwen3-coder",
8642
8778
  displayName: "Qwen3 Coder 480B A35B",
8643
- maxInputTokens: 262144,
8779
+ maxInputTokens: 1048576,
8644
8780
  supportedFileTypes: [],
8645
8781
  reasoning: false,
8646
8782
  supportsTemperature: true,
@@ -8745,7 +8881,7 @@ var MODELS_BY_PROVIDER = {
8745
8881
  {
8746
8882
  name: "qwen/qwen3-coder:free",
8747
8883
  displayName: "Qwen3 Coder 480B A35B (free)",
8748
- maxInputTokens: 262e3,
8884
+ maxInputTokens: 1048576,
8749
8885
  supportedFileTypes: [],
8750
8886
  reasoning: false,
8751
8887
  supportsTemperature: true,
@@ -8847,7 +8983,7 @@ var MODELS_BY_PROVIDER = {
8847
8983
  {
8848
8984
  name: "qwen/qwen3-next-80b-a3b-thinking",
8849
8985
  displayName: "Qwen3-Next 80B-A3B (Thinking)",
8850
- maxInputTokens: 131072,
8986
+ maxInputTokens: 262144,
8851
8987
  supportedFileTypes: [],
8852
8988
  reasoning: true,
8853
8989
  supportsTemperature: true,
@@ -8908,7 +9044,7 @@ var MODELS_BY_PROVIDER = {
8908
9044
  {
8909
9045
  name: "qwen/qwen3-vl-30b-a3b-instruct",
8910
9046
  displayName: "Qwen3 VL 30B A3B Instruct",
8911
- maxInputTokens: 131072,
9047
+ maxInputTokens: 262144,
8912
9048
  supportedFileTypes: ["image"],
8913
9049
  reasoning: false,
8914
9050
  supportsTemperature: true,
@@ -8948,7 +9084,7 @@ var MODELS_BY_PROVIDER = {
8948
9084
  {
8949
9085
  name: "qwen/qwen3-vl-32b-instruct",
8950
9086
  displayName: "Qwen3 VL 32B Instruct",
8951
- maxInputTokens: 131072,
9087
+ maxInputTokens: 262144,
8952
9088
  supportedFileTypes: ["image"],
8953
9089
  reasoning: false,
8954
9090
  supportsTemperature: true,
@@ -8968,7 +9104,7 @@ var MODELS_BY_PROVIDER = {
8968
9104
  {
8969
9105
  name: "qwen/qwen3-vl-8b-instruct",
8970
9106
  displayName: "Qwen3 VL 8B Instruct",
8971
- maxInputTokens: 131072,
9107
+ maxInputTokens: 256e3,
8972
9108
  supportedFileTypes: ["image"],
8973
9109
  reasoning: false,
8974
9110
  supportsTemperature: true,
@@ -8988,7 +9124,7 @@ var MODELS_BY_PROVIDER = {
8988
9124
  {
8989
9125
  name: "qwen/qwen3-vl-8b-thinking",
8990
9126
  displayName: "Qwen3 VL 8B Thinking",
8991
- maxInputTokens: 131072,
9127
+ maxInputTokens: 256e3,
8992
9128
  supportedFileTypes: ["image"],
8993
9129
  reasoning: true,
8994
9130
  supportsTemperature: true,
@@ -9069,7 +9205,7 @@ var MODELS_BY_PROVIDER = {
9069
9205
  {
9070
9206
  name: "qwen/qwen3.5-397b-a17b",
9071
9207
  displayName: "Qwen3.5 397B-A17B",
9072
- maxInputTokens: 131072,
9208
+ maxInputTokens: 256e3,
9073
9209
  supportedFileTypes: ["image", "video"],
9074
9210
  reasoning: true,
9075
9211
  supportsTemperature: true,
@@ -9171,7 +9307,7 @@ var MODELS_BY_PROVIDER = {
9171
9307
  {
9172
9308
  name: "qwen/qwen3.6-27b",
9173
9309
  displayName: "Qwen3.6 27B",
9174
- maxInputTokens: 262140,
9310
+ maxInputTokens: 262144,
9175
9311
  supportedFileTypes: ["image", "video"],
9176
9312
  reasoning: true,
9177
9313
  supportsTemperature: true,
@@ -9879,7 +10015,7 @@ var MODELS_BY_PROVIDER = {
9879
10015
  {
9880
10016
  name: "xiaomi/mimo-v2.5",
9881
10017
  displayName: "MiMo-V2.5",
9882
- maxInputTokens: 32e3,
10018
+ maxInputTokens: 1048576,
9883
10019
  supportedFileTypes: ["image", "audio", "video"],
9884
10020
  reasoning: true,
9885
10021
  supportsTemperature: true,
@@ -10134,7 +10270,7 @@ var MODELS_BY_PROVIDER = {
10134
10270
  {
10135
10271
  name: "z-ai/glm-5.1",
10136
10272
  displayName: "GLM-5.1",
10137
- maxInputTokens: 2e5,
10273
+ maxInputTokens: 202752,
10138
10274
  supportedFileTypes: [],
10139
10275
  reasoning: true,
10140
10276
  supportsTemperature: true,
@@ -10159,7 +10295,7 @@ var MODELS_BY_PROVIDER = {
10159
10295
  {
10160
10296
  name: "z-ai/glm-5.2",
10161
10297
  displayName: "GLM-5.2",
10162
- maxInputTokens: 1024e3,
10298
+ maxInputTokens: 1048576,
10163
10299
  supportedFileTypes: [],
10164
10300
  reasoning: true,
10165
10301
  supportsTemperature: true,
@@ -10174,9 +10310,9 @@ var MODELS_BY_PROVIDER = {
10174
10310
  },
10175
10311
  supportsInterleaved: true,
10176
10312
  pricing: {
10177
- inputPerM: 0.546,
10178
- outputPerM: 1.716,
10179
- cacheReadPerM: 0.1014,
10313
+ inputPerM: 0.54,
10314
+ outputPerM: 1.76,
10315
+ cacheReadPerM: 0.1,
10180
10316
  currency: "USD",
10181
10317
  unit: "per_million_tokens"
10182
10318
  }
@@ -13517,9 +13653,9 @@ var MODELS_BY_PROVIDER = {
13517
13653
  output: ["text"]
13518
13654
  },
13519
13655
  pricing: {
13520
- inputPerM: 0.65,
13656
+ inputPerM: 0.66,
13521
13657
  outputPerM: 3.41,
13522
- cacheReadPerM: 0.14,
13658
+ cacheReadPerM: 0.15,
13523
13659
  currency: "USD",
13524
13660
  unit: "per_million_tokens"
13525
13661
  }
@@ -13541,6 +13677,7 @@ var MODELS_BY_PROVIDER = {
13541
13677
  inputPerM: 5,
13542
13678
  outputPerM: 30,
13543
13679
  cacheReadPerM: 0.5,
13680
+ cacheWritePerM: 6.25,
13544
13681
  currency: "USD",
13545
13682
  unit: "per_million_tokens"
13546
13683
  }
@@ -13814,7 +13951,7 @@ var MODELS_BY_PROVIDER = {
13814
13951
  {
13815
13952
  name: "anthracite-org/magnum-v4-72b",
13816
13953
  displayName: "Magnum v4 72B",
13817
- maxInputTokens: 16384,
13954
+ maxInputTokens: 32768,
13818
13955
  supportedFileTypes: [],
13819
13956
  reasoning: false,
13820
13957
  supportsTemperature: true,
@@ -14265,7 +14402,7 @@ var MODELS_BY_PROVIDER = {
14265
14402
  {
14266
14403
  name: "baidu/ernie-4.5-vl-424b-a47b",
14267
14404
  displayName: "ERNIE 4.5 VL 424B A47B ",
14268
- maxInputTokens: 123e3,
14405
+ maxInputTokens: 131072,
14269
14406
  supportedFileTypes: ["image"],
14270
14407
  reasoning: true,
14271
14408
  supportsTemperature: true,
@@ -14383,6 +14520,26 @@ var MODELS_BY_PROVIDER = {
14383
14520
  unit: "per_million_tokens"
14384
14521
  }
14385
14522
  },
14523
+ {
14524
+ name: "cognitivecomputations/dolphin-mistral-24b-venice-edition",
14525
+ displayName: "Uncensored",
14526
+ maxInputTokens: 128e3,
14527
+ supportedFileTypes: [],
14528
+ reasoning: false,
14529
+ supportsTemperature: true,
14530
+ supportsToolCall: false,
14531
+ releaseDate: "2025-07-09",
14532
+ modalities: {
14533
+ input: ["text"],
14534
+ output: ["text"]
14535
+ },
14536
+ pricing: {
14537
+ inputPerM: 0.2,
14538
+ outputPerM: 0.9,
14539
+ currency: "USD",
14540
+ unit: "per_million_tokens"
14541
+ }
14542
+ },
14386
14543
  {
14387
14544
  name: "cognitivecomputations/dolphin-mistral-24b-venice-edition:free",
14388
14545
  displayName: "Uncensored (free)",
@@ -14526,7 +14683,7 @@ var MODELS_BY_PROVIDER = {
14526
14683
  {
14527
14684
  name: "deepseek/deepseek-chat",
14528
14685
  displayName: "DeepSeek Chat",
14529
- maxInputTokens: 128e3,
14686
+ maxInputTokens: 131072,
14530
14687
  supportedFileTypes: [],
14531
14688
  reasoning: false,
14532
14689
  supportsTemperature: true,
@@ -14588,7 +14745,7 @@ var MODELS_BY_PROVIDER = {
14588
14745
  {
14589
14746
  name: "deepseek/deepseek-r1",
14590
14747
  displayName: "DeepSeek-R1",
14591
- maxInputTokens: 64e3,
14748
+ maxInputTokens: 163840,
14592
14749
  supportedFileTypes: [],
14593
14750
  reasoning: true,
14594
14751
  supportsTemperature: true,
@@ -14629,7 +14786,7 @@ var MODELS_BY_PROVIDER = {
14629
14786
  {
14630
14787
  name: "deepseek/deepseek-r1-distill-llama-70b",
14631
14788
  displayName: "R1 Distill Llama 70B",
14632
- maxInputTokens: 8192,
14789
+ maxInputTokens: 128e3,
14633
14790
  supportedFileTypes: [],
14634
14791
  reasoning: true,
14635
14792
  supportsTemperature: true,
@@ -14670,7 +14827,7 @@ var MODELS_BY_PROVIDER = {
14670
14827
  {
14671
14828
  name: "deepseek/deepseek-v3.2",
14672
14829
  displayName: "DeepSeek V3.2",
14673
- maxInputTokens: 128e3,
14830
+ maxInputTokens: 131072,
14674
14831
  supportedFileTypes: [],
14675
14832
  reasoning: true,
14676
14833
  supportsTemperature: true,
@@ -15108,7 +15265,7 @@ var MODELS_BY_PROVIDER = {
15108
15265
  {
15109
15266
  name: "google/gemini-3.1-pro-preview-customtools",
15110
15267
  displayName: "Gemini 3.1 Pro Preview Custom Tools",
15111
- maxInputTokens: 1048576,
15268
+ maxInputTokens: 1048756,
15112
15269
  supportedFileTypes: ["pdf", "image", "audio", "video", "document"],
15113
15270
  reasoning: true,
15114
15271
  supportsTemperature: true,
@@ -15282,7 +15439,7 @@ var MODELS_BY_PROVIDER = {
15282
15439
  {
15283
15440
  name: "google/gemma-4-26b-a4b-it:free",
15284
15441
  displayName: "Gemma 4 26B A4B (free)",
15285
- maxInputTokens: 131072,
15442
+ maxInputTokens: 262144,
15286
15443
  supportedFileTypes: ["image", "video", "document"],
15287
15444
  reasoning: true,
15288
15445
  supportsTemperature: true,
@@ -15729,7 +15886,7 @@ var MODELS_BY_PROVIDER = {
15729
15886
  {
15730
15887
  name: "meta-llama/llama-3.2-1b-instruct",
15731
15888
  displayName: "Llama 3.2 1B Instruct",
15732
- maxInputTokens: 6e4,
15889
+ maxInputTokens: 131072,
15733
15890
  supportedFileTypes: [],
15734
15891
  reasoning: false,
15735
15892
  supportsTemperature: true,
@@ -15809,7 +15966,7 @@ var MODELS_BY_PROVIDER = {
15809
15966
  {
15810
15967
  name: "meta-llama/llama-3.3-70b-instruct:free",
15811
15968
  displayName: "Llama 3.3 70B Instruct (free)",
15812
- maxInputTokens: 65536,
15969
+ maxInputTokens: 131072,
15813
15970
  supportedFileTypes: [],
15814
15971
  reasoning: false,
15815
15972
  supportsTemperature: true,
@@ -15849,7 +16006,7 @@ var MODELS_BY_PROVIDER = {
15849
16006
  {
15850
16007
  name: "meta-llama/llama-4-scout",
15851
16008
  displayName: "Llama 4 Scout",
15852
- maxInputTokens: 327680,
16009
+ maxInputTokens: 1e7,
15853
16010
  supportedFileTypes: ["image"],
15854
16011
  reasoning: false,
15855
16012
  supportsTemperature: true,
@@ -15909,7 +16066,7 @@ var MODELS_BY_PROVIDER = {
15909
16066
  {
15910
16067
  name: "microsoft/wizardlm-2-8x22b",
15911
16068
  displayName: "WizardLM-2 8x22B",
15912
- maxInputTokens: 65535,
16069
+ maxInputTokens: 65536,
15913
16070
  supportedFileTypes: [],
15914
16071
  reasoning: false,
15915
16072
  supportsTemperature: true,
@@ -16039,7 +16196,7 @@ var MODELS_BY_PROVIDER = {
16039
16196
  {
16040
16197
  name: "minimax/minimax-m2.5",
16041
16198
  displayName: "MiniMax-M2.5",
16042
- maxInputTokens: 196608,
16199
+ maxInputTokens: 204800,
16043
16200
  supportedFileTypes: [],
16044
16201
  reasoning: true,
16045
16202
  supportsTemperature: true,
@@ -16064,7 +16221,7 @@ var MODELS_BY_PROVIDER = {
16064
16221
  {
16065
16222
  name: "minimax/minimax-m2.7",
16066
16223
  displayName: "MiniMax-M2.7",
16067
- maxInputTokens: 196608,
16224
+ maxInputTokens: 204800,
16068
16225
  supportedFileTypes: [],
16069
16226
  reasoning: true,
16070
16227
  supportsTemperature: true,
@@ -16084,7 +16241,7 @@ var MODELS_BY_PROVIDER = {
16084
16241
  {
16085
16242
  name: "minimax/minimax-m3",
16086
16243
  displayName: "MiniMax-M3",
16087
- maxInputTokens: 524288,
16244
+ maxInputTokens: 1048576,
16088
16245
  supportedFileTypes: ["image", "video"],
16089
16246
  reasoning: true,
16090
16247
  supportsTemperature: true,
@@ -16565,7 +16722,7 @@ var MODELS_BY_PROVIDER = {
16565
16722
  {
16566
16723
  name: "moonshotai/kimi-k2.5",
16567
16724
  displayName: "Kimi K2.5",
16568
- maxInputTokens: 256e3,
16725
+ maxInputTokens: 262144,
16569
16726
  supportedFileTypes: ["image"],
16570
16727
  reasoning: true,
16571
16728
  supportsTemperature: true,
@@ -16605,9 +16762,9 @@ var MODELS_BY_PROVIDER = {
16605
16762
  },
16606
16763
  supportsInterleaved: true,
16607
16764
  pricing: {
16608
- inputPerM: 0.65,
16765
+ inputPerM: 0.66,
16609
16766
  outputPerM: 3.41,
16610
- cacheReadPerM: 0.14,
16767
+ cacheReadPerM: 0.15,
16611
16768
  currency: "USD",
16612
16769
  unit: "per_million_tokens"
16613
16770
  }
@@ -16627,8 +16784,8 @@ var MODELS_BY_PROVIDER = {
16627
16784
  },
16628
16785
  pricing: {
16629
16786
  inputPerM: 0.72,
16630
- outputPerM: 3.5,
16631
- cacheReadPerM: 0.15,
16787
+ outputPerM: 3.49,
16788
+ cacheReadPerM: 0.159,
16632
16789
  currency: "USD",
16633
16790
  unit: "per_million_tokens"
16634
16791
  }
@@ -16898,7 +17055,7 @@ var MODELS_BY_PROVIDER = {
16898
17055
  {
16899
17056
  name: "nvidia/nemotron-3-super-120b-a12b",
16900
17057
  displayName: "Nemotron 3 Super 120B A12B",
16901
- maxInputTokens: 262144,
17058
+ maxInputTokens: 1e6,
16902
17059
  supportedFileTypes: [],
16903
17060
  reasoning: true,
16904
17061
  supportsTemperature: true,
@@ -16918,7 +17075,7 @@ var MODELS_BY_PROVIDER = {
16918
17075
  {
16919
17076
  name: "nvidia/nemotron-3-super-120b-a12b:free",
16920
17077
  displayName: "Nemotron 3 Super (free)",
16921
- maxInputTokens: 262144,
17078
+ maxInputTokens: 1e6,
16922
17079
  supportedFileTypes: [],
16923
17080
  reasoning: true,
16924
17081
  supportsTemperature: true,
@@ -16938,7 +17095,7 @@ var MODELS_BY_PROVIDER = {
16938
17095
  {
16939
17096
  name: "nvidia/nemotron-3-ultra-550b-a55b",
16940
17097
  displayName: "Nemotron 3 Ultra 550B A55B",
16941
- maxInputTokens: 262144,
17098
+ maxInputTokens: 1e6,
16942
17099
  supportedFileTypes: [],
16943
17100
  reasoning: true,
16944
17101
  supportsTemperature: true,
@@ -17945,6 +18102,138 @@ var MODELS_BY_PROVIDER = {
17945
18102
  unit: "per_million_tokens"
17946
18103
  }
17947
18104
  },
18105
+ {
18106
+ name: "openai/gpt-5.6-luna",
18107
+ displayName: "GPT-5.6 Luna",
18108
+ maxInputTokens: 922e3,
18109
+ supportedFileTypes: ["pdf", "image", "document"],
18110
+ reasoning: true,
18111
+ supportsTemperature: false,
18112
+ supportsToolCall: true,
18113
+ releaseDate: "2026-07-09",
18114
+ modalities: {
18115
+ input: ["text", "image", "pdf"],
18116
+ output: ["text"]
18117
+ },
18118
+ pricing: {
18119
+ inputPerM: 1,
18120
+ outputPerM: 6,
18121
+ cacheReadPerM: 0.1,
18122
+ cacheWritePerM: 1.25,
18123
+ currency: "USD",
18124
+ unit: "per_million_tokens"
18125
+ }
18126
+ },
18127
+ {
18128
+ name: "openai/gpt-5.6-luna-pro",
18129
+ displayName: "GPT-5.6 Luna Pro",
18130
+ maxInputTokens: 922e3,
18131
+ supportedFileTypes: ["pdf", "image", "document"],
18132
+ reasoning: true,
18133
+ supportsTemperature: false,
18134
+ supportsToolCall: true,
18135
+ releaseDate: "2026-07-09",
18136
+ modalities: {
18137
+ input: ["text", "image", "pdf"],
18138
+ output: ["text"]
18139
+ },
18140
+ pricing: {
18141
+ inputPerM: 1,
18142
+ outputPerM: 6,
18143
+ cacheReadPerM: 0.1,
18144
+ cacheWritePerM: 1.25,
18145
+ currency: "USD",
18146
+ unit: "per_million_tokens"
18147
+ }
18148
+ },
18149
+ {
18150
+ name: "openai/gpt-5.6-sol",
18151
+ displayName: "GPT-5.6 Sol",
18152
+ maxInputTokens: 922e3,
18153
+ supportedFileTypes: ["pdf", "image", "document"],
18154
+ reasoning: true,
18155
+ supportsTemperature: false,
18156
+ supportsToolCall: true,
18157
+ releaseDate: "2026-07-09",
18158
+ modalities: {
18159
+ input: ["text", "image", "pdf"],
18160
+ output: ["text"]
18161
+ },
18162
+ pricing: {
18163
+ inputPerM: 5,
18164
+ outputPerM: 30,
18165
+ cacheReadPerM: 0.5,
18166
+ cacheWritePerM: 6.25,
18167
+ currency: "USD",
18168
+ unit: "per_million_tokens"
18169
+ }
18170
+ },
18171
+ {
18172
+ name: "openai/gpt-5.6-sol-pro",
18173
+ displayName: "GPT-5.6 Sol Pro",
18174
+ maxInputTokens: 922e3,
18175
+ supportedFileTypes: ["pdf", "image", "document"],
18176
+ reasoning: true,
18177
+ supportsTemperature: false,
18178
+ supportsToolCall: true,
18179
+ releaseDate: "2026-07-09",
18180
+ modalities: {
18181
+ input: ["text", "image", "pdf"],
18182
+ output: ["text"]
18183
+ },
18184
+ pricing: {
18185
+ inputPerM: 5,
18186
+ outputPerM: 30,
18187
+ cacheReadPerM: 0.5,
18188
+ cacheWritePerM: 6.25,
18189
+ currency: "USD",
18190
+ unit: "per_million_tokens"
18191
+ }
18192
+ },
18193
+ {
18194
+ name: "openai/gpt-5.6-terra",
18195
+ displayName: "GPT-5.6 Terra",
18196
+ maxInputTokens: 922e3,
18197
+ supportedFileTypes: ["pdf", "image", "document"],
18198
+ reasoning: true,
18199
+ supportsTemperature: false,
18200
+ supportsToolCall: true,
18201
+ releaseDate: "2026-07-09",
18202
+ modalities: {
18203
+ input: ["text", "image", "pdf"],
18204
+ output: ["text"]
18205
+ },
18206
+ pricing: {
18207
+ inputPerM: 2.5,
18208
+ outputPerM: 15,
18209
+ cacheReadPerM: 0.25,
18210
+ cacheWritePerM: 3.125,
18211
+ currency: "USD",
18212
+ unit: "per_million_tokens"
18213
+ }
18214
+ },
18215
+ {
18216
+ name: "openai/gpt-5.6-terra-pro",
18217
+ displayName: "GPT-5.6 Terra Pro",
18218
+ maxInputTokens: 922e3,
18219
+ supportedFileTypes: ["pdf", "image", "document"],
18220
+ reasoning: true,
18221
+ supportsTemperature: false,
18222
+ supportsToolCall: true,
18223
+ releaseDate: "2026-07-09",
18224
+ modalities: {
18225
+ input: ["text", "image", "pdf"],
18226
+ output: ["text"]
18227
+ },
18228
+ pricing: {
18229
+ inputPerM: 2.5,
18230
+ outputPerM: 15,
18231
+ cacheReadPerM: 0.25,
18232
+ cacheWritePerM: 3.125,
18233
+ currency: "USD",
18234
+ unit: "per_million_tokens"
18235
+ }
18236
+ },
17948
18237
  {
17949
18238
  name: "openai/gpt-audio",
17950
18239
  displayName: "GPT Audio",
@@ -18601,7 +18890,7 @@ var MODELS_BY_PROVIDER = {
18601
18890
  {
18602
18891
  name: "qwen/qwen-2.5-72b-instruct",
18603
18892
  displayName: "Qwen2.5 72B Instruct",
18604
- maxInputTokens: 32768,
18893
+ maxInputTokens: 131072,
18605
18894
  supportedFileTypes: [],
18606
18895
  reasoning: false,
18607
18896
  supportsTemperature: true,
@@ -18621,7 +18910,7 @@ var MODELS_BY_PROVIDER = {
18621
18910
  {
18622
18911
  name: "qwen/qwen-2.5-7b-instruct",
18623
18912
  displayName: "Qwen2.5 7B Instruct",
18624
- maxInputTokens: 32768,
18913
+ maxInputTokens: 131072,
18625
18914
  supportedFileTypes: [],
18626
18915
  reasoning: false,
18627
18916
  supportsTemperature: true,
@@ -18641,7 +18930,7 @@ var MODELS_BY_PROVIDER = {
18641
18930
  {
18642
18931
  name: "qwen/qwen-2.5-coder-32b-instruct",
18643
18932
  displayName: "Qwen2.5 Coder 32B Instruct",
18644
- maxInputTokens: 32768,
18933
+ maxInputTokens: 128e3,
18645
18934
  supportedFileTypes: [],
18646
18935
  reasoning: false,
18647
18936
  supportsTemperature: true,
@@ -18724,7 +19013,7 @@ var MODELS_BY_PROVIDER = {
18724
19013
  {
18725
19014
  name: "qwen/qwen2.5-vl-72b-instruct",
18726
19015
  displayName: "Qwen2.5 VL 72B Instruct",
18727
- maxInputTokens: 128e3,
19016
+ maxInputTokens: 131072,
18728
19017
  supportedFileTypes: ["image"],
18729
19018
  reasoning: false,
18730
19019
  supportsTemperature: true,
@@ -18745,7 +19034,7 @@ var MODELS_BY_PROVIDER = {
18745
19034
  {
18746
19035
  name: "qwen/qwen3-14b",
18747
19036
  displayName: "Qwen3 14B",
18748
- maxInputTokens: 40960,
19037
+ maxInputTokens: 131702,
18749
19038
  supportedFileTypes: [],
18750
19039
  reasoning: true,
18751
19040
  supportsTemperature: true,
@@ -18805,7 +19094,7 @@ var MODELS_BY_PROVIDER = {
18805
19094
  {
18806
19095
  name: "qwen/qwen3-235b-a22b-thinking-2507",
18807
19096
  displayName: "Qwen3 235B A22B Thinking 2507",
18808
- maxInputTokens: 131072,
19097
+ maxInputTokens: 262144,
18809
19098
  supportedFileTypes: [],
18810
19099
  reasoning: true,
18811
19100
  supportsTemperature: true,
@@ -18825,7 +19114,7 @@ var MODELS_BY_PROVIDER = {
18825
19114
  {
18826
19115
  name: "qwen/qwen3-30b-a3b",
18827
19116
  displayName: "Qwen3 30B A3B",
18828
- maxInputTokens: 40960,
19117
+ maxInputTokens: 131072,
18829
19118
  supportedFileTypes: [],
18830
19119
  reasoning: true,
18831
19120
  supportsTemperature: true,
@@ -18845,7 +19134,7 @@ var MODELS_BY_PROVIDER = {
18845
19134
  {
18846
19135
  name: "qwen/qwen3-30b-a3b-instruct-2507",
18847
19136
  displayName: "Qwen3 30B A3B Instruct 2507",
18848
- maxInputTokens: 128e3,
19137
+ maxInputTokens: 131072,
18849
19138
  supportedFileTypes: [],
18850
19139
  reasoning: false,
18851
19140
  supportsTemperature: true,
@@ -18865,7 +19154,7 @@ var MODELS_BY_PROVIDER = {
18865
19154
  {
18866
19155
  name: "qwen/qwen3-30b-a3b-thinking-2507",
18867
19156
  displayName: "Qwen3 30B A3B Thinking 2507",
18868
- maxInputTokens: 81920,
19157
+ maxInputTokens: 131072,
18869
19158
  supportedFileTypes: [],
18870
19159
  reasoning: true,
18871
19160
  supportsTemperature: true,
@@ -18885,7 +19174,7 @@ var MODELS_BY_PROVIDER = {
18885
19174
  {
18886
19175
  name: "qwen/qwen3-32b",
18887
19176
  displayName: "Qwen3 32B",
18888
- maxInputTokens: 40960,
19177
+ maxInputTokens: 131072,
18889
19178
  supportedFileTypes: [],
18890
19179
  reasoning: true,
18891
19180
  supportsTemperature: true,
@@ -18925,7 +19214,7 @@ var MODELS_BY_PROVIDER = {
18925
19214
  {
18926
19215
  name: "qwen/qwen3-coder",
18927
19216
  displayName: "Qwen3 Coder 480B A35B",
18928
- maxInputTokens: 262144,
19217
+ maxInputTokens: 1048576,
18929
19218
  supportedFileTypes: [],
18930
19219
  reasoning: false,
18931
19220
  supportsTemperature: true,
@@ -19030,7 +19319,7 @@ var MODELS_BY_PROVIDER = {
19030
19319
  {
19031
19320
  name: "qwen/qwen3-coder:free",
19032
19321
  displayName: "Qwen3 Coder 480B A35B (free)",
19033
- maxInputTokens: 262e3,
19322
+ maxInputTokens: 1048576,
19034
19323
  supportedFileTypes: [],
19035
19324
  reasoning: false,
19036
19325
  supportsTemperature: true,
@@ -19132,7 +19421,7 @@ var MODELS_BY_PROVIDER = {
19132
19421
  {
19133
19422
  name: "qwen/qwen3-next-80b-a3b-thinking",
19134
19423
  displayName: "Qwen3-Next 80B-A3B (Thinking)",
19135
- maxInputTokens: 131072,
19424
+ maxInputTokens: 262144,
19136
19425
  supportedFileTypes: [],
19137
19426
  reasoning: true,
19138
19427
  supportsTemperature: true,
@@ -19193,7 +19482,7 @@ var MODELS_BY_PROVIDER = {
19193
19482
  {
19194
19483
  name: "qwen/qwen3-vl-30b-a3b-instruct",
19195
19484
  displayName: "Qwen3 VL 30B A3B Instruct",
19196
- maxInputTokens: 131072,
19485
+ maxInputTokens: 262144,
19197
19486
  supportedFileTypes: ["image"],
19198
19487
  reasoning: false,
19199
19488
  supportsTemperature: true,
@@ -19233,7 +19522,7 @@ var MODELS_BY_PROVIDER = {
19233
19522
  {
19234
19523
  name: "qwen/qwen3-vl-32b-instruct",
19235
19524
  displayName: "Qwen3 VL 32B Instruct",
19236
- maxInputTokens: 131072,
19525
+ maxInputTokens: 262144,
19237
19526
  supportedFileTypes: ["image"],
19238
19527
  reasoning: false,
19239
19528
  supportsTemperature: true,
@@ -19253,7 +19542,7 @@ var MODELS_BY_PROVIDER = {
19253
19542
  {
19254
19543
  name: "qwen/qwen3-vl-8b-instruct",
19255
19544
  displayName: "Qwen3 VL 8B Instruct",
19256
- maxInputTokens: 131072,
19545
+ maxInputTokens: 256e3,
19257
19546
  supportedFileTypes: ["image"],
19258
19547
  reasoning: false,
19259
19548
  supportsTemperature: true,
@@ -19273,7 +19562,7 @@ var MODELS_BY_PROVIDER = {
19273
19562
  {
19274
19563
  name: "qwen/qwen3-vl-8b-thinking",
19275
19564
  displayName: "Qwen3 VL 8B Thinking",
19276
- maxInputTokens: 131072,
19565
+ maxInputTokens: 256e3,
19277
19566
  supportedFileTypes: ["image"],
19278
19567
  reasoning: true,
19279
19568
  supportsTemperature: true,
@@ -19354,7 +19643,7 @@ var MODELS_BY_PROVIDER = {
19354
19643
  {
19355
19644
  name: "qwen/qwen3.5-397b-a17b",
19356
19645
  displayName: "Qwen3.5 397B-A17B",
19357
- maxInputTokens: 131072,
19646
+ maxInputTokens: 256e3,
19358
19647
  supportedFileTypes: ["image", "video"],
19359
19648
  reasoning: true,
19360
19649
  supportsTemperature: true,
@@ -19456,7 +19745,7 @@ var MODELS_BY_PROVIDER = {
19456
19745
  {
19457
19746
  name: "qwen/qwen3.6-27b",
19458
19747
  displayName: "Qwen3.6 27B",
19459
- maxInputTokens: 262140,
19748
+ maxInputTokens: 262144,
19460
19749
  supportedFileTypes: ["image", "video"],
19461
19750
  reasoning: true,
19462
19751
  supportsTemperature: true,
@@ -20164,7 +20453,7 @@ var MODELS_BY_PROVIDER = {
20164
20453
  {
20165
20454
  name: "xiaomi/mimo-v2.5",
20166
20455
  displayName: "MiMo-V2.5",
20167
- maxInputTokens: 32e3,
20456
+ maxInputTokens: 1048576,
20168
20457
  supportedFileTypes: ["image", "audio", "video"],
20169
20458
  reasoning: true,
20170
20459
  supportsTemperature: true,
@@ -20419,7 +20708,7 @@ var MODELS_BY_PROVIDER = {
20419
20708
  {
20420
20709
  name: "z-ai/glm-5.1",
20421
20710
  displayName: "GLM-5.1",
20422
- maxInputTokens: 2e5,
20711
+ maxInputTokens: 202752,
20423
20712
  supportedFileTypes: [],
20424
20713
  reasoning: true,
20425
20714
  supportsTemperature: true,
@@ -20444,7 +20733,7 @@ var MODELS_BY_PROVIDER = {
20444
20733
  {
20445
20734
  name: "z-ai/glm-5.2",
20446
20735
  displayName: "GLM-5.2",
20447
- maxInputTokens: 1024e3,
20736
+ maxInputTokens: 1048576,
20448
20737
  supportedFileTypes: [],
20449
20738
  reasoning: true,
20450
20739
  supportsTemperature: true,
@@ -20459,9 +20748,9 @@ var MODELS_BY_PROVIDER = {
20459
20748
  },
20460
20749
  supportsInterleaved: true,
20461
20750
  pricing: {
20462
- inputPerM: 0.546,
20463
- outputPerM: 1.716,
20464
- cacheReadPerM: 0.1014,
20751
+ inputPerM: 0.54,
20752
+ outputPerM: 1.76,
20753
+ cacheReadPerM: 0.1,
20465
20754
  currency: "USD",
20466
20755
  unit: "per_million_tokens"
20467
20756
  }
@@ -21321,11 +21610,18 @@ function calculateCost(usage, pricing) {
21321
21610
  return calculateCostBreakdown(usage, pricing).totalUsd;
21322
21611
  }
21323
21612
  function calculateCostBreakdown(usage, pricing) {
21324
- const inputUsd = (usage.inputTokens ?? 0) * pricing.inputPerM / 1e6;
21325
- const outputUsd = (usage.outputTokens ?? 0) * pricing.outputPerM / 1e6;
21326
- const cacheReadUsd = (usage.cacheReadTokens ?? 0) * (pricing.cacheReadPerM ?? 0) / 1e6;
21327
- const cacheWriteUsd = (usage.cacheWriteTokens ?? 0) * (pricing.cacheWritePerM ?? 0) / 1e6;
21328
- const reasoningUsd = (usage.reasoningTokens ?? 0) * (pricing.reasoningPerM ?? pricing.outputPerM) / 1e6;
21613
+ const longContextPricing = pricing.contextOver200kPerM;
21614
+ const totalInputTokens = (usage.inputTokens ?? 0) + (usage.cacheReadTokens ?? 0) + (usage.cacheWriteTokens ?? 0);
21615
+ const useLongContextPricing = longContextPricing !== void 0 && totalInputTokens > (longContextPricing.inputTokensAbove ?? 2e5);
21616
+ const inputPerM = useLongContextPricing ? longContextPricing.inputPerM : pricing.inputPerM;
21617
+ const outputPerM = useLongContextPricing ? longContextPricing.outputPerM : pricing.outputPerM;
21618
+ const cacheReadPerM = useLongContextPricing ? longContextPricing.cacheReadPerM ?? pricing.cacheReadPerM : pricing.cacheReadPerM;
21619
+ const cacheWritePerM = useLongContextPricing ? longContextPricing.cacheWritePerM ?? pricing.cacheWritePerM : pricing.cacheWritePerM;
21620
+ const inputUsd = (usage.inputTokens ?? 0) * inputPerM / 1e6;
21621
+ const outputUsd = (usage.outputTokens ?? 0) * outputPerM / 1e6;
21622
+ const cacheReadUsd = (usage.cacheReadTokens ?? 0) * (cacheReadPerM ?? 0) / 1e6;
21623
+ const cacheWriteUsd = (usage.cacheWriteTokens ?? 0) * (cacheWritePerM ?? 0) / 1e6;
21624
+ const reasoningUsd = (usage.reasoningTokens ?? 0) * (pricing.reasoningPerM ?? outputPerM) / 1e6;
21329
21625
  return {
21330
21626
  inputUsd,
21331
21627
  outputUsd,
@@ -21413,6 +21709,12 @@ function getSupportedOpenAIReasoningEfforts(model) {
21413
21709
  if (isVersionedGpt5Pro(id)) {
21414
21710
  return ["medium", "high", "xhigh"];
21415
21711
  }
21712
+ if (id === "gpt-5.6-sol" || id === "gpt-5.6-terra") {
21713
+ return ["low", "medium", "high", "xhigh", "max", "ultra"];
21714
+ }
21715
+ if (id === "gpt-5.6-luna") {
21716
+ return ["low", "medium", "high", "xhigh", "max"];
21717
+ }
21416
21718
  if (version !== void 0 && version >= 2) {
21417
21719
  return ["none", "low", "medium", "high", "xhigh"];
21418
21720
  }
@@ -21445,17 +21747,21 @@ function isGpt5Chat(id) {
21445
21747
  function getFallbackOrder(requested) {
21446
21748
  switch (requested) {
21447
21749
  case "none":
21448
- return ["none", "minimal", "low", "medium", "high", "xhigh"];
21750
+ return ["none", "minimal", "low", "medium", "high", "xhigh", "max", "ultra"];
21449
21751
  case "minimal":
21450
- return ["minimal", "low", "medium", "high", "xhigh"];
21752
+ return ["minimal", "low", "medium", "high", "xhigh", "max", "ultra"];
21451
21753
  case "low":
21452
- return ["low", "medium", "high", "xhigh"];
21754
+ return ["low", "medium", "high", "xhigh", "max", "ultra"];
21453
21755
  case "medium":
21454
- return ["medium", "high", "xhigh"];
21756
+ return ["medium", "high", "xhigh", "max", "ultra"];
21455
21757
  case "high":
21456
- return ["high", "xhigh"];
21758
+ return ["high", "xhigh", "max", "ultra"];
21457
21759
  case "xhigh":
21458
- return ["xhigh", "high", "medium", "low", "minimal", "none"];
21760
+ return ["xhigh", "max", "ultra", "high", "medium", "low", "minimal", "none"];
21761
+ case "max":
21762
+ return ["max", "ultra", "xhigh", "high", "medium", "low", "minimal", "none"];
21763
+ case "ultra":
21764
+ return ["ultra", "max", "xhigh", "high", "medium", "low", "minimal", "none"];
21459
21765
  }
21460
21766
  }
21461
21767
  function coerceOpenAIReasoningEffort(model, requested) {