@dexto/llm 1.9.4 → 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.js CHANGED
@@ -772,6 +772,93 @@ var MODELS_BY_PROVIDER = {
772
772
  unit: "per_million_tokens"
773
773
  }
774
774
  },
775
+ {
776
+ name: "gpt-5.6-luna",
777
+ displayName: "GPT-5.6 Luna",
778
+ maxInputTokens: 272e3,
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: 1,
790
+ outputPerM: 6,
791
+ cacheReadPerM: 0.1,
792
+ cacheWritePerM: 1.25,
793
+ contextOver200kPerM: {
794
+ inputTokensAbove: 272e3,
795
+ cacheReadPerM: 0.2,
796
+ cacheWritePerM: 2.5,
797
+ inputPerM: 2,
798
+ outputPerM: 9
799
+ },
800
+ currency: "USD",
801
+ unit: "per_million_tokens"
802
+ }
803
+ },
804
+ {
805
+ name: "gpt-5.6-sol",
806
+ displayName: "GPT-5.6 Sol",
807
+ maxInputTokens: 272e3,
808
+ supportedFileTypes: ["pdf", "image", "document"],
809
+ reasoning: true,
810
+ supportsTemperature: false,
811
+ supportsToolCall: true,
812
+ releaseDate: "2026-07-09",
813
+ modalities: {
814
+ input: ["text", "image", "pdf"],
815
+ output: ["text"]
816
+ },
817
+ pricing: {
818
+ inputPerM: 5,
819
+ outputPerM: 30,
820
+ cacheReadPerM: 0.5,
821
+ cacheWritePerM: 6.25,
822
+ contextOver200kPerM: {
823
+ inputTokensAbove: 272e3,
824
+ cacheReadPerM: 1,
825
+ cacheWritePerM: 12.5,
826
+ inputPerM: 10,
827
+ outputPerM: 45
828
+ },
829
+ currency: "USD",
830
+ unit: "per_million_tokens"
831
+ }
832
+ },
833
+ {
834
+ name: "gpt-5.6-terra",
835
+ displayName: "GPT-5.6 Terra",
836
+ maxInputTokens: 272e3,
837
+ supportedFileTypes: ["pdf", "image", "document"],
838
+ reasoning: true,
839
+ supportsTemperature: false,
840
+ supportsToolCall: true,
841
+ releaseDate: "2026-07-09",
842
+ modalities: {
843
+ input: ["text", "image", "pdf"],
844
+ output: ["text"]
845
+ },
846
+ pricing: {
847
+ inputPerM: 2.5,
848
+ outputPerM: 15,
849
+ cacheReadPerM: 0.25,
850
+ cacheWritePerM: 3.125,
851
+ contextOver200kPerM: {
852
+ inputTokensAbove: 272e3,
853
+ cacheReadPerM: 0.5,
854
+ cacheWritePerM: 6.25,
855
+ inputPerM: 5,
856
+ outputPerM: 22.5
857
+ },
858
+ currency: "USD",
859
+ unit: "per_million_tokens"
860
+ }
861
+ },
775
862
  {
776
863
  name: "gpt-image-1",
777
864
  displayName: "gpt-image-1",
@@ -1004,144 +1091,6 @@ var MODELS_BY_PROVIDER = {
1004
1091
  ],
1005
1092
  "openai-compatible": [],
1006
1093
  anthropic: [
1007
- {
1008
- name: "claude-3-5-sonnet-20240620",
1009
- displayName: "Claude Sonnet 3.5",
1010
- maxInputTokens: 2e5,
1011
- supportedFileTypes: ["pdf", "image"],
1012
- reasoning: false,
1013
- supportsTemperature: true,
1014
- supportsToolCall: true,
1015
- releaseDate: "2024-06-20",
1016
- status: "deprecated",
1017
- modalities: {
1018
- input: ["text", "image", "pdf"],
1019
- output: ["text"]
1020
- },
1021
- pricing: {
1022
- inputPerM: 3,
1023
- outputPerM: 15,
1024
- cacheReadPerM: 0.3,
1025
- cacheWritePerM: 3.75,
1026
- currency: "USD",
1027
- unit: "per_million_tokens"
1028
- }
1029
- },
1030
- {
1031
- name: "claude-3-5-sonnet-20241022",
1032
- displayName: "Claude Sonnet 3.5 v2",
1033
- maxInputTokens: 2e5,
1034
- supportedFileTypes: ["pdf", "image"],
1035
- reasoning: false,
1036
- supportsTemperature: true,
1037
- supportsToolCall: true,
1038
- releaseDate: "2024-10-22",
1039
- status: "deprecated",
1040
- modalities: {
1041
- input: ["text", "image", "pdf"],
1042
- output: ["text"]
1043
- },
1044
- pricing: {
1045
- inputPerM: 3,
1046
- outputPerM: 15,
1047
- cacheReadPerM: 0.3,
1048
- cacheWritePerM: 3.75,
1049
- currency: "USD",
1050
- unit: "per_million_tokens"
1051
- }
1052
- },
1053
- {
1054
- name: "claude-3-7-sonnet-20250219",
1055
- displayName: "Claude Sonnet 3.7",
1056
- maxInputTokens: 2e5,
1057
- supportedFileTypes: ["pdf", "image"],
1058
- reasoning: true,
1059
- supportsTemperature: true,
1060
- supportsToolCall: true,
1061
- releaseDate: "2025-02-19",
1062
- status: "deprecated",
1063
- modalities: {
1064
- input: ["text", "image", "pdf"],
1065
- output: ["text"]
1066
- },
1067
- pricing: {
1068
- inputPerM: 3,
1069
- outputPerM: 15,
1070
- cacheReadPerM: 0.3,
1071
- cacheWritePerM: 3.75,
1072
- currency: "USD",
1073
- unit: "per_million_tokens"
1074
- }
1075
- },
1076
- {
1077
- name: "claude-3-haiku-20240307",
1078
- displayName: "Claude Haiku 3",
1079
- maxInputTokens: 2e5,
1080
- supportedFileTypes: ["pdf", "image"],
1081
- reasoning: false,
1082
- supportsTemperature: true,
1083
- supportsToolCall: true,
1084
- releaseDate: "2024-03-13",
1085
- status: "deprecated",
1086
- modalities: {
1087
- input: ["text", "image", "pdf"],
1088
- output: ["text"]
1089
- },
1090
- pricing: {
1091
- inputPerM: 0.25,
1092
- outputPerM: 1.25,
1093
- cacheReadPerM: 0.03,
1094
- cacheWritePerM: 0.3,
1095
- currency: "USD",
1096
- unit: "per_million_tokens"
1097
- }
1098
- },
1099
- {
1100
- name: "claude-3-opus-20240229",
1101
- displayName: "Claude Opus 3",
1102
- maxInputTokens: 2e5,
1103
- supportedFileTypes: ["pdf", "image"],
1104
- reasoning: false,
1105
- supportsTemperature: true,
1106
- supportsToolCall: true,
1107
- releaseDate: "2024-02-29",
1108
- status: "deprecated",
1109
- modalities: {
1110
- input: ["text", "image", "pdf"],
1111
- output: ["text"]
1112
- },
1113
- pricing: {
1114
- inputPerM: 15,
1115
- outputPerM: 75,
1116
- cacheReadPerM: 1.5,
1117
- cacheWritePerM: 18.75,
1118
- currency: "USD",
1119
- unit: "per_million_tokens"
1120
- }
1121
- },
1122
- {
1123
- name: "claude-3-sonnet-20240229",
1124
- displayName: "Claude Sonnet 3",
1125
- maxInputTokens: 2e5,
1126
- supportedFileTypes: ["pdf", "image"],
1127
- reasoning: false,
1128
- supportsTemperature: true,
1129
- supportsToolCall: true,
1130
- releaseDate: "2024-03-04",
1131
- status: "deprecated",
1132
- modalities: {
1133
- input: ["text", "image", "pdf"],
1134
- output: ["text"]
1135
- },
1136
- pricing: {
1137
- inputPerM: 3,
1138
- outputPerM: 15,
1139
- cacheReadPerM: 0.3,
1140
- cacheWritePerM: 0.3,
1141
- currency: "USD",
1142
- unit: "per_million_tokens"
1143
- }
1144
- },
1145
1094
  {
1146
1095
  name: "claude-fable-5",
1147
1096
  displayName: "Claude Fable 5",
@@ -1150,7 +1099,7 @@ var MODELS_BY_PROVIDER = {
1150
1099
  reasoning: true,
1151
1100
  supportsTemperature: false,
1152
1101
  supportsToolCall: true,
1153
- releaseDate: "2026-06-09",
1102
+ releaseDate: "2026-06-07",
1154
1103
  modalities: {
1155
1104
  input: ["text", "image", "pdf"],
1156
1105
  output: ["text"]
@@ -1209,28 +1158,6 @@ var MODELS_BY_PROVIDER = {
1209
1158
  },
1210
1159
  default: true
1211
1160
  },
1212
- {
1213
- name: "claude-opus-4-0",
1214
- displayName: "Claude Opus 4 (latest)",
1215
- maxInputTokens: 2e5,
1216
- supportedFileTypes: ["pdf", "image"],
1217
- reasoning: true,
1218
- supportsTemperature: true,
1219
- supportsToolCall: true,
1220
- releaseDate: "2025-05-22",
1221
- modalities: {
1222
- input: ["text", "image", "pdf"],
1223
- output: ["text"]
1224
- },
1225
- pricing: {
1226
- inputPerM: 15,
1227
- outputPerM: 75,
1228
- cacheReadPerM: 1.5,
1229
- cacheWritePerM: 18.75,
1230
- currency: "USD",
1231
- unit: "per_million_tokens"
1232
- }
1233
- },
1234
1161
  {
1235
1162
  name: "claude-opus-4-1",
1236
1163
  displayName: "Claude Opus 4.1 (latest)",
@@ -1240,6 +1167,7 @@ var MODELS_BY_PROVIDER = {
1240
1167
  supportsTemperature: true,
1241
1168
  supportsToolCall: true,
1242
1169
  releaseDate: "2025-08-05",
1170
+ status: "deprecated",
1243
1171
  modalities: {
1244
1172
  input: ["text", "image", "pdf"],
1245
1173
  output: ["text"]
@@ -1262,28 +1190,7 @@ var MODELS_BY_PROVIDER = {
1262
1190
  supportsTemperature: true,
1263
1191
  supportsToolCall: true,
1264
1192
  releaseDate: "2025-08-05",
1265
- modalities: {
1266
- input: ["text", "image", "pdf"],
1267
- output: ["text"]
1268
- },
1269
- pricing: {
1270
- inputPerM: 15,
1271
- outputPerM: 75,
1272
- cacheReadPerM: 1.5,
1273
- cacheWritePerM: 18.75,
1274
- currency: "USD",
1275
- unit: "per_million_tokens"
1276
- }
1277
- },
1278
- {
1279
- name: "claude-opus-4-20250514",
1280
- displayName: "Claude Opus 4",
1281
- maxInputTokens: 2e5,
1282
- supportedFileTypes: ["pdf", "image"],
1283
- reasoning: true,
1284
- supportsTemperature: true,
1285
- supportsToolCall: true,
1286
- releaseDate: "2025-05-22",
1193
+ status: "deprecated",
1287
1194
  modalities: {
1288
1195
  input: ["text", "image", "pdf"],
1289
1196
  output: ["text"]
@@ -1327,7 +1234,7 @@ var MODELS_BY_PROVIDER = {
1327
1234
  reasoning: true,
1328
1235
  supportsTemperature: true,
1329
1236
  supportsToolCall: true,
1330
- releaseDate: "2025-11-01",
1237
+ releaseDate: "2025-11-24",
1331
1238
  modalities: {
1332
1239
  input: ["text", "image", "pdf"],
1333
1240
  output: ["text"]
@@ -1349,7 +1256,7 @@ var MODELS_BY_PROVIDER = {
1349
1256
  reasoning: true,
1350
1257
  supportsTemperature: true,
1351
1258
  supportsToolCall: true,
1352
- releaseDate: "2026-02-05",
1259
+ releaseDate: "2026-02-04",
1353
1260
  modalities: {
1354
1261
  input: ["text", "image", "pdf"],
1355
1262
  output: ["text"]
@@ -1371,7 +1278,7 @@ var MODELS_BY_PROVIDER = {
1371
1278
  reasoning: true,
1372
1279
  supportsTemperature: false,
1373
1280
  supportsToolCall: true,
1374
- releaseDate: "2026-04-16",
1281
+ releaseDate: "2026-04-14",
1375
1282
  modalities: {
1376
1283
  input: ["text", "image", "pdf"],
1377
1284
  output: ["text"]
@@ -1407,54 +1314,10 @@ var MODELS_BY_PROVIDER = {
1407
1314
  unit: "per_million_tokens"
1408
1315
  }
1409
1316
  },
1410
- {
1411
- name: "claude-sonnet-4-0",
1412
- displayName: "Claude Sonnet 4 (latest)",
1413
- maxInputTokens: 2e5,
1414
- supportedFileTypes: ["pdf", "image"],
1415
- reasoning: true,
1416
- supportsTemperature: true,
1417
- supportsToolCall: true,
1418
- releaseDate: "2025-05-22",
1419
- modalities: {
1420
- input: ["text", "image", "pdf"],
1421
- output: ["text"]
1422
- },
1423
- pricing: {
1424
- inputPerM: 3,
1425
- outputPerM: 15,
1426
- cacheReadPerM: 0.3,
1427
- cacheWritePerM: 3.75,
1428
- currency: "USD",
1429
- unit: "per_million_tokens"
1430
- }
1431
- },
1432
- {
1433
- name: "claude-sonnet-4-20250514",
1434
- displayName: "Claude Sonnet 4",
1435
- maxInputTokens: 2e5,
1436
- supportedFileTypes: ["pdf", "image"],
1437
- reasoning: true,
1438
- supportsTemperature: true,
1439
- supportsToolCall: true,
1440
- releaseDate: "2025-05-22",
1441
- modalities: {
1442
- input: ["text", "image", "pdf"],
1443
- output: ["text"]
1444
- },
1445
- pricing: {
1446
- inputPerM: 3,
1447
- outputPerM: 15,
1448
- cacheReadPerM: 0.3,
1449
- cacheWritePerM: 3.75,
1450
- currency: "USD",
1451
- unit: "per_million_tokens"
1452
- }
1453
- },
1454
1317
  {
1455
1318
  name: "claude-sonnet-4-5",
1456
1319
  displayName: "Claude Sonnet 4.5 (latest)",
1457
- maxInputTokens: 2e5,
1320
+ maxInputTokens: 1e6,
1458
1321
  supportedFileTypes: ["pdf", "image"],
1459
1322
  reasoning: true,
1460
1323
  supportsTemperature: true,
@@ -1476,7 +1339,7 @@ var MODELS_BY_PROVIDER = {
1476
1339
  {
1477
1340
  name: "claude-sonnet-4-5-20250929",
1478
1341
  displayName: "Claude Sonnet 4.5",
1479
- maxInputTokens: 2e5,
1342
+ maxInputTokens: 1e6,
1480
1343
  supportedFileTypes: ["pdf", "image"],
1481
1344
  reasoning: true,
1482
1345
  supportsTemperature: true,
@@ -1525,7 +1388,7 @@ var MODELS_BY_PROVIDER = {
1525
1388
  reasoning: true,
1526
1389
  supportsTemperature: false,
1527
1390
  supportsToolCall: true,
1528
- releaseDate: "2026-06-30",
1391
+ releaseDate: "2026-06-29",
1529
1392
  modalities: {
1530
1393
  input: ["text", "image", "pdf"],
1531
1394
  output: ["text"]
@@ -1982,6 +1845,26 @@ var MODELS_BY_PROVIDER = {
1982
1845
  currency: "USD",
1983
1846
  unit: "per_million_tokens"
1984
1847
  }
1848
+ },
1849
+ {
1850
+ name: "gemini-omni-flash-preview",
1851
+ displayName: "Gemini Omni Flash Preview",
1852
+ maxInputTokens: 131072,
1853
+ supportedFileTypes: ["image", "video", "document"],
1854
+ reasoning: true,
1855
+ supportsTemperature: true,
1856
+ supportsToolCall: false,
1857
+ releaseDate: "2026-06-30",
1858
+ modalities: {
1859
+ input: ["text", "image", "video"],
1860
+ output: ["video"]
1861
+ },
1862
+ pricing: {
1863
+ inputPerM: 1.5,
1864
+ outputPerM: 17.5,
1865
+ currency: "USD",
1866
+ unit: "per_million_tokens"
1867
+ }
1985
1868
  }
1986
1869
  ],
1987
1870
  groq: [
@@ -2361,6 +2244,31 @@ var MODELS_BY_PROVIDER = {
2361
2244
  unit: "per_million_tokens"
2362
2245
  }
2363
2246
  },
2247
+ {
2248
+ name: "grok-4.5",
2249
+ displayName: "Grok 4.5",
2250
+ maxInputTokens: 5e5,
2251
+ supportedFileTypes: ["pdf", "image"],
2252
+ reasoning: true,
2253
+ supportsTemperature: true,
2254
+ supportsToolCall: true,
2255
+ releaseDate: "2026-07-08",
2256
+ modalities: {
2257
+ input: ["text", "image", "pdf"],
2258
+ output: ["text"]
2259
+ },
2260
+ pricing: {
2261
+ inputPerM: 2,
2262
+ outputPerM: 6,
2263
+ cacheReadPerM: 0.5,
2264
+ contextOver200kPerM: {
2265
+ inputPerM: 4,
2266
+ outputPerM: 12
2267
+ },
2268
+ currency: "USD",
2269
+ unit: "per_million_tokens"
2270
+ }
2271
+ },
2364
2272
  {
2365
2273
  name: "grok-build-0.1",
2366
2274
  displayName: "Grok Build 0.1",
@@ -3012,9 +2920,9 @@ var MODELS_BY_PROVIDER = {
3012
2920
  },
3013
2921
  supportsInterleaved: true,
3014
2922
  pricing: {
3015
- inputPerM: 6,
3016
- outputPerM: 24,
3017
- cacheReadPerM: 1.3,
2923
+ inputPerM: 1.4,
2924
+ outputPerM: 4.4,
2925
+ cacheReadPerM: 0.26,
3018
2926
  cacheWritePerM: 0,
3019
2927
  currency: "USD",
3020
2928
  unit: "per_million_tokens"
@@ -3124,7 +3032,7 @@ var MODELS_BY_PROVIDER = {
3124
3032
  maxInputTokens: 1e6,
3125
3033
  supportedFileTypes: ["pdf", "image"],
3126
3034
  reasoning: true,
3127
- supportsTemperature: false,
3035
+ supportsTemperature: true,
3128
3036
  supportsToolCall: true,
3129
3037
  releaseDate: "2026-04-21",
3130
3038
  modalities: {
@@ -3146,7 +3054,7 @@ var MODELS_BY_PROVIDER = {
3146
3054
  maxInputTokens: 1e6,
3147
3055
  supportedFileTypes: ["pdf", "image"],
3148
3056
  reasoning: true,
3149
- supportsTemperature: true,
3057
+ supportsTemperature: false,
3150
3058
  supportsToolCall: true,
3151
3059
  releaseDate: "2026-04-27",
3152
3060
  modalities: {
@@ -3154,10 +3062,10 @@ var MODELS_BY_PROVIDER = {
3154
3062
  output: ["text"]
3155
3063
  },
3156
3064
  pricing: {
3157
- inputPerM: 3,
3158
- outputPerM: 15,
3159
- cacheReadPerM: 0.3,
3160
- cacheWritePerM: 3.75,
3065
+ inputPerM: 2,
3066
+ outputPerM: 10,
3067
+ cacheReadPerM: 0.2,
3068
+ cacheWritePerM: 2.5,
3161
3069
  currency: "USD",
3162
3070
  unit: "per_million_tokens"
3163
3071
  }
@@ -3222,9 +3130,9 @@ var MODELS_BY_PROVIDER = {
3222
3130
  output: ["text"]
3223
3131
  },
3224
3132
  pricing: {
3225
- inputPerM: 0.55,
3226
- outputPerM: 3.2,
3227
- cacheReadPerM: 0.11,
3133
+ inputPerM: 0.66,
3134
+ outputPerM: 3.41,
3135
+ cacheReadPerM: 0.15,
3228
3136
  currency: "USD",
3229
3137
  unit: "per_million_tokens"
3230
3138
  }
@@ -3246,6 +3154,7 @@ var MODELS_BY_PROVIDER = {
3246
3154
  inputPerM: 5,
3247
3155
  outputPerM: 30,
3248
3156
  cacheReadPerM: 0.5,
3157
+ cacheWritePerM: 6.25,
3249
3158
  currency: "USD",
3250
3159
  unit: "per_million_tokens"
3251
3160
  }
@@ -3271,6 +3180,27 @@ var MODELS_BY_PROVIDER = {
3271
3180
  unit: "per_million_tokens"
3272
3181
  }
3273
3182
  },
3183
+ {
3184
+ name: "~x-ai/grok-latest",
3185
+ displayName: "Grok Latest",
3186
+ maxInputTokens: 5e5,
3187
+ supportedFileTypes: ["pdf", "image"],
3188
+ reasoning: true,
3189
+ supportsTemperature: true,
3190
+ supportsToolCall: true,
3191
+ releaseDate: "2026-07-08",
3192
+ modalities: {
3193
+ input: ["text", "image", "pdf"],
3194
+ output: ["text"]
3195
+ },
3196
+ pricing: {
3197
+ inputPerM: 2,
3198
+ outputPerM: 6,
3199
+ cacheReadPerM: 0.5,
3200
+ currency: "USD",
3201
+ unit: "per_million_tokens"
3202
+ }
3203
+ },
3274
3204
  {
3275
3205
  name: "ai21/jamba-large-1.7",
3276
3206
  displayName: "Jamba Large 1.7",
@@ -3292,62 +3222,64 @@ var MODELS_BY_PROVIDER = {
3292
3222
  }
3293
3223
  },
3294
3224
  {
3295
- name: "aion-labs/aion-1.0",
3296
- displayName: "Aion-1.0",
3225
+ name: "aion-labs/aion-2.0",
3226
+ displayName: "Aion-2.0",
3297
3227
  maxInputTokens: 131072,
3298
3228
  supportedFileTypes: [],
3299
3229
  reasoning: true,
3300
3230
  supportsTemperature: true,
3301
- supportsToolCall: false,
3302
- releaseDate: "2025-02-04",
3231
+ supportsToolCall: true,
3232
+ releaseDate: "2026-02-23",
3303
3233
  modalities: {
3304
3234
  input: ["text"],
3305
3235
  output: ["text"]
3306
3236
  },
3307
3237
  pricing: {
3308
- inputPerM: 4,
3309
- outputPerM: 8,
3238
+ inputPerM: 0.8,
3239
+ outputPerM: 1.6,
3240
+ cacheReadPerM: 0.2,
3310
3241
  currency: "USD",
3311
3242
  unit: "per_million_tokens"
3312
3243
  }
3313
3244
  },
3314
3245
  {
3315
- name: "aion-labs/aion-1.0-mini",
3316
- displayName: "Aion-1.0-Mini",
3246
+ name: "aion-labs/aion-3.0",
3247
+ displayName: "Aion-3.0",
3317
3248
  maxInputTokens: 131072,
3318
3249
  supportedFileTypes: [],
3319
3250
  reasoning: true,
3320
3251
  supportsTemperature: true,
3321
- supportsToolCall: false,
3322
- releaseDate: "2025-02-04",
3252
+ supportsToolCall: true,
3253
+ releaseDate: "2026-07-07",
3323
3254
  modalities: {
3324
3255
  input: ["text"],
3325
3256
  output: ["text"]
3326
3257
  },
3327
3258
  pricing: {
3328
- inputPerM: 0.7,
3329
- outputPerM: 1.4,
3259
+ inputPerM: 3,
3260
+ outputPerM: 6,
3261
+ cacheReadPerM: 0.75,
3330
3262
  currency: "USD",
3331
3263
  unit: "per_million_tokens"
3332
3264
  }
3333
3265
  },
3334
3266
  {
3335
- name: "aion-labs/aion-2.0",
3336
- displayName: "Aion-2.0",
3267
+ name: "aion-labs/aion-3.0-mini",
3268
+ displayName: "Aion-3.0-Mini",
3337
3269
  maxInputTokens: 131072,
3338
3270
  supportedFileTypes: [],
3339
3271
  reasoning: true,
3340
3272
  supportsTemperature: true,
3341
- supportsToolCall: false,
3342
- releaseDate: "2026-02-23",
3273
+ supportsToolCall: true,
3274
+ releaseDate: "2026-07-07",
3343
3275
  modalities: {
3344
3276
  input: ["text"],
3345
3277
  output: ["text"]
3346
3278
  },
3347
3279
  pricing: {
3348
- inputPerM: 0.8,
3349
- outputPerM: 1.6,
3350
- cacheReadPerM: 0.2,
3280
+ inputPerM: 0.7,
3281
+ outputPerM: 1.4,
3282
+ cacheReadPerM: 0.18,
3351
3283
  currency: "USD",
3352
3284
  unit: "per_million_tokens"
3353
3285
  }
@@ -3496,7 +3428,7 @@ var MODELS_BY_PROVIDER = {
3496
3428
  {
3497
3429
  name: "anthracite-org/magnum-v4-72b",
3498
3430
  displayName: "Magnum v4 72B",
3499
- maxInputTokens: 16384,
3431
+ maxInputTokens: 32768,
3500
3432
  supportedFileTypes: [],
3501
3433
  reasoning: false,
3502
3434
  supportsTemperature: true,
@@ -3535,6 +3467,28 @@ var MODELS_BY_PROVIDER = {
3535
3467
  unit: "per_million_tokens"
3536
3468
  }
3537
3469
  },
3470
+ {
3471
+ name: "anthropic/claude-fable-5",
3472
+ displayName: "Claude Fable 5",
3473
+ maxInputTokens: 1e6,
3474
+ supportedFileTypes: ["pdf", "image"],
3475
+ reasoning: true,
3476
+ supportsTemperature: false,
3477
+ supportsToolCall: true,
3478
+ releaseDate: "2026-06-09",
3479
+ modalities: {
3480
+ input: ["text", "image", "pdf"],
3481
+ output: ["text"]
3482
+ },
3483
+ pricing: {
3484
+ inputPerM: 10,
3485
+ outputPerM: 50,
3486
+ cacheReadPerM: 1,
3487
+ cacheWritePerM: 12.5,
3488
+ currency: "USD",
3489
+ unit: "per_million_tokens"
3490
+ }
3491
+ },
3538
3492
  {
3539
3493
  name: "anthropic/claude-haiku-4.5",
3540
3494
  displayName: "Claude Haiku 4.5 (latest)",
@@ -3703,7 +3657,7 @@ var MODELS_BY_PROVIDER = {
3703
3657
  maxInputTokens: 1e6,
3704
3658
  supportedFileTypes: ["pdf", "image"],
3705
3659
  reasoning: true,
3706
- supportsTemperature: false,
3660
+ supportsTemperature: true,
3707
3661
  supportsToolCall: true,
3708
3662
  releaseDate: "2026-05-28",
3709
3663
  modalities: {
@@ -3819,6 +3773,28 @@ var MODELS_BY_PROVIDER = {
3819
3773
  unit: "per_million_tokens"
3820
3774
  }
3821
3775
  },
3776
+ {
3777
+ name: "anthropic/claude-sonnet-5",
3778
+ displayName: "Claude Sonnet 5",
3779
+ maxInputTokens: 1e6,
3780
+ supportedFileTypes: ["pdf", "image"],
3781
+ reasoning: true,
3782
+ supportsTemperature: false,
3783
+ supportsToolCall: true,
3784
+ releaseDate: "2026-06-30",
3785
+ modalities: {
3786
+ input: ["text", "image", "pdf"],
3787
+ output: ["text"]
3788
+ },
3789
+ pricing: {
3790
+ inputPerM: 2,
3791
+ outputPerM: 10,
3792
+ cacheReadPerM: 0.2,
3793
+ cacheWritePerM: 2.5,
3794
+ currency: "USD",
3795
+ unit: "per_million_tokens"
3796
+ }
3797
+ },
3822
3798
  {
3823
3799
  name: "arcee-ai/coder-large",
3824
3800
  displayName: "Coder Large",
@@ -3903,7 +3879,7 @@ var MODELS_BY_PROVIDER = {
3903
3879
  {
3904
3880
  name: "baidu/ernie-4.5-vl-424b-a47b",
3905
3881
  displayName: "ERNIE 4.5 VL 424B A47B ",
3906
- maxInputTokens: 123e3,
3882
+ maxInputTokens: 131072,
3907
3883
  supportedFileTypes: ["image"],
3908
3884
  reasoning: true,
3909
3885
  supportsTemperature: true,
@@ -4021,6 +3997,26 @@ var MODELS_BY_PROVIDER = {
4021
3997
  unit: "per_million_tokens"
4022
3998
  }
4023
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
+ },
4024
4020
  {
4025
4021
  name: "cognitivecomputations/dolphin-mistral-24b-venice-edition:free",
4026
4022
  displayName: "Uncensored (free)",
@@ -4164,7 +4160,7 @@ var MODELS_BY_PROVIDER = {
4164
4160
  {
4165
4161
  name: "deepseek/deepseek-chat",
4166
4162
  displayName: "DeepSeek Chat",
4167
- maxInputTokens: 128e3,
4163
+ maxInputTokens: 131072,
4168
4164
  supportedFileTypes: [],
4169
4165
  reasoning: false,
4170
4166
  supportsTemperature: true,
@@ -4195,8 +4191,8 @@ var MODELS_BY_PROVIDER = {
4195
4191
  output: ["text"]
4196
4192
  },
4197
4193
  pricing: {
4198
- inputPerM: 0.2,
4199
- outputPerM: 0.77,
4194
+ inputPerM: 0.24,
4195
+ outputPerM: 0.9,
4200
4196
  cacheReadPerM: 0.135,
4201
4197
  currency: "USD",
4202
4198
  unit: "per_million_tokens"
@@ -4226,7 +4222,7 @@ var MODELS_BY_PROVIDER = {
4226
4222
  {
4227
4223
  name: "deepseek/deepseek-r1",
4228
4224
  displayName: "DeepSeek-R1",
4229
- maxInputTokens: 64e3,
4225
+ maxInputTokens: 163840,
4230
4226
  supportedFileTypes: [],
4231
4227
  reasoning: true,
4232
4228
  supportsTemperature: true,
@@ -4267,7 +4263,7 @@ var MODELS_BY_PROVIDER = {
4267
4263
  {
4268
4264
  name: "deepseek/deepseek-r1-distill-llama-70b",
4269
4265
  displayName: "R1 Distill Llama 70B",
4270
- maxInputTokens: 8192,
4266
+ maxInputTokens: 128e3,
4271
4267
  supportedFileTypes: [],
4272
4268
  reasoning: true,
4273
4269
  supportsTemperature: true,
@@ -4308,7 +4304,7 @@ var MODELS_BY_PROVIDER = {
4308
4304
  {
4309
4305
  name: "deepseek/deepseek-v3.2",
4310
4306
  displayName: "DeepSeek V3.2",
4311
- maxInputTokens: 128e3,
4307
+ maxInputTokens: 131072,
4312
4308
  supportedFileTypes: [],
4313
4309
  reasoning: true,
4314
4310
  supportsTemperature: true,
@@ -4349,7 +4345,7 @@ var MODELS_BY_PROVIDER = {
4349
4345
  {
4350
4346
  name: "deepseek/deepseek-v4-flash",
4351
4347
  displayName: "DeepSeek V4 Flash",
4352
- maxInputTokens: 1e6,
4348
+ maxInputTokens: 1048576,
4353
4349
  supportedFileTypes: [],
4354
4350
  reasoning: true,
4355
4351
  supportsTemperature: true,
@@ -4366,7 +4362,7 @@ var MODELS_BY_PROVIDER = {
4366
4362
  pricing: {
4367
4363
  inputPerM: 0.09,
4368
4364
  outputPerM: 0.18,
4369
- cacheReadPerM: 0.02,
4365
+ cacheReadPerM: 0.018,
4370
4366
  currency: "USD",
4371
4367
  unit: "per_million_tokens"
4372
4368
  }
@@ -4429,52 +4425,29 @@ var MODELS_BY_PROVIDER = {
4429
4425
  supportsToolCall: false,
4430
4426
  releaseDate: "2025-08-26",
4431
4427
  modalities: {
4432
- input: ["text", "image"],
4433
- output: ["text", "image"]
4434
- },
4435
- pricing: {
4436
- inputPerM: 0.3,
4437
- outputPerM: 2.5,
4438
- cacheReadPerM: 0.03,
4439
- cacheWritePerM: 0.083333,
4440
- currency: "USD",
4441
- unit: "per_million_tokens"
4442
- }
4443
- },
4444
- {
4445
- name: "google/gemini-2.5-flash-lite",
4446
- displayName: "Gemini 2.5 Flash-Lite",
4447
- maxInputTokens: 1048576,
4448
- supportedFileTypes: ["pdf", "image", "audio", "video", "document"],
4449
- reasoning: true,
4450
- supportsTemperature: true,
4451
- supportsToolCall: true,
4452
- releaseDate: "2025-06-17",
4453
- modalities: {
4454
- input: ["text", "image", "audio", "video", "pdf"],
4455
- output: ["text"]
4428
+ input: ["text", "image"],
4429
+ output: ["text", "image"]
4456
4430
  },
4457
4431
  pricing: {
4458
- inputPerM: 0.1,
4459
- outputPerM: 0.4,
4460
- cacheReadPerM: 0.01,
4432
+ inputPerM: 0.3,
4433
+ outputPerM: 2.5,
4434
+ cacheReadPerM: 0.03,
4461
4435
  cacheWritePerM: 0.083333,
4462
- reasoningPerM: 0.4,
4463
4436
  currency: "USD",
4464
4437
  unit: "per_million_tokens"
4465
4438
  }
4466
4439
  },
4467
4440
  {
4468
- name: "google/gemini-2.5-flash-lite-preview-09-2025",
4469
- displayName: "Gemini 2.5 Flash Lite Preview 09-2025",
4441
+ name: "google/gemini-2.5-flash-lite",
4442
+ displayName: "Gemini 2.5 Flash-Lite",
4470
4443
  maxInputTokens: 1048576,
4471
4444
  supportedFileTypes: ["pdf", "image", "audio", "video", "document"],
4472
4445
  reasoning: true,
4473
4446
  supportsTemperature: true,
4474
4447
  supportsToolCall: true,
4475
- releaseDate: "2025-09-25",
4448
+ releaseDate: "2025-06-17",
4476
4449
  modalities: {
4477
- input: ["text", "image", "pdf", "audio", "video"],
4450
+ input: ["text", "image", "audio", "video", "pdf"],
4478
4451
  output: ["text"]
4479
4452
  },
4480
4453
  pricing: {
@@ -4692,6 +4665,26 @@ var MODELS_BY_PROVIDER = {
4692
4665
  unit: "per_million_tokens"
4693
4666
  }
4694
4667
  },
4668
+ {
4669
+ name: "google/gemini-3.1-flash-lite-image",
4670
+ displayName: "Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)",
4671
+ maxInputTokens: 65536,
4672
+ supportedFileTypes: ["image", "document"],
4673
+ reasoning: true,
4674
+ supportsTemperature: true,
4675
+ supportsToolCall: false,
4676
+ releaseDate: "2026-06-30",
4677
+ modalities: {
4678
+ input: ["image", "text"],
4679
+ output: ["image", "text"]
4680
+ },
4681
+ pricing: {
4682
+ inputPerM: 0.25,
4683
+ outputPerM: 1.5,
4684
+ currency: "USD",
4685
+ unit: "per_million_tokens"
4686
+ }
4687
+ },
4695
4688
  {
4696
4689
  name: "google/gemini-3.1-flash-lite-preview",
4697
4690
  displayName: "Gemini 3.1 Flash Lite Preview",
@@ -4749,7 +4742,7 @@ var MODELS_BY_PROVIDER = {
4749
4742
  {
4750
4743
  name: "google/gemini-3.1-pro-preview-customtools",
4751
4744
  displayName: "Gemini 3.1 Pro Preview Custom Tools",
4752
- maxInputTokens: 1048576,
4745
+ maxInputTokens: 1048756,
4753
4746
  supportedFileTypes: ["pdf", "image", "audio", "video", "document"],
4754
4747
  reasoning: true,
4755
4748
  supportsTemperature: true,
@@ -4923,7 +4916,7 @@ var MODELS_BY_PROVIDER = {
4923
4916
  {
4924
4917
  name: "google/gemma-4-26b-a4b-it:free",
4925
4918
  displayName: "Gemma 4 26B A4B (free)",
4926
- maxInputTokens: 131072,
4919
+ maxInputTokens: 262144,
4927
4920
  supportedFileTypes: ["image", "video", "document"],
4928
4921
  reasoning: true,
4929
4922
  supportsTemperature: true,
@@ -5227,26 +5220,6 @@ var MODELS_BY_PROVIDER = {
5227
5220
  unit: "per_million_tokens"
5228
5221
  }
5229
5222
  },
5230
- {
5231
- name: "liquid/lfm-2-24b-a2b",
5232
- displayName: "LFM2-24B-A2B",
5233
- maxInputTokens: 32768,
5234
- supportedFileTypes: [],
5235
- reasoning: false,
5236
- supportsTemperature: true,
5237
- supportsToolCall: false,
5238
- releaseDate: "2026-02-25",
5239
- modalities: {
5240
- input: ["text"],
5241
- output: ["text"]
5242
- },
5243
- pricing: {
5244
- inputPerM: 0.03,
5245
- outputPerM: 0.12,
5246
- currency: "USD",
5247
- unit: "per_million_tokens"
5248
- }
5249
- },
5250
5223
  {
5251
5224
  name: "liquid/lfm-2.5-1.2b-instruct:free",
5252
5225
  displayName: "LFM2.5-1.2B-Instruct (free)",
@@ -5390,7 +5363,7 @@ var MODELS_BY_PROVIDER = {
5390
5363
  {
5391
5364
  name: "meta-llama/llama-3.2-1b-instruct",
5392
5365
  displayName: "Llama 3.2 1B Instruct",
5393
- maxInputTokens: 6e4,
5366
+ maxInputTokens: 131072,
5394
5367
  supportedFileTypes: [],
5395
5368
  reasoning: false,
5396
5369
  supportsTemperature: true,
@@ -5410,7 +5383,7 @@ var MODELS_BY_PROVIDER = {
5410
5383
  {
5411
5384
  name: "meta-llama/llama-3.2-3b-instruct",
5412
5385
  displayName: "Llama 3.2 3B Instruct",
5413
- maxInputTokens: 8e4,
5386
+ maxInputTokens: 131072,
5414
5387
  supportedFileTypes: [],
5415
5388
  reasoning: false,
5416
5389
  supportsTemperature: true,
@@ -5421,8 +5394,8 @@ var MODELS_BY_PROVIDER = {
5421
5394
  output: ["text"]
5422
5395
  },
5423
5396
  pricing: {
5424
- inputPerM: 0.0509,
5425
- outputPerM: 0.335,
5397
+ inputPerM: 0.05,
5398
+ outputPerM: 0.33,
5426
5399
  currency: "USD",
5427
5400
  unit: "per_million_tokens"
5428
5401
  }
@@ -5470,7 +5443,7 @@ var MODELS_BY_PROVIDER = {
5470
5443
  {
5471
5444
  name: "meta-llama/llama-3.3-70b-instruct:free",
5472
5445
  displayName: "Llama 3.3 70B Instruct (free)",
5473
- maxInputTokens: 65536,
5446
+ maxInputTokens: 131072,
5474
5447
  supportedFileTypes: [],
5475
5448
  reasoning: false,
5476
5449
  supportsTemperature: true,
@@ -5510,7 +5483,7 @@ var MODELS_BY_PROVIDER = {
5510
5483
  {
5511
5484
  name: "meta-llama/llama-4-scout",
5512
5485
  displayName: "Llama 4 Scout",
5513
- maxInputTokens: 327680,
5486
+ maxInputTokens: 1e7,
5514
5487
  supportedFileTypes: ["image"],
5515
5488
  reasoning: false,
5516
5489
  supportsTemperature: true,
@@ -5567,31 +5540,10 @@ var MODELS_BY_PROVIDER = {
5567
5540
  unit: "per_million_tokens"
5568
5541
  }
5569
5542
  },
5570
- {
5571
- name: "microsoft/phi-4-mini-instruct",
5572
- displayName: "Phi 4 Mini Instruct",
5573
- maxInputTokens: 128e3,
5574
- supportedFileTypes: [],
5575
- reasoning: false,
5576
- supportsTemperature: true,
5577
- supportsToolCall: false,
5578
- releaseDate: "2025-10-17",
5579
- modalities: {
5580
- input: ["text"],
5581
- output: ["text"]
5582
- },
5583
- pricing: {
5584
- inputPerM: 0.08,
5585
- outputPerM: 0.35,
5586
- cacheReadPerM: 0.08,
5587
- currency: "USD",
5588
- unit: "per_million_tokens"
5589
- }
5590
- },
5591
5543
  {
5592
5544
  name: "microsoft/wizardlm-2-8x22b",
5593
5545
  displayName: "WizardLM-2 8x22B",
5594
- maxInputTokens: 65535,
5546
+ maxInputTokens: 65536,
5595
5547
  supportedFileTypes: [],
5596
5548
  reasoning: false,
5597
5549
  supportsTemperature: true,
@@ -5651,7 +5603,7 @@ var MODELS_BY_PROVIDER = {
5651
5603
  {
5652
5604
  name: "minimax/minimax-m2",
5653
5605
  displayName: "MiniMax-M2",
5654
- maxInputTokens: 196608,
5606
+ maxInputTokens: 204800,
5655
5607
  supportedFileTypes: [],
5656
5608
  reasoning: true,
5657
5609
  supportsTemperature: true,
@@ -5667,8 +5619,7 @@ var MODELS_BY_PROVIDER = {
5667
5619
  supportsInterleaved: true,
5668
5620
  pricing: {
5669
5621
  inputPerM: 0.255,
5670
- outputPerM: 1,
5671
- cacheReadPerM: 0.03,
5622
+ outputPerM: 1.02,
5672
5623
  currency: "USD",
5673
5624
  unit: "per_million_tokens"
5674
5625
  }
@@ -5697,7 +5648,7 @@ var MODELS_BY_PROVIDER = {
5697
5648
  {
5698
5649
  name: "minimax/minimax-m2.1",
5699
5650
  displayName: "MiniMax-M2.1",
5700
- maxInputTokens: 196608,
5651
+ maxInputTokens: 204800,
5701
5652
  supportedFileTypes: [],
5702
5653
  reasoning: true,
5703
5654
  supportsTemperature: true,
@@ -5712,8 +5663,8 @@ var MODELS_BY_PROVIDER = {
5712
5663
  },
5713
5664
  supportsInterleaved: true,
5714
5665
  pricing: {
5715
- inputPerM: 0.29,
5716
- outputPerM: 0.95,
5666
+ inputPerM: 0.3,
5667
+ outputPerM: 1.2,
5717
5668
  cacheReadPerM: 0.03,
5718
5669
  currency: "USD",
5719
5670
  unit: "per_million_tokens"
@@ -5722,7 +5673,7 @@ var MODELS_BY_PROVIDER = {
5722
5673
  {
5723
5674
  name: "minimax/minimax-m2.5",
5724
5675
  displayName: "MiniMax-M2.5",
5725
- maxInputTokens: 196608,
5676
+ maxInputTokens: 204800,
5726
5677
  supportedFileTypes: [],
5727
5678
  reasoning: true,
5728
5679
  supportsTemperature: true,
@@ -5737,8 +5688,9 @@ var MODELS_BY_PROVIDER = {
5737
5688
  },
5738
5689
  supportsInterleaved: true,
5739
5690
  pricing: {
5740
- inputPerM: 0.12,
5741
- outputPerM: 0.48,
5691
+ inputPerM: 0.15,
5692
+ outputPerM: 0.9,
5693
+ cacheReadPerM: 0.05,
5742
5694
  currency: "USD",
5743
5695
  unit: "per_million_tokens"
5744
5696
  }
@@ -5746,7 +5698,7 @@ var MODELS_BY_PROVIDER = {
5746
5698
  {
5747
5699
  name: "minimax/minimax-m2.7",
5748
5700
  displayName: "MiniMax-M2.7",
5749
- maxInputTokens: 196608,
5701
+ maxInputTokens: 204800,
5750
5702
  supportedFileTypes: [],
5751
5703
  reasoning: true,
5752
5704
  supportsTemperature: true,
@@ -5757,8 +5709,8 @@ var MODELS_BY_PROVIDER = {
5757
5709
  output: ["text"]
5758
5710
  },
5759
5711
  pricing: {
5760
- inputPerM: 0.18,
5761
- outputPerM: 0.72,
5712
+ inputPerM: 0.24,
5713
+ outputPerM: 0.96,
5762
5714
  currency: "USD",
5763
5715
  unit: "per_million_tokens"
5764
5716
  }
@@ -5766,7 +5718,7 @@ var MODELS_BY_PROVIDER = {
5766
5718
  {
5767
5719
  name: "minimax/minimax-m3",
5768
5720
  displayName: "MiniMax-M3",
5769
- maxInputTokens: 524288,
5721
+ maxInputTokens: 1048576,
5770
5722
  supportedFileTypes: ["image", "video"],
5771
5723
  reasoning: true,
5772
5724
  supportsTemperature: true,
@@ -6239,7 +6191,7 @@ var MODELS_BY_PROVIDER = {
6239
6191
  pricing: {
6240
6192
  inputPerM: 0.6,
6241
6193
  outputPerM: 2.5,
6242
- cacheReadPerM: 0.6,
6194
+ cacheReadPerM: 0.15,
6243
6195
  currency: "USD",
6244
6196
  unit: "per_million_tokens"
6245
6197
  }
@@ -6247,7 +6199,7 @@ var MODELS_BY_PROVIDER = {
6247
6199
  {
6248
6200
  name: "moonshotai/kimi-k2.5",
6249
6201
  displayName: "Kimi K2.5",
6250
- maxInputTokens: 256e3,
6202
+ maxInputTokens: 262144,
6251
6203
  supportedFileTypes: ["image"],
6252
6204
  reasoning: true,
6253
6205
  supportsTemperature: true,
@@ -6264,6 +6216,7 @@ var MODELS_BY_PROVIDER = {
6264
6216
  pricing: {
6265
6217
  inputPerM: 0.375,
6266
6218
  outputPerM: 2.025,
6219
+ cacheReadPerM: 0.203,
6267
6220
  currency: "USD",
6268
6221
  unit: "per_million_tokens"
6269
6222
  }
@@ -6286,9 +6239,9 @@ var MODELS_BY_PROVIDER = {
6286
6239
  },
6287
6240
  supportsInterleaved: true,
6288
6241
  pricing: {
6289
- inputPerM: 0.55,
6290
- outputPerM: 3.2,
6291
- cacheReadPerM: 0.11,
6242
+ inputPerM: 0.66,
6243
+ outputPerM: 3.41,
6244
+ cacheReadPerM: 0.15,
6292
6245
  currency: "USD",
6293
6246
  unit: "per_million_tokens"
6294
6247
  }
@@ -6307,9 +6260,9 @@ var MODELS_BY_PROVIDER = {
6307
6260
  output: ["text"]
6308
6261
  },
6309
6262
  pricing: {
6310
- inputPerM: 0.74,
6311
- outputPerM: 3.5,
6312
- cacheReadPerM: 0.15,
6263
+ inputPerM: 0.72,
6264
+ outputPerM: 3.49,
6265
+ cacheReadPerM: 0.159,
6313
6266
  currency: "USD",
6314
6267
  unit: "per_million_tokens"
6315
6268
  }
@@ -6354,6 +6307,27 @@ var MODELS_BY_PROVIDER = {
6354
6307
  unit: "per_million_tokens"
6355
6308
  }
6356
6309
  },
6310
+ {
6311
+ name: "nex-agi/nex-n2-mini",
6312
+ displayName: "Nex-N2-Mini",
6313
+ maxInputTokens: 262144,
6314
+ supportedFileTypes: ["image"],
6315
+ reasoning: true,
6316
+ supportsTemperature: true,
6317
+ supportsToolCall: true,
6318
+ releaseDate: "2026-06-24",
6319
+ modalities: {
6320
+ input: ["text", "image"],
6321
+ output: ["text"]
6322
+ },
6323
+ pricing: {
6324
+ inputPerM: 0.025,
6325
+ outputPerM: 0.1,
6326
+ cacheReadPerM: 25e-4,
6327
+ currency: "USD",
6328
+ unit: "per_million_tokens"
6329
+ }
6330
+ },
6357
6331
  {
6358
6332
  name: "nex-agi/nex-n2-pro",
6359
6333
  displayName: "Nex-N2-Pro",
@@ -6361,7 +6335,7 @@ var MODELS_BY_PROVIDER = {
6361
6335
  supportedFileTypes: ["image"],
6362
6336
  reasoning: true,
6363
6337
  supportsTemperature: true,
6364
- supportsToolCall: false,
6338
+ supportsToolCall: true,
6365
6339
  releaseDate: "2026-06-08",
6366
6340
  modalities: {
6367
6341
  input: ["text", "image"],
@@ -6558,7 +6532,7 @@ var MODELS_BY_PROVIDER = {
6558
6532
  {
6559
6533
  name: "nvidia/nemotron-3-super-120b-a12b",
6560
6534
  displayName: "Nemotron 3 Super 120B A12B",
6561
- maxInputTokens: 262144,
6535
+ maxInputTokens: 1e6,
6562
6536
  supportedFileTypes: [],
6563
6537
  reasoning: true,
6564
6538
  supportsTemperature: true,
@@ -6569,8 +6543,8 @@ var MODELS_BY_PROVIDER = {
6569
6543
  output: ["text"]
6570
6544
  },
6571
6545
  pricing: {
6572
- inputPerM: 0.085,
6573
- outputPerM: 0.4,
6546
+ inputPerM: 0.08,
6547
+ outputPerM: 0.45,
6574
6548
  currency: "USD",
6575
6549
  unit: "per_million_tokens"
6576
6550
  }
@@ -6578,7 +6552,7 @@ var MODELS_BY_PROVIDER = {
6578
6552
  {
6579
6553
  name: "nvidia/nemotron-3-super-120b-a12b:free",
6580
6554
  displayName: "Nemotron 3 Super (free)",
6581
- maxInputTokens: 262144,
6555
+ maxInputTokens: 1e6,
6582
6556
  supportedFileTypes: [],
6583
6557
  reasoning: true,
6584
6558
  supportsTemperature: true,
@@ -6598,7 +6572,7 @@ var MODELS_BY_PROVIDER = {
6598
6572
  {
6599
6573
  name: "nvidia/nemotron-3-ultra-550b-a55b",
6600
6574
  displayName: "Nemotron 3 Ultra 550B A55B",
6601
- maxInputTokens: 262144,
6575
+ maxInputTokens: 1e6,
6602
6576
  supportedFileTypes: [],
6603
6577
  reasoning: true,
6604
6578
  supportsTemperature: true,
@@ -7531,76 +7505,208 @@ var MODELS_BY_PROVIDER = {
7531
7505
  reasoning: true,
7532
7506
  supportsTemperature: false,
7533
7507
  supportsToolCall: true,
7534
- releaseDate: "2026-03-17",
7508
+ releaseDate: "2026-03-17",
7509
+ modalities: {
7510
+ input: ["pdf", "image", "text"],
7511
+ output: ["text"]
7512
+ },
7513
+ pricing: {
7514
+ inputPerM: 0.2,
7515
+ outputPerM: 1.25,
7516
+ cacheReadPerM: 0.02,
7517
+ currency: "USD",
7518
+ unit: "per_million_tokens"
7519
+ }
7520
+ },
7521
+ {
7522
+ name: "openai/gpt-5.4-pro",
7523
+ displayName: "GPT-5.4 Pro",
7524
+ maxInputTokens: 922e3,
7525
+ supportedFileTypes: ["pdf", "image", "document"],
7526
+ reasoning: true,
7527
+ supportsTemperature: false,
7528
+ supportsToolCall: true,
7529
+ releaseDate: "2026-03-05",
7530
+ modalities: {
7531
+ input: ["text", "image", "pdf"],
7532
+ output: ["text"]
7533
+ },
7534
+ pricing: {
7535
+ inputPerM: 30,
7536
+ outputPerM: 180,
7537
+ currency: "USD",
7538
+ unit: "per_million_tokens"
7539
+ }
7540
+ },
7541
+ {
7542
+ name: "openai/gpt-5.5",
7543
+ displayName: "GPT-5.5",
7544
+ maxInputTokens: 922e3,
7545
+ supportedFileTypes: ["pdf", "image", "document"],
7546
+ reasoning: true,
7547
+ supportsTemperature: false,
7548
+ supportsToolCall: true,
7549
+ releaseDate: "2026-04-23",
7550
+ modalities: {
7551
+ input: ["text", "image", "pdf"],
7552
+ output: ["text"]
7553
+ },
7554
+ pricing: {
7555
+ inputPerM: 5,
7556
+ outputPerM: 30,
7557
+ cacheReadPerM: 0.5,
7558
+ currency: "USD",
7559
+ unit: "per_million_tokens"
7560
+ }
7561
+ },
7562
+ {
7563
+ name: "openai/gpt-5.5-pro",
7564
+ displayName: "GPT-5.5 Pro",
7565
+ maxInputTokens: 922e3,
7566
+ supportedFileTypes: ["pdf", "image", "document"],
7567
+ reasoning: true,
7568
+ supportsTemperature: false,
7569
+ supportsToolCall: true,
7570
+ releaseDate: "2026-04-23",
7571
+ modalities: {
7572
+ input: ["text", "image", "pdf"],
7573
+ output: ["text"]
7574
+ },
7575
+ pricing: {
7576
+ inputPerM: 30,
7577
+ outputPerM: 180,
7578
+ currency: "USD",
7579
+ unit: "per_million_tokens"
7580
+ }
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",
7535
7635
  modalities: {
7536
- input: ["pdf", "image", "text"],
7636
+ input: ["text", "image", "pdf"],
7537
7637
  output: ["text"]
7538
7638
  },
7539
7639
  pricing: {
7540
- inputPerM: 0.2,
7541
- outputPerM: 1.25,
7542
- cacheReadPerM: 0.02,
7640
+ inputPerM: 5,
7641
+ outputPerM: 30,
7642
+ cacheReadPerM: 0.5,
7643
+ cacheWritePerM: 6.25,
7543
7644
  currency: "USD",
7544
7645
  unit: "per_million_tokens"
7545
7646
  }
7546
7647
  },
7547
7648
  {
7548
- name: "openai/gpt-5.4-pro",
7549
- displayName: "GPT-5.4 Pro",
7649
+ name: "openai/gpt-5.6-sol-pro",
7650
+ displayName: "GPT-5.6 Sol Pro",
7550
7651
  maxInputTokens: 922e3,
7551
7652
  supportedFileTypes: ["pdf", "image", "document"],
7552
7653
  reasoning: true,
7553
7654
  supportsTemperature: false,
7554
7655
  supportsToolCall: true,
7555
- releaseDate: "2026-03-05",
7656
+ releaseDate: "2026-07-09",
7556
7657
  modalities: {
7557
7658
  input: ["text", "image", "pdf"],
7558
7659
  output: ["text"]
7559
7660
  },
7560
7661
  pricing: {
7561
- inputPerM: 30,
7562
- outputPerM: 180,
7662
+ inputPerM: 5,
7663
+ outputPerM: 30,
7664
+ cacheReadPerM: 0.5,
7665
+ cacheWritePerM: 6.25,
7563
7666
  currency: "USD",
7564
7667
  unit: "per_million_tokens"
7565
7668
  }
7566
7669
  },
7567
7670
  {
7568
- name: "openai/gpt-5.5",
7569
- displayName: "GPT-5.5",
7671
+ name: "openai/gpt-5.6-terra",
7672
+ displayName: "GPT-5.6 Terra",
7570
7673
  maxInputTokens: 922e3,
7571
7674
  supportedFileTypes: ["pdf", "image", "document"],
7572
7675
  reasoning: true,
7573
7676
  supportsTemperature: false,
7574
7677
  supportsToolCall: true,
7575
- releaseDate: "2026-04-23",
7678
+ releaseDate: "2026-07-09",
7576
7679
  modalities: {
7577
7680
  input: ["text", "image", "pdf"],
7578
7681
  output: ["text"]
7579
7682
  },
7580
7683
  pricing: {
7581
- inputPerM: 5,
7582
- outputPerM: 30,
7583
- cacheReadPerM: 0.5,
7684
+ inputPerM: 2.5,
7685
+ outputPerM: 15,
7686
+ cacheReadPerM: 0.25,
7687
+ cacheWritePerM: 3.125,
7584
7688
  currency: "USD",
7585
7689
  unit: "per_million_tokens"
7586
7690
  }
7587
7691
  },
7588
7692
  {
7589
- name: "openai/gpt-5.5-pro",
7590
- displayName: "GPT-5.5 Pro",
7693
+ name: "openai/gpt-5.6-terra-pro",
7694
+ displayName: "GPT-5.6 Terra Pro",
7591
7695
  maxInputTokens: 922e3,
7592
7696
  supportedFileTypes: ["pdf", "image", "document"],
7593
7697
  reasoning: true,
7594
7698
  supportsTemperature: false,
7595
7699
  supportsToolCall: true,
7596
- releaseDate: "2026-04-23",
7700
+ releaseDate: "2026-07-09",
7597
7701
  modalities: {
7598
7702
  input: ["text", "image", "pdf"],
7599
7703
  output: ["text"]
7600
7704
  },
7601
7705
  pricing: {
7602
- inputPerM: 30,
7603
- outputPerM: 180,
7706
+ inputPerM: 2.5,
7707
+ outputPerM: 15,
7708
+ cacheReadPerM: 0.25,
7709
+ cacheWritePerM: 3.125,
7604
7710
  currency: "USD",
7605
7711
  unit: "per_million_tokens"
7606
7712
  }
@@ -7680,8 +7786,8 @@ var MODELS_BY_PROVIDER = {
7680
7786
  output: ["text"]
7681
7787
  },
7682
7788
  pricing: {
7683
- inputPerM: 0.03,
7684
- outputPerM: 0.15,
7789
+ inputPerM: 0.036,
7790
+ outputPerM: 0.18,
7685
7791
  currency: "USD",
7686
7792
  unit: "per_million_tokens"
7687
7793
  }
@@ -7708,7 +7814,7 @@ var MODELS_BY_PROVIDER = {
7708
7814
  },
7709
7815
  {
7710
7816
  name: "openai/gpt-oss-20b",
7711
- displayName: "gpt-oss-20b",
7817
+ displayName: "GPT OSS 20B",
7712
7818
  maxInputTokens: 131072,
7713
7819
  supportedFileTypes: [],
7714
7820
  reasoning: true,
@@ -8218,43 +8324,39 @@ var MODELS_BY_PROVIDER = {
8218
8324
  }
8219
8325
  },
8220
8326
  {
8221
- name: "poolside/laguna-xs.2",
8222
- displayName: "Laguna XS.2",
8327
+ name: "poolside/laguna-xs-2.1",
8328
+ displayName: "Laguna XS 2.1",
8223
8329
  maxInputTokens: 262144,
8224
8330
  supportedFileTypes: [],
8225
8331
  reasoning: true,
8226
8332
  supportsTemperature: true,
8227
8333
  supportsToolCall: true,
8228
- releaseDate: "2026-04-28",
8334
+ releaseDate: "2026-07-02",
8229
8335
  modalities: {
8230
8336
  input: ["text"],
8231
8337
  output: ["text"]
8232
8338
  },
8233
8339
  pricing: {
8234
- inputPerM: 0.1,
8235
- outputPerM: 0.2,
8236
- cacheReadPerM: 0.05,
8340
+ inputPerM: 0.06,
8341
+ outputPerM: 0.12,
8342
+ cacheReadPerM: 0.03,
8237
8343
  currency: "USD",
8238
8344
  unit: "per_million_tokens"
8239
8345
  }
8240
8346
  },
8241
8347
  {
8242
- name: "poolside/laguna-xs.2:free",
8243
- displayName: "Laguna XS.2 (free)",
8348
+ name: "poolside/laguna-xs-2.1:free",
8349
+ displayName: "Laguna XS 2.1 (free)",
8244
8350
  maxInputTokens: 262144,
8245
8351
  supportedFileTypes: [],
8246
8352
  reasoning: true,
8247
8353
  supportsTemperature: true,
8248
8354
  supportsToolCall: true,
8249
- releaseDate: "2026-04-28",
8355
+ releaseDate: "2026-07-02",
8250
8356
  modalities: {
8251
8357
  input: ["text"],
8252
8358
  output: ["text"]
8253
8359
  },
8254
- interleaved: {
8255
- field: "reasoning_content"
8256
- },
8257
- supportsInterleaved: true,
8258
8360
  pricing: {
8259
8361
  inputPerM: 0,
8260
8362
  outputPerM: 0,
@@ -8265,7 +8367,7 @@ var MODELS_BY_PROVIDER = {
8265
8367
  {
8266
8368
  name: "qwen/qwen-2.5-72b-instruct",
8267
8369
  displayName: "Qwen2.5 72B Instruct",
8268
- maxInputTokens: 32768,
8370
+ maxInputTokens: 131072,
8269
8371
  supportedFileTypes: [],
8270
8372
  reasoning: false,
8271
8373
  supportsTemperature: true,
@@ -8285,7 +8387,7 @@ var MODELS_BY_PROVIDER = {
8285
8387
  {
8286
8388
  name: "qwen/qwen-2.5-7b-instruct",
8287
8389
  displayName: "Qwen2.5 7B Instruct",
8288
- maxInputTokens: 32768,
8390
+ maxInputTokens: 131072,
8289
8391
  supportedFileTypes: [],
8290
8392
  reasoning: false,
8291
8393
  supportsTemperature: true,
@@ -8305,7 +8407,7 @@ var MODELS_BY_PROVIDER = {
8305
8407
  {
8306
8408
  name: "qwen/qwen-2.5-coder-32b-instruct",
8307
8409
  displayName: "Qwen2.5 Coder 32B Instruct",
8308
- maxInputTokens: 32768,
8410
+ maxInputTokens: 128e3,
8309
8411
  supportedFileTypes: [],
8310
8412
  reasoning: false,
8311
8413
  supportsTemperature: true,
@@ -8388,7 +8490,7 @@ var MODELS_BY_PROVIDER = {
8388
8490
  {
8389
8491
  name: "qwen/qwen2.5-vl-72b-instruct",
8390
8492
  displayName: "Qwen2.5 VL 72B Instruct",
8391
- maxInputTokens: 128e3,
8493
+ maxInputTokens: 131072,
8392
8494
  supportedFileTypes: ["image"],
8393
8495
  reasoning: false,
8394
8496
  supportsTemperature: true,
@@ -8409,7 +8511,7 @@ var MODELS_BY_PROVIDER = {
8409
8511
  {
8410
8512
  name: "qwen/qwen3-14b",
8411
8513
  displayName: "Qwen3 14B",
8412
- maxInputTokens: 40960,
8514
+ maxInputTokens: 131702,
8413
8515
  supportedFileTypes: [],
8414
8516
  reasoning: true,
8415
8517
  supportsTemperature: true,
@@ -8480,9 +8582,8 @@ var MODELS_BY_PROVIDER = {
8480
8582
  output: ["text"]
8481
8583
  },
8482
8584
  pricing: {
8483
- inputPerM: 0.1,
8484
- outputPerM: 0.1,
8485
- cacheReadPerM: 0.1,
8585
+ inputPerM: 0.1495,
8586
+ outputPerM: 1.495,
8486
8587
  currency: "USD",
8487
8588
  unit: "per_million_tokens"
8488
8589
  }
@@ -8490,7 +8591,7 @@ var MODELS_BY_PROVIDER = {
8490
8591
  {
8491
8592
  name: "qwen/qwen3-30b-a3b",
8492
8593
  displayName: "Qwen3 30B A3B",
8493
- maxInputTokens: 40960,
8594
+ maxInputTokens: 131072,
8494
8595
  supportedFileTypes: [],
8495
8596
  reasoning: true,
8496
8597
  supportsTemperature: true,
@@ -8510,7 +8611,7 @@ var MODELS_BY_PROVIDER = {
8510
8611
  {
8511
8612
  name: "qwen/qwen3-30b-a3b-instruct-2507",
8512
8613
  displayName: "Qwen3 30B A3B Instruct 2507",
8513
- maxInputTokens: 128e3,
8614
+ maxInputTokens: 131072,
8514
8615
  supportedFileTypes: [],
8515
8616
  reasoning: false,
8516
8617
  supportsTemperature: true,
@@ -8541,9 +8642,8 @@ var MODELS_BY_PROVIDER = {
8541
8642
  output: ["text"]
8542
8643
  },
8543
8644
  pricing: {
8544
- inputPerM: 0.08,
8545
- outputPerM: 0.4,
8546
- cacheReadPerM: 0.08,
8645
+ inputPerM: 0.13,
8646
+ outputPerM: 1.56,
8547
8647
  currency: "USD",
8548
8648
  unit: "per_million_tokens"
8549
8649
  }
@@ -8551,7 +8651,7 @@ var MODELS_BY_PROVIDER = {
8551
8651
  {
8552
8652
  name: "qwen/qwen3-32b",
8553
8653
  displayName: "Qwen3 32B",
8554
- maxInputTokens: 40960,
8654
+ maxInputTokens: 131072,
8555
8655
  supportedFileTypes: [],
8556
8656
  reasoning: true,
8557
8657
  supportsTemperature: true,
@@ -8571,7 +8671,7 @@ var MODELS_BY_PROVIDER = {
8571
8671
  {
8572
8672
  name: "qwen/qwen3-8b",
8573
8673
  displayName: "Qwen3 8B",
8574
- maxInputTokens: 40960,
8674
+ maxInputTokens: 131072,
8575
8675
  supportedFileTypes: [],
8576
8676
  reasoning: true,
8577
8677
  supportsTemperature: true,
@@ -8582,9 +8682,8 @@ var MODELS_BY_PROVIDER = {
8582
8682
  output: ["text"]
8583
8683
  },
8584
8684
  pricing: {
8585
- inputPerM: 0.05,
8586
- outputPerM: 0.4,
8587
- cacheReadPerM: 0.05,
8685
+ inputPerM: 0.117,
8686
+ outputPerM: 0.455,
8588
8687
  currency: "USD",
8589
8688
  unit: "per_million_tokens"
8590
8689
  }
@@ -8592,7 +8691,7 @@ var MODELS_BY_PROVIDER = {
8592
8691
  {
8593
8692
  name: "qwen/qwen3-coder",
8594
8693
  displayName: "Qwen3 Coder 480B A35B",
8595
- maxInputTokens: 262144,
8694
+ maxInputTokens: 1048576,
8596
8695
  supportedFileTypes: [],
8597
8696
  reasoning: false,
8598
8697
  supportsTemperature: true,
@@ -8697,7 +8796,7 @@ var MODELS_BY_PROVIDER = {
8697
8796
  {
8698
8797
  name: "qwen/qwen3-coder:free",
8699
8798
  displayName: "Qwen3 Coder 480B A35B (free)",
8700
- maxInputTokens: 262e3,
8799
+ maxInputTokens: 1048576,
8701
8800
  supportedFileTypes: [],
8702
8801
  reasoning: false,
8703
8802
  supportsTemperature: true,
@@ -8799,7 +8898,7 @@ var MODELS_BY_PROVIDER = {
8799
8898
  {
8800
8899
  name: "qwen/qwen3-next-80b-a3b-thinking",
8801
8900
  displayName: "Qwen3-Next 80B-A3B (Thinking)",
8802
- maxInputTokens: 131072,
8901
+ maxInputTokens: 262144,
8803
8902
  supportedFileTypes: [],
8804
8903
  reasoning: true,
8805
8904
  supportsTemperature: true,
@@ -8860,7 +8959,7 @@ var MODELS_BY_PROVIDER = {
8860
8959
  {
8861
8960
  name: "qwen/qwen3-vl-30b-a3b-instruct",
8862
8961
  displayName: "Qwen3 VL 30B A3B Instruct",
8863
- maxInputTokens: 131072,
8962
+ maxInputTokens: 262144,
8864
8963
  supportedFileTypes: ["image"],
8865
8964
  reasoning: false,
8866
8965
  supportsTemperature: true,
@@ -8900,7 +8999,7 @@ var MODELS_BY_PROVIDER = {
8900
8999
  {
8901
9000
  name: "qwen/qwen3-vl-32b-instruct",
8902
9001
  displayName: "Qwen3 VL 32B Instruct",
8903
- maxInputTokens: 131072,
9002
+ maxInputTokens: 262144,
8904
9003
  supportedFileTypes: ["image"],
8905
9004
  reasoning: false,
8906
9005
  supportsTemperature: true,
@@ -8920,7 +9019,7 @@ var MODELS_BY_PROVIDER = {
8920
9019
  {
8921
9020
  name: "qwen/qwen3-vl-8b-instruct",
8922
9021
  displayName: "Qwen3 VL 8B Instruct",
8923
- maxInputTokens: 131072,
9022
+ maxInputTokens: 256e3,
8924
9023
  supportedFileTypes: ["image"],
8925
9024
  reasoning: false,
8926
9025
  supportsTemperature: true,
@@ -8931,8 +9030,8 @@ var MODELS_BY_PROVIDER = {
8931
9030
  output: ["text"]
8932
9031
  },
8933
9032
  pricing: {
8934
- inputPerM: 0.08,
8935
- outputPerM: 0.5,
9033
+ inputPerM: 0.117,
9034
+ outputPerM: 0.455,
8936
9035
  currency: "USD",
8937
9036
  unit: "per_million_tokens"
8938
9037
  }
@@ -8940,7 +9039,7 @@ var MODELS_BY_PROVIDER = {
8940
9039
  {
8941
9040
  name: "qwen/qwen3-vl-8b-thinking",
8942
9041
  displayName: "Qwen3 VL 8B Thinking",
8943
- maxInputTokens: 131072,
9042
+ maxInputTokens: 256e3,
8944
9043
  supportedFileTypes: ["image"],
8945
9044
  reasoning: true,
8946
9045
  supportsTemperature: true,
@@ -9021,7 +9120,7 @@ var MODELS_BY_PROVIDER = {
9021
9120
  {
9022
9121
  name: "qwen/qwen3.5-397b-a17b",
9023
9122
  displayName: "Qwen3.5 397B-A17B",
9024
- maxInputTokens: 131072,
9123
+ maxInputTokens: 256e3,
9025
9124
  supportedFileTypes: ["image", "video"],
9026
9125
  reasoning: true,
9027
9126
  supportsTemperature: true,
@@ -9034,6 +9133,7 @@ var MODELS_BY_PROVIDER = {
9034
9133
  pricing: {
9035
9134
  inputPerM: 0.385,
9036
9135
  outputPerM: 2.45,
9136
+ cacheReadPerM: 0.111,
9037
9137
  currency: "USD",
9038
9138
  unit: "per_million_tokens"
9039
9139
  }
@@ -9122,7 +9222,7 @@ var MODELS_BY_PROVIDER = {
9122
9222
  {
9123
9223
  name: "qwen/qwen3.6-27b",
9124
9224
  displayName: "Qwen3.6 27B",
9125
- maxInputTokens: 262140,
9225
+ maxInputTokens: 262144,
9126
9226
  supportedFileTypes: ["image", "video"],
9127
9227
  reasoning: true,
9128
9228
  supportsTemperature: true,
@@ -9135,6 +9235,7 @@ var MODELS_BY_PROVIDER = {
9135
9235
  pricing: {
9136
9236
  inputPerM: 0.285,
9137
9237
  outputPerM: 2.4,
9238
+ cacheReadPerM: 0.15,
9138
9239
  currency: "USD",
9139
9240
  unit: "per_million_tokens"
9140
9241
  }
@@ -9489,41 +9590,42 @@ var MODELS_BY_PROVIDER = {
9489
9590
  }
9490
9591
  },
9491
9592
  {
9492
- name: "switchpoint/router",
9493
- displayName: "Switchpoint Router",
9593
+ name: "tencent/hunyuan-a13b-instruct",
9594
+ displayName: "Hunyuan A13B Instruct",
9494
9595
  maxInputTokens: 131072,
9495
9596
  supportedFileTypes: [],
9496
9597
  reasoning: true,
9497
9598
  supportsTemperature: true,
9498
9599
  supportsToolCall: false,
9499
- releaseDate: "2025-07-11",
9600
+ releaseDate: "2025-07-08",
9500
9601
  modalities: {
9501
9602
  input: ["text"],
9502
9603
  output: ["text"]
9503
9604
  },
9504
9605
  pricing: {
9505
- inputPerM: 0.85,
9506
- outputPerM: 3.4,
9606
+ inputPerM: 0.14,
9607
+ outputPerM: 0.57,
9507
9608
  currency: "USD",
9508
9609
  unit: "per_million_tokens"
9509
9610
  }
9510
9611
  },
9511
9612
  {
9512
- name: "tencent/hunyuan-a13b-instruct",
9513
- displayName: "Hunyuan A13B Instruct",
9514
- maxInputTokens: 131072,
9613
+ name: "tencent/hy3",
9614
+ displayName: "Hy3",
9615
+ maxInputTokens: 262144,
9515
9616
  supportedFileTypes: [],
9516
9617
  reasoning: true,
9517
9618
  supportsTemperature: true,
9518
- supportsToolCall: false,
9519
- releaseDate: "2025-07-08",
9619
+ supportsToolCall: true,
9620
+ releaseDate: "2026-07-06",
9520
9621
  modalities: {
9521
9622
  input: ["text"],
9522
9623
  output: ["text"]
9523
9624
  },
9524
9625
  pricing: {
9525
9626
  inputPerM: 0.14,
9526
- outputPerM: 0.57,
9627
+ outputPerM: 0.58,
9628
+ cacheReadPerM: 0.035,
9527
9629
  currency: "USD",
9528
9630
  unit: "per_million_tokens"
9529
9631
  }
@@ -9549,6 +9651,26 @@ var MODELS_BY_PROVIDER = {
9549
9651
  unit: "per_million_tokens"
9550
9652
  }
9551
9653
  },
9654
+ {
9655
+ name: "tencent/hy3:free",
9656
+ displayName: "Hy3 (free)",
9657
+ maxInputTokens: 262144,
9658
+ supportedFileTypes: [],
9659
+ reasoning: true,
9660
+ supportsTemperature: true,
9661
+ supportsToolCall: true,
9662
+ releaseDate: "2026-07-06",
9663
+ modalities: {
9664
+ input: ["text"],
9665
+ output: ["text"]
9666
+ },
9667
+ pricing: {
9668
+ inputPerM: 0,
9669
+ outputPerM: 0,
9670
+ currency: "USD",
9671
+ unit: "per_million_tokens"
9672
+ }
9673
+ },
9552
9674
  {
9553
9675
  name: "thedrummer/cydonia-24b-v4.1",
9554
9676
  displayName: "Cydonia 24B V4.1",
@@ -9573,7 +9695,7 @@ var MODELS_BY_PROVIDER = {
9573
9695
  {
9574
9696
  name: "thedrummer/rocinante-12b",
9575
9697
  displayName: "Rocinante 12B",
9576
- maxInputTokens: 32768,
9698
+ maxInputTokens: 65536,
9577
9699
  supportedFileTypes: [],
9578
9700
  reasoning: false,
9579
9701
  supportsTemperature: true,
@@ -9759,17 +9881,42 @@ var MODELS_BY_PROVIDER = {
9759
9881
  unit: "per_million_tokens"
9760
9882
  }
9761
9883
  },
9884
+ {
9885
+ name: "x-ai/grok-4.5",
9886
+ displayName: "Grok 4.5",
9887
+ maxInputTokens: 5e5,
9888
+ supportedFileTypes: ["pdf", "image"],
9889
+ reasoning: true,
9890
+ supportsTemperature: true,
9891
+ supportsToolCall: true,
9892
+ releaseDate: "2026-07-08",
9893
+ modalities: {
9894
+ input: ["text", "image", "pdf"],
9895
+ output: ["text"]
9896
+ },
9897
+ pricing: {
9898
+ inputPerM: 2,
9899
+ outputPerM: 6,
9900
+ cacheReadPerM: 0.5,
9901
+ contextOver200kPerM: {
9902
+ inputPerM: 4,
9903
+ outputPerM: 12
9904
+ },
9905
+ currency: "USD",
9906
+ unit: "per_million_tokens"
9907
+ }
9908
+ },
9762
9909
  {
9763
9910
  name: "x-ai/grok-build-0.1",
9764
9911
  displayName: "Grok Build 0.1",
9765
9912
  maxInputTokens: 256e3,
9766
- supportedFileTypes: ["image"],
9913
+ supportedFileTypes: ["pdf", "image"],
9767
9914
  reasoning: true,
9768
9915
  supportsTemperature: true,
9769
9916
  supportsToolCall: true,
9770
9917
  releaseDate: "2026-04-16",
9771
9918
  modalities: {
9772
- input: ["text", "image"],
9919
+ input: ["text", "image", "pdf"],
9773
9920
  output: ["text"]
9774
9921
  },
9775
9922
  pricing: {
@@ -9783,7 +9930,7 @@ var MODELS_BY_PROVIDER = {
9783
9930
  {
9784
9931
  name: "xiaomi/mimo-v2.5",
9785
9932
  displayName: "MiMo-V2.5",
9786
- maxInputTokens: 32e3,
9933
+ maxInputTokens: 1048576,
9787
9934
  supportedFileTypes: ["image", "audio", "video"],
9788
9935
  reasoning: true,
9789
9936
  supportsTemperature: true,
@@ -9800,6 +9947,7 @@ var MODELS_BY_PROVIDER = {
9800
9947
  pricing: {
9801
9948
  inputPerM: 0.105,
9802
9949
  outputPerM: 0.28,
9950
+ cacheReadPerM: 0.028,
9803
9951
  currency: "USD",
9804
9952
  unit: "per_million_tokens"
9805
9953
  }
@@ -10037,7 +10185,7 @@ var MODELS_BY_PROVIDER = {
10037
10185
  {
10038
10186
  name: "z-ai/glm-5.1",
10039
10187
  displayName: "GLM-5.1",
10040
- maxInputTokens: 65536,
10188
+ maxInputTokens: 202752,
10041
10189
  supportedFileTypes: [],
10042
10190
  reasoning: true,
10043
10191
  supportsTemperature: true,
@@ -10052,8 +10200,9 @@ var MODELS_BY_PROVIDER = {
10052
10200
  },
10053
10201
  supportsInterleaved: true,
10054
10202
  pricing: {
10055
- inputPerM: 0.975,
10056
- outputPerM: 4.3,
10203
+ inputPerM: 0.966,
10204
+ outputPerM: 3.036,
10205
+ cacheReadPerM: 0.1794,
10057
10206
  currency: "USD",
10058
10207
  unit: "per_million_tokens"
10059
10208
  }
@@ -10076,9 +10225,9 @@ var MODELS_BY_PROVIDER = {
10076
10225
  },
10077
10226
  supportsInterleaved: true,
10078
10227
  pricing: {
10079
- inputPerM: 0.94,
10080
- outputPerM: 3,
10081
- cacheReadPerM: 0.18,
10228
+ inputPerM: 0.54,
10229
+ outputPerM: 1.76,
10230
+ cacheReadPerM: 0.1,
10082
10231
  currency: "USD",
10083
10232
  unit: "per_million_tokens"
10084
10233
  }
@@ -11071,6 +11220,28 @@ var MODELS_BY_PROVIDER = {
11071
11220
  unit: "per_million_tokens"
11072
11221
  }
11073
11222
  },
11223
+ {
11224
+ name: "anthropic.claude-fable-5",
11225
+ displayName: "Claude Fable 5",
11226
+ maxInputTokens: 1e6,
11227
+ supportedFileTypes: ["pdf", "image"],
11228
+ reasoning: true,
11229
+ supportsTemperature: false,
11230
+ supportsToolCall: true,
11231
+ releaseDate: "2026-06-09",
11232
+ modalities: {
11233
+ input: ["text", "image", "pdf"],
11234
+ output: ["text"]
11235
+ },
11236
+ pricing: {
11237
+ inputPerM: 10,
11238
+ outputPerM: 50,
11239
+ cacheReadPerM: 1,
11240
+ cacheWritePerM: 12.5,
11241
+ currency: "USD",
11242
+ unit: "per_million_tokens"
11243
+ }
11244
+ },
11074
11245
  {
11075
11246
  name: "anthropic.claude-haiku-4-5-20251001-v1:0",
11076
11247
  displayName: "Claude Haiku 4.5",
@@ -11466,13 +11637,13 @@ var MODELS_BY_PROVIDER = {
11466
11637
  name: "eu.anthropic.claude-fable-5",
11467
11638
  displayName: "Claude Fable 5 (EU)",
11468
11639
  maxInputTokens: 1e6,
11469
- supportedFileTypes: ["image"],
11640
+ supportedFileTypes: ["pdf", "image"],
11470
11641
  reasoning: true,
11471
11642
  supportsTemperature: false,
11472
11643
  supportsToolCall: true,
11473
11644
  releaseDate: "2026-06-09",
11474
11645
  modalities: {
11475
- input: ["text", "image"],
11646
+ input: ["text", "image", "pdf"],
11476
11647
  output: ["text"]
11477
11648
  },
11478
11649
  pricing: {
@@ -11664,13 +11835,13 @@ var MODELS_BY_PROVIDER = {
11664
11835
  name: "global.anthropic.claude-fable-5",
11665
11836
  displayName: "Claude Fable 5 (Global)",
11666
11837
  maxInputTokens: 1e6,
11667
- supportedFileTypes: ["image"],
11838
+ supportedFileTypes: ["pdf", "image"],
11668
11839
  reasoning: true,
11669
11840
  supportsTemperature: false,
11670
11841
  supportsToolCall: true,
11671
11842
  releaseDate: "2026-06-09",
11672
11843
  modalities: {
11673
- input: ["text", "image"],
11844
+ input: ["text", "image", "pdf"],
11674
11845
  output: ["text"]
11675
11846
  },
11676
11847
  pricing: {
@@ -11918,6 +12089,28 @@ var MODELS_BY_PROVIDER = {
11918
12089
  unit: "per_million_tokens"
11919
12090
  }
11920
12091
  },
12092
+ {
12093
+ name: "jp.anthropic.claude-haiku-4-5-20251001-v1:0",
12094
+ displayName: "Claude Haiku 4.5 (JP)",
12095
+ maxInputTokens: 2e5,
12096
+ supportedFileTypes: ["pdf", "image"],
12097
+ reasoning: true,
12098
+ supportsTemperature: true,
12099
+ supportsToolCall: true,
12100
+ releaseDate: "2025-10-15",
12101
+ modalities: {
12102
+ input: ["text", "image", "pdf"],
12103
+ output: ["text"]
12104
+ },
12105
+ pricing: {
12106
+ inputPerM: 1,
12107
+ outputPerM: 5,
12108
+ cacheReadPerM: 0.1,
12109
+ cacheWritePerM: 1.25,
12110
+ currency: "USD",
12111
+ unit: "per_million_tokens"
12112
+ }
12113
+ },
11921
12114
  {
11922
12115
  name: "jp.anthropic.claude-opus-4-7",
11923
12116
  displayName: "Claude Opus 4.7 (JP)",
@@ -12814,13 +13007,13 @@ var MODELS_BY_PROVIDER = {
12814
13007
  name: "us.anthropic.claude-fable-5",
12815
13008
  displayName: "Claude Fable 5 (US)",
12816
13009
  maxInputTokens: 1e6,
12817
- supportedFileTypes: ["image"],
13010
+ supportedFileTypes: ["pdf", "image"],
12818
13011
  reasoning: true,
12819
13012
  supportsTemperature: false,
12820
13013
  supportsToolCall: true,
12821
13014
  releaseDate: "2026-06-09",
12822
13015
  modalities: {
12823
- input: ["text", "image"],
13016
+ input: ["text", "image", "pdf"],
12824
13017
  output: ["text"]
12825
13018
  },
12826
13019
  pricing: {
@@ -13277,7 +13470,7 @@ var MODELS_BY_PROVIDER = {
13277
13470
  maxInputTokens: 1e6,
13278
13471
  supportedFileTypes: ["pdf", "image"],
13279
13472
  reasoning: true,
13280
- supportsTemperature: false,
13473
+ supportsTemperature: true,
13281
13474
  supportsToolCall: true,
13282
13475
  releaseDate: "2026-04-21",
13283
13476
  modalities: {
@@ -13299,7 +13492,7 @@ var MODELS_BY_PROVIDER = {
13299
13492
  maxInputTokens: 1e6,
13300
13493
  supportedFileTypes: ["pdf", "image"],
13301
13494
  reasoning: true,
13302
- supportsTemperature: true,
13495
+ supportsTemperature: false,
13303
13496
  supportsToolCall: true,
13304
13497
  releaseDate: "2026-04-27",
13305
13498
  modalities: {
@@ -13307,10 +13500,10 @@ var MODELS_BY_PROVIDER = {
13307
13500
  output: ["text"]
13308
13501
  },
13309
13502
  pricing: {
13310
- inputPerM: 3,
13311
- outputPerM: 15,
13312
- cacheReadPerM: 0.3,
13313
- cacheWritePerM: 3.75,
13503
+ inputPerM: 2,
13504
+ outputPerM: 10,
13505
+ cacheReadPerM: 0.2,
13506
+ cacheWritePerM: 2.5,
13314
13507
  currency: "USD",
13315
13508
  unit: "per_million_tokens"
13316
13509
  }
@@ -13375,9 +13568,9 @@ var MODELS_BY_PROVIDER = {
13375
13568
  output: ["text"]
13376
13569
  },
13377
13570
  pricing: {
13378
- inputPerM: 0.55,
13379
- outputPerM: 3.2,
13380
- cacheReadPerM: 0.11,
13571
+ inputPerM: 0.66,
13572
+ outputPerM: 3.41,
13573
+ cacheReadPerM: 0.15,
13381
13574
  currency: "USD",
13382
13575
  unit: "per_million_tokens"
13383
13576
  }
@@ -13399,27 +13592,49 @@ var MODELS_BY_PROVIDER = {
13399
13592
  inputPerM: 5,
13400
13593
  outputPerM: 30,
13401
13594
  cacheReadPerM: 0.5,
13595
+ cacheWritePerM: 6.25,
13596
+ currency: "USD",
13597
+ unit: "per_million_tokens"
13598
+ }
13599
+ },
13600
+ {
13601
+ name: "~openai/gpt-mini-latest",
13602
+ displayName: "OpenAI GPT Mini Latest",
13603
+ maxInputTokens: 4e5,
13604
+ supportedFileTypes: ["pdf", "image"],
13605
+ reasoning: true,
13606
+ supportsTemperature: false,
13607
+ supportsToolCall: true,
13608
+ releaseDate: "2026-04-27",
13609
+ modalities: {
13610
+ input: ["pdf", "image", "text"],
13611
+ output: ["text"]
13612
+ },
13613
+ pricing: {
13614
+ inputPerM: 0.75,
13615
+ outputPerM: 4.5,
13616
+ cacheReadPerM: 0.075,
13402
13617
  currency: "USD",
13403
13618
  unit: "per_million_tokens"
13404
13619
  }
13405
13620
  },
13406
13621
  {
13407
- name: "~openai/gpt-mini-latest",
13408
- displayName: "OpenAI GPT Mini Latest",
13409
- maxInputTokens: 4e5,
13622
+ name: "~x-ai/grok-latest",
13623
+ displayName: "Grok Latest",
13624
+ maxInputTokens: 5e5,
13410
13625
  supportedFileTypes: ["pdf", "image"],
13411
13626
  reasoning: true,
13412
- supportsTemperature: false,
13627
+ supportsTemperature: true,
13413
13628
  supportsToolCall: true,
13414
- releaseDate: "2026-04-27",
13629
+ releaseDate: "2026-07-08",
13415
13630
  modalities: {
13416
- input: ["pdf", "image", "text"],
13631
+ input: ["text", "image", "pdf"],
13417
13632
  output: ["text"]
13418
13633
  },
13419
13634
  pricing: {
13420
- inputPerM: 0.75,
13421
- outputPerM: 4.5,
13422
- cacheReadPerM: 0.075,
13635
+ inputPerM: 2,
13636
+ outputPerM: 6,
13637
+ cacheReadPerM: 0.5,
13423
13638
  currency: "USD",
13424
13639
  unit: "per_million_tokens"
13425
13640
  }
@@ -13445,62 +13660,64 @@ var MODELS_BY_PROVIDER = {
13445
13660
  }
13446
13661
  },
13447
13662
  {
13448
- name: "aion-labs/aion-1.0",
13449
- displayName: "Aion-1.0",
13663
+ name: "aion-labs/aion-2.0",
13664
+ displayName: "Aion-2.0",
13450
13665
  maxInputTokens: 131072,
13451
13666
  supportedFileTypes: [],
13452
13667
  reasoning: true,
13453
13668
  supportsTemperature: true,
13454
- supportsToolCall: false,
13455
- releaseDate: "2025-02-04",
13669
+ supportsToolCall: true,
13670
+ releaseDate: "2026-02-23",
13456
13671
  modalities: {
13457
13672
  input: ["text"],
13458
13673
  output: ["text"]
13459
13674
  },
13460
13675
  pricing: {
13461
- inputPerM: 4,
13462
- outputPerM: 8,
13676
+ inputPerM: 0.8,
13677
+ outputPerM: 1.6,
13678
+ cacheReadPerM: 0.2,
13463
13679
  currency: "USD",
13464
13680
  unit: "per_million_tokens"
13465
13681
  }
13466
13682
  },
13467
13683
  {
13468
- name: "aion-labs/aion-1.0-mini",
13469
- displayName: "Aion-1.0-Mini",
13684
+ name: "aion-labs/aion-3.0",
13685
+ displayName: "Aion-3.0",
13470
13686
  maxInputTokens: 131072,
13471
13687
  supportedFileTypes: [],
13472
13688
  reasoning: true,
13473
13689
  supportsTemperature: true,
13474
- supportsToolCall: false,
13475
- releaseDate: "2025-02-04",
13690
+ supportsToolCall: true,
13691
+ releaseDate: "2026-07-07",
13476
13692
  modalities: {
13477
13693
  input: ["text"],
13478
13694
  output: ["text"]
13479
13695
  },
13480
13696
  pricing: {
13481
- inputPerM: 0.7,
13482
- outputPerM: 1.4,
13697
+ inputPerM: 3,
13698
+ outputPerM: 6,
13699
+ cacheReadPerM: 0.75,
13483
13700
  currency: "USD",
13484
13701
  unit: "per_million_tokens"
13485
13702
  }
13486
13703
  },
13487
13704
  {
13488
- name: "aion-labs/aion-2.0",
13489
- displayName: "Aion-2.0",
13705
+ name: "aion-labs/aion-3.0-mini",
13706
+ displayName: "Aion-3.0-Mini",
13490
13707
  maxInputTokens: 131072,
13491
13708
  supportedFileTypes: [],
13492
13709
  reasoning: true,
13493
13710
  supportsTemperature: true,
13494
- supportsToolCall: false,
13495
- releaseDate: "2026-02-23",
13711
+ supportsToolCall: true,
13712
+ releaseDate: "2026-07-07",
13496
13713
  modalities: {
13497
13714
  input: ["text"],
13498
13715
  output: ["text"]
13499
13716
  },
13500
13717
  pricing: {
13501
- inputPerM: 0.8,
13502
- outputPerM: 1.6,
13503
- cacheReadPerM: 0.2,
13718
+ inputPerM: 0.7,
13719
+ outputPerM: 1.4,
13720
+ cacheReadPerM: 0.18,
13504
13721
  currency: "USD",
13505
13722
  unit: "per_million_tokens"
13506
13723
  }
@@ -13649,7 +13866,7 @@ var MODELS_BY_PROVIDER = {
13649
13866
  {
13650
13867
  name: "anthracite-org/magnum-v4-72b",
13651
13868
  displayName: "Magnum v4 72B",
13652
- maxInputTokens: 16384,
13869
+ maxInputTokens: 32768,
13653
13870
  supportedFileTypes: [],
13654
13871
  reasoning: false,
13655
13872
  supportsTemperature: true,
@@ -13688,6 +13905,28 @@ var MODELS_BY_PROVIDER = {
13688
13905
  unit: "per_million_tokens"
13689
13906
  }
13690
13907
  },
13908
+ {
13909
+ name: "anthropic/claude-fable-5",
13910
+ displayName: "Claude Fable 5",
13911
+ maxInputTokens: 1e6,
13912
+ supportedFileTypes: ["pdf", "image"],
13913
+ reasoning: true,
13914
+ supportsTemperature: false,
13915
+ supportsToolCall: true,
13916
+ releaseDate: "2026-06-09",
13917
+ modalities: {
13918
+ input: ["text", "image", "pdf"],
13919
+ output: ["text"]
13920
+ },
13921
+ pricing: {
13922
+ inputPerM: 10,
13923
+ outputPerM: 50,
13924
+ cacheReadPerM: 1,
13925
+ cacheWritePerM: 12.5,
13926
+ currency: "USD",
13927
+ unit: "per_million_tokens"
13928
+ }
13929
+ },
13691
13930
  {
13692
13931
  name: "anthropic/claude-haiku-4.5",
13693
13932
  displayName: "Claude Haiku 4.5 (latest)",
@@ -13856,7 +14095,7 @@ var MODELS_BY_PROVIDER = {
13856
14095
  maxInputTokens: 1e6,
13857
14096
  supportedFileTypes: ["pdf", "image"],
13858
14097
  reasoning: true,
13859
- supportsTemperature: false,
14098
+ supportsTemperature: true,
13860
14099
  supportsToolCall: true,
13861
14100
  releaseDate: "2026-05-28",
13862
14101
  modalities: {
@@ -13972,6 +14211,28 @@ var MODELS_BY_PROVIDER = {
13972
14211
  unit: "per_million_tokens"
13973
14212
  }
13974
14213
  },
14214
+ {
14215
+ name: "anthropic/claude-sonnet-5",
14216
+ displayName: "Claude Sonnet 5",
14217
+ maxInputTokens: 1e6,
14218
+ supportedFileTypes: ["pdf", "image"],
14219
+ reasoning: true,
14220
+ supportsTemperature: false,
14221
+ supportsToolCall: true,
14222
+ releaseDate: "2026-06-30",
14223
+ modalities: {
14224
+ input: ["text", "image", "pdf"],
14225
+ output: ["text"]
14226
+ },
14227
+ pricing: {
14228
+ inputPerM: 2,
14229
+ outputPerM: 10,
14230
+ cacheReadPerM: 0.2,
14231
+ cacheWritePerM: 2.5,
14232
+ currency: "USD",
14233
+ unit: "per_million_tokens"
14234
+ }
14235
+ },
13975
14236
  {
13976
14237
  name: "arcee-ai/coder-large",
13977
14238
  displayName: "Coder Large",
@@ -14056,7 +14317,7 @@ var MODELS_BY_PROVIDER = {
14056
14317
  {
14057
14318
  name: "baidu/ernie-4.5-vl-424b-a47b",
14058
14319
  displayName: "ERNIE 4.5 VL 424B A47B ",
14059
- maxInputTokens: 123e3,
14320
+ maxInputTokens: 131072,
14060
14321
  supportedFileTypes: ["image"],
14061
14322
  reasoning: true,
14062
14323
  supportsTemperature: true,
@@ -14174,6 +14435,26 @@ var MODELS_BY_PROVIDER = {
14174
14435
  unit: "per_million_tokens"
14175
14436
  }
14176
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
+ },
14177
14458
  {
14178
14459
  name: "cognitivecomputations/dolphin-mistral-24b-venice-edition:free",
14179
14460
  displayName: "Uncensored (free)",
@@ -14317,7 +14598,7 @@ var MODELS_BY_PROVIDER = {
14317
14598
  {
14318
14599
  name: "deepseek/deepseek-chat",
14319
14600
  displayName: "DeepSeek Chat",
14320
- maxInputTokens: 128e3,
14601
+ maxInputTokens: 131072,
14321
14602
  supportedFileTypes: [],
14322
14603
  reasoning: false,
14323
14604
  supportsTemperature: true,
@@ -14348,8 +14629,8 @@ var MODELS_BY_PROVIDER = {
14348
14629
  output: ["text"]
14349
14630
  },
14350
14631
  pricing: {
14351
- inputPerM: 0.2,
14352
- outputPerM: 0.77,
14632
+ inputPerM: 0.24,
14633
+ outputPerM: 0.9,
14353
14634
  cacheReadPerM: 0.135,
14354
14635
  currency: "USD",
14355
14636
  unit: "per_million_tokens"
@@ -14379,7 +14660,7 @@ var MODELS_BY_PROVIDER = {
14379
14660
  {
14380
14661
  name: "deepseek/deepseek-r1",
14381
14662
  displayName: "DeepSeek-R1",
14382
- maxInputTokens: 64e3,
14663
+ maxInputTokens: 163840,
14383
14664
  supportedFileTypes: [],
14384
14665
  reasoning: true,
14385
14666
  supportsTemperature: true,
@@ -14420,7 +14701,7 @@ var MODELS_BY_PROVIDER = {
14420
14701
  {
14421
14702
  name: "deepseek/deepseek-r1-distill-llama-70b",
14422
14703
  displayName: "R1 Distill Llama 70B",
14423
- maxInputTokens: 8192,
14704
+ maxInputTokens: 128e3,
14424
14705
  supportedFileTypes: [],
14425
14706
  reasoning: true,
14426
14707
  supportsTemperature: true,
@@ -14461,7 +14742,7 @@ var MODELS_BY_PROVIDER = {
14461
14742
  {
14462
14743
  name: "deepseek/deepseek-v3.2",
14463
14744
  displayName: "DeepSeek V3.2",
14464
- maxInputTokens: 128e3,
14745
+ maxInputTokens: 131072,
14465
14746
  supportedFileTypes: [],
14466
14747
  reasoning: true,
14467
14748
  supportsTemperature: true,
@@ -14502,7 +14783,7 @@ var MODELS_BY_PROVIDER = {
14502
14783
  {
14503
14784
  name: "deepseek/deepseek-v4-flash",
14504
14785
  displayName: "DeepSeek V4 Flash",
14505
- maxInputTokens: 1e6,
14786
+ maxInputTokens: 1048576,
14506
14787
  supportedFileTypes: [],
14507
14788
  reasoning: true,
14508
14789
  supportsTemperature: true,
@@ -14519,7 +14800,7 @@ var MODELS_BY_PROVIDER = {
14519
14800
  pricing: {
14520
14801
  inputPerM: 0.09,
14521
14802
  outputPerM: 0.18,
14522
- cacheReadPerM: 0.02,
14803
+ cacheReadPerM: 0.018,
14523
14804
  currency: "USD",
14524
14805
  unit: "per_million_tokens"
14525
14806
  }
@@ -14617,29 +14898,6 @@ var MODELS_BY_PROVIDER = {
14617
14898
  unit: "per_million_tokens"
14618
14899
  }
14619
14900
  },
14620
- {
14621
- name: "google/gemini-2.5-flash-lite-preview-09-2025",
14622
- displayName: "Gemini 2.5 Flash Lite Preview 09-2025",
14623
- maxInputTokens: 1048576,
14624
- supportedFileTypes: ["pdf", "image", "audio", "video", "document"],
14625
- reasoning: true,
14626
- supportsTemperature: true,
14627
- supportsToolCall: true,
14628
- releaseDate: "2025-09-25",
14629
- modalities: {
14630
- input: ["text", "image", "pdf", "audio", "video"],
14631
- output: ["text"]
14632
- },
14633
- pricing: {
14634
- inputPerM: 0.1,
14635
- outputPerM: 0.4,
14636
- cacheReadPerM: 0.01,
14637
- cacheWritePerM: 0.083333,
14638
- reasoningPerM: 0.4,
14639
- currency: "USD",
14640
- unit: "per_million_tokens"
14641
- }
14642
- },
14643
14901
  {
14644
14902
  name: "google/gemini-2.5-pro",
14645
14903
  displayName: "Gemini 2.5 Pro",
@@ -14845,6 +15103,26 @@ var MODELS_BY_PROVIDER = {
14845
15103
  unit: "per_million_tokens"
14846
15104
  }
14847
15105
  },
15106
+ {
15107
+ name: "google/gemini-3.1-flash-lite-image",
15108
+ displayName: "Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)",
15109
+ maxInputTokens: 65536,
15110
+ supportedFileTypes: ["image", "document"],
15111
+ reasoning: true,
15112
+ supportsTemperature: true,
15113
+ supportsToolCall: false,
15114
+ releaseDate: "2026-06-30",
15115
+ modalities: {
15116
+ input: ["image", "text"],
15117
+ output: ["image", "text"]
15118
+ },
15119
+ pricing: {
15120
+ inputPerM: 0.25,
15121
+ outputPerM: 1.5,
15122
+ currency: "USD",
15123
+ unit: "per_million_tokens"
15124
+ }
15125
+ },
14848
15126
  {
14849
15127
  name: "google/gemini-3.1-flash-lite-preview",
14850
15128
  displayName: "Gemini 3.1 Flash Lite Preview",
@@ -14902,7 +15180,7 @@ var MODELS_BY_PROVIDER = {
14902
15180
  {
14903
15181
  name: "google/gemini-3.1-pro-preview-customtools",
14904
15182
  displayName: "Gemini 3.1 Pro Preview Custom Tools",
14905
- maxInputTokens: 1048576,
15183
+ maxInputTokens: 1048756,
14906
15184
  supportedFileTypes: ["pdf", "image", "audio", "video", "document"],
14907
15185
  reasoning: true,
14908
15186
  supportsTemperature: true,
@@ -15076,7 +15354,7 @@ var MODELS_BY_PROVIDER = {
15076
15354
  {
15077
15355
  name: "google/gemma-4-26b-a4b-it:free",
15078
15356
  displayName: "Gemma 4 26B A4B (free)",
15079
- maxInputTokens: 131072,
15357
+ maxInputTokens: 262144,
15080
15358
  supportedFileTypes: ["image", "video", "document"],
15081
15359
  reasoning: true,
15082
15360
  supportsTemperature: true,
@@ -15380,26 +15658,6 @@ var MODELS_BY_PROVIDER = {
15380
15658
  unit: "per_million_tokens"
15381
15659
  }
15382
15660
  },
15383
- {
15384
- name: "liquid/lfm-2-24b-a2b",
15385
- displayName: "LFM2-24B-A2B",
15386
- maxInputTokens: 32768,
15387
- supportedFileTypes: [],
15388
- reasoning: false,
15389
- supportsTemperature: true,
15390
- supportsToolCall: false,
15391
- releaseDate: "2026-02-25",
15392
- modalities: {
15393
- input: ["text"],
15394
- output: ["text"]
15395
- },
15396
- pricing: {
15397
- inputPerM: 0.03,
15398
- outputPerM: 0.12,
15399
- currency: "USD",
15400
- unit: "per_million_tokens"
15401
- }
15402
- },
15403
15661
  {
15404
15662
  name: "liquid/lfm-2.5-1.2b-instruct:free",
15405
15663
  displayName: "LFM2.5-1.2B-Instruct (free)",
@@ -15543,7 +15801,7 @@ var MODELS_BY_PROVIDER = {
15543
15801
  {
15544
15802
  name: "meta-llama/llama-3.2-1b-instruct",
15545
15803
  displayName: "Llama 3.2 1B Instruct",
15546
- maxInputTokens: 6e4,
15804
+ maxInputTokens: 131072,
15547
15805
  supportedFileTypes: [],
15548
15806
  reasoning: false,
15549
15807
  supportsTemperature: true,
@@ -15563,7 +15821,7 @@ var MODELS_BY_PROVIDER = {
15563
15821
  {
15564
15822
  name: "meta-llama/llama-3.2-3b-instruct",
15565
15823
  displayName: "Llama 3.2 3B Instruct",
15566
- maxInputTokens: 8e4,
15824
+ maxInputTokens: 131072,
15567
15825
  supportedFileTypes: [],
15568
15826
  reasoning: false,
15569
15827
  supportsTemperature: true,
@@ -15574,8 +15832,8 @@ var MODELS_BY_PROVIDER = {
15574
15832
  output: ["text"]
15575
15833
  },
15576
15834
  pricing: {
15577
- inputPerM: 0.0509,
15578
- outputPerM: 0.335,
15835
+ inputPerM: 0.05,
15836
+ outputPerM: 0.33,
15579
15837
  currency: "USD",
15580
15838
  unit: "per_million_tokens"
15581
15839
  }
@@ -15623,7 +15881,7 @@ var MODELS_BY_PROVIDER = {
15623
15881
  {
15624
15882
  name: "meta-llama/llama-3.3-70b-instruct:free",
15625
15883
  displayName: "Llama 3.3 70B Instruct (free)",
15626
- maxInputTokens: 65536,
15884
+ maxInputTokens: 131072,
15627
15885
  supportedFileTypes: [],
15628
15886
  reasoning: false,
15629
15887
  supportsTemperature: true,
@@ -15663,7 +15921,7 @@ var MODELS_BY_PROVIDER = {
15663
15921
  {
15664
15922
  name: "meta-llama/llama-4-scout",
15665
15923
  displayName: "Llama 4 Scout",
15666
- maxInputTokens: 327680,
15924
+ maxInputTokens: 1e7,
15667
15925
  supportedFileTypes: ["image"],
15668
15926
  reasoning: false,
15669
15927
  supportsTemperature: true,
@@ -15720,31 +15978,10 @@ var MODELS_BY_PROVIDER = {
15720
15978
  unit: "per_million_tokens"
15721
15979
  }
15722
15980
  },
15723
- {
15724
- name: "microsoft/phi-4-mini-instruct",
15725
- displayName: "Phi 4 Mini Instruct",
15726
- maxInputTokens: 128e3,
15727
- supportedFileTypes: [],
15728
- reasoning: false,
15729
- supportsTemperature: true,
15730
- supportsToolCall: false,
15731
- releaseDate: "2025-10-17",
15732
- modalities: {
15733
- input: ["text"],
15734
- output: ["text"]
15735
- },
15736
- pricing: {
15737
- inputPerM: 0.08,
15738
- outputPerM: 0.35,
15739
- cacheReadPerM: 0.08,
15740
- currency: "USD",
15741
- unit: "per_million_tokens"
15742
- }
15743
- },
15744
15981
  {
15745
15982
  name: "microsoft/wizardlm-2-8x22b",
15746
15983
  displayName: "WizardLM-2 8x22B",
15747
- maxInputTokens: 65535,
15984
+ maxInputTokens: 65536,
15748
15985
  supportedFileTypes: [],
15749
15986
  reasoning: false,
15750
15987
  supportsTemperature: true,
@@ -15804,7 +16041,7 @@ var MODELS_BY_PROVIDER = {
15804
16041
  {
15805
16042
  name: "minimax/minimax-m2",
15806
16043
  displayName: "MiniMax-M2",
15807
- maxInputTokens: 196608,
16044
+ maxInputTokens: 204800,
15808
16045
  supportedFileTypes: [],
15809
16046
  reasoning: true,
15810
16047
  supportsTemperature: true,
@@ -15820,8 +16057,7 @@ var MODELS_BY_PROVIDER = {
15820
16057
  supportsInterleaved: true,
15821
16058
  pricing: {
15822
16059
  inputPerM: 0.255,
15823
- outputPerM: 1,
15824
- cacheReadPerM: 0.03,
16060
+ outputPerM: 1.02,
15825
16061
  currency: "USD",
15826
16062
  unit: "per_million_tokens"
15827
16063
  }
@@ -15850,7 +16086,7 @@ var MODELS_BY_PROVIDER = {
15850
16086
  {
15851
16087
  name: "minimax/minimax-m2.1",
15852
16088
  displayName: "MiniMax-M2.1",
15853
- maxInputTokens: 196608,
16089
+ maxInputTokens: 204800,
15854
16090
  supportedFileTypes: [],
15855
16091
  reasoning: true,
15856
16092
  supportsTemperature: true,
@@ -15865,8 +16101,8 @@ var MODELS_BY_PROVIDER = {
15865
16101
  },
15866
16102
  supportsInterleaved: true,
15867
16103
  pricing: {
15868
- inputPerM: 0.29,
15869
- outputPerM: 0.95,
16104
+ inputPerM: 0.3,
16105
+ outputPerM: 1.2,
15870
16106
  cacheReadPerM: 0.03,
15871
16107
  currency: "USD",
15872
16108
  unit: "per_million_tokens"
@@ -15875,7 +16111,7 @@ var MODELS_BY_PROVIDER = {
15875
16111
  {
15876
16112
  name: "minimax/minimax-m2.5",
15877
16113
  displayName: "MiniMax-M2.5",
15878
- maxInputTokens: 196608,
16114
+ maxInputTokens: 204800,
15879
16115
  supportedFileTypes: [],
15880
16116
  reasoning: true,
15881
16117
  supportsTemperature: true,
@@ -15890,8 +16126,9 @@ var MODELS_BY_PROVIDER = {
15890
16126
  },
15891
16127
  supportsInterleaved: true,
15892
16128
  pricing: {
15893
- inputPerM: 0.12,
15894
- outputPerM: 0.48,
16129
+ inputPerM: 0.15,
16130
+ outputPerM: 0.9,
16131
+ cacheReadPerM: 0.05,
15895
16132
  currency: "USD",
15896
16133
  unit: "per_million_tokens"
15897
16134
  }
@@ -15899,7 +16136,7 @@ var MODELS_BY_PROVIDER = {
15899
16136
  {
15900
16137
  name: "minimax/minimax-m2.7",
15901
16138
  displayName: "MiniMax-M2.7",
15902
- maxInputTokens: 196608,
16139
+ maxInputTokens: 204800,
15903
16140
  supportedFileTypes: [],
15904
16141
  reasoning: true,
15905
16142
  supportsTemperature: true,
@@ -15910,8 +16147,8 @@ var MODELS_BY_PROVIDER = {
15910
16147
  output: ["text"]
15911
16148
  },
15912
16149
  pricing: {
15913
- inputPerM: 0.18,
15914
- outputPerM: 0.72,
16150
+ inputPerM: 0.24,
16151
+ outputPerM: 0.96,
15915
16152
  currency: "USD",
15916
16153
  unit: "per_million_tokens"
15917
16154
  }
@@ -15919,7 +16156,7 @@ var MODELS_BY_PROVIDER = {
15919
16156
  {
15920
16157
  name: "minimax/minimax-m3",
15921
16158
  displayName: "MiniMax-M3",
15922
- maxInputTokens: 524288,
16159
+ maxInputTokens: 1048576,
15923
16160
  supportedFileTypes: ["image", "video"],
15924
16161
  reasoning: true,
15925
16162
  supportsTemperature: true,
@@ -16392,7 +16629,7 @@ var MODELS_BY_PROVIDER = {
16392
16629
  pricing: {
16393
16630
  inputPerM: 0.6,
16394
16631
  outputPerM: 2.5,
16395
- cacheReadPerM: 0.6,
16632
+ cacheReadPerM: 0.15,
16396
16633
  currency: "USD",
16397
16634
  unit: "per_million_tokens"
16398
16635
  }
@@ -16400,7 +16637,7 @@ var MODELS_BY_PROVIDER = {
16400
16637
  {
16401
16638
  name: "moonshotai/kimi-k2.5",
16402
16639
  displayName: "Kimi K2.5",
16403
- maxInputTokens: 256e3,
16640
+ maxInputTokens: 262144,
16404
16641
  supportedFileTypes: ["image"],
16405
16642
  reasoning: true,
16406
16643
  supportsTemperature: true,
@@ -16417,6 +16654,7 @@ var MODELS_BY_PROVIDER = {
16417
16654
  pricing: {
16418
16655
  inputPerM: 0.375,
16419
16656
  outputPerM: 2.025,
16657
+ cacheReadPerM: 0.203,
16420
16658
  currency: "USD",
16421
16659
  unit: "per_million_tokens"
16422
16660
  }
@@ -16439,9 +16677,9 @@ var MODELS_BY_PROVIDER = {
16439
16677
  },
16440
16678
  supportsInterleaved: true,
16441
16679
  pricing: {
16442
- inputPerM: 0.55,
16443
- outputPerM: 3.2,
16444
- cacheReadPerM: 0.11,
16680
+ inputPerM: 0.66,
16681
+ outputPerM: 3.41,
16682
+ cacheReadPerM: 0.15,
16445
16683
  currency: "USD",
16446
16684
  unit: "per_million_tokens"
16447
16685
  }
@@ -16460,9 +16698,9 @@ var MODELS_BY_PROVIDER = {
16460
16698
  output: ["text"]
16461
16699
  },
16462
16700
  pricing: {
16463
- inputPerM: 0.74,
16464
- outputPerM: 3.5,
16465
- cacheReadPerM: 0.15,
16701
+ inputPerM: 0.72,
16702
+ outputPerM: 3.49,
16703
+ cacheReadPerM: 0.159,
16466
16704
  currency: "USD",
16467
16705
  unit: "per_million_tokens"
16468
16706
  }
@@ -16507,6 +16745,27 @@ var MODELS_BY_PROVIDER = {
16507
16745
  unit: "per_million_tokens"
16508
16746
  }
16509
16747
  },
16748
+ {
16749
+ name: "nex-agi/nex-n2-mini",
16750
+ displayName: "Nex-N2-Mini",
16751
+ maxInputTokens: 262144,
16752
+ supportedFileTypes: ["image"],
16753
+ reasoning: true,
16754
+ supportsTemperature: true,
16755
+ supportsToolCall: true,
16756
+ releaseDate: "2026-06-24",
16757
+ modalities: {
16758
+ input: ["text", "image"],
16759
+ output: ["text"]
16760
+ },
16761
+ pricing: {
16762
+ inputPerM: 0.025,
16763
+ outputPerM: 0.1,
16764
+ cacheReadPerM: 25e-4,
16765
+ currency: "USD",
16766
+ unit: "per_million_tokens"
16767
+ }
16768
+ },
16510
16769
  {
16511
16770
  name: "nex-agi/nex-n2-pro",
16512
16771
  displayName: "Nex-N2-Pro",
@@ -16514,7 +16773,7 @@ var MODELS_BY_PROVIDER = {
16514
16773
  supportedFileTypes: ["image"],
16515
16774
  reasoning: true,
16516
16775
  supportsTemperature: true,
16517
- supportsToolCall: false,
16776
+ supportsToolCall: true,
16518
16777
  releaseDate: "2026-06-08",
16519
16778
  modalities: {
16520
16779
  input: ["text", "image"],
@@ -16711,7 +16970,7 @@ var MODELS_BY_PROVIDER = {
16711
16970
  {
16712
16971
  name: "nvidia/nemotron-3-super-120b-a12b",
16713
16972
  displayName: "Nemotron 3 Super 120B A12B",
16714
- maxInputTokens: 262144,
16973
+ maxInputTokens: 1e6,
16715
16974
  supportedFileTypes: [],
16716
16975
  reasoning: true,
16717
16976
  supportsTemperature: true,
@@ -16722,8 +16981,8 @@ var MODELS_BY_PROVIDER = {
16722
16981
  output: ["text"]
16723
16982
  },
16724
16983
  pricing: {
16725
- inputPerM: 0.085,
16726
- outputPerM: 0.4,
16984
+ inputPerM: 0.08,
16985
+ outputPerM: 0.45,
16727
16986
  currency: "USD",
16728
16987
  unit: "per_million_tokens"
16729
16988
  }
@@ -16731,7 +16990,7 @@ var MODELS_BY_PROVIDER = {
16731
16990
  {
16732
16991
  name: "nvidia/nemotron-3-super-120b-a12b:free",
16733
16992
  displayName: "Nemotron 3 Super (free)",
16734
- maxInputTokens: 262144,
16993
+ maxInputTokens: 1e6,
16735
16994
  supportedFileTypes: [],
16736
16995
  reasoning: true,
16737
16996
  supportsTemperature: true,
@@ -16751,7 +17010,7 @@ var MODELS_BY_PROVIDER = {
16751
17010
  {
16752
17011
  name: "nvidia/nemotron-3-ultra-550b-a55b",
16753
17012
  displayName: "Nemotron 3 Ultra 550B A55B",
16754
- maxInputTokens: 262144,
17013
+ maxInputTokens: 1e6,
16755
17014
  supportedFileTypes: [],
16756
17015
  reasoning: true,
16757
17016
  supportsTemperature: true,
@@ -17758,6 +18017,138 @@ var MODELS_BY_PROVIDER = {
17758
18017
  unit: "per_million_tokens"
17759
18018
  }
17760
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
+ },
17761
18152
  {
17762
18153
  name: "openai/gpt-audio",
17763
18154
  displayName: "GPT Audio",
@@ -17833,8 +18224,8 @@ var MODELS_BY_PROVIDER = {
17833
18224
  output: ["text"]
17834
18225
  },
17835
18226
  pricing: {
17836
- inputPerM: 0.03,
17837
- outputPerM: 0.15,
18227
+ inputPerM: 0.036,
18228
+ outputPerM: 0.18,
17838
18229
  currency: "USD",
17839
18230
  unit: "per_million_tokens"
17840
18231
  }
@@ -17861,7 +18252,7 @@ var MODELS_BY_PROVIDER = {
17861
18252
  },
17862
18253
  {
17863
18254
  name: "openai/gpt-oss-20b",
17864
- displayName: "gpt-oss-20b",
18255
+ displayName: "GPT OSS 20B",
17865
18256
  maxInputTokens: 131072,
17866
18257
  supportedFileTypes: [],
17867
18258
  reasoning: true,
@@ -18371,43 +18762,39 @@ var MODELS_BY_PROVIDER = {
18371
18762
  }
18372
18763
  },
18373
18764
  {
18374
- name: "poolside/laguna-xs.2",
18375
- displayName: "Laguna XS.2",
18765
+ name: "poolside/laguna-xs-2.1",
18766
+ displayName: "Laguna XS 2.1",
18376
18767
  maxInputTokens: 262144,
18377
18768
  supportedFileTypes: [],
18378
18769
  reasoning: true,
18379
18770
  supportsTemperature: true,
18380
18771
  supportsToolCall: true,
18381
- releaseDate: "2026-04-28",
18772
+ releaseDate: "2026-07-02",
18382
18773
  modalities: {
18383
18774
  input: ["text"],
18384
18775
  output: ["text"]
18385
18776
  },
18386
18777
  pricing: {
18387
- inputPerM: 0.1,
18388
- outputPerM: 0.2,
18389
- cacheReadPerM: 0.05,
18778
+ inputPerM: 0.06,
18779
+ outputPerM: 0.12,
18780
+ cacheReadPerM: 0.03,
18390
18781
  currency: "USD",
18391
18782
  unit: "per_million_tokens"
18392
18783
  }
18393
18784
  },
18394
18785
  {
18395
- name: "poolside/laguna-xs.2:free",
18396
- displayName: "Laguna XS.2 (free)",
18786
+ name: "poolside/laguna-xs-2.1:free",
18787
+ displayName: "Laguna XS 2.1 (free)",
18397
18788
  maxInputTokens: 262144,
18398
18789
  supportedFileTypes: [],
18399
18790
  reasoning: true,
18400
18791
  supportsTemperature: true,
18401
18792
  supportsToolCall: true,
18402
- releaseDate: "2026-04-28",
18793
+ releaseDate: "2026-07-02",
18403
18794
  modalities: {
18404
18795
  input: ["text"],
18405
18796
  output: ["text"]
18406
18797
  },
18407
- interleaved: {
18408
- field: "reasoning_content"
18409
- },
18410
- supportsInterleaved: true,
18411
18798
  pricing: {
18412
18799
  inputPerM: 0,
18413
18800
  outputPerM: 0,
@@ -18418,7 +18805,7 @@ var MODELS_BY_PROVIDER = {
18418
18805
  {
18419
18806
  name: "qwen/qwen-2.5-72b-instruct",
18420
18807
  displayName: "Qwen2.5 72B Instruct",
18421
- maxInputTokens: 32768,
18808
+ maxInputTokens: 131072,
18422
18809
  supportedFileTypes: [],
18423
18810
  reasoning: false,
18424
18811
  supportsTemperature: true,
@@ -18438,7 +18825,7 @@ var MODELS_BY_PROVIDER = {
18438
18825
  {
18439
18826
  name: "qwen/qwen-2.5-7b-instruct",
18440
18827
  displayName: "Qwen2.5 7B Instruct",
18441
- maxInputTokens: 32768,
18828
+ maxInputTokens: 131072,
18442
18829
  supportedFileTypes: [],
18443
18830
  reasoning: false,
18444
18831
  supportsTemperature: true,
@@ -18458,7 +18845,7 @@ var MODELS_BY_PROVIDER = {
18458
18845
  {
18459
18846
  name: "qwen/qwen-2.5-coder-32b-instruct",
18460
18847
  displayName: "Qwen2.5 Coder 32B Instruct",
18461
- maxInputTokens: 32768,
18848
+ maxInputTokens: 128e3,
18462
18849
  supportedFileTypes: [],
18463
18850
  reasoning: false,
18464
18851
  supportsTemperature: true,
@@ -18541,7 +18928,7 @@ var MODELS_BY_PROVIDER = {
18541
18928
  {
18542
18929
  name: "qwen/qwen2.5-vl-72b-instruct",
18543
18930
  displayName: "Qwen2.5 VL 72B Instruct",
18544
- maxInputTokens: 128e3,
18931
+ maxInputTokens: 131072,
18545
18932
  supportedFileTypes: ["image"],
18546
18933
  reasoning: false,
18547
18934
  supportsTemperature: true,
@@ -18562,7 +18949,7 @@ var MODELS_BY_PROVIDER = {
18562
18949
  {
18563
18950
  name: "qwen/qwen3-14b",
18564
18951
  displayName: "Qwen3 14B",
18565
- maxInputTokens: 40960,
18952
+ maxInputTokens: 131702,
18566
18953
  supportedFileTypes: [],
18567
18954
  reasoning: true,
18568
18955
  supportsTemperature: true,
@@ -18633,9 +19020,8 @@ var MODELS_BY_PROVIDER = {
18633
19020
  output: ["text"]
18634
19021
  },
18635
19022
  pricing: {
18636
- inputPerM: 0.1,
18637
- outputPerM: 0.1,
18638
- cacheReadPerM: 0.1,
19023
+ inputPerM: 0.1495,
19024
+ outputPerM: 1.495,
18639
19025
  currency: "USD",
18640
19026
  unit: "per_million_tokens"
18641
19027
  }
@@ -18643,7 +19029,7 @@ var MODELS_BY_PROVIDER = {
18643
19029
  {
18644
19030
  name: "qwen/qwen3-30b-a3b",
18645
19031
  displayName: "Qwen3 30B A3B",
18646
- maxInputTokens: 40960,
19032
+ maxInputTokens: 131072,
18647
19033
  supportedFileTypes: [],
18648
19034
  reasoning: true,
18649
19035
  supportsTemperature: true,
@@ -18663,7 +19049,7 @@ var MODELS_BY_PROVIDER = {
18663
19049
  {
18664
19050
  name: "qwen/qwen3-30b-a3b-instruct-2507",
18665
19051
  displayName: "Qwen3 30B A3B Instruct 2507",
18666
- maxInputTokens: 128e3,
19052
+ maxInputTokens: 131072,
18667
19053
  supportedFileTypes: [],
18668
19054
  reasoning: false,
18669
19055
  supportsTemperature: true,
@@ -18694,9 +19080,8 @@ var MODELS_BY_PROVIDER = {
18694
19080
  output: ["text"]
18695
19081
  },
18696
19082
  pricing: {
18697
- inputPerM: 0.08,
18698
- outputPerM: 0.4,
18699
- cacheReadPerM: 0.08,
19083
+ inputPerM: 0.13,
19084
+ outputPerM: 1.56,
18700
19085
  currency: "USD",
18701
19086
  unit: "per_million_tokens"
18702
19087
  }
@@ -18704,7 +19089,7 @@ var MODELS_BY_PROVIDER = {
18704
19089
  {
18705
19090
  name: "qwen/qwen3-32b",
18706
19091
  displayName: "Qwen3 32B",
18707
- maxInputTokens: 40960,
19092
+ maxInputTokens: 131072,
18708
19093
  supportedFileTypes: [],
18709
19094
  reasoning: true,
18710
19095
  supportsTemperature: true,
@@ -18724,7 +19109,7 @@ var MODELS_BY_PROVIDER = {
18724
19109
  {
18725
19110
  name: "qwen/qwen3-8b",
18726
19111
  displayName: "Qwen3 8B",
18727
- maxInputTokens: 40960,
19112
+ maxInputTokens: 131072,
18728
19113
  supportedFileTypes: [],
18729
19114
  reasoning: true,
18730
19115
  supportsTemperature: true,
@@ -18735,9 +19120,8 @@ var MODELS_BY_PROVIDER = {
18735
19120
  output: ["text"]
18736
19121
  },
18737
19122
  pricing: {
18738
- inputPerM: 0.05,
18739
- outputPerM: 0.4,
18740
- cacheReadPerM: 0.05,
19123
+ inputPerM: 0.117,
19124
+ outputPerM: 0.455,
18741
19125
  currency: "USD",
18742
19126
  unit: "per_million_tokens"
18743
19127
  }
@@ -18745,7 +19129,7 @@ var MODELS_BY_PROVIDER = {
18745
19129
  {
18746
19130
  name: "qwen/qwen3-coder",
18747
19131
  displayName: "Qwen3 Coder 480B A35B",
18748
- maxInputTokens: 262144,
19132
+ maxInputTokens: 1048576,
18749
19133
  supportedFileTypes: [],
18750
19134
  reasoning: false,
18751
19135
  supportsTemperature: true,
@@ -18850,7 +19234,7 @@ var MODELS_BY_PROVIDER = {
18850
19234
  {
18851
19235
  name: "qwen/qwen3-coder:free",
18852
19236
  displayName: "Qwen3 Coder 480B A35B (free)",
18853
- maxInputTokens: 262e3,
19237
+ maxInputTokens: 1048576,
18854
19238
  supportedFileTypes: [],
18855
19239
  reasoning: false,
18856
19240
  supportsTemperature: true,
@@ -18952,7 +19336,7 @@ var MODELS_BY_PROVIDER = {
18952
19336
  {
18953
19337
  name: "qwen/qwen3-next-80b-a3b-thinking",
18954
19338
  displayName: "Qwen3-Next 80B-A3B (Thinking)",
18955
- maxInputTokens: 131072,
19339
+ maxInputTokens: 262144,
18956
19340
  supportedFileTypes: [],
18957
19341
  reasoning: true,
18958
19342
  supportsTemperature: true,
@@ -19013,7 +19397,7 @@ var MODELS_BY_PROVIDER = {
19013
19397
  {
19014
19398
  name: "qwen/qwen3-vl-30b-a3b-instruct",
19015
19399
  displayName: "Qwen3 VL 30B A3B Instruct",
19016
- maxInputTokens: 131072,
19400
+ maxInputTokens: 262144,
19017
19401
  supportedFileTypes: ["image"],
19018
19402
  reasoning: false,
19019
19403
  supportsTemperature: true,
@@ -19053,7 +19437,7 @@ var MODELS_BY_PROVIDER = {
19053
19437
  {
19054
19438
  name: "qwen/qwen3-vl-32b-instruct",
19055
19439
  displayName: "Qwen3 VL 32B Instruct",
19056
- maxInputTokens: 131072,
19440
+ maxInputTokens: 262144,
19057
19441
  supportedFileTypes: ["image"],
19058
19442
  reasoning: false,
19059
19443
  supportsTemperature: true,
@@ -19073,7 +19457,7 @@ var MODELS_BY_PROVIDER = {
19073
19457
  {
19074
19458
  name: "qwen/qwen3-vl-8b-instruct",
19075
19459
  displayName: "Qwen3 VL 8B Instruct",
19076
- maxInputTokens: 131072,
19460
+ maxInputTokens: 256e3,
19077
19461
  supportedFileTypes: ["image"],
19078
19462
  reasoning: false,
19079
19463
  supportsTemperature: true,
@@ -19084,8 +19468,8 @@ var MODELS_BY_PROVIDER = {
19084
19468
  output: ["text"]
19085
19469
  },
19086
19470
  pricing: {
19087
- inputPerM: 0.08,
19088
- outputPerM: 0.5,
19471
+ inputPerM: 0.117,
19472
+ outputPerM: 0.455,
19089
19473
  currency: "USD",
19090
19474
  unit: "per_million_tokens"
19091
19475
  }
@@ -19093,7 +19477,7 @@ var MODELS_BY_PROVIDER = {
19093
19477
  {
19094
19478
  name: "qwen/qwen3-vl-8b-thinking",
19095
19479
  displayName: "Qwen3 VL 8B Thinking",
19096
- maxInputTokens: 131072,
19480
+ maxInputTokens: 256e3,
19097
19481
  supportedFileTypes: ["image"],
19098
19482
  reasoning: true,
19099
19483
  supportsTemperature: true,
@@ -19174,7 +19558,7 @@ var MODELS_BY_PROVIDER = {
19174
19558
  {
19175
19559
  name: "qwen/qwen3.5-397b-a17b",
19176
19560
  displayName: "Qwen3.5 397B-A17B",
19177
- maxInputTokens: 131072,
19561
+ maxInputTokens: 256e3,
19178
19562
  supportedFileTypes: ["image", "video"],
19179
19563
  reasoning: true,
19180
19564
  supportsTemperature: true,
@@ -19187,6 +19571,7 @@ var MODELS_BY_PROVIDER = {
19187
19571
  pricing: {
19188
19572
  inputPerM: 0.385,
19189
19573
  outputPerM: 2.45,
19574
+ cacheReadPerM: 0.111,
19190
19575
  currency: "USD",
19191
19576
  unit: "per_million_tokens"
19192
19577
  }
@@ -19275,7 +19660,7 @@ var MODELS_BY_PROVIDER = {
19275
19660
  {
19276
19661
  name: "qwen/qwen3.6-27b",
19277
19662
  displayName: "Qwen3.6 27B",
19278
- maxInputTokens: 262140,
19663
+ maxInputTokens: 262144,
19279
19664
  supportedFileTypes: ["image", "video"],
19280
19665
  reasoning: true,
19281
19666
  supportsTemperature: true,
@@ -19288,6 +19673,7 @@ var MODELS_BY_PROVIDER = {
19288
19673
  pricing: {
19289
19674
  inputPerM: 0.285,
19290
19675
  outputPerM: 2.4,
19676
+ cacheReadPerM: 0.15,
19291
19677
  currency: "USD",
19292
19678
  unit: "per_million_tokens"
19293
19679
  }
@@ -19642,41 +20028,42 @@ var MODELS_BY_PROVIDER = {
19642
20028
  }
19643
20029
  },
19644
20030
  {
19645
- name: "switchpoint/router",
19646
- displayName: "Switchpoint Router",
20031
+ name: "tencent/hunyuan-a13b-instruct",
20032
+ displayName: "Hunyuan A13B Instruct",
19647
20033
  maxInputTokens: 131072,
19648
20034
  supportedFileTypes: [],
19649
20035
  reasoning: true,
19650
20036
  supportsTemperature: true,
19651
20037
  supportsToolCall: false,
19652
- releaseDate: "2025-07-11",
20038
+ releaseDate: "2025-07-08",
19653
20039
  modalities: {
19654
20040
  input: ["text"],
19655
20041
  output: ["text"]
19656
20042
  },
19657
20043
  pricing: {
19658
- inputPerM: 0.85,
19659
- outputPerM: 3.4,
20044
+ inputPerM: 0.14,
20045
+ outputPerM: 0.57,
19660
20046
  currency: "USD",
19661
20047
  unit: "per_million_tokens"
19662
20048
  }
19663
20049
  },
19664
20050
  {
19665
- name: "tencent/hunyuan-a13b-instruct",
19666
- displayName: "Hunyuan A13B Instruct",
19667
- maxInputTokens: 131072,
20051
+ name: "tencent/hy3",
20052
+ displayName: "Hy3",
20053
+ maxInputTokens: 262144,
19668
20054
  supportedFileTypes: [],
19669
20055
  reasoning: true,
19670
20056
  supportsTemperature: true,
19671
- supportsToolCall: false,
19672
- releaseDate: "2025-07-08",
20057
+ supportsToolCall: true,
20058
+ releaseDate: "2026-07-06",
19673
20059
  modalities: {
19674
20060
  input: ["text"],
19675
20061
  output: ["text"]
19676
20062
  },
19677
20063
  pricing: {
19678
20064
  inputPerM: 0.14,
19679
- outputPerM: 0.57,
20065
+ outputPerM: 0.58,
20066
+ cacheReadPerM: 0.035,
19680
20067
  currency: "USD",
19681
20068
  unit: "per_million_tokens"
19682
20069
  }
@@ -19702,6 +20089,26 @@ var MODELS_BY_PROVIDER = {
19702
20089
  unit: "per_million_tokens"
19703
20090
  }
19704
20091
  },
20092
+ {
20093
+ name: "tencent/hy3:free",
20094
+ displayName: "Hy3 (free)",
20095
+ maxInputTokens: 262144,
20096
+ supportedFileTypes: [],
20097
+ reasoning: true,
20098
+ supportsTemperature: true,
20099
+ supportsToolCall: true,
20100
+ releaseDate: "2026-07-06",
20101
+ modalities: {
20102
+ input: ["text"],
20103
+ output: ["text"]
20104
+ },
20105
+ pricing: {
20106
+ inputPerM: 0,
20107
+ outputPerM: 0,
20108
+ currency: "USD",
20109
+ unit: "per_million_tokens"
20110
+ }
20111
+ },
19705
20112
  {
19706
20113
  name: "thedrummer/cydonia-24b-v4.1",
19707
20114
  displayName: "Cydonia 24B V4.1",
@@ -19726,7 +20133,7 @@ var MODELS_BY_PROVIDER = {
19726
20133
  {
19727
20134
  name: "thedrummer/rocinante-12b",
19728
20135
  displayName: "Rocinante 12B",
19729
- maxInputTokens: 32768,
20136
+ maxInputTokens: 65536,
19730
20137
  supportedFileTypes: [],
19731
20138
  reasoning: false,
19732
20139
  supportsTemperature: true,
@@ -19912,17 +20319,42 @@ var MODELS_BY_PROVIDER = {
19912
20319
  unit: "per_million_tokens"
19913
20320
  }
19914
20321
  },
20322
+ {
20323
+ name: "x-ai/grok-4.5",
20324
+ displayName: "Grok 4.5",
20325
+ maxInputTokens: 5e5,
20326
+ supportedFileTypes: ["pdf", "image"],
20327
+ reasoning: true,
20328
+ supportsTemperature: true,
20329
+ supportsToolCall: true,
20330
+ releaseDate: "2026-07-08",
20331
+ modalities: {
20332
+ input: ["text", "image", "pdf"],
20333
+ output: ["text"]
20334
+ },
20335
+ pricing: {
20336
+ inputPerM: 2,
20337
+ outputPerM: 6,
20338
+ cacheReadPerM: 0.5,
20339
+ contextOver200kPerM: {
20340
+ inputPerM: 4,
20341
+ outputPerM: 12
20342
+ },
20343
+ currency: "USD",
20344
+ unit: "per_million_tokens"
20345
+ }
20346
+ },
19915
20347
  {
19916
20348
  name: "x-ai/grok-build-0.1",
19917
20349
  displayName: "Grok Build 0.1",
19918
20350
  maxInputTokens: 256e3,
19919
- supportedFileTypes: ["image"],
20351
+ supportedFileTypes: ["pdf", "image"],
19920
20352
  reasoning: true,
19921
20353
  supportsTemperature: true,
19922
20354
  supportsToolCall: true,
19923
20355
  releaseDate: "2026-04-16",
19924
20356
  modalities: {
19925
- input: ["text", "image"],
20357
+ input: ["text", "image", "pdf"],
19926
20358
  output: ["text"]
19927
20359
  },
19928
20360
  pricing: {
@@ -19936,7 +20368,7 @@ var MODELS_BY_PROVIDER = {
19936
20368
  {
19937
20369
  name: "xiaomi/mimo-v2.5",
19938
20370
  displayName: "MiMo-V2.5",
19939
- maxInputTokens: 32e3,
20371
+ maxInputTokens: 1048576,
19940
20372
  supportedFileTypes: ["image", "audio", "video"],
19941
20373
  reasoning: true,
19942
20374
  supportsTemperature: true,
@@ -19953,6 +20385,7 @@ var MODELS_BY_PROVIDER = {
19953
20385
  pricing: {
19954
20386
  inputPerM: 0.105,
19955
20387
  outputPerM: 0.28,
20388
+ cacheReadPerM: 0.028,
19956
20389
  currency: "USD",
19957
20390
  unit: "per_million_tokens"
19958
20391
  }
@@ -20190,7 +20623,7 @@ var MODELS_BY_PROVIDER = {
20190
20623
  {
20191
20624
  name: "z-ai/glm-5.1",
20192
20625
  displayName: "GLM-5.1",
20193
- maxInputTokens: 65536,
20626
+ maxInputTokens: 202752,
20194
20627
  supportedFileTypes: [],
20195
20628
  reasoning: true,
20196
20629
  supportsTemperature: true,
@@ -20205,8 +20638,9 @@ var MODELS_BY_PROVIDER = {
20205
20638
  },
20206
20639
  supportsInterleaved: true,
20207
20640
  pricing: {
20208
- inputPerM: 0.975,
20209
- outputPerM: 4.3,
20641
+ inputPerM: 0.966,
20642
+ outputPerM: 3.036,
20643
+ cacheReadPerM: 0.1794,
20210
20644
  currency: "USD",
20211
20645
  unit: "per_million_tokens"
20212
20646
  }
@@ -20229,9 +20663,9 @@ var MODELS_BY_PROVIDER = {
20229
20663
  },
20230
20664
  supportsInterleaved: true,
20231
20665
  pricing: {
20232
- inputPerM: 0.94,
20233
- outputPerM: 3,
20234
- cacheReadPerM: 0.18,
20666
+ inputPerM: 0.54,
20667
+ outputPerM: 1.76,
20668
+ cacheReadPerM: 0.1,
20235
20669
  currency: "USD",
20236
20670
  unit: "per_million_tokens"
20237
20671
  }
@@ -20362,19 +20796,9 @@ function unknownModel(provider, model) {
20362
20796
  function modelProviderUnknown(model) {
20363
20797
  return new LlmCatalogError("MODEL_UNKNOWN", `Could not infer provider for model '${model}'`);
20364
20798
  }
20365
- var LEGACY_MODEL_ID_ALIASES = {
20366
- anthropic: {
20367
- // Older Dexto configs/tests used "claude-4-{tier}-{date}".
20368
- // models.dev (and our generated snapshot) use "claude-{tier}-4-{date}".
20369
- "claude-4-sonnet-20250514": "claude-sonnet-4-20250514",
20370
- "claude-4-opus-20250514": "claude-opus-4-20250514"
20371
- }
20372
- };
20373
- function getNormalizedModelIdForLookup(provider, model) {
20799
+ function getNormalizedModelIdForLookup(model) {
20374
20800
  const stripped = stripBedrockRegionPrefix(model);
20375
- const lower = stripped.toLowerCase();
20376
- const aliases = LEGACY_MODEL_ID_ALIASES[provider];
20377
- return aliases?.[lower] ?? lower;
20801
+ return stripped.toLowerCase();
20378
20802
  }
20379
20803
  function mergeModels(base, extra) {
20380
20804
  if (!extra || extra.length === 0) return base;
@@ -20728,7 +21152,7 @@ function getMaxInputTokensForModel(provider, model, logger) {
20728
21152
  }
20729
21153
  function isValidProviderModel(provider, model) {
20730
21154
  const providerInfo = LLM_REGISTRY[provider];
20731
- const normalizedModel = getNormalizedModelIdForLookup(provider, model);
21155
+ const normalizedModel = getNormalizedModelIdForLookup(model);
20732
21156
  return providerInfo.models.some((m) => m.name.toLowerCase() === normalizedModel);
20733
21157
  }
20734
21158
  function getProviderFromModel(model) {
@@ -20737,7 +21161,7 @@ function getProviderFromModel(model) {
20737
21161
  }
20738
21162
  for (const provider of LLM_PROVIDERS) {
20739
21163
  const info = LLM_REGISTRY[provider];
20740
- const normalizedModel = getNormalizedModelIdForLookup(provider, model);
21164
+ const normalizedModel = getNormalizedModelIdForLookup(model);
20741
21165
  if (info.models.some((m) => m.name.toLowerCase() === normalizedModel)) {
20742
21166
  return provider;
20743
21167
  }
@@ -20811,7 +21235,7 @@ function findModelInfo(provider, model) {
20811
21235
  if (dynamicOpenRouterModel) return dynamicOpenRouterModel;
20812
21236
  }
20813
21237
  const providerInfo = LLM_REGISTRY[provider];
20814
- const normalizedModel = getNormalizedModelIdForLookup(provider, model);
21238
+ const normalizedModel = getNormalizedModelIdForLookup(model);
20815
21239
  const direct = providerInfo.models.find((m) => m.name.toLowerCase() === normalizedModel);
20816
21240
  if (direct) return direct;
20817
21241
  if (provider !== "openrouter" && hasAllRegistryModelsSupport(provider) && model.includes("/")) {
@@ -20874,7 +21298,7 @@ function transformModelNameForProvider(model, originalProvider, targetProvider)
20874
21298
  }
20875
21299
  function isModelValidForProvider(provider, model) {
20876
21300
  const providerInfo = LLM_REGISTRY[provider];
20877
- const normalizedModel = getNormalizedModelIdForLookup(provider, model);
21301
+ const normalizedModel = getNormalizedModelIdForLookup(model);
20878
21302
  if (providerInfo.models.some((m) => m.name.toLowerCase() === normalizedModel)) {
20879
21303
  return true;
20880
21304
  }
@@ -21101,11 +21525,18 @@ function calculateCost(usage, pricing) {
21101
21525
  return calculateCostBreakdown(usage, pricing).totalUsd;
21102
21526
  }
21103
21527
  function calculateCostBreakdown(usage, pricing) {
21104
- const inputUsd = (usage.inputTokens ?? 0) * pricing.inputPerM / 1e6;
21105
- const outputUsd = (usage.outputTokens ?? 0) * pricing.outputPerM / 1e6;
21106
- const cacheReadUsd = (usage.cacheReadTokens ?? 0) * (pricing.cacheReadPerM ?? 0) / 1e6;
21107
- const cacheWriteUsd = (usage.cacheWriteTokens ?? 0) * (pricing.cacheWritePerM ?? 0) / 1e6;
21108
- 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;
21109
21540
  return {
21110
21541
  inputUsd,
21111
21542
  outputUsd,
@@ -21193,6 +21624,12 @@ function getSupportedOpenAIReasoningEfforts(model) {
21193
21624
  if (isVersionedGpt5Pro(id)) {
21194
21625
  return ["medium", "high", "xhigh"];
21195
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
+ }
21196
21633
  if (version !== void 0 && version >= 2) {
21197
21634
  return ["none", "low", "medium", "high", "xhigh"];
21198
21635
  }
@@ -21225,17 +21662,21 @@ function isGpt5Chat(id) {
21225
21662
  function getFallbackOrder(requested) {
21226
21663
  switch (requested) {
21227
21664
  case "none":
21228
- return ["none", "minimal", "low", "medium", "high", "xhigh"];
21665
+ return ["none", "minimal", "low", "medium", "high", "xhigh", "max", "ultra"];
21229
21666
  case "minimal":
21230
- return ["minimal", "low", "medium", "high", "xhigh"];
21667
+ return ["minimal", "low", "medium", "high", "xhigh", "max", "ultra"];
21231
21668
  case "low":
21232
- return ["low", "medium", "high", "xhigh"];
21669
+ return ["low", "medium", "high", "xhigh", "max", "ultra"];
21233
21670
  case "medium":
21234
- return ["medium", "high", "xhigh"];
21671
+ return ["medium", "high", "xhigh", "max", "ultra"];
21235
21672
  case "high":
21236
- return ["high", "xhigh"];
21673
+ return ["high", "xhigh", "max", "ultra"];
21237
21674
  case "xhigh":
21238
- 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"];
21239
21680
  }
21240
21681
  }
21241
21682
  function coerceOpenAIReasoningEffort(model, requested) {