@dexto/llm 1.9.5 → 1.9.7

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.js CHANGED
@@ -772,36 +772,10 @@ var MODELS_BY_PROVIDER = {
772
772
  unit: "per_million_tokens"
773
773
  }
774
774
  },
775
- {
776
- name: "gpt-5.6",
777
- displayName: "GPT-5.6 Sol",
778
- maxInputTokens: 922e3,
779
- supportedFileTypes: ["pdf", "image", "document"],
780
- reasoning: true,
781
- supportsTemperature: false,
782
- supportsToolCall: true,
783
- releaseDate: "2026-07-09",
784
- modalities: {
785
- input: ["text", "image", "pdf"],
786
- output: ["text"]
787
- },
788
- pricing: {
789
- inputPerM: 5,
790
- outputPerM: 30,
791
- cacheReadPerM: 0.5,
792
- cacheWritePerM: 6.25,
793
- contextOver200kPerM: {
794
- inputPerM: 10,
795
- outputPerM: 45
796
- },
797
- currency: "USD",
798
- unit: "per_million_tokens"
799
- }
800
- },
801
775
  {
802
776
  name: "gpt-5.6-luna",
803
777
  displayName: "GPT-5.6 Luna",
804
- maxInputTokens: 922e3,
778
+ maxInputTokens: 272e3,
805
779
  supportedFileTypes: ["pdf", "image", "document"],
806
780
  reasoning: true,
807
781
  supportsTemperature: false,
@@ -817,6 +791,9 @@ var MODELS_BY_PROVIDER = {
817
791
  cacheReadPerM: 0.1,
818
792
  cacheWritePerM: 1.25,
819
793
  contextOver200kPerM: {
794
+ inputTokensAbove: 272e3,
795
+ cacheReadPerM: 0.2,
796
+ cacheWritePerM: 2.5,
820
797
  inputPerM: 2,
821
798
  outputPerM: 9
822
799
  },
@@ -827,7 +804,7 @@ var MODELS_BY_PROVIDER = {
827
804
  {
828
805
  name: "gpt-5.6-sol",
829
806
  displayName: "GPT-5.6 Sol",
830
- maxInputTokens: 922e3,
807
+ maxInputTokens: 272e3,
831
808
  supportedFileTypes: ["pdf", "image", "document"],
832
809
  reasoning: true,
833
810
  supportsTemperature: false,
@@ -843,6 +820,9 @@ var MODELS_BY_PROVIDER = {
843
820
  cacheReadPerM: 0.5,
844
821
  cacheWritePerM: 6.25,
845
822
  contextOver200kPerM: {
823
+ inputTokensAbove: 272e3,
824
+ cacheReadPerM: 1,
825
+ cacheWritePerM: 12.5,
846
826
  inputPerM: 10,
847
827
  outputPerM: 45
848
828
  },
@@ -853,7 +833,7 @@ var MODELS_BY_PROVIDER = {
853
833
  {
854
834
  name: "gpt-5.6-terra",
855
835
  displayName: "GPT-5.6 Terra",
856
- maxInputTokens: 922e3,
836
+ maxInputTokens: 272e3,
857
837
  supportedFileTypes: ["pdf", "image", "document"],
858
838
  reasoning: true,
859
839
  supportsTemperature: false,
@@ -869,6 +849,9 @@ var MODELS_BY_PROVIDER = {
869
849
  cacheReadPerM: 0.25,
870
850
  cacheWritePerM: 3.125,
871
851
  contextOver200kPerM: {
852
+ inputTokensAbove: 272e3,
853
+ cacheReadPerM: 0.5,
854
+ cacheWritePerM: 6.25,
872
855
  inputPerM: 5,
873
856
  outputPerM: 22.5
874
857
  },
@@ -3147,9 +3130,9 @@ var MODELS_BY_PROVIDER = {
3147
3130
  output: ["text"]
3148
3131
  },
3149
3132
  pricing: {
3150
- inputPerM: 0.65,
3133
+ inputPerM: 0.66,
3151
3134
  outputPerM: 3.41,
3152
- cacheReadPerM: 0.14,
3135
+ cacheReadPerM: 0.15,
3153
3136
  currency: "USD",
3154
3137
  unit: "per_million_tokens"
3155
3138
  }
@@ -3171,6 +3154,7 @@ var MODELS_BY_PROVIDER = {
3171
3154
  inputPerM: 5,
3172
3155
  outputPerM: 30,
3173
3156
  cacheReadPerM: 0.5,
3157
+ cacheWritePerM: 6.25,
3174
3158
  currency: "USD",
3175
3159
  unit: "per_million_tokens"
3176
3160
  }
@@ -3444,7 +3428,7 @@ var MODELS_BY_PROVIDER = {
3444
3428
  {
3445
3429
  name: "anthracite-org/magnum-v4-72b",
3446
3430
  displayName: "Magnum v4 72B",
3447
- maxInputTokens: 16384,
3431
+ maxInputTokens: 32768,
3448
3432
  supportedFileTypes: [],
3449
3433
  reasoning: false,
3450
3434
  supportsTemperature: true,
@@ -3895,7 +3879,7 @@ var MODELS_BY_PROVIDER = {
3895
3879
  {
3896
3880
  name: "baidu/ernie-4.5-vl-424b-a47b",
3897
3881
  displayName: "ERNIE 4.5 VL 424B A47B ",
3898
- maxInputTokens: 123e3,
3882
+ maxInputTokens: 131072,
3899
3883
  supportedFileTypes: ["image"],
3900
3884
  reasoning: true,
3901
3885
  supportsTemperature: true,
@@ -4013,6 +3997,26 @@ var MODELS_BY_PROVIDER = {
4013
3997
  unit: "per_million_tokens"
4014
3998
  }
4015
3999
  },
4000
+ {
4001
+ name: "cognitivecomputations/dolphin-mistral-24b-venice-edition",
4002
+ displayName: "Uncensored",
4003
+ maxInputTokens: 128e3,
4004
+ supportedFileTypes: [],
4005
+ reasoning: false,
4006
+ supportsTemperature: true,
4007
+ supportsToolCall: false,
4008
+ releaseDate: "2025-07-09",
4009
+ modalities: {
4010
+ input: ["text"],
4011
+ output: ["text"]
4012
+ },
4013
+ pricing: {
4014
+ inputPerM: 0.2,
4015
+ outputPerM: 0.9,
4016
+ currency: "USD",
4017
+ unit: "per_million_tokens"
4018
+ }
4019
+ },
4016
4020
  {
4017
4021
  name: "cognitivecomputations/dolphin-mistral-24b-venice-edition:free",
4018
4022
  displayName: "Uncensored (free)",
@@ -4156,7 +4160,7 @@ var MODELS_BY_PROVIDER = {
4156
4160
  {
4157
4161
  name: "deepseek/deepseek-chat",
4158
4162
  displayName: "DeepSeek Chat",
4159
- maxInputTokens: 128e3,
4163
+ maxInputTokens: 131072,
4160
4164
  supportedFileTypes: [],
4161
4165
  reasoning: false,
4162
4166
  supportsTemperature: true,
@@ -4218,7 +4222,7 @@ var MODELS_BY_PROVIDER = {
4218
4222
  {
4219
4223
  name: "deepseek/deepseek-r1",
4220
4224
  displayName: "DeepSeek-R1",
4221
- maxInputTokens: 64e3,
4225
+ maxInputTokens: 163840,
4222
4226
  supportedFileTypes: [],
4223
4227
  reasoning: true,
4224
4228
  supportsTemperature: true,
@@ -4259,7 +4263,7 @@ var MODELS_BY_PROVIDER = {
4259
4263
  {
4260
4264
  name: "deepseek/deepseek-r1-distill-llama-70b",
4261
4265
  displayName: "R1 Distill Llama 70B",
4262
- maxInputTokens: 8192,
4266
+ maxInputTokens: 128e3,
4263
4267
  supportedFileTypes: [],
4264
4268
  reasoning: true,
4265
4269
  supportsTemperature: true,
@@ -4300,7 +4304,7 @@ var MODELS_BY_PROVIDER = {
4300
4304
  {
4301
4305
  name: "deepseek/deepseek-v3.2",
4302
4306
  displayName: "DeepSeek V3.2",
4303
- maxInputTokens: 128e3,
4307
+ maxInputTokens: 131072,
4304
4308
  supportedFileTypes: [],
4305
4309
  reasoning: true,
4306
4310
  supportsTemperature: true,
@@ -4738,7 +4742,7 @@ var MODELS_BY_PROVIDER = {
4738
4742
  {
4739
4743
  name: "google/gemini-3.1-pro-preview-customtools",
4740
4744
  displayName: "Gemini 3.1 Pro Preview Custom Tools",
4741
- maxInputTokens: 1048576,
4745
+ maxInputTokens: 1048756,
4742
4746
  supportedFileTypes: ["pdf", "image", "audio", "video", "document"],
4743
4747
  reasoning: true,
4744
4748
  supportsTemperature: true,
@@ -4912,7 +4916,7 @@ var MODELS_BY_PROVIDER = {
4912
4916
  {
4913
4917
  name: "google/gemma-4-26b-a4b-it:free",
4914
4918
  displayName: "Gemma 4 26B A4B (free)",
4915
- maxInputTokens: 131072,
4919
+ maxInputTokens: 262144,
4916
4920
  supportedFileTypes: ["image", "video", "document"],
4917
4921
  reasoning: true,
4918
4922
  supportsTemperature: true,
@@ -5359,7 +5363,7 @@ var MODELS_BY_PROVIDER = {
5359
5363
  {
5360
5364
  name: "meta-llama/llama-3.2-1b-instruct",
5361
5365
  displayName: "Llama 3.2 1B Instruct",
5362
- maxInputTokens: 6e4,
5366
+ maxInputTokens: 131072,
5363
5367
  supportedFileTypes: [],
5364
5368
  reasoning: false,
5365
5369
  supportsTemperature: true,
@@ -5439,7 +5443,7 @@ var MODELS_BY_PROVIDER = {
5439
5443
  {
5440
5444
  name: "meta-llama/llama-3.3-70b-instruct:free",
5441
5445
  displayName: "Llama 3.3 70B Instruct (free)",
5442
- maxInputTokens: 65536,
5446
+ maxInputTokens: 131072,
5443
5447
  supportedFileTypes: [],
5444
5448
  reasoning: false,
5445
5449
  supportsTemperature: true,
@@ -5479,7 +5483,7 @@ var MODELS_BY_PROVIDER = {
5479
5483
  {
5480
5484
  name: "meta-llama/llama-4-scout",
5481
5485
  displayName: "Llama 4 Scout",
5482
- maxInputTokens: 327680,
5486
+ maxInputTokens: 1e7,
5483
5487
  supportedFileTypes: ["image"],
5484
5488
  reasoning: false,
5485
5489
  supportsTemperature: true,
@@ -5539,7 +5543,7 @@ var MODELS_BY_PROVIDER = {
5539
5543
  {
5540
5544
  name: "microsoft/wizardlm-2-8x22b",
5541
5545
  displayName: "WizardLM-2 8x22B",
5542
- maxInputTokens: 65535,
5546
+ maxInputTokens: 65536,
5543
5547
  supportedFileTypes: [],
5544
5548
  reasoning: false,
5545
5549
  supportsTemperature: true,
@@ -5669,7 +5673,7 @@ var MODELS_BY_PROVIDER = {
5669
5673
  {
5670
5674
  name: "minimax/minimax-m2.5",
5671
5675
  displayName: "MiniMax-M2.5",
5672
- maxInputTokens: 196608,
5676
+ maxInputTokens: 204800,
5673
5677
  supportedFileTypes: [],
5674
5678
  reasoning: true,
5675
5679
  supportsTemperature: true,
@@ -5694,7 +5698,7 @@ var MODELS_BY_PROVIDER = {
5694
5698
  {
5695
5699
  name: "minimax/minimax-m2.7",
5696
5700
  displayName: "MiniMax-M2.7",
5697
- maxInputTokens: 196608,
5701
+ maxInputTokens: 204800,
5698
5702
  supportedFileTypes: [],
5699
5703
  reasoning: true,
5700
5704
  supportsTemperature: true,
@@ -5714,7 +5718,7 @@ var MODELS_BY_PROVIDER = {
5714
5718
  {
5715
5719
  name: "minimax/minimax-m3",
5716
5720
  displayName: "MiniMax-M3",
5717
- maxInputTokens: 524288,
5721
+ maxInputTokens: 1048576,
5718
5722
  supportedFileTypes: ["image", "video"],
5719
5723
  reasoning: true,
5720
5724
  supportsTemperature: true,
@@ -6195,7 +6199,7 @@ var MODELS_BY_PROVIDER = {
6195
6199
  {
6196
6200
  name: "moonshotai/kimi-k2.5",
6197
6201
  displayName: "Kimi K2.5",
6198
- maxInputTokens: 256e3,
6202
+ maxInputTokens: 262144,
6199
6203
  supportedFileTypes: ["image"],
6200
6204
  reasoning: true,
6201
6205
  supportsTemperature: true,
@@ -6235,9 +6239,9 @@ var MODELS_BY_PROVIDER = {
6235
6239
  },
6236
6240
  supportsInterleaved: true,
6237
6241
  pricing: {
6238
- inputPerM: 0.65,
6242
+ inputPerM: 0.66,
6239
6243
  outputPerM: 3.41,
6240
- cacheReadPerM: 0.14,
6244
+ cacheReadPerM: 0.15,
6241
6245
  currency: "USD",
6242
6246
  unit: "per_million_tokens"
6243
6247
  }
@@ -6257,8 +6261,8 @@ var MODELS_BY_PROVIDER = {
6257
6261
  },
6258
6262
  pricing: {
6259
6263
  inputPerM: 0.72,
6260
- outputPerM: 3.5,
6261
- cacheReadPerM: 0.15,
6264
+ outputPerM: 3.49,
6265
+ cacheReadPerM: 0.159,
6262
6266
  currency: "USD",
6263
6267
  unit: "per_million_tokens"
6264
6268
  }
@@ -6528,7 +6532,7 @@ var MODELS_BY_PROVIDER = {
6528
6532
  {
6529
6533
  name: "nvidia/nemotron-3-super-120b-a12b",
6530
6534
  displayName: "Nemotron 3 Super 120B A12B",
6531
- maxInputTokens: 262144,
6535
+ maxInputTokens: 1e6,
6532
6536
  supportedFileTypes: [],
6533
6537
  reasoning: true,
6534
6538
  supportsTemperature: true,
@@ -6548,7 +6552,7 @@ var MODELS_BY_PROVIDER = {
6548
6552
  {
6549
6553
  name: "nvidia/nemotron-3-super-120b-a12b:free",
6550
6554
  displayName: "Nemotron 3 Super (free)",
6551
- maxInputTokens: 262144,
6555
+ maxInputTokens: 1e6,
6552
6556
  supportedFileTypes: [],
6553
6557
  reasoning: true,
6554
6558
  supportsTemperature: true,
@@ -6568,7 +6572,7 @@ var MODELS_BY_PROVIDER = {
6568
6572
  {
6569
6573
  name: "nvidia/nemotron-3-ultra-550b-a55b",
6570
6574
  displayName: "Nemotron 3 Ultra 550B A55B",
6571
- maxInputTokens: 262144,
6575
+ maxInputTokens: 1e6,
6572
6576
  supportedFileTypes: [],
6573
6577
  reasoning: true,
6574
6578
  supportsTemperature: true,
@@ -7575,6 +7579,138 @@ var MODELS_BY_PROVIDER = {
7575
7579
  unit: "per_million_tokens"
7576
7580
  }
7577
7581
  },
7582
+ {
7583
+ name: "openai/gpt-5.6-luna",
7584
+ displayName: "GPT-5.6 Luna",
7585
+ maxInputTokens: 922e3,
7586
+ supportedFileTypes: ["pdf", "image", "document"],
7587
+ reasoning: true,
7588
+ supportsTemperature: false,
7589
+ supportsToolCall: true,
7590
+ releaseDate: "2026-07-09",
7591
+ modalities: {
7592
+ input: ["text", "image", "pdf"],
7593
+ output: ["text"]
7594
+ },
7595
+ pricing: {
7596
+ inputPerM: 1,
7597
+ outputPerM: 6,
7598
+ cacheReadPerM: 0.1,
7599
+ cacheWritePerM: 1.25,
7600
+ currency: "USD",
7601
+ unit: "per_million_tokens"
7602
+ }
7603
+ },
7604
+ {
7605
+ name: "openai/gpt-5.6-luna-pro",
7606
+ displayName: "GPT-5.6 Luna Pro",
7607
+ maxInputTokens: 922e3,
7608
+ supportedFileTypes: ["pdf", "image", "document"],
7609
+ reasoning: true,
7610
+ supportsTemperature: false,
7611
+ supportsToolCall: true,
7612
+ releaseDate: "2026-07-09",
7613
+ modalities: {
7614
+ input: ["text", "image", "pdf"],
7615
+ output: ["text"]
7616
+ },
7617
+ pricing: {
7618
+ inputPerM: 1,
7619
+ outputPerM: 6,
7620
+ cacheReadPerM: 0.1,
7621
+ cacheWritePerM: 1.25,
7622
+ currency: "USD",
7623
+ unit: "per_million_tokens"
7624
+ }
7625
+ },
7626
+ {
7627
+ name: "openai/gpt-5.6-sol",
7628
+ displayName: "GPT-5.6 Sol",
7629
+ maxInputTokens: 922e3,
7630
+ supportedFileTypes: ["pdf", "image", "document"],
7631
+ reasoning: true,
7632
+ supportsTemperature: false,
7633
+ supportsToolCall: true,
7634
+ releaseDate: "2026-07-09",
7635
+ modalities: {
7636
+ input: ["text", "image", "pdf"],
7637
+ output: ["text"]
7638
+ },
7639
+ pricing: {
7640
+ inputPerM: 5,
7641
+ outputPerM: 30,
7642
+ cacheReadPerM: 0.5,
7643
+ cacheWritePerM: 6.25,
7644
+ currency: "USD",
7645
+ unit: "per_million_tokens"
7646
+ }
7647
+ },
7648
+ {
7649
+ name: "openai/gpt-5.6-sol-pro",
7650
+ displayName: "GPT-5.6 Sol Pro",
7651
+ maxInputTokens: 922e3,
7652
+ supportedFileTypes: ["pdf", "image", "document"],
7653
+ reasoning: true,
7654
+ supportsTemperature: false,
7655
+ supportsToolCall: true,
7656
+ releaseDate: "2026-07-09",
7657
+ modalities: {
7658
+ input: ["text", "image", "pdf"],
7659
+ output: ["text"]
7660
+ },
7661
+ pricing: {
7662
+ inputPerM: 5,
7663
+ outputPerM: 30,
7664
+ cacheReadPerM: 0.5,
7665
+ cacheWritePerM: 6.25,
7666
+ currency: "USD",
7667
+ unit: "per_million_tokens"
7668
+ }
7669
+ },
7670
+ {
7671
+ name: "openai/gpt-5.6-terra",
7672
+ displayName: "GPT-5.6 Terra",
7673
+ maxInputTokens: 922e3,
7674
+ supportedFileTypes: ["pdf", "image", "document"],
7675
+ reasoning: true,
7676
+ supportsTemperature: false,
7677
+ supportsToolCall: true,
7678
+ releaseDate: "2026-07-09",
7679
+ modalities: {
7680
+ input: ["text", "image", "pdf"],
7681
+ output: ["text"]
7682
+ },
7683
+ pricing: {
7684
+ inputPerM: 2.5,
7685
+ outputPerM: 15,
7686
+ cacheReadPerM: 0.25,
7687
+ cacheWritePerM: 3.125,
7688
+ currency: "USD",
7689
+ unit: "per_million_tokens"
7690
+ }
7691
+ },
7692
+ {
7693
+ name: "openai/gpt-5.6-terra-pro",
7694
+ displayName: "GPT-5.6 Terra Pro",
7695
+ maxInputTokens: 922e3,
7696
+ supportedFileTypes: ["pdf", "image", "document"],
7697
+ reasoning: true,
7698
+ supportsTemperature: false,
7699
+ supportsToolCall: true,
7700
+ releaseDate: "2026-07-09",
7701
+ modalities: {
7702
+ input: ["text", "image", "pdf"],
7703
+ output: ["text"]
7704
+ },
7705
+ pricing: {
7706
+ inputPerM: 2.5,
7707
+ outputPerM: 15,
7708
+ cacheReadPerM: 0.25,
7709
+ cacheWritePerM: 3.125,
7710
+ currency: "USD",
7711
+ unit: "per_million_tokens"
7712
+ }
7713
+ },
7578
7714
  {
7579
7715
  name: "openai/gpt-audio",
7580
7716
  displayName: "GPT Audio",
@@ -8231,7 +8367,7 @@ var MODELS_BY_PROVIDER = {
8231
8367
  {
8232
8368
  name: "qwen/qwen-2.5-72b-instruct",
8233
8369
  displayName: "Qwen2.5 72B Instruct",
8234
- maxInputTokens: 32768,
8370
+ maxInputTokens: 131072,
8235
8371
  supportedFileTypes: [],
8236
8372
  reasoning: false,
8237
8373
  supportsTemperature: true,
@@ -8251,7 +8387,7 @@ var MODELS_BY_PROVIDER = {
8251
8387
  {
8252
8388
  name: "qwen/qwen-2.5-7b-instruct",
8253
8389
  displayName: "Qwen2.5 7B Instruct",
8254
- maxInputTokens: 32768,
8390
+ maxInputTokens: 131072,
8255
8391
  supportedFileTypes: [],
8256
8392
  reasoning: false,
8257
8393
  supportsTemperature: true,
@@ -8271,7 +8407,7 @@ var MODELS_BY_PROVIDER = {
8271
8407
  {
8272
8408
  name: "qwen/qwen-2.5-coder-32b-instruct",
8273
8409
  displayName: "Qwen2.5 Coder 32B Instruct",
8274
- maxInputTokens: 32768,
8410
+ maxInputTokens: 128e3,
8275
8411
  supportedFileTypes: [],
8276
8412
  reasoning: false,
8277
8413
  supportsTemperature: true,
@@ -8354,7 +8490,7 @@ var MODELS_BY_PROVIDER = {
8354
8490
  {
8355
8491
  name: "qwen/qwen2.5-vl-72b-instruct",
8356
8492
  displayName: "Qwen2.5 VL 72B Instruct",
8357
- maxInputTokens: 128e3,
8493
+ maxInputTokens: 131072,
8358
8494
  supportedFileTypes: ["image"],
8359
8495
  reasoning: false,
8360
8496
  supportsTemperature: true,
@@ -8375,7 +8511,7 @@ var MODELS_BY_PROVIDER = {
8375
8511
  {
8376
8512
  name: "qwen/qwen3-14b",
8377
8513
  displayName: "Qwen3 14B",
8378
- maxInputTokens: 40960,
8514
+ maxInputTokens: 131702,
8379
8515
  supportedFileTypes: [],
8380
8516
  reasoning: true,
8381
8517
  supportsTemperature: true,
@@ -8435,7 +8571,7 @@ var MODELS_BY_PROVIDER = {
8435
8571
  {
8436
8572
  name: "qwen/qwen3-235b-a22b-thinking-2507",
8437
8573
  displayName: "Qwen3 235B A22B Thinking 2507",
8438
- maxInputTokens: 131072,
8574
+ maxInputTokens: 262144,
8439
8575
  supportedFileTypes: [],
8440
8576
  reasoning: true,
8441
8577
  supportsTemperature: true,
@@ -8455,7 +8591,7 @@ var MODELS_BY_PROVIDER = {
8455
8591
  {
8456
8592
  name: "qwen/qwen3-30b-a3b",
8457
8593
  displayName: "Qwen3 30B A3B",
8458
- maxInputTokens: 40960,
8594
+ maxInputTokens: 131072,
8459
8595
  supportedFileTypes: [],
8460
8596
  reasoning: true,
8461
8597
  supportsTemperature: true,
@@ -8475,7 +8611,7 @@ var MODELS_BY_PROVIDER = {
8475
8611
  {
8476
8612
  name: "qwen/qwen3-30b-a3b-instruct-2507",
8477
8613
  displayName: "Qwen3 30B A3B Instruct 2507",
8478
- maxInputTokens: 128e3,
8614
+ maxInputTokens: 131072,
8479
8615
  supportedFileTypes: [],
8480
8616
  reasoning: false,
8481
8617
  supportsTemperature: true,
@@ -8495,7 +8631,7 @@ var MODELS_BY_PROVIDER = {
8495
8631
  {
8496
8632
  name: "qwen/qwen3-30b-a3b-thinking-2507",
8497
8633
  displayName: "Qwen3 30B A3B Thinking 2507",
8498
- maxInputTokens: 81920,
8634
+ maxInputTokens: 131072,
8499
8635
  supportedFileTypes: [],
8500
8636
  reasoning: true,
8501
8637
  supportsTemperature: true,
@@ -8515,7 +8651,7 @@ var MODELS_BY_PROVIDER = {
8515
8651
  {
8516
8652
  name: "qwen/qwen3-32b",
8517
8653
  displayName: "Qwen3 32B",
8518
- maxInputTokens: 40960,
8654
+ maxInputTokens: 131072,
8519
8655
  supportedFileTypes: [],
8520
8656
  reasoning: true,
8521
8657
  supportsTemperature: true,
@@ -8555,7 +8691,7 @@ var MODELS_BY_PROVIDER = {
8555
8691
  {
8556
8692
  name: "qwen/qwen3-coder",
8557
8693
  displayName: "Qwen3 Coder 480B A35B",
8558
- maxInputTokens: 262144,
8694
+ maxInputTokens: 1048576,
8559
8695
  supportedFileTypes: [],
8560
8696
  reasoning: false,
8561
8697
  supportsTemperature: true,
@@ -8660,7 +8796,7 @@ var MODELS_BY_PROVIDER = {
8660
8796
  {
8661
8797
  name: "qwen/qwen3-coder:free",
8662
8798
  displayName: "Qwen3 Coder 480B A35B (free)",
8663
- maxInputTokens: 262e3,
8799
+ maxInputTokens: 1048576,
8664
8800
  supportedFileTypes: [],
8665
8801
  reasoning: false,
8666
8802
  supportsTemperature: true,
@@ -8762,7 +8898,7 @@ var MODELS_BY_PROVIDER = {
8762
8898
  {
8763
8899
  name: "qwen/qwen3-next-80b-a3b-thinking",
8764
8900
  displayName: "Qwen3-Next 80B-A3B (Thinking)",
8765
- maxInputTokens: 131072,
8901
+ maxInputTokens: 262144,
8766
8902
  supportedFileTypes: [],
8767
8903
  reasoning: true,
8768
8904
  supportsTemperature: true,
@@ -8823,7 +8959,7 @@ var MODELS_BY_PROVIDER = {
8823
8959
  {
8824
8960
  name: "qwen/qwen3-vl-30b-a3b-instruct",
8825
8961
  displayName: "Qwen3 VL 30B A3B Instruct",
8826
- maxInputTokens: 131072,
8962
+ maxInputTokens: 262144,
8827
8963
  supportedFileTypes: ["image"],
8828
8964
  reasoning: false,
8829
8965
  supportsTemperature: true,
@@ -8863,7 +8999,7 @@ var MODELS_BY_PROVIDER = {
8863
8999
  {
8864
9000
  name: "qwen/qwen3-vl-32b-instruct",
8865
9001
  displayName: "Qwen3 VL 32B Instruct",
8866
- maxInputTokens: 131072,
9002
+ maxInputTokens: 262144,
8867
9003
  supportedFileTypes: ["image"],
8868
9004
  reasoning: false,
8869
9005
  supportsTemperature: true,
@@ -8883,7 +9019,7 @@ var MODELS_BY_PROVIDER = {
8883
9019
  {
8884
9020
  name: "qwen/qwen3-vl-8b-instruct",
8885
9021
  displayName: "Qwen3 VL 8B Instruct",
8886
- maxInputTokens: 131072,
9022
+ maxInputTokens: 256e3,
8887
9023
  supportedFileTypes: ["image"],
8888
9024
  reasoning: false,
8889
9025
  supportsTemperature: true,
@@ -8903,7 +9039,7 @@ var MODELS_BY_PROVIDER = {
8903
9039
  {
8904
9040
  name: "qwen/qwen3-vl-8b-thinking",
8905
9041
  displayName: "Qwen3 VL 8B Thinking",
8906
- maxInputTokens: 131072,
9042
+ maxInputTokens: 256e3,
8907
9043
  supportedFileTypes: ["image"],
8908
9044
  reasoning: true,
8909
9045
  supportsTemperature: true,
@@ -8984,7 +9120,7 @@ var MODELS_BY_PROVIDER = {
8984
9120
  {
8985
9121
  name: "qwen/qwen3.5-397b-a17b",
8986
9122
  displayName: "Qwen3.5 397B-A17B",
8987
- maxInputTokens: 131072,
9123
+ maxInputTokens: 256e3,
8988
9124
  supportedFileTypes: ["image", "video"],
8989
9125
  reasoning: true,
8990
9126
  supportsTemperature: true,
@@ -9086,7 +9222,7 @@ var MODELS_BY_PROVIDER = {
9086
9222
  {
9087
9223
  name: "qwen/qwen3.6-27b",
9088
9224
  displayName: "Qwen3.6 27B",
9089
- maxInputTokens: 262140,
9225
+ maxInputTokens: 262144,
9090
9226
  supportedFileTypes: ["image", "video"],
9091
9227
  reasoning: true,
9092
9228
  supportsTemperature: true,
@@ -9794,7 +9930,7 @@ var MODELS_BY_PROVIDER = {
9794
9930
  {
9795
9931
  name: "xiaomi/mimo-v2.5",
9796
9932
  displayName: "MiMo-V2.5",
9797
- maxInputTokens: 32e3,
9933
+ maxInputTokens: 1048576,
9798
9934
  supportedFileTypes: ["image", "audio", "video"],
9799
9935
  reasoning: true,
9800
9936
  supportsTemperature: true,
@@ -10049,7 +10185,7 @@ var MODELS_BY_PROVIDER = {
10049
10185
  {
10050
10186
  name: "z-ai/glm-5.1",
10051
10187
  displayName: "GLM-5.1",
10052
- maxInputTokens: 2e5,
10188
+ maxInputTokens: 202752,
10053
10189
  supportedFileTypes: [],
10054
10190
  reasoning: true,
10055
10191
  supportsTemperature: true,
@@ -10074,7 +10210,7 @@ var MODELS_BY_PROVIDER = {
10074
10210
  {
10075
10211
  name: "z-ai/glm-5.2",
10076
10212
  displayName: "GLM-5.2",
10077
- maxInputTokens: 1024e3,
10213
+ maxInputTokens: 1048576,
10078
10214
  supportedFileTypes: [],
10079
10215
  reasoning: true,
10080
10216
  supportsTemperature: true,
@@ -10089,9 +10225,9 @@ var MODELS_BY_PROVIDER = {
10089
10225
  },
10090
10226
  supportsInterleaved: true,
10091
10227
  pricing: {
10092
- inputPerM: 0.546,
10093
- outputPerM: 1.716,
10094
- cacheReadPerM: 0.1014,
10228
+ inputPerM: 0.54,
10229
+ outputPerM: 1.76,
10230
+ cacheReadPerM: 0.1,
10095
10231
  currency: "USD",
10096
10232
  unit: "per_million_tokens"
10097
10233
  }
@@ -13432,9 +13568,9 @@ var MODELS_BY_PROVIDER = {
13432
13568
  output: ["text"]
13433
13569
  },
13434
13570
  pricing: {
13435
- inputPerM: 0.65,
13571
+ inputPerM: 0.66,
13436
13572
  outputPerM: 3.41,
13437
- cacheReadPerM: 0.14,
13573
+ cacheReadPerM: 0.15,
13438
13574
  currency: "USD",
13439
13575
  unit: "per_million_tokens"
13440
13576
  }
@@ -13456,6 +13592,7 @@ var MODELS_BY_PROVIDER = {
13456
13592
  inputPerM: 5,
13457
13593
  outputPerM: 30,
13458
13594
  cacheReadPerM: 0.5,
13595
+ cacheWritePerM: 6.25,
13459
13596
  currency: "USD",
13460
13597
  unit: "per_million_tokens"
13461
13598
  }
@@ -13729,7 +13866,7 @@ var MODELS_BY_PROVIDER = {
13729
13866
  {
13730
13867
  name: "anthracite-org/magnum-v4-72b",
13731
13868
  displayName: "Magnum v4 72B",
13732
- maxInputTokens: 16384,
13869
+ maxInputTokens: 32768,
13733
13870
  supportedFileTypes: [],
13734
13871
  reasoning: false,
13735
13872
  supportsTemperature: true,
@@ -14180,7 +14317,7 @@ var MODELS_BY_PROVIDER = {
14180
14317
  {
14181
14318
  name: "baidu/ernie-4.5-vl-424b-a47b",
14182
14319
  displayName: "ERNIE 4.5 VL 424B A47B ",
14183
- maxInputTokens: 123e3,
14320
+ maxInputTokens: 131072,
14184
14321
  supportedFileTypes: ["image"],
14185
14322
  reasoning: true,
14186
14323
  supportsTemperature: true,
@@ -14298,6 +14435,26 @@ var MODELS_BY_PROVIDER = {
14298
14435
  unit: "per_million_tokens"
14299
14436
  }
14300
14437
  },
14438
+ {
14439
+ name: "cognitivecomputations/dolphin-mistral-24b-venice-edition",
14440
+ displayName: "Uncensored",
14441
+ maxInputTokens: 128e3,
14442
+ supportedFileTypes: [],
14443
+ reasoning: false,
14444
+ supportsTemperature: true,
14445
+ supportsToolCall: false,
14446
+ releaseDate: "2025-07-09",
14447
+ modalities: {
14448
+ input: ["text"],
14449
+ output: ["text"]
14450
+ },
14451
+ pricing: {
14452
+ inputPerM: 0.2,
14453
+ outputPerM: 0.9,
14454
+ currency: "USD",
14455
+ unit: "per_million_tokens"
14456
+ }
14457
+ },
14301
14458
  {
14302
14459
  name: "cognitivecomputations/dolphin-mistral-24b-venice-edition:free",
14303
14460
  displayName: "Uncensored (free)",
@@ -14441,7 +14598,7 @@ var MODELS_BY_PROVIDER = {
14441
14598
  {
14442
14599
  name: "deepseek/deepseek-chat",
14443
14600
  displayName: "DeepSeek Chat",
14444
- maxInputTokens: 128e3,
14601
+ maxInputTokens: 131072,
14445
14602
  supportedFileTypes: [],
14446
14603
  reasoning: false,
14447
14604
  supportsTemperature: true,
@@ -14503,7 +14660,7 @@ var MODELS_BY_PROVIDER = {
14503
14660
  {
14504
14661
  name: "deepseek/deepseek-r1",
14505
14662
  displayName: "DeepSeek-R1",
14506
- maxInputTokens: 64e3,
14663
+ maxInputTokens: 163840,
14507
14664
  supportedFileTypes: [],
14508
14665
  reasoning: true,
14509
14666
  supportsTemperature: true,
@@ -14544,7 +14701,7 @@ var MODELS_BY_PROVIDER = {
14544
14701
  {
14545
14702
  name: "deepseek/deepseek-r1-distill-llama-70b",
14546
14703
  displayName: "R1 Distill Llama 70B",
14547
- maxInputTokens: 8192,
14704
+ maxInputTokens: 128e3,
14548
14705
  supportedFileTypes: [],
14549
14706
  reasoning: true,
14550
14707
  supportsTemperature: true,
@@ -14585,7 +14742,7 @@ var MODELS_BY_PROVIDER = {
14585
14742
  {
14586
14743
  name: "deepseek/deepseek-v3.2",
14587
14744
  displayName: "DeepSeek V3.2",
14588
- maxInputTokens: 128e3,
14745
+ maxInputTokens: 131072,
14589
14746
  supportedFileTypes: [],
14590
14747
  reasoning: true,
14591
14748
  supportsTemperature: true,
@@ -15023,7 +15180,7 @@ var MODELS_BY_PROVIDER = {
15023
15180
  {
15024
15181
  name: "google/gemini-3.1-pro-preview-customtools",
15025
15182
  displayName: "Gemini 3.1 Pro Preview Custom Tools",
15026
- maxInputTokens: 1048576,
15183
+ maxInputTokens: 1048756,
15027
15184
  supportedFileTypes: ["pdf", "image", "audio", "video", "document"],
15028
15185
  reasoning: true,
15029
15186
  supportsTemperature: true,
@@ -15197,7 +15354,7 @@ var MODELS_BY_PROVIDER = {
15197
15354
  {
15198
15355
  name: "google/gemma-4-26b-a4b-it:free",
15199
15356
  displayName: "Gemma 4 26B A4B (free)",
15200
- maxInputTokens: 131072,
15357
+ maxInputTokens: 262144,
15201
15358
  supportedFileTypes: ["image", "video", "document"],
15202
15359
  reasoning: true,
15203
15360
  supportsTemperature: true,
@@ -15644,7 +15801,7 @@ var MODELS_BY_PROVIDER = {
15644
15801
  {
15645
15802
  name: "meta-llama/llama-3.2-1b-instruct",
15646
15803
  displayName: "Llama 3.2 1B Instruct",
15647
- maxInputTokens: 6e4,
15804
+ maxInputTokens: 131072,
15648
15805
  supportedFileTypes: [],
15649
15806
  reasoning: false,
15650
15807
  supportsTemperature: true,
@@ -15724,7 +15881,7 @@ var MODELS_BY_PROVIDER = {
15724
15881
  {
15725
15882
  name: "meta-llama/llama-3.3-70b-instruct:free",
15726
15883
  displayName: "Llama 3.3 70B Instruct (free)",
15727
- maxInputTokens: 65536,
15884
+ maxInputTokens: 131072,
15728
15885
  supportedFileTypes: [],
15729
15886
  reasoning: false,
15730
15887
  supportsTemperature: true,
@@ -15764,7 +15921,7 @@ var MODELS_BY_PROVIDER = {
15764
15921
  {
15765
15922
  name: "meta-llama/llama-4-scout",
15766
15923
  displayName: "Llama 4 Scout",
15767
- maxInputTokens: 327680,
15924
+ maxInputTokens: 1e7,
15768
15925
  supportedFileTypes: ["image"],
15769
15926
  reasoning: false,
15770
15927
  supportsTemperature: true,
@@ -15824,7 +15981,7 @@ var MODELS_BY_PROVIDER = {
15824
15981
  {
15825
15982
  name: "microsoft/wizardlm-2-8x22b",
15826
15983
  displayName: "WizardLM-2 8x22B",
15827
- maxInputTokens: 65535,
15984
+ maxInputTokens: 65536,
15828
15985
  supportedFileTypes: [],
15829
15986
  reasoning: false,
15830
15987
  supportsTemperature: true,
@@ -15954,7 +16111,7 @@ var MODELS_BY_PROVIDER = {
15954
16111
  {
15955
16112
  name: "minimax/minimax-m2.5",
15956
16113
  displayName: "MiniMax-M2.5",
15957
- maxInputTokens: 196608,
16114
+ maxInputTokens: 204800,
15958
16115
  supportedFileTypes: [],
15959
16116
  reasoning: true,
15960
16117
  supportsTemperature: true,
@@ -15979,7 +16136,7 @@ var MODELS_BY_PROVIDER = {
15979
16136
  {
15980
16137
  name: "minimax/minimax-m2.7",
15981
16138
  displayName: "MiniMax-M2.7",
15982
- maxInputTokens: 196608,
16139
+ maxInputTokens: 204800,
15983
16140
  supportedFileTypes: [],
15984
16141
  reasoning: true,
15985
16142
  supportsTemperature: true,
@@ -15999,7 +16156,7 @@ var MODELS_BY_PROVIDER = {
15999
16156
  {
16000
16157
  name: "minimax/minimax-m3",
16001
16158
  displayName: "MiniMax-M3",
16002
- maxInputTokens: 524288,
16159
+ maxInputTokens: 1048576,
16003
16160
  supportedFileTypes: ["image", "video"],
16004
16161
  reasoning: true,
16005
16162
  supportsTemperature: true,
@@ -16480,7 +16637,7 @@ var MODELS_BY_PROVIDER = {
16480
16637
  {
16481
16638
  name: "moonshotai/kimi-k2.5",
16482
16639
  displayName: "Kimi K2.5",
16483
- maxInputTokens: 256e3,
16640
+ maxInputTokens: 262144,
16484
16641
  supportedFileTypes: ["image"],
16485
16642
  reasoning: true,
16486
16643
  supportsTemperature: true,
@@ -16520,9 +16677,9 @@ var MODELS_BY_PROVIDER = {
16520
16677
  },
16521
16678
  supportsInterleaved: true,
16522
16679
  pricing: {
16523
- inputPerM: 0.65,
16680
+ inputPerM: 0.66,
16524
16681
  outputPerM: 3.41,
16525
- cacheReadPerM: 0.14,
16682
+ cacheReadPerM: 0.15,
16526
16683
  currency: "USD",
16527
16684
  unit: "per_million_tokens"
16528
16685
  }
@@ -16542,8 +16699,8 @@ var MODELS_BY_PROVIDER = {
16542
16699
  },
16543
16700
  pricing: {
16544
16701
  inputPerM: 0.72,
16545
- outputPerM: 3.5,
16546
- cacheReadPerM: 0.15,
16702
+ outputPerM: 3.49,
16703
+ cacheReadPerM: 0.159,
16547
16704
  currency: "USD",
16548
16705
  unit: "per_million_tokens"
16549
16706
  }
@@ -16813,7 +16970,7 @@ var MODELS_BY_PROVIDER = {
16813
16970
  {
16814
16971
  name: "nvidia/nemotron-3-super-120b-a12b",
16815
16972
  displayName: "Nemotron 3 Super 120B A12B",
16816
- maxInputTokens: 262144,
16973
+ maxInputTokens: 1e6,
16817
16974
  supportedFileTypes: [],
16818
16975
  reasoning: true,
16819
16976
  supportsTemperature: true,
@@ -16833,7 +16990,7 @@ var MODELS_BY_PROVIDER = {
16833
16990
  {
16834
16991
  name: "nvidia/nemotron-3-super-120b-a12b:free",
16835
16992
  displayName: "Nemotron 3 Super (free)",
16836
- maxInputTokens: 262144,
16993
+ maxInputTokens: 1e6,
16837
16994
  supportedFileTypes: [],
16838
16995
  reasoning: true,
16839
16996
  supportsTemperature: true,
@@ -16853,7 +17010,7 @@ var MODELS_BY_PROVIDER = {
16853
17010
  {
16854
17011
  name: "nvidia/nemotron-3-ultra-550b-a55b",
16855
17012
  displayName: "Nemotron 3 Ultra 550B A55B",
16856
- maxInputTokens: 262144,
17013
+ maxInputTokens: 1e6,
16857
17014
  supportedFileTypes: [],
16858
17015
  reasoning: true,
16859
17016
  supportsTemperature: true,
@@ -17860,6 +18017,138 @@ var MODELS_BY_PROVIDER = {
17860
18017
  unit: "per_million_tokens"
17861
18018
  }
17862
18019
  },
18020
+ {
18021
+ name: "openai/gpt-5.6-luna",
18022
+ displayName: "GPT-5.6 Luna",
18023
+ maxInputTokens: 922e3,
18024
+ supportedFileTypes: ["pdf", "image", "document"],
18025
+ reasoning: true,
18026
+ supportsTemperature: false,
18027
+ supportsToolCall: true,
18028
+ releaseDate: "2026-07-09",
18029
+ modalities: {
18030
+ input: ["text", "image", "pdf"],
18031
+ output: ["text"]
18032
+ },
18033
+ pricing: {
18034
+ inputPerM: 1,
18035
+ outputPerM: 6,
18036
+ cacheReadPerM: 0.1,
18037
+ cacheWritePerM: 1.25,
18038
+ currency: "USD",
18039
+ unit: "per_million_tokens"
18040
+ }
18041
+ },
18042
+ {
18043
+ name: "openai/gpt-5.6-luna-pro",
18044
+ displayName: "GPT-5.6 Luna Pro",
18045
+ maxInputTokens: 922e3,
18046
+ supportedFileTypes: ["pdf", "image", "document"],
18047
+ reasoning: true,
18048
+ supportsTemperature: false,
18049
+ supportsToolCall: true,
18050
+ releaseDate: "2026-07-09",
18051
+ modalities: {
18052
+ input: ["text", "image", "pdf"],
18053
+ output: ["text"]
18054
+ },
18055
+ pricing: {
18056
+ inputPerM: 1,
18057
+ outputPerM: 6,
18058
+ cacheReadPerM: 0.1,
18059
+ cacheWritePerM: 1.25,
18060
+ currency: "USD",
18061
+ unit: "per_million_tokens"
18062
+ }
18063
+ },
18064
+ {
18065
+ name: "openai/gpt-5.6-sol",
18066
+ displayName: "GPT-5.6 Sol",
18067
+ maxInputTokens: 922e3,
18068
+ supportedFileTypes: ["pdf", "image", "document"],
18069
+ reasoning: true,
18070
+ supportsTemperature: false,
18071
+ supportsToolCall: true,
18072
+ releaseDate: "2026-07-09",
18073
+ modalities: {
18074
+ input: ["text", "image", "pdf"],
18075
+ output: ["text"]
18076
+ },
18077
+ pricing: {
18078
+ inputPerM: 5,
18079
+ outputPerM: 30,
18080
+ cacheReadPerM: 0.5,
18081
+ cacheWritePerM: 6.25,
18082
+ currency: "USD",
18083
+ unit: "per_million_tokens"
18084
+ }
18085
+ },
18086
+ {
18087
+ name: "openai/gpt-5.6-sol-pro",
18088
+ displayName: "GPT-5.6 Sol Pro",
18089
+ maxInputTokens: 922e3,
18090
+ supportedFileTypes: ["pdf", "image", "document"],
18091
+ reasoning: true,
18092
+ supportsTemperature: false,
18093
+ supportsToolCall: true,
18094
+ releaseDate: "2026-07-09",
18095
+ modalities: {
18096
+ input: ["text", "image", "pdf"],
18097
+ output: ["text"]
18098
+ },
18099
+ pricing: {
18100
+ inputPerM: 5,
18101
+ outputPerM: 30,
18102
+ cacheReadPerM: 0.5,
18103
+ cacheWritePerM: 6.25,
18104
+ currency: "USD",
18105
+ unit: "per_million_tokens"
18106
+ }
18107
+ },
18108
+ {
18109
+ name: "openai/gpt-5.6-terra",
18110
+ displayName: "GPT-5.6 Terra",
18111
+ maxInputTokens: 922e3,
18112
+ supportedFileTypes: ["pdf", "image", "document"],
18113
+ reasoning: true,
18114
+ supportsTemperature: false,
18115
+ supportsToolCall: true,
18116
+ releaseDate: "2026-07-09",
18117
+ modalities: {
18118
+ input: ["text", "image", "pdf"],
18119
+ output: ["text"]
18120
+ },
18121
+ pricing: {
18122
+ inputPerM: 2.5,
18123
+ outputPerM: 15,
18124
+ cacheReadPerM: 0.25,
18125
+ cacheWritePerM: 3.125,
18126
+ currency: "USD",
18127
+ unit: "per_million_tokens"
18128
+ }
18129
+ },
18130
+ {
18131
+ name: "openai/gpt-5.6-terra-pro",
18132
+ displayName: "GPT-5.6 Terra Pro",
18133
+ maxInputTokens: 922e3,
18134
+ supportedFileTypes: ["pdf", "image", "document"],
18135
+ reasoning: true,
18136
+ supportsTemperature: false,
18137
+ supportsToolCall: true,
18138
+ releaseDate: "2026-07-09",
18139
+ modalities: {
18140
+ input: ["text", "image", "pdf"],
18141
+ output: ["text"]
18142
+ },
18143
+ pricing: {
18144
+ inputPerM: 2.5,
18145
+ outputPerM: 15,
18146
+ cacheReadPerM: 0.25,
18147
+ cacheWritePerM: 3.125,
18148
+ currency: "USD",
18149
+ unit: "per_million_tokens"
18150
+ }
18151
+ },
17863
18152
  {
17864
18153
  name: "openai/gpt-audio",
17865
18154
  displayName: "GPT Audio",
@@ -18516,7 +18805,7 @@ var MODELS_BY_PROVIDER = {
18516
18805
  {
18517
18806
  name: "qwen/qwen-2.5-72b-instruct",
18518
18807
  displayName: "Qwen2.5 72B Instruct",
18519
- maxInputTokens: 32768,
18808
+ maxInputTokens: 131072,
18520
18809
  supportedFileTypes: [],
18521
18810
  reasoning: false,
18522
18811
  supportsTemperature: true,
@@ -18536,7 +18825,7 @@ var MODELS_BY_PROVIDER = {
18536
18825
  {
18537
18826
  name: "qwen/qwen-2.5-7b-instruct",
18538
18827
  displayName: "Qwen2.5 7B Instruct",
18539
- maxInputTokens: 32768,
18828
+ maxInputTokens: 131072,
18540
18829
  supportedFileTypes: [],
18541
18830
  reasoning: false,
18542
18831
  supportsTemperature: true,
@@ -18556,7 +18845,7 @@ var MODELS_BY_PROVIDER = {
18556
18845
  {
18557
18846
  name: "qwen/qwen-2.5-coder-32b-instruct",
18558
18847
  displayName: "Qwen2.5 Coder 32B Instruct",
18559
- maxInputTokens: 32768,
18848
+ maxInputTokens: 128e3,
18560
18849
  supportedFileTypes: [],
18561
18850
  reasoning: false,
18562
18851
  supportsTemperature: true,
@@ -18639,7 +18928,7 @@ var MODELS_BY_PROVIDER = {
18639
18928
  {
18640
18929
  name: "qwen/qwen2.5-vl-72b-instruct",
18641
18930
  displayName: "Qwen2.5 VL 72B Instruct",
18642
- maxInputTokens: 128e3,
18931
+ maxInputTokens: 131072,
18643
18932
  supportedFileTypes: ["image"],
18644
18933
  reasoning: false,
18645
18934
  supportsTemperature: true,
@@ -18660,7 +18949,7 @@ var MODELS_BY_PROVIDER = {
18660
18949
  {
18661
18950
  name: "qwen/qwen3-14b",
18662
18951
  displayName: "Qwen3 14B",
18663
- maxInputTokens: 40960,
18952
+ maxInputTokens: 131702,
18664
18953
  supportedFileTypes: [],
18665
18954
  reasoning: true,
18666
18955
  supportsTemperature: true,
@@ -18720,7 +19009,7 @@ var MODELS_BY_PROVIDER = {
18720
19009
  {
18721
19010
  name: "qwen/qwen3-235b-a22b-thinking-2507",
18722
19011
  displayName: "Qwen3 235B A22B Thinking 2507",
18723
- maxInputTokens: 131072,
19012
+ maxInputTokens: 262144,
18724
19013
  supportedFileTypes: [],
18725
19014
  reasoning: true,
18726
19015
  supportsTemperature: true,
@@ -18740,7 +19029,7 @@ var MODELS_BY_PROVIDER = {
18740
19029
  {
18741
19030
  name: "qwen/qwen3-30b-a3b",
18742
19031
  displayName: "Qwen3 30B A3B",
18743
- maxInputTokens: 40960,
19032
+ maxInputTokens: 131072,
18744
19033
  supportedFileTypes: [],
18745
19034
  reasoning: true,
18746
19035
  supportsTemperature: true,
@@ -18760,7 +19049,7 @@ var MODELS_BY_PROVIDER = {
18760
19049
  {
18761
19050
  name: "qwen/qwen3-30b-a3b-instruct-2507",
18762
19051
  displayName: "Qwen3 30B A3B Instruct 2507",
18763
- maxInputTokens: 128e3,
19052
+ maxInputTokens: 131072,
18764
19053
  supportedFileTypes: [],
18765
19054
  reasoning: false,
18766
19055
  supportsTemperature: true,
@@ -18780,7 +19069,7 @@ var MODELS_BY_PROVIDER = {
18780
19069
  {
18781
19070
  name: "qwen/qwen3-30b-a3b-thinking-2507",
18782
19071
  displayName: "Qwen3 30B A3B Thinking 2507",
18783
- maxInputTokens: 81920,
19072
+ maxInputTokens: 131072,
18784
19073
  supportedFileTypes: [],
18785
19074
  reasoning: true,
18786
19075
  supportsTemperature: true,
@@ -18800,7 +19089,7 @@ var MODELS_BY_PROVIDER = {
18800
19089
  {
18801
19090
  name: "qwen/qwen3-32b",
18802
19091
  displayName: "Qwen3 32B",
18803
- maxInputTokens: 40960,
19092
+ maxInputTokens: 131072,
18804
19093
  supportedFileTypes: [],
18805
19094
  reasoning: true,
18806
19095
  supportsTemperature: true,
@@ -18840,7 +19129,7 @@ var MODELS_BY_PROVIDER = {
18840
19129
  {
18841
19130
  name: "qwen/qwen3-coder",
18842
19131
  displayName: "Qwen3 Coder 480B A35B",
18843
- maxInputTokens: 262144,
19132
+ maxInputTokens: 1048576,
18844
19133
  supportedFileTypes: [],
18845
19134
  reasoning: false,
18846
19135
  supportsTemperature: true,
@@ -18945,7 +19234,7 @@ var MODELS_BY_PROVIDER = {
18945
19234
  {
18946
19235
  name: "qwen/qwen3-coder:free",
18947
19236
  displayName: "Qwen3 Coder 480B A35B (free)",
18948
- maxInputTokens: 262e3,
19237
+ maxInputTokens: 1048576,
18949
19238
  supportedFileTypes: [],
18950
19239
  reasoning: false,
18951
19240
  supportsTemperature: true,
@@ -19047,7 +19336,7 @@ var MODELS_BY_PROVIDER = {
19047
19336
  {
19048
19337
  name: "qwen/qwen3-next-80b-a3b-thinking",
19049
19338
  displayName: "Qwen3-Next 80B-A3B (Thinking)",
19050
- maxInputTokens: 131072,
19339
+ maxInputTokens: 262144,
19051
19340
  supportedFileTypes: [],
19052
19341
  reasoning: true,
19053
19342
  supportsTemperature: true,
@@ -19108,7 +19397,7 @@ var MODELS_BY_PROVIDER = {
19108
19397
  {
19109
19398
  name: "qwen/qwen3-vl-30b-a3b-instruct",
19110
19399
  displayName: "Qwen3 VL 30B A3B Instruct",
19111
- maxInputTokens: 131072,
19400
+ maxInputTokens: 262144,
19112
19401
  supportedFileTypes: ["image"],
19113
19402
  reasoning: false,
19114
19403
  supportsTemperature: true,
@@ -19148,7 +19437,7 @@ var MODELS_BY_PROVIDER = {
19148
19437
  {
19149
19438
  name: "qwen/qwen3-vl-32b-instruct",
19150
19439
  displayName: "Qwen3 VL 32B Instruct",
19151
- maxInputTokens: 131072,
19440
+ maxInputTokens: 262144,
19152
19441
  supportedFileTypes: ["image"],
19153
19442
  reasoning: false,
19154
19443
  supportsTemperature: true,
@@ -19168,7 +19457,7 @@ var MODELS_BY_PROVIDER = {
19168
19457
  {
19169
19458
  name: "qwen/qwen3-vl-8b-instruct",
19170
19459
  displayName: "Qwen3 VL 8B Instruct",
19171
- maxInputTokens: 131072,
19460
+ maxInputTokens: 256e3,
19172
19461
  supportedFileTypes: ["image"],
19173
19462
  reasoning: false,
19174
19463
  supportsTemperature: true,
@@ -19188,7 +19477,7 @@ var MODELS_BY_PROVIDER = {
19188
19477
  {
19189
19478
  name: "qwen/qwen3-vl-8b-thinking",
19190
19479
  displayName: "Qwen3 VL 8B Thinking",
19191
- maxInputTokens: 131072,
19480
+ maxInputTokens: 256e3,
19192
19481
  supportedFileTypes: ["image"],
19193
19482
  reasoning: true,
19194
19483
  supportsTemperature: true,
@@ -19269,7 +19558,7 @@ var MODELS_BY_PROVIDER = {
19269
19558
  {
19270
19559
  name: "qwen/qwen3.5-397b-a17b",
19271
19560
  displayName: "Qwen3.5 397B-A17B",
19272
- maxInputTokens: 131072,
19561
+ maxInputTokens: 256e3,
19273
19562
  supportedFileTypes: ["image", "video"],
19274
19563
  reasoning: true,
19275
19564
  supportsTemperature: true,
@@ -19371,7 +19660,7 @@ var MODELS_BY_PROVIDER = {
19371
19660
  {
19372
19661
  name: "qwen/qwen3.6-27b",
19373
19662
  displayName: "Qwen3.6 27B",
19374
- maxInputTokens: 262140,
19663
+ maxInputTokens: 262144,
19375
19664
  supportedFileTypes: ["image", "video"],
19376
19665
  reasoning: true,
19377
19666
  supportsTemperature: true,
@@ -20079,7 +20368,7 @@ var MODELS_BY_PROVIDER = {
20079
20368
  {
20080
20369
  name: "xiaomi/mimo-v2.5",
20081
20370
  displayName: "MiMo-V2.5",
20082
- maxInputTokens: 32e3,
20371
+ maxInputTokens: 1048576,
20083
20372
  supportedFileTypes: ["image", "audio", "video"],
20084
20373
  reasoning: true,
20085
20374
  supportsTemperature: true,
@@ -20334,7 +20623,7 @@ var MODELS_BY_PROVIDER = {
20334
20623
  {
20335
20624
  name: "z-ai/glm-5.1",
20336
20625
  displayName: "GLM-5.1",
20337
- maxInputTokens: 2e5,
20626
+ maxInputTokens: 202752,
20338
20627
  supportedFileTypes: [],
20339
20628
  reasoning: true,
20340
20629
  supportsTemperature: true,
@@ -20359,7 +20648,7 @@ var MODELS_BY_PROVIDER = {
20359
20648
  {
20360
20649
  name: "z-ai/glm-5.2",
20361
20650
  displayName: "GLM-5.2",
20362
- maxInputTokens: 1024e3,
20651
+ maxInputTokens: 1048576,
20363
20652
  supportedFileTypes: [],
20364
20653
  reasoning: true,
20365
20654
  supportsTemperature: true,
@@ -20374,9 +20663,9 @@ var MODELS_BY_PROVIDER = {
20374
20663
  },
20375
20664
  supportsInterleaved: true,
20376
20665
  pricing: {
20377
- inputPerM: 0.546,
20378
- outputPerM: 1.716,
20379
- cacheReadPerM: 0.1014,
20666
+ inputPerM: 0.54,
20667
+ outputPerM: 1.76,
20668
+ cacheReadPerM: 0.1,
20380
20669
  currency: "USD",
20381
20670
  unit: "per_million_tokens"
20382
20671
  }
@@ -21236,11 +21525,18 @@ function calculateCost(usage, pricing) {
21236
21525
  return calculateCostBreakdown(usage, pricing).totalUsd;
21237
21526
  }
21238
21527
  function calculateCostBreakdown(usage, pricing) {
21239
- const inputUsd = (usage.inputTokens ?? 0) * pricing.inputPerM / 1e6;
21240
- const outputUsd = (usage.outputTokens ?? 0) * pricing.outputPerM / 1e6;
21241
- const cacheReadUsd = (usage.cacheReadTokens ?? 0) * (pricing.cacheReadPerM ?? 0) / 1e6;
21242
- const cacheWriteUsd = (usage.cacheWriteTokens ?? 0) * (pricing.cacheWritePerM ?? 0) / 1e6;
21243
- const reasoningUsd = (usage.reasoningTokens ?? 0) * (pricing.reasoningPerM ?? pricing.outputPerM) / 1e6;
21528
+ const longContextPricing = pricing.contextOver200kPerM;
21529
+ const totalInputTokens = (usage.inputTokens ?? 0) + (usage.cacheReadTokens ?? 0) + (usage.cacheWriteTokens ?? 0);
21530
+ const useLongContextPricing = longContextPricing !== void 0 && totalInputTokens > (longContextPricing.inputTokensAbove ?? 2e5);
21531
+ const inputPerM = useLongContextPricing ? longContextPricing.inputPerM : pricing.inputPerM;
21532
+ const outputPerM = useLongContextPricing ? longContextPricing.outputPerM : pricing.outputPerM;
21533
+ const cacheReadPerM = useLongContextPricing ? longContextPricing.cacheReadPerM ?? pricing.cacheReadPerM : pricing.cacheReadPerM;
21534
+ const cacheWritePerM = useLongContextPricing ? longContextPricing.cacheWritePerM ?? pricing.cacheWritePerM : pricing.cacheWritePerM;
21535
+ const inputUsd = (usage.inputTokens ?? 0) * inputPerM / 1e6;
21536
+ const outputUsd = (usage.outputTokens ?? 0) * outputPerM / 1e6;
21537
+ const cacheReadUsd = (usage.cacheReadTokens ?? 0) * (cacheReadPerM ?? 0) / 1e6;
21538
+ const cacheWriteUsd = (usage.cacheWriteTokens ?? 0) * (cacheWritePerM ?? 0) / 1e6;
21539
+ const reasoningUsd = (usage.reasoningTokens ?? 0) * (pricing.reasoningPerM ?? outputPerM) / 1e6;
21244
21540
  return {
21245
21541
  inputUsd,
21246
21542
  outputUsd,
@@ -21328,6 +21624,12 @@ function getSupportedOpenAIReasoningEfforts(model) {
21328
21624
  if (isVersionedGpt5Pro(id)) {
21329
21625
  return ["medium", "high", "xhigh"];
21330
21626
  }
21627
+ if (id === "gpt-5.6-sol" || id === "gpt-5.6-terra") {
21628
+ return ["low", "medium", "high", "xhigh", "max", "ultra"];
21629
+ }
21630
+ if (id === "gpt-5.6-luna") {
21631
+ return ["low", "medium", "high", "xhigh", "max"];
21632
+ }
21331
21633
  if (version !== void 0 && version >= 2) {
21332
21634
  return ["none", "low", "medium", "high", "xhigh"];
21333
21635
  }
@@ -21360,17 +21662,21 @@ function isGpt5Chat(id) {
21360
21662
  function getFallbackOrder(requested) {
21361
21663
  switch (requested) {
21362
21664
  case "none":
21363
- return ["none", "minimal", "low", "medium", "high", "xhigh"];
21665
+ return ["none", "minimal", "low", "medium", "high", "xhigh", "max", "ultra"];
21364
21666
  case "minimal":
21365
- return ["minimal", "low", "medium", "high", "xhigh"];
21667
+ return ["minimal", "low", "medium", "high", "xhigh", "max", "ultra"];
21366
21668
  case "low":
21367
- return ["low", "medium", "high", "xhigh"];
21669
+ return ["low", "medium", "high", "xhigh", "max", "ultra"];
21368
21670
  case "medium":
21369
- return ["medium", "high", "xhigh"];
21671
+ return ["medium", "high", "xhigh", "max", "ultra"];
21370
21672
  case "high":
21371
- return ["high", "xhigh"];
21673
+ return ["high", "xhigh", "max", "ultra"];
21372
21674
  case "xhigh":
21373
- return ["xhigh", "high", "medium", "low", "minimal", "none"];
21675
+ return ["xhigh", "max", "ultra", "high", "medium", "low", "minimal", "none"];
21676
+ case "max":
21677
+ return ["max", "ultra", "xhigh", "high", "medium", "low", "minimal", "none"];
21678
+ case "ultra":
21679
+ return ["ultra", "max", "xhigh", "high", "medium", "low", "minimal", "none"];
21374
21680
  }
21375
21681
  }
21376
21682
  function coerceOpenAIReasoningEffort(model, requested) {