@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.cjs CHANGED
@@ -857,6 +857,93 @@ var MODELS_BY_PROVIDER = {
857
857
  unit: "per_million_tokens"
858
858
  }
859
859
  },
860
+ {
861
+ name: "gpt-5.6-luna",
862
+ displayName: "GPT-5.6 Luna",
863
+ maxInputTokens: 272e3,
864
+ supportedFileTypes: ["pdf", "image", "document"],
865
+ reasoning: true,
866
+ supportsTemperature: false,
867
+ supportsToolCall: true,
868
+ releaseDate: "2026-07-09",
869
+ modalities: {
870
+ input: ["text", "image", "pdf"],
871
+ output: ["text"]
872
+ },
873
+ pricing: {
874
+ inputPerM: 1,
875
+ outputPerM: 6,
876
+ cacheReadPerM: 0.1,
877
+ cacheWritePerM: 1.25,
878
+ contextOver200kPerM: {
879
+ inputTokensAbove: 272e3,
880
+ cacheReadPerM: 0.2,
881
+ cacheWritePerM: 2.5,
882
+ inputPerM: 2,
883
+ outputPerM: 9
884
+ },
885
+ currency: "USD",
886
+ unit: "per_million_tokens"
887
+ }
888
+ },
889
+ {
890
+ name: "gpt-5.6-sol",
891
+ displayName: "GPT-5.6 Sol",
892
+ maxInputTokens: 272e3,
893
+ supportedFileTypes: ["pdf", "image", "document"],
894
+ reasoning: true,
895
+ supportsTemperature: false,
896
+ supportsToolCall: true,
897
+ releaseDate: "2026-07-09",
898
+ modalities: {
899
+ input: ["text", "image", "pdf"],
900
+ output: ["text"]
901
+ },
902
+ pricing: {
903
+ inputPerM: 5,
904
+ outputPerM: 30,
905
+ cacheReadPerM: 0.5,
906
+ cacheWritePerM: 6.25,
907
+ contextOver200kPerM: {
908
+ inputTokensAbove: 272e3,
909
+ cacheReadPerM: 1,
910
+ cacheWritePerM: 12.5,
911
+ inputPerM: 10,
912
+ outputPerM: 45
913
+ },
914
+ currency: "USD",
915
+ unit: "per_million_tokens"
916
+ }
917
+ },
918
+ {
919
+ name: "gpt-5.6-terra",
920
+ displayName: "GPT-5.6 Terra",
921
+ maxInputTokens: 272e3,
922
+ supportedFileTypes: ["pdf", "image", "document"],
923
+ reasoning: true,
924
+ supportsTemperature: false,
925
+ supportsToolCall: true,
926
+ releaseDate: "2026-07-09",
927
+ modalities: {
928
+ input: ["text", "image", "pdf"],
929
+ output: ["text"]
930
+ },
931
+ pricing: {
932
+ inputPerM: 2.5,
933
+ outputPerM: 15,
934
+ cacheReadPerM: 0.25,
935
+ cacheWritePerM: 3.125,
936
+ contextOver200kPerM: {
937
+ inputTokensAbove: 272e3,
938
+ cacheReadPerM: 0.5,
939
+ cacheWritePerM: 6.25,
940
+ inputPerM: 5,
941
+ outputPerM: 22.5
942
+ },
943
+ currency: "USD",
944
+ unit: "per_million_tokens"
945
+ }
946
+ },
860
947
  {
861
948
  name: "gpt-image-1",
862
949
  displayName: "gpt-image-1",
@@ -1089,144 +1176,6 @@ var MODELS_BY_PROVIDER = {
1089
1176
  ],
1090
1177
  "openai-compatible": [],
1091
1178
  anthropic: [
1092
- {
1093
- name: "claude-3-5-sonnet-20240620",
1094
- displayName: "Claude Sonnet 3.5",
1095
- maxInputTokens: 2e5,
1096
- supportedFileTypes: ["pdf", "image"],
1097
- reasoning: false,
1098
- supportsTemperature: true,
1099
- supportsToolCall: true,
1100
- releaseDate: "2024-06-20",
1101
- status: "deprecated",
1102
- modalities: {
1103
- input: ["text", "image", "pdf"],
1104
- output: ["text"]
1105
- },
1106
- pricing: {
1107
- inputPerM: 3,
1108
- outputPerM: 15,
1109
- cacheReadPerM: 0.3,
1110
- cacheWritePerM: 3.75,
1111
- currency: "USD",
1112
- unit: "per_million_tokens"
1113
- }
1114
- },
1115
- {
1116
- name: "claude-3-5-sonnet-20241022",
1117
- displayName: "Claude Sonnet 3.5 v2",
1118
- maxInputTokens: 2e5,
1119
- supportedFileTypes: ["pdf", "image"],
1120
- reasoning: false,
1121
- supportsTemperature: true,
1122
- supportsToolCall: true,
1123
- releaseDate: "2024-10-22",
1124
- status: "deprecated",
1125
- modalities: {
1126
- input: ["text", "image", "pdf"],
1127
- output: ["text"]
1128
- },
1129
- pricing: {
1130
- inputPerM: 3,
1131
- outputPerM: 15,
1132
- cacheReadPerM: 0.3,
1133
- cacheWritePerM: 3.75,
1134
- currency: "USD",
1135
- unit: "per_million_tokens"
1136
- }
1137
- },
1138
- {
1139
- name: "claude-3-7-sonnet-20250219",
1140
- displayName: "Claude Sonnet 3.7",
1141
- maxInputTokens: 2e5,
1142
- supportedFileTypes: ["pdf", "image"],
1143
- reasoning: true,
1144
- supportsTemperature: true,
1145
- supportsToolCall: true,
1146
- releaseDate: "2025-02-19",
1147
- status: "deprecated",
1148
- modalities: {
1149
- input: ["text", "image", "pdf"],
1150
- output: ["text"]
1151
- },
1152
- pricing: {
1153
- inputPerM: 3,
1154
- outputPerM: 15,
1155
- cacheReadPerM: 0.3,
1156
- cacheWritePerM: 3.75,
1157
- currency: "USD",
1158
- unit: "per_million_tokens"
1159
- }
1160
- },
1161
- {
1162
- name: "claude-3-haiku-20240307",
1163
- displayName: "Claude Haiku 3",
1164
- maxInputTokens: 2e5,
1165
- supportedFileTypes: ["pdf", "image"],
1166
- reasoning: false,
1167
- supportsTemperature: true,
1168
- supportsToolCall: true,
1169
- releaseDate: "2024-03-13",
1170
- status: "deprecated",
1171
- modalities: {
1172
- input: ["text", "image", "pdf"],
1173
- output: ["text"]
1174
- },
1175
- pricing: {
1176
- inputPerM: 0.25,
1177
- outputPerM: 1.25,
1178
- cacheReadPerM: 0.03,
1179
- cacheWritePerM: 0.3,
1180
- currency: "USD",
1181
- unit: "per_million_tokens"
1182
- }
1183
- },
1184
- {
1185
- name: "claude-3-opus-20240229",
1186
- displayName: "Claude Opus 3",
1187
- maxInputTokens: 2e5,
1188
- supportedFileTypes: ["pdf", "image"],
1189
- reasoning: false,
1190
- supportsTemperature: true,
1191
- supportsToolCall: true,
1192
- releaseDate: "2024-02-29",
1193
- status: "deprecated",
1194
- modalities: {
1195
- input: ["text", "image", "pdf"],
1196
- output: ["text"]
1197
- },
1198
- pricing: {
1199
- inputPerM: 15,
1200
- outputPerM: 75,
1201
- cacheReadPerM: 1.5,
1202
- cacheWritePerM: 18.75,
1203
- currency: "USD",
1204
- unit: "per_million_tokens"
1205
- }
1206
- },
1207
- {
1208
- name: "claude-3-sonnet-20240229",
1209
- displayName: "Claude Sonnet 3",
1210
- maxInputTokens: 2e5,
1211
- supportedFileTypes: ["pdf", "image"],
1212
- reasoning: false,
1213
- supportsTemperature: true,
1214
- supportsToolCall: true,
1215
- releaseDate: "2024-03-04",
1216
- status: "deprecated",
1217
- modalities: {
1218
- input: ["text", "image", "pdf"],
1219
- output: ["text"]
1220
- },
1221
- pricing: {
1222
- inputPerM: 3,
1223
- outputPerM: 15,
1224
- cacheReadPerM: 0.3,
1225
- cacheWritePerM: 0.3,
1226
- currency: "USD",
1227
- unit: "per_million_tokens"
1228
- }
1229
- },
1230
1179
  {
1231
1180
  name: "claude-fable-5",
1232
1181
  displayName: "Claude Fable 5",
@@ -1235,7 +1184,7 @@ var MODELS_BY_PROVIDER = {
1235
1184
  reasoning: true,
1236
1185
  supportsTemperature: false,
1237
1186
  supportsToolCall: true,
1238
- releaseDate: "2026-06-09",
1187
+ releaseDate: "2026-06-07",
1239
1188
  modalities: {
1240
1189
  input: ["text", "image", "pdf"],
1241
1190
  output: ["text"]
@@ -1294,28 +1243,6 @@ var MODELS_BY_PROVIDER = {
1294
1243
  },
1295
1244
  default: true
1296
1245
  },
1297
- {
1298
- name: "claude-opus-4-0",
1299
- displayName: "Claude Opus 4 (latest)",
1300
- maxInputTokens: 2e5,
1301
- supportedFileTypes: ["pdf", "image"],
1302
- reasoning: true,
1303
- supportsTemperature: true,
1304
- supportsToolCall: true,
1305
- releaseDate: "2025-05-22",
1306
- modalities: {
1307
- input: ["text", "image", "pdf"],
1308
- output: ["text"]
1309
- },
1310
- pricing: {
1311
- inputPerM: 15,
1312
- outputPerM: 75,
1313
- cacheReadPerM: 1.5,
1314
- cacheWritePerM: 18.75,
1315
- currency: "USD",
1316
- unit: "per_million_tokens"
1317
- }
1318
- },
1319
1246
  {
1320
1247
  name: "claude-opus-4-1",
1321
1248
  displayName: "Claude Opus 4.1 (latest)",
@@ -1325,6 +1252,7 @@ var MODELS_BY_PROVIDER = {
1325
1252
  supportsTemperature: true,
1326
1253
  supportsToolCall: true,
1327
1254
  releaseDate: "2025-08-05",
1255
+ status: "deprecated",
1328
1256
  modalities: {
1329
1257
  input: ["text", "image", "pdf"],
1330
1258
  output: ["text"]
@@ -1347,28 +1275,7 @@ var MODELS_BY_PROVIDER = {
1347
1275
  supportsTemperature: true,
1348
1276
  supportsToolCall: true,
1349
1277
  releaseDate: "2025-08-05",
1350
- modalities: {
1351
- input: ["text", "image", "pdf"],
1352
- output: ["text"]
1353
- },
1354
- pricing: {
1355
- inputPerM: 15,
1356
- outputPerM: 75,
1357
- cacheReadPerM: 1.5,
1358
- cacheWritePerM: 18.75,
1359
- currency: "USD",
1360
- unit: "per_million_tokens"
1361
- }
1362
- },
1363
- {
1364
- name: "claude-opus-4-20250514",
1365
- displayName: "Claude Opus 4",
1366
- maxInputTokens: 2e5,
1367
- supportedFileTypes: ["pdf", "image"],
1368
- reasoning: true,
1369
- supportsTemperature: true,
1370
- supportsToolCall: true,
1371
- releaseDate: "2025-05-22",
1278
+ status: "deprecated",
1372
1279
  modalities: {
1373
1280
  input: ["text", "image", "pdf"],
1374
1281
  output: ["text"]
@@ -1412,7 +1319,7 @@ var MODELS_BY_PROVIDER = {
1412
1319
  reasoning: true,
1413
1320
  supportsTemperature: true,
1414
1321
  supportsToolCall: true,
1415
- releaseDate: "2025-11-01",
1322
+ releaseDate: "2025-11-24",
1416
1323
  modalities: {
1417
1324
  input: ["text", "image", "pdf"],
1418
1325
  output: ["text"]
@@ -1434,7 +1341,7 @@ var MODELS_BY_PROVIDER = {
1434
1341
  reasoning: true,
1435
1342
  supportsTemperature: true,
1436
1343
  supportsToolCall: true,
1437
- releaseDate: "2026-02-05",
1344
+ releaseDate: "2026-02-04",
1438
1345
  modalities: {
1439
1346
  input: ["text", "image", "pdf"],
1440
1347
  output: ["text"]
@@ -1456,7 +1363,7 @@ var MODELS_BY_PROVIDER = {
1456
1363
  reasoning: true,
1457
1364
  supportsTemperature: false,
1458
1365
  supportsToolCall: true,
1459
- releaseDate: "2026-04-16",
1366
+ releaseDate: "2026-04-14",
1460
1367
  modalities: {
1461
1368
  input: ["text", "image", "pdf"],
1462
1369
  output: ["text"]
@@ -1492,54 +1399,10 @@ var MODELS_BY_PROVIDER = {
1492
1399
  unit: "per_million_tokens"
1493
1400
  }
1494
1401
  },
1495
- {
1496
- name: "claude-sonnet-4-0",
1497
- displayName: "Claude Sonnet 4 (latest)",
1498
- maxInputTokens: 2e5,
1499
- supportedFileTypes: ["pdf", "image"],
1500
- reasoning: true,
1501
- supportsTemperature: true,
1502
- supportsToolCall: true,
1503
- releaseDate: "2025-05-22",
1504
- modalities: {
1505
- input: ["text", "image", "pdf"],
1506
- output: ["text"]
1507
- },
1508
- pricing: {
1509
- inputPerM: 3,
1510
- outputPerM: 15,
1511
- cacheReadPerM: 0.3,
1512
- cacheWritePerM: 3.75,
1513
- currency: "USD",
1514
- unit: "per_million_tokens"
1515
- }
1516
- },
1517
- {
1518
- name: "claude-sonnet-4-20250514",
1519
- displayName: "Claude Sonnet 4",
1520
- maxInputTokens: 2e5,
1521
- supportedFileTypes: ["pdf", "image"],
1522
- reasoning: true,
1523
- supportsTemperature: true,
1524
- supportsToolCall: true,
1525
- releaseDate: "2025-05-22",
1526
- modalities: {
1527
- input: ["text", "image", "pdf"],
1528
- output: ["text"]
1529
- },
1530
- pricing: {
1531
- inputPerM: 3,
1532
- outputPerM: 15,
1533
- cacheReadPerM: 0.3,
1534
- cacheWritePerM: 3.75,
1535
- currency: "USD",
1536
- unit: "per_million_tokens"
1537
- }
1538
- },
1539
1402
  {
1540
1403
  name: "claude-sonnet-4-5",
1541
1404
  displayName: "Claude Sonnet 4.5 (latest)",
1542
- maxInputTokens: 2e5,
1405
+ maxInputTokens: 1e6,
1543
1406
  supportedFileTypes: ["pdf", "image"],
1544
1407
  reasoning: true,
1545
1408
  supportsTemperature: true,
@@ -1561,7 +1424,7 @@ var MODELS_BY_PROVIDER = {
1561
1424
  {
1562
1425
  name: "claude-sonnet-4-5-20250929",
1563
1426
  displayName: "Claude Sonnet 4.5",
1564
- maxInputTokens: 2e5,
1427
+ maxInputTokens: 1e6,
1565
1428
  supportedFileTypes: ["pdf", "image"],
1566
1429
  reasoning: true,
1567
1430
  supportsTemperature: true,
@@ -1610,7 +1473,7 @@ var MODELS_BY_PROVIDER = {
1610
1473
  reasoning: true,
1611
1474
  supportsTemperature: false,
1612
1475
  supportsToolCall: true,
1613
- releaseDate: "2026-06-30",
1476
+ releaseDate: "2026-06-29",
1614
1477
  modalities: {
1615
1478
  input: ["text", "image", "pdf"],
1616
1479
  output: ["text"]
@@ -2067,6 +1930,26 @@ var MODELS_BY_PROVIDER = {
2067
1930
  currency: "USD",
2068
1931
  unit: "per_million_tokens"
2069
1932
  }
1933
+ },
1934
+ {
1935
+ name: "gemini-omni-flash-preview",
1936
+ displayName: "Gemini Omni Flash Preview",
1937
+ maxInputTokens: 131072,
1938
+ supportedFileTypes: ["image", "video", "document"],
1939
+ reasoning: true,
1940
+ supportsTemperature: true,
1941
+ supportsToolCall: false,
1942
+ releaseDate: "2026-06-30",
1943
+ modalities: {
1944
+ input: ["text", "image", "video"],
1945
+ output: ["video"]
1946
+ },
1947
+ pricing: {
1948
+ inputPerM: 1.5,
1949
+ outputPerM: 17.5,
1950
+ currency: "USD",
1951
+ unit: "per_million_tokens"
1952
+ }
2070
1953
  }
2071
1954
  ],
2072
1955
  groq: [
@@ -2446,6 +2329,31 @@ var MODELS_BY_PROVIDER = {
2446
2329
  unit: "per_million_tokens"
2447
2330
  }
2448
2331
  },
2332
+ {
2333
+ name: "grok-4.5",
2334
+ displayName: "Grok 4.5",
2335
+ maxInputTokens: 5e5,
2336
+ supportedFileTypes: ["pdf", "image"],
2337
+ reasoning: true,
2338
+ supportsTemperature: true,
2339
+ supportsToolCall: true,
2340
+ releaseDate: "2026-07-08",
2341
+ modalities: {
2342
+ input: ["text", "image", "pdf"],
2343
+ output: ["text"]
2344
+ },
2345
+ pricing: {
2346
+ inputPerM: 2,
2347
+ outputPerM: 6,
2348
+ cacheReadPerM: 0.5,
2349
+ contextOver200kPerM: {
2350
+ inputPerM: 4,
2351
+ outputPerM: 12
2352
+ },
2353
+ currency: "USD",
2354
+ unit: "per_million_tokens"
2355
+ }
2356
+ },
2449
2357
  {
2450
2358
  name: "grok-build-0.1",
2451
2359
  displayName: "Grok Build 0.1",
@@ -3097,9 +3005,9 @@ var MODELS_BY_PROVIDER = {
3097
3005
  },
3098
3006
  supportsInterleaved: true,
3099
3007
  pricing: {
3100
- inputPerM: 6,
3101
- outputPerM: 24,
3102
- cacheReadPerM: 1.3,
3008
+ inputPerM: 1.4,
3009
+ outputPerM: 4.4,
3010
+ cacheReadPerM: 0.26,
3103
3011
  cacheWritePerM: 0,
3104
3012
  currency: "USD",
3105
3013
  unit: "per_million_tokens"
@@ -3209,7 +3117,7 @@ var MODELS_BY_PROVIDER = {
3209
3117
  maxInputTokens: 1e6,
3210
3118
  supportedFileTypes: ["pdf", "image"],
3211
3119
  reasoning: true,
3212
- supportsTemperature: false,
3120
+ supportsTemperature: true,
3213
3121
  supportsToolCall: true,
3214
3122
  releaseDate: "2026-04-21",
3215
3123
  modalities: {
@@ -3231,7 +3139,7 @@ var MODELS_BY_PROVIDER = {
3231
3139
  maxInputTokens: 1e6,
3232
3140
  supportedFileTypes: ["pdf", "image"],
3233
3141
  reasoning: true,
3234
- supportsTemperature: true,
3142
+ supportsTemperature: false,
3235
3143
  supportsToolCall: true,
3236
3144
  releaseDate: "2026-04-27",
3237
3145
  modalities: {
@@ -3239,10 +3147,10 @@ var MODELS_BY_PROVIDER = {
3239
3147
  output: ["text"]
3240
3148
  },
3241
3149
  pricing: {
3242
- inputPerM: 3,
3243
- outputPerM: 15,
3244
- cacheReadPerM: 0.3,
3245
- cacheWritePerM: 3.75,
3150
+ inputPerM: 2,
3151
+ outputPerM: 10,
3152
+ cacheReadPerM: 0.2,
3153
+ cacheWritePerM: 2.5,
3246
3154
  currency: "USD",
3247
3155
  unit: "per_million_tokens"
3248
3156
  }
@@ -3307,9 +3215,9 @@ var MODELS_BY_PROVIDER = {
3307
3215
  output: ["text"]
3308
3216
  },
3309
3217
  pricing: {
3310
- inputPerM: 0.55,
3311
- outputPerM: 3.2,
3312
- cacheReadPerM: 0.11,
3218
+ inputPerM: 0.66,
3219
+ outputPerM: 3.41,
3220
+ cacheReadPerM: 0.15,
3313
3221
  currency: "USD",
3314
3222
  unit: "per_million_tokens"
3315
3223
  }
@@ -3331,6 +3239,7 @@ var MODELS_BY_PROVIDER = {
3331
3239
  inputPerM: 5,
3332
3240
  outputPerM: 30,
3333
3241
  cacheReadPerM: 0.5,
3242
+ cacheWritePerM: 6.25,
3334
3243
  currency: "USD",
3335
3244
  unit: "per_million_tokens"
3336
3245
  }
@@ -3356,6 +3265,27 @@ var MODELS_BY_PROVIDER = {
3356
3265
  unit: "per_million_tokens"
3357
3266
  }
3358
3267
  },
3268
+ {
3269
+ name: "~x-ai/grok-latest",
3270
+ displayName: "Grok Latest",
3271
+ maxInputTokens: 5e5,
3272
+ supportedFileTypes: ["pdf", "image"],
3273
+ reasoning: true,
3274
+ supportsTemperature: true,
3275
+ supportsToolCall: true,
3276
+ releaseDate: "2026-07-08",
3277
+ modalities: {
3278
+ input: ["text", "image", "pdf"],
3279
+ output: ["text"]
3280
+ },
3281
+ pricing: {
3282
+ inputPerM: 2,
3283
+ outputPerM: 6,
3284
+ cacheReadPerM: 0.5,
3285
+ currency: "USD",
3286
+ unit: "per_million_tokens"
3287
+ }
3288
+ },
3359
3289
  {
3360
3290
  name: "ai21/jamba-large-1.7",
3361
3291
  displayName: "Jamba Large 1.7",
@@ -3377,62 +3307,64 @@ var MODELS_BY_PROVIDER = {
3377
3307
  }
3378
3308
  },
3379
3309
  {
3380
- name: "aion-labs/aion-1.0",
3381
- displayName: "Aion-1.0",
3310
+ name: "aion-labs/aion-2.0",
3311
+ displayName: "Aion-2.0",
3382
3312
  maxInputTokens: 131072,
3383
3313
  supportedFileTypes: [],
3384
3314
  reasoning: true,
3385
3315
  supportsTemperature: true,
3386
- supportsToolCall: false,
3387
- releaseDate: "2025-02-04",
3316
+ supportsToolCall: true,
3317
+ releaseDate: "2026-02-23",
3388
3318
  modalities: {
3389
3319
  input: ["text"],
3390
3320
  output: ["text"]
3391
3321
  },
3392
3322
  pricing: {
3393
- inputPerM: 4,
3394
- outputPerM: 8,
3323
+ inputPerM: 0.8,
3324
+ outputPerM: 1.6,
3325
+ cacheReadPerM: 0.2,
3395
3326
  currency: "USD",
3396
3327
  unit: "per_million_tokens"
3397
3328
  }
3398
3329
  },
3399
3330
  {
3400
- name: "aion-labs/aion-1.0-mini",
3401
- displayName: "Aion-1.0-Mini",
3331
+ name: "aion-labs/aion-3.0",
3332
+ displayName: "Aion-3.0",
3402
3333
  maxInputTokens: 131072,
3403
3334
  supportedFileTypes: [],
3404
3335
  reasoning: true,
3405
3336
  supportsTemperature: true,
3406
- supportsToolCall: false,
3407
- releaseDate: "2025-02-04",
3337
+ supportsToolCall: true,
3338
+ releaseDate: "2026-07-07",
3408
3339
  modalities: {
3409
3340
  input: ["text"],
3410
3341
  output: ["text"]
3411
3342
  },
3412
3343
  pricing: {
3413
- inputPerM: 0.7,
3414
- outputPerM: 1.4,
3344
+ inputPerM: 3,
3345
+ outputPerM: 6,
3346
+ cacheReadPerM: 0.75,
3415
3347
  currency: "USD",
3416
3348
  unit: "per_million_tokens"
3417
3349
  }
3418
3350
  },
3419
3351
  {
3420
- name: "aion-labs/aion-2.0",
3421
- displayName: "Aion-2.0",
3352
+ name: "aion-labs/aion-3.0-mini",
3353
+ displayName: "Aion-3.0-Mini",
3422
3354
  maxInputTokens: 131072,
3423
3355
  supportedFileTypes: [],
3424
3356
  reasoning: true,
3425
3357
  supportsTemperature: true,
3426
- supportsToolCall: false,
3427
- releaseDate: "2026-02-23",
3358
+ supportsToolCall: true,
3359
+ releaseDate: "2026-07-07",
3428
3360
  modalities: {
3429
3361
  input: ["text"],
3430
3362
  output: ["text"]
3431
3363
  },
3432
3364
  pricing: {
3433
- inputPerM: 0.8,
3434
- outputPerM: 1.6,
3435
- cacheReadPerM: 0.2,
3365
+ inputPerM: 0.7,
3366
+ outputPerM: 1.4,
3367
+ cacheReadPerM: 0.18,
3436
3368
  currency: "USD",
3437
3369
  unit: "per_million_tokens"
3438
3370
  }
@@ -3581,7 +3513,7 @@ var MODELS_BY_PROVIDER = {
3581
3513
  {
3582
3514
  name: "anthracite-org/magnum-v4-72b",
3583
3515
  displayName: "Magnum v4 72B",
3584
- maxInputTokens: 16384,
3516
+ maxInputTokens: 32768,
3585
3517
  supportedFileTypes: [],
3586
3518
  reasoning: false,
3587
3519
  supportsTemperature: true,
@@ -3620,6 +3552,28 @@ var MODELS_BY_PROVIDER = {
3620
3552
  unit: "per_million_tokens"
3621
3553
  }
3622
3554
  },
3555
+ {
3556
+ name: "anthropic/claude-fable-5",
3557
+ displayName: "Claude Fable 5",
3558
+ maxInputTokens: 1e6,
3559
+ supportedFileTypes: ["pdf", "image"],
3560
+ reasoning: true,
3561
+ supportsTemperature: false,
3562
+ supportsToolCall: true,
3563
+ releaseDate: "2026-06-09",
3564
+ modalities: {
3565
+ input: ["text", "image", "pdf"],
3566
+ output: ["text"]
3567
+ },
3568
+ pricing: {
3569
+ inputPerM: 10,
3570
+ outputPerM: 50,
3571
+ cacheReadPerM: 1,
3572
+ cacheWritePerM: 12.5,
3573
+ currency: "USD",
3574
+ unit: "per_million_tokens"
3575
+ }
3576
+ },
3623
3577
  {
3624
3578
  name: "anthropic/claude-haiku-4.5",
3625
3579
  displayName: "Claude Haiku 4.5 (latest)",
@@ -3788,7 +3742,7 @@ var MODELS_BY_PROVIDER = {
3788
3742
  maxInputTokens: 1e6,
3789
3743
  supportedFileTypes: ["pdf", "image"],
3790
3744
  reasoning: true,
3791
- supportsTemperature: false,
3745
+ supportsTemperature: true,
3792
3746
  supportsToolCall: true,
3793
3747
  releaseDate: "2026-05-28",
3794
3748
  modalities: {
@@ -3904,6 +3858,28 @@ var MODELS_BY_PROVIDER = {
3904
3858
  unit: "per_million_tokens"
3905
3859
  }
3906
3860
  },
3861
+ {
3862
+ name: "anthropic/claude-sonnet-5",
3863
+ displayName: "Claude Sonnet 5",
3864
+ maxInputTokens: 1e6,
3865
+ supportedFileTypes: ["pdf", "image"],
3866
+ reasoning: true,
3867
+ supportsTemperature: false,
3868
+ supportsToolCall: true,
3869
+ releaseDate: "2026-06-30",
3870
+ modalities: {
3871
+ input: ["text", "image", "pdf"],
3872
+ output: ["text"]
3873
+ },
3874
+ pricing: {
3875
+ inputPerM: 2,
3876
+ outputPerM: 10,
3877
+ cacheReadPerM: 0.2,
3878
+ cacheWritePerM: 2.5,
3879
+ currency: "USD",
3880
+ unit: "per_million_tokens"
3881
+ }
3882
+ },
3907
3883
  {
3908
3884
  name: "arcee-ai/coder-large",
3909
3885
  displayName: "Coder Large",
@@ -3988,7 +3964,7 @@ var MODELS_BY_PROVIDER = {
3988
3964
  {
3989
3965
  name: "baidu/ernie-4.5-vl-424b-a47b",
3990
3966
  displayName: "ERNIE 4.5 VL 424B A47B ",
3991
- maxInputTokens: 123e3,
3967
+ maxInputTokens: 131072,
3992
3968
  supportedFileTypes: ["image"],
3993
3969
  reasoning: true,
3994
3970
  supportsTemperature: true,
@@ -4106,6 +4082,26 @@ var MODELS_BY_PROVIDER = {
4106
4082
  unit: "per_million_tokens"
4107
4083
  }
4108
4084
  },
4085
+ {
4086
+ name: "cognitivecomputations/dolphin-mistral-24b-venice-edition",
4087
+ displayName: "Uncensored",
4088
+ maxInputTokens: 128e3,
4089
+ supportedFileTypes: [],
4090
+ reasoning: false,
4091
+ supportsTemperature: true,
4092
+ supportsToolCall: false,
4093
+ releaseDate: "2025-07-09",
4094
+ modalities: {
4095
+ input: ["text"],
4096
+ output: ["text"]
4097
+ },
4098
+ pricing: {
4099
+ inputPerM: 0.2,
4100
+ outputPerM: 0.9,
4101
+ currency: "USD",
4102
+ unit: "per_million_tokens"
4103
+ }
4104
+ },
4109
4105
  {
4110
4106
  name: "cognitivecomputations/dolphin-mistral-24b-venice-edition:free",
4111
4107
  displayName: "Uncensored (free)",
@@ -4249,7 +4245,7 @@ var MODELS_BY_PROVIDER = {
4249
4245
  {
4250
4246
  name: "deepseek/deepseek-chat",
4251
4247
  displayName: "DeepSeek Chat",
4252
- maxInputTokens: 128e3,
4248
+ maxInputTokens: 131072,
4253
4249
  supportedFileTypes: [],
4254
4250
  reasoning: false,
4255
4251
  supportsTemperature: true,
@@ -4280,8 +4276,8 @@ var MODELS_BY_PROVIDER = {
4280
4276
  output: ["text"]
4281
4277
  },
4282
4278
  pricing: {
4283
- inputPerM: 0.2,
4284
- outputPerM: 0.77,
4279
+ inputPerM: 0.24,
4280
+ outputPerM: 0.9,
4285
4281
  cacheReadPerM: 0.135,
4286
4282
  currency: "USD",
4287
4283
  unit: "per_million_tokens"
@@ -4311,7 +4307,7 @@ var MODELS_BY_PROVIDER = {
4311
4307
  {
4312
4308
  name: "deepseek/deepseek-r1",
4313
4309
  displayName: "DeepSeek-R1",
4314
- maxInputTokens: 64e3,
4310
+ maxInputTokens: 163840,
4315
4311
  supportedFileTypes: [],
4316
4312
  reasoning: true,
4317
4313
  supportsTemperature: true,
@@ -4352,7 +4348,7 @@ var MODELS_BY_PROVIDER = {
4352
4348
  {
4353
4349
  name: "deepseek/deepseek-r1-distill-llama-70b",
4354
4350
  displayName: "R1 Distill Llama 70B",
4355
- maxInputTokens: 8192,
4351
+ maxInputTokens: 128e3,
4356
4352
  supportedFileTypes: [],
4357
4353
  reasoning: true,
4358
4354
  supportsTemperature: true,
@@ -4393,7 +4389,7 @@ var MODELS_BY_PROVIDER = {
4393
4389
  {
4394
4390
  name: "deepseek/deepseek-v3.2",
4395
4391
  displayName: "DeepSeek V3.2",
4396
- maxInputTokens: 128e3,
4392
+ maxInputTokens: 131072,
4397
4393
  supportedFileTypes: [],
4398
4394
  reasoning: true,
4399
4395
  supportsTemperature: true,
@@ -4434,7 +4430,7 @@ var MODELS_BY_PROVIDER = {
4434
4430
  {
4435
4431
  name: "deepseek/deepseek-v4-flash",
4436
4432
  displayName: "DeepSeek V4 Flash",
4437
- maxInputTokens: 1e6,
4433
+ maxInputTokens: 1048576,
4438
4434
  supportedFileTypes: [],
4439
4435
  reasoning: true,
4440
4436
  supportsTemperature: true,
@@ -4451,7 +4447,7 @@ var MODELS_BY_PROVIDER = {
4451
4447
  pricing: {
4452
4448
  inputPerM: 0.09,
4453
4449
  outputPerM: 0.18,
4454
- cacheReadPerM: 0.02,
4450
+ cacheReadPerM: 0.018,
4455
4451
  currency: "USD",
4456
4452
  unit: "per_million_tokens"
4457
4453
  }
@@ -4514,52 +4510,29 @@ var MODELS_BY_PROVIDER = {
4514
4510
  supportsToolCall: false,
4515
4511
  releaseDate: "2025-08-26",
4516
4512
  modalities: {
4517
- input: ["text", "image"],
4518
- output: ["text", "image"]
4519
- },
4520
- pricing: {
4521
- inputPerM: 0.3,
4522
- outputPerM: 2.5,
4523
- cacheReadPerM: 0.03,
4524
- cacheWritePerM: 0.083333,
4525
- currency: "USD",
4526
- unit: "per_million_tokens"
4527
- }
4528
- },
4529
- {
4530
- name: "google/gemini-2.5-flash-lite",
4531
- displayName: "Gemini 2.5 Flash-Lite",
4532
- maxInputTokens: 1048576,
4533
- supportedFileTypes: ["pdf", "image", "audio", "video", "document"],
4534
- reasoning: true,
4535
- supportsTemperature: true,
4536
- supportsToolCall: true,
4537
- releaseDate: "2025-06-17",
4538
- modalities: {
4539
- input: ["text", "image", "audio", "video", "pdf"],
4540
- output: ["text"]
4513
+ input: ["text", "image"],
4514
+ output: ["text", "image"]
4541
4515
  },
4542
4516
  pricing: {
4543
- inputPerM: 0.1,
4544
- outputPerM: 0.4,
4545
- cacheReadPerM: 0.01,
4517
+ inputPerM: 0.3,
4518
+ outputPerM: 2.5,
4519
+ cacheReadPerM: 0.03,
4546
4520
  cacheWritePerM: 0.083333,
4547
- reasoningPerM: 0.4,
4548
4521
  currency: "USD",
4549
4522
  unit: "per_million_tokens"
4550
4523
  }
4551
4524
  },
4552
4525
  {
4553
- name: "google/gemini-2.5-flash-lite-preview-09-2025",
4554
- displayName: "Gemini 2.5 Flash Lite Preview 09-2025",
4526
+ name: "google/gemini-2.5-flash-lite",
4527
+ displayName: "Gemini 2.5 Flash-Lite",
4555
4528
  maxInputTokens: 1048576,
4556
4529
  supportedFileTypes: ["pdf", "image", "audio", "video", "document"],
4557
4530
  reasoning: true,
4558
4531
  supportsTemperature: true,
4559
4532
  supportsToolCall: true,
4560
- releaseDate: "2025-09-25",
4533
+ releaseDate: "2025-06-17",
4561
4534
  modalities: {
4562
- input: ["text", "image", "pdf", "audio", "video"],
4535
+ input: ["text", "image", "audio", "video", "pdf"],
4563
4536
  output: ["text"]
4564
4537
  },
4565
4538
  pricing: {
@@ -4777,6 +4750,26 @@ var MODELS_BY_PROVIDER = {
4777
4750
  unit: "per_million_tokens"
4778
4751
  }
4779
4752
  },
4753
+ {
4754
+ name: "google/gemini-3.1-flash-lite-image",
4755
+ displayName: "Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)",
4756
+ maxInputTokens: 65536,
4757
+ supportedFileTypes: ["image", "document"],
4758
+ reasoning: true,
4759
+ supportsTemperature: true,
4760
+ supportsToolCall: false,
4761
+ releaseDate: "2026-06-30",
4762
+ modalities: {
4763
+ input: ["image", "text"],
4764
+ output: ["image", "text"]
4765
+ },
4766
+ pricing: {
4767
+ inputPerM: 0.25,
4768
+ outputPerM: 1.5,
4769
+ currency: "USD",
4770
+ unit: "per_million_tokens"
4771
+ }
4772
+ },
4780
4773
  {
4781
4774
  name: "google/gemini-3.1-flash-lite-preview",
4782
4775
  displayName: "Gemini 3.1 Flash Lite Preview",
@@ -4834,7 +4827,7 @@ var MODELS_BY_PROVIDER = {
4834
4827
  {
4835
4828
  name: "google/gemini-3.1-pro-preview-customtools",
4836
4829
  displayName: "Gemini 3.1 Pro Preview Custom Tools",
4837
- maxInputTokens: 1048576,
4830
+ maxInputTokens: 1048756,
4838
4831
  supportedFileTypes: ["pdf", "image", "audio", "video", "document"],
4839
4832
  reasoning: true,
4840
4833
  supportsTemperature: true,
@@ -5008,7 +5001,7 @@ var MODELS_BY_PROVIDER = {
5008
5001
  {
5009
5002
  name: "google/gemma-4-26b-a4b-it:free",
5010
5003
  displayName: "Gemma 4 26B A4B (free)",
5011
- maxInputTokens: 131072,
5004
+ maxInputTokens: 262144,
5012
5005
  supportedFileTypes: ["image", "video", "document"],
5013
5006
  reasoning: true,
5014
5007
  supportsTemperature: true,
@@ -5312,26 +5305,6 @@ var MODELS_BY_PROVIDER = {
5312
5305
  unit: "per_million_tokens"
5313
5306
  }
5314
5307
  },
5315
- {
5316
- name: "liquid/lfm-2-24b-a2b",
5317
- displayName: "LFM2-24B-A2B",
5318
- maxInputTokens: 32768,
5319
- supportedFileTypes: [],
5320
- reasoning: false,
5321
- supportsTemperature: true,
5322
- supportsToolCall: false,
5323
- releaseDate: "2026-02-25",
5324
- modalities: {
5325
- input: ["text"],
5326
- output: ["text"]
5327
- },
5328
- pricing: {
5329
- inputPerM: 0.03,
5330
- outputPerM: 0.12,
5331
- currency: "USD",
5332
- unit: "per_million_tokens"
5333
- }
5334
- },
5335
5308
  {
5336
5309
  name: "liquid/lfm-2.5-1.2b-instruct:free",
5337
5310
  displayName: "LFM2.5-1.2B-Instruct (free)",
@@ -5475,7 +5448,7 @@ var MODELS_BY_PROVIDER = {
5475
5448
  {
5476
5449
  name: "meta-llama/llama-3.2-1b-instruct",
5477
5450
  displayName: "Llama 3.2 1B Instruct",
5478
- maxInputTokens: 6e4,
5451
+ maxInputTokens: 131072,
5479
5452
  supportedFileTypes: [],
5480
5453
  reasoning: false,
5481
5454
  supportsTemperature: true,
@@ -5495,7 +5468,7 @@ var MODELS_BY_PROVIDER = {
5495
5468
  {
5496
5469
  name: "meta-llama/llama-3.2-3b-instruct",
5497
5470
  displayName: "Llama 3.2 3B Instruct",
5498
- maxInputTokens: 8e4,
5471
+ maxInputTokens: 131072,
5499
5472
  supportedFileTypes: [],
5500
5473
  reasoning: false,
5501
5474
  supportsTemperature: true,
@@ -5506,8 +5479,8 @@ var MODELS_BY_PROVIDER = {
5506
5479
  output: ["text"]
5507
5480
  },
5508
5481
  pricing: {
5509
- inputPerM: 0.0509,
5510
- outputPerM: 0.335,
5482
+ inputPerM: 0.05,
5483
+ outputPerM: 0.33,
5511
5484
  currency: "USD",
5512
5485
  unit: "per_million_tokens"
5513
5486
  }
@@ -5555,7 +5528,7 @@ var MODELS_BY_PROVIDER = {
5555
5528
  {
5556
5529
  name: "meta-llama/llama-3.3-70b-instruct:free",
5557
5530
  displayName: "Llama 3.3 70B Instruct (free)",
5558
- maxInputTokens: 65536,
5531
+ maxInputTokens: 131072,
5559
5532
  supportedFileTypes: [],
5560
5533
  reasoning: false,
5561
5534
  supportsTemperature: true,
@@ -5595,7 +5568,7 @@ var MODELS_BY_PROVIDER = {
5595
5568
  {
5596
5569
  name: "meta-llama/llama-4-scout",
5597
5570
  displayName: "Llama 4 Scout",
5598
- maxInputTokens: 327680,
5571
+ maxInputTokens: 1e7,
5599
5572
  supportedFileTypes: ["image"],
5600
5573
  reasoning: false,
5601
5574
  supportsTemperature: true,
@@ -5652,31 +5625,10 @@ var MODELS_BY_PROVIDER = {
5652
5625
  unit: "per_million_tokens"
5653
5626
  }
5654
5627
  },
5655
- {
5656
- name: "microsoft/phi-4-mini-instruct",
5657
- displayName: "Phi 4 Mini Instruct",
5658
- maxInputTokens: 128e3,
5659
- supportedFileTypes: [],
5660
- reasoning: false,
5661
- supportsTemperature: true,
5662
- supportsToolCall: false,
5663
- releaseDate: "2025-10-17",
5664
- modalities: {
5665
- input: ["text"],
5666
- output: ["text"]
5667
- },
5668
- pricing: {
5669
- inputPerM: 0.08,
5670
- outputPerM: 0.35,
5671
- cacheReadPerM: 0.08,
5672
- currency: "USD",
5673
- unit: "per_million_tokens"
5674
- }
5675
- },
5676
5628
  {
5677
5629
  name: "microsoft/wizardlm-2-8x22b",
5678
5630
  displayName: "WizardLM-2 8x22B",
5679
- maxInputTokens: 65535,
5631
+ maxInputTokens: 65536,
5680
5632
  supportedFileTypes: [],
5681
5633
  reasoning: false,
5682
5634
  supportsTemperature: true,
@@ -5736,7 +5688,7 @@ var MODELS_BY_PROVIDER = {
5736
5688
  {
5737
5689
  name: "minimax/minimax-m2",
5738
5690
  displayName: "MiniMax-M2",
5739
- maxInputTokens: 196608,
5691
+ maxInputTokens: 204800,
5740
5692
  supportedFileTypes: [],
5741
5693
  reasoning: true,
5742
5694
  supportsTemperature: true,
@@ -5752,8 +5704,7 @@ var MODELS_BY_PROVIDER = {
5752
5704
  supportsInterleaved: true,
5753
5705
  pricing: {
5754
5706
  inputPerM: 0.255,
5755
- outputPerM: 1,
5756
- cacheReadPerM: 0.03,
5707
+ outputPerM: 1.02,
5757
5708
  currency: "USD",
5758
5709
  unit: "per_million_tokens"
5759
5710
  }
@@ -5782,7 +5733,7 @@ var MODELS_BY_PROVIDER = {
5782
5733
  {
5783
5734
  name: "minimax/minimax-m2.1",
5784
5735
  displayName: "MiniMax-M2.1",
5785
- maxInputTokens: 196608,
5736
+ maxInputTokens: 204800,
5786
5737
  supportedFileTypes: [],
5787
5738
  reasoning: true,
5788
5739
  supportsTemperature: true,
@@ -5797,8 +5748,8 @@ var MODELS_BY_PROVIDER = {
5797
5748
  },
5798
5749
  supportsInterleaved: true,
5799
5750
  pricing: {
5800
- inputPerM: 0.29,
5801
- outputPerM: 0.95,
5751
+ inputPerM: 0.3,
5752
+ outputPerM: 1.2,
5802
5753
  cacheReadPerM: 0.03,
5803
5754
  currency: "USD",
5804
5755
  unit: "per_million_tokens"
@@ -5807,7 +5758,7 @@ var MODELS_BY_PROVIDER = {
5807
5758
  {
5808
5759
  name: "minimax/minimax-m2.5",
5809
5760
  displayName: "MiniMax-M2.5",
5810
- maxInputTokens: 196608,
5761
+ maxInputTokens: 204800,
5811
5762
  supportedFileTypes: [],
5812
5763
  reasoning: true,
5813
5764
  supportsTemperature: true,
@@ -5822,8 +5773,9 @@ var MODELS_BY_PROVIDER = {
5822
5773
  },
5823
5774
  supportsInterleaved: true,
5824
5775
  pricing: {
5825
- inputPerM: 0.12,
5826
- outputPerM: 0.48,
5776
+ inputPerM: 0.15,
5777
+ outputPerM: 0.9,
5778
+ cacheReadPerM: 0.05,
5827
5779
  currency: "USD",
5828
5780
  unit: "per_million_tokens"
5829
5781
  }
@@ -5831,7 +5783,7 @@ var MODELS_BY_PROVIDER = {
5831
5783
  {
5832
5784
  name: "minimax/minimax-m2.7",
5833
5785
  displayName: "MiniMax-M2.7",
5834
- maxInputTokens: 196608,
5786
+ maxInputTokens: 204800,
5835
5787
  supportedFileTypes: [],
5836
5788
  reasoning: true,
5837
5789
  supportsTemperature: true,
@@ -5842,8 +5794,8 @@ var MODELS_BY_PROVIDER = {
5842
5794
  output: ["text"]
5843
5795
  },
5844
5796
  pricing: {
5845
- inputPerM: 0.18,
5846
- outputPerM: 0.72,
5797
+ inputPerM: 0.24,
5798
+ outputPerM: 0.96,
5847
5799
  currency: "USD",
5848
5800
  unit: "per_million_tokens"
5849
5801
  }
@@ -5851,7 +5803,7 @@ var MODELS_BY_PROVIDER = {
5851
5803
  {
5852
5804
  name: "minimax/minimax-m3",
5853
5805
  displayName: "MiniMax-M3",
5854
- maxInputTokens: 524288,
5806
+ maxInputTokens: 1048576,
5855
5807
  supportedFileTypes: ["image", "video"],
5856
5808
  reasoning: true,
5857
5809
  supportsTemperature: true,
@@ -6324,7 +6276,7 @@ var MODELS_BY_PROVIDER = {
6324
6276
  pricing: {
6325
6277
  inputPerM: 0.6,
6326
6278
  outputPerM: 2.5,
6327
- cacheReadPerM: 0.6,
6279
+ cacheReadPerM: 0.15,
6328
6280
  currency: "USD",
6329
6281
  unit: "per_million_tokens"
6330
6282
  }
@@ -6332,7 +6284,7 @@ var MODELS_BY_PROVIDER = {
6332
6284
  {
6333
6285
  name: "moonshotai/kimi-k2.5",
6334
6286
  displayName: "Kimi K2.5",
6335
- maxInputTokens: 256e3,
6287
+ maxInputTokens: 262144,
6336
6288
  supportedFileTypes: ["image"],
6337
6289
  reasoning: true,
6338
6290
  supportsTemperature: true,
@@ -6349,6 +6301,7 @@ var MODELS_BY_PROVIDER = {
6349
6301
  pricing: {
6350
6302
  inputPerM: 0.375,
6351
6303
  outputPerM: 2.025,
6304
+ cacheReadPerM: 0.203,
6352
6305
  currency: "USD",
6353
6306
  unit: "per_million_tokens"
6354
6307
  }
@@ -6371,9 +6324,9 @@ var MODELS_BY_PROVIDER = {
6371
6324
  },
6372
6325
  supportsInterleaved: true,
6373
6326
  pricing: {
6374
- inputPerM: 0.55,
6375
- outputPerM: 3.2,
6376
- cacheReadPerM: 0.11,
6327
+ inputPerM: 0.66,
6328
+ outputPerM: 3.41,
6329
+ cacheReadPerM: 0.15,
6377
6330
  currency: "USD",
6378
6331
  unit: "per_million_tokens"
6379
6332
  }
@@ -6392,9 +6345,9 @@ var MODELS_BY_PROVIDER = {
6392
6345
  output: ["text"]
6393
6346
  },
6394
6347
  pricing: {
6395
- inputPerM: 0.74,
6396
- outputPerM: 3.5,
6397
- cacheReadPerM: 0.15,
6348
+ inputPerM: 0.72,
6349
+ outputPerM: 3.49,
6350
+ cacheReadPerM: 0.159,
6398
6351
  currency: "USD",
6399
6352
  unit: "per_million_tokens"
6400
6353
  }
@@ -6439,6 +6392,27 @@ var MODELS_BY_PROVIDER = {
6439
6392
  unit: "per_million_tokens"
6440
6393
  }
6441
6394
  },
6395
+ {
6396
+ name: "nex-agi/nex-n2-mini",
6397
+ displayName: "Nex-N2-Mini",
6398
+ maxInputTokens: 262144,
6399
+ supportedFileTypes: ["image"],
6400
+ reasoning: true,
6401
+ supportsTemperature: true,
6402
+ supportsToolCall: true,
6403
+ releaseDate: "2026-06-24",
6404
+ modalities: {
6405
+ input: ["text", "image"],
6406
+ output: ["text"]
6407
+ },
6408
+ pricing: {
6409
+ inputPerM: 0.025,
6410
+ outputPerM: 0.1,
6411
+ cacheReadPerM: 25e-4,
6412
+ currency: "USD",
6413
+ unit: "per_million_tokens"
6414
+ }
6415
+ },
6442
6416
  {
6443
6417
  name: "nex-agi/nex-n2-pro",
6444
6418
  displayName: "Nex-N2-Pro",
@@ -6446,7 +6420,7 @@ var MODELS_BY_PROVIDER = {
6446
6420
  supportedFileTypes: ["image"],
6447
6421
  reasoning: true,
6448
6422
  supportsTemperature: true,
6449
- supportsToolCall: false,
6423
+ supportsToolCall: true,
6450
6424
  releaseDate: "2026-06-08",
6451
6425
  modalities: {
6452
6426
  input: ["text", "image"],
@@ -6643,7 +6617,7 @@ var MODELS_BY_PROVIDER = {
6643
6617
  {
6644
6618
  name: "nvidia/nemotron-3-super-120b-a12b",
6645
6619
  displayName: "Nemotron 3 Super 120B A12B",
6646
- maxInputTokens: 262144,
6620
+ maxInputTokens: 1e6,
6647
6621
  supportedFileTypes: [],
6648
6622
  reasoning: true,
6649
6623
  supportsTemperature: true,
@@ -6654,8 +6628,8 @@ var MODELS_BY_PROVIDER = {
6654
6628
  output: ["text"]
6655
6629
  },
6656
6630
  pricing: {
6657
- inputPerM: 0.085,
6658
- outputPerM: 0.4,
6631
+ inputPerM: 0.08,
6632
+ outputPerM: 0.45,
6659
6633
  currency: "USD",
6660
6634
  unit: "per_million_tokens"
6661
6635
  }
@@ -6663,7 +6637,7 @@ var MODELS_BY_PROVIDER = {
6663
6637
  {
6664
6638
  name: "nvidia/nemotron-3-super-120b-a12b:free",
6665
6639
  displayName: "Nemotron 3 Super (free)",
6666
- maxInputTokens: 262144,
6640
+ maxInputTokens: 1e6,
6667
6641
  supportedFileTypes: [],
6668
6642
  reasoning: true,
6669
6643
  supportsTemperature: true,
@@ -6683,7 +6657,7 @@ var MODELS_BY_PROVIDER = {
6683
6657
  {
6684
6658
  name: "nvidia/nemotron-3-ultra-550b-a55b",
6685
6659
  displayName: "Nemotron 3 Ultra 550B A55B",
6686
- maxInputTokens: 262144,
6660
+ maxInputTokens: 1e6,
6687
6661
  supportedFileTypes: [],
6688
6662
  reasoning: true,
6689
6663
  supportsTemperature: true,
@@ -7616,76 +7590,208 @@ var MODELS_BY_PROVIDER = {
7616
7590
  reasoning: true,
7617
7591
  supportsTemperature: false,
7618
7592
  supportsToolCall: true,
7619
- releaseDate: "2026-03-17",
7593
+ releaseDate: "2026-03-17",
7594
+ modalities: {
7595
+ input: ["pdf", "image", "text"],
7596
+ output: ["text"]
7597
+ },
7598
+ pricing: {
7599
+ inputPerM: 0.2,
7600
+ outputPerM: 1.25,
7601
+ cacheReadPerM: 0.02,
7602
+ currency: "USD",
7603
+ unit: "per_million_tokens"
7604
+ }
7605
+ },
7606
+ {
7607
+ name: "openai/gpt-5.4-pro",
7608
+ displayName: "GPT-5.4 Pro",
7609
+ maxInputTokens: 922e3,
7610
+ supportedFileTypes: ["pdf", "image", "document"],
7611
+ reasoning: true,
7612
+ supportsTemperature: false,
7613
+ supportsToolCall: true,
7614
+ releaseDate: "2026-03-05",
7615
+ modalities: {
7616
+ input: ["text", "image", "pdf"],
7617
+ output: ["text"]
7618
+ },
7619
+ pricing: {
7620
+ inputPerM: 30,
7621
+ outputPerM: 180,
7622
+ currency: "USD",
7623
+ unit: "per_million_tokens"
7624
+ }
7625
+ },
7626
+ {
7627
+ name: "openai/gpt-5.5",
7628
+ displayName: "GPT-5.5",
7629
+ maxInputTokens: 922e3,
7630
+ supportedFileTypes: ["pdf", "image", "document"],
7631
+ reasoning: true,
7632
+ supportsTemperature: false,
7633
+ supportsToolCall: true,
7634
+ releaseDate: "2026-04-23",
7635
+ modalities: {
7636
+ input: ["text", "image", "pdf"],
7637
+ output: ["text"]
7638
+ },
7639
+ pricing: {
7640
+ inputPerM: 5,
7641
+ outputPerM: 30,
7642
+ cacheReadPerM: 0.5,
7643
+ currency: "USD",
7644
+ unit: "per_million_tokens"
7645
+ }
7646
+ },
7647
+ {
7648
+ name: "openai/gpt-5.5-pro",
7649
+ displayName: "GPT-5.5 Pro",
7650
+ maxInputTokens: 922e3,
7651
+ supportedFileTypes: ["pdf", "image", "document"],
7652
+ reasoning: true,
7653
+ supportsTemperature: false,
7654
+ supportsToolCall: true,
7655
+ releaseDate: "2026-04-23",
7656
+ modalities: {
7657
+ input: ["text", "image", "pdf"],
7658
+ output: ["text"]
7659
+ },
7660
+ pricing: {
7661
+ inputPerM: 30,
7662
+ outputPerM: 180,
7663
+ currency: "USD",
7664
+ unit: "per_million_tokens"
7665
+ }
7666
+ },
7667
+ {
7668
+ name: "openai/gpt-5.6-luna",
7669
+ displayName: "GPT-5.6 Luna",
7670
+ maxInputTokens: 922e3,
7671
+ supportedFileTypes: ["pdf", "image", "document"],
7672
+ reasoning: true,
7673
+ supportsTemperature: false,
7674
+ supportsToolCall: true,
7675
+ releaseDate: "2026-07-09",
7676
+ modalities: {
7677
+ input: ["text", "image", "pdf"],
7678
+ output: ["text"]
7679
+ },
7680
+ pricing: {
7681
+ inputPerM: 1,
7682
+ outputPerM: 6,
7683
+ cacheReadPerM: 0.1,
7684
+ cacheWritePerM: 1.25,
7685
+ currency: "USD",
7686
+ unit: "per_million_tokens"
7687
+ }
7688
+ },
7689
+ {
7690
+ name: "openai/gpt-5.6-luna-pro",
7691
+ displayName: "GPT-5.6 Luna Pro",
7692
+ maxInputTokens: 922e3,
7693
+ supportedFileTypes: ["pdf", "image", "document"],
7694
+ reasoning: true,
7695
+ supportsTemperature: false,
7696
+ supportsToolCall: true,
7697
+ releaseDate: "2026-07-09",
7698
+ modalities: {
7699
+ input: ["text", "image", "pdf"],
7700
+ output: ["text"]
7701
+ },
7702
+ pricing: {
7703
+ inputPerM: 1,
7704
+ outputPerM: 6,
7705
+ cacheReadPerM: 0.1,
7706
+ cacheWritePerM: 1.25,
7707
+ currency: "USD",
7708
+ unit: "per_million_tokens"
7709
+ }
7710
+ },
7711
+ {
7712
+ name: "openai/gpt-5.6-sol",
7713
+ displayName: "GPT-5.6 Sol",
7714
+ maxInputTokens: 922e3,
7715
+ supportedFileTypes: ["pdf", "image", "document"],
7716
+ reasoning: true,
7717
+ supportsTemperature: false,
7718
+ supportsToolCall: true,
7719
+ releaseDate: "2026-07-09",
7620
7720
  modalities: {
7621
- input: ["pdf", "image", "text"],
7721
+ input: ["text", "image", "pdf"],
7622
7722
  output: ["text"]
7623
7723
  },
7624
7724
  pricing: {
7625
- inputPerM: 0.2,
7626
- outputPerM: 1.25,
7627
- cacheReadPerM: 0.02,
7725
+ inputPerM: 5,
7726
+ outputPerM: 30,
7727
+ cacheReadPerM: 0.5,
7728
+ cacheWritePerM: 6.25,
7628
7729
  currency: "USD",
7629
7730
  unit: "per_million_tokens"
7630
7731
  }
7631
7732
  },
7632
7733
  {
7633
- name: "openai/gpt-5.4-pro",
7634
- displayName: "GPT-5.4 Pro",
7734
+ name: "openai/gpt-5.6-sol-pro",
7735
+ displayName: "GPT-5.6 Sol Pro",
7635
7736
  maxInputTokens: 922e3,
7636
7737
  supportedFileTypes: ["pdf", "image", "document"],
7637
7738
  reasoning: true,
7638
7739
  supportsTemperature: false,
7639
7740
  supportsToolCall: true,
7640
- releaseDate: "2026-03-05",
7741
+ releaseDate: "2026-07-09",
7641
7742
  modalities: {
7642
7743
  input: ["text", "image", "pdf"],
7643
7744
  output: ["text"]
7644
7745
  },
7645
7746
  pricing: {
7646
- inputPerM: 30,
7647
- outputPerM: 180,
7747
+ inputPerM: 5,
7748
+ outputPerM: 30,
7749
+ cacheReadPerM: 0.5,
7750
+ cacheWritePerM: 6.25,
7648
7751
  currency: "USD",
7649
7752
  unit: "per_million_tokens"
7650
7753
  }
7651
7754
  },
7652
7755
  {
7653
- name: "openai/gpt-5.5",
7654
- displayName: "GPT-5.5",
7756
+ name: "openai/gpt-5.6-terra",
7757
+ displayName: "GPT-5.6 Terra",
7655
7758
  maxInputTokens: 922e3,
7656
7759
  supportedFileTypes: ["pdf", "image", "document"],
7657
7760
  reasoning: true,
7658
7761
  supportsTemperature: false,
7659
7762
  supportsToolCall: true,
7660
- releaseDate: "2026-04-23",
7763
+ releaseDate: "2026-07-09",
7661
7764
  modalities: {
7662
7765
  input: ["text", "image", "pdf"],
7663
7766
  output: ["text"]
7664
7767
  },
7665
7768
  pricing: {
7666
- inputPerM: 5,
7667
- outputPerM: 30,
7668
- cacheReadPerM: 0.5,
7769
+ inputPerM: 2.5,
7770
+ outputPerM: 15,
7771
+ cacheReadPerM: 0.25,
7772
+ cacheWritePerM: 3.125,
7669
7773
  currency: "USD",
7670
7774
  unit: "per_million_tokens"
7671
7775
  }
7672
7776
  },
7673
7777
  {
7674
- name: "openai/gpt-5.5-pro",
7675
- displayName: "GPT-5.5 Pro",
7778
+ name: "openai/gpt-5.6-terra-pro",
7779
+ displayName: "GPT-5.6 Terra Pro",
7676
7780
  maxInputTokens: 922e3,
7677
7781
  supportedFileTypes: ["pdf", "image", "document"],
7678
7782
  reasoning: true,
7679
7783
  supportsTemperature: false,
7680
7784
  supportsToolCall: true,
7681
- releaseDate: "2026-04-23",
7785
+ releaseDate: "2026-07-09",
7682
7786
  modalities: {
7683
7787
  input: ["text", "image", "pdf"],
7684
7788
  output: ["text"]
7685
7789
  },
7686
7790
  pricing: {
7687
- inputPerM: 30,
7688
- outputPerM: 180,
7791
+ inputPerM: 2.5,
7792
+ outputPerM: 15,
7793
+ cacheReadPerM: 0.25,
7794
+ cacheWritePerM: 3.125,
7689
7795
  currency: "USD",
7690
7796
  unit: "per_million_tokens"
7691
7797
  }
@@ -7765,8 +7871,8 @@ var MODELS_BY_PROVIDER = {
7765
7871
  output: ["text"]
7766
7872
  },
7767
7873
  pricing: {
7768
- inputPerM: 0.03,
7769
- outputPerM: 0.15,
7874
+ inputPerM: 0.036,
7875
+ outputPerM: 0.18,
7770
7876
  currency: "USD",
7771
7877
  unit: "per_million_tokens"
7772
7878
  }
@@ -7793,7 +7899,7 @@ var MODELS_BY_PROVIDER = {
7793
7899
  },
7794
7900
  {
7795
7901
  name: "openai/gpt-oss-20b",
7796
- displayName: "gpt-oss-20b",
7902
+ displayName: "GPT OSS 20B",
7797
7903
  maxInputTokens: 131072,
7798
7904
  supportedFileTypes: [],
7799
7905
  reasoning: true,
@@ -8303,43 +8409,39 @@ var MODELS_BY_PROVIDER = {
8303
8409
  }
8304
8410
  },
8305
8411
  {
8306
- name: "poolside/laguna-xs.2",
8307
- displayName: "Laguna XS.2",
8412
+ name: "poolside/laguna-xs-2.1",
8413
+ displayName: "Laguna XS 2.1",
8308
8414
  maxInputTokens: 262144,
8309
8415
  supportedFileTypes: [],
8310
8416
  reasoning: true,
8311
8417
  supportsTemperature: true,
8312
8418
  supportsToolCall: true,
8313
- releaseDate: "2026-04-28",
8419
+ releaseDate: "2026-07-02",
8314
8420
  modalities: {
8315
8421
  input: ["text"],
8316
8422
  output: ["text"]
8317
8423
  },
8318
8424
  pricing: {
8319
- inputPerM: 0.1,
8320
- outputPerM: 0.2,
8321
- cacheReadPerM: 0.05,
8425
+ inputPerM: 0.06,
8426
+ outputPerM: 0.12,
8427
+ cacheReadPerM: 0.03,
8322
8428
  currency: "USD",
8323
8429
  unit: "per_million_tokens"
8324
8430
  }
8325
8431
  },
8326
8432
  {
8327
- name: "poolside/laguna-xs.2:free",
8328
- displayName: "Laguna XS.2 (free)",
8433
+ name: "poolside/laguna-xs-2.1:free",
8434
+ displayName: "Laguna XS 2.1 (free)",
8329
8435
  maxInputTokens: 262144,
8330
8436
  supportedFileTypes: [],
8331
8437
  reasoning: true,
8332
8438
  supportsTemperature: true,
8333
8439
  supportsToolCall: true,
8334
- releaseDate: "2026-04-28",
8440
+ releaseDate: "2026-07-02",
8335
8441
  modalities: {
8336
8442
  input: ["text"],
8337
8443
  output: ["text"]
8338
8444
  },
8339
- interleaved: {
8340
- field: "reasoning_content"
8341
- },
8342
- supportsInterleaved: true,
8343
8445
  pricing: {
8344
8446
  inputPerM: 0,
8345
8447
  outputPerM: 0,
@@ -8350,7 +8452,7 @@ var MODELS_BY_PROVIDER = {
8350
8452
  {
8351
8453
  name: "qwen/qwen-2.5-72b-instruct",
8352
8454
  displayName: "Qwen2.5 72B Instruct",
8353
- maxInputTokens: 32768,
8455
+ maxInputTokens: 131072,
8354
8456
  supportedFileTypes: [],
8355
8457
  reasoning: false,
8356
8458
  supportsTemperature: true,
@@ -8370,7 +8472,7 @@ var MODELS_BY_PROVIDER = {
8370
8472
  {
8371
8473
  name: "qwen/qwen-2.5-7b-instruct",
8372
8474
  displayName: "Qwen2.5 7B Instruct",
8373
- maxInputTokens: 32768,
8475
+ maxInputTokens: 131072,
8374
8476
  supportedFileTypes: [],
8375
8477
  reasoning: false,
8376
8478
  supportsTemperature: true,
@@ -8390,7 +8492,7 @@ var MODELS_BY_PROVIDER = {
8390
8492
  {
8391
8493
  name: "qwen/qwen-2.5-coder-32b-instruct",
8392
8494
  displayName: "Qwen2.5 Coder 32B Instruct",
8393
- maxInputTokens: 32768,
8495
+ maxInputTokens: 128e3,
8394
8496
  supportedFileTypes: [],
8395
8497
  reasoning: false,
8396
8498
  supportsTemperature: true,
@@ -8473,7 +8575,7 @@ var MODELS_BY_PROVIDER = {
8473
8575
  {
8474
8576
  name: "qwen/qwen2.5-vl-72b-instruct",
8475
8577
  displayName: "Qwen2.5 VL 72B Instruct",
8476
- maxInputTokens: 128e3,
8578
+ maxInputTokens: 131072,
8477
8579
  supportedFileTypes: ["image"],
8478
8580
  reasoning: false,
8479
8581
  supportsTemperature: true,
@@ -8494,7 +8596,7 @@ var MODELS_BY_PROVIDER = {
8494
8596
  {
8495
8597
  name: "qwen/qwen3-14b",
8496
8598
  displayName: "Qwen3 14B",
8497
- maxInputTokens: 40960,
8599
+ maxInputTokens: 131702,
8498
8600
  supportedFileTypes: [],
8499
8601
  reasoning: true,
8500
8602
  supportsTemperature: true,
@@ -8565,9 +8667,8 @@ var MODELS_BY_PROVIDER = {
8565
8667
  output: ["text"]
8566
8668
  },
8567
8669
  pricing: {
8568
- inputPerM: 0.1,
8569
- outputPerM: 0.1,
8570
- cacheReadPerM: 0.1,
8670
+ inputPerM: 0.1495,
8671
+ outputPerM: 1.495,
8571
8672
  currency: "USD",
8572
8673
  unit: "per_million_tokens"
8573
8674
  }
@@ -8575,7 +8676,7 @@ var MODELS_BY_PROVIDER = {
8575
8676
  {
8576
8677
  name: "qwen/qwen3-30b-a3b",
8577
8678
  displayName: "Qwen3 30B A3B",
8578
- maxInputTokens: 40960,
8679
+ maxInputTokens: 131072,
8579
8680
  supportedFileTypes: [],
8580
8681
  reasoning: true,
8581
8682
  supportsTemperature: true,
@@ -8595,7 +8696,7 @@ var MODELS_BY_PROVIDER = {
8595
8696
  {
8596
8697
  name: "qwen/qwen3-30b-a3b-instruct-2507",
8597
8698
  displayName: "Qwen3 30B A3B Instruct 2507",
8598
- maxInputTokens: 128e3,
8699
+ maxInputTokens: 131072,
8599
8700
  supportedFileTypes: [],
8600
8701
  reasoning: false,
8601
8702
  supportsTemperature: true,
@@ -8626,9 +8727,8 @@ var MODELS_BY_PROVIDER = {
8626
8727
  output: ["text"]
8627
8728
  },
8628
8729
  pricing: {
8629
- inputPerM: 0.08,
8630
- outputPerM: 0.4,
8631
- cacheReadPerM: 0.08,
8730
+ inputPerM: 0.13,
8731
+ outputPerM: 1.56,
8632
8732
  currency: "USD",
8633
8733
  unit: "per_million_tokens"
8634
8734
  }
@@ -8636,7 +8736,7 @@ var MODELS_BY_PROVIDER = {
8636
8736
  {
8637
8737
  name: "qwen/qwen3-32b",
8638
8738
  displayName: "Qwen3 32B",
8639
- maxInputTokens: 40960,
8739
+ maxInputTokens: 131072,
8640
8740
  supportedFileTypes: [],
8641
8741
  reasoning: true,
8642
8742
  supportsTemperature: true,
@@ -8656,7 +8756,7 @@ var MODELS_BY_PROVIDER = {
8656
8756
  {
8657
8757
  name: "qwen/qwen3-8b",
8658
8758
  displayName: "Qwen3 8B",
8659
- maxInputTokens: 40960,
8759
+ maxInputTokens: 131072,
8660
8760
  supportedFileTypes: [],
8661
8761
  reasoning: true,
8662
8762
  supportsTemperature: true,
@@ -8667,9 +8767,8 @@ var MODELS_BY_PROVIDER = {
8667
8767
  output: ["text"]
8668
8768
  },
8669
8769
  pricing: {
8670
- inputPerM: 0.05,
8671
- outputPerM: 0.4,
8672
- cacheReadPerM: 0.05,
8770
+ inputPerM: 0.117,
8771
+ outputPerM: 0.455,
8673
8772
  currency: "USD",
8674
8773
  unit: "per_million_tokens"
8675
8774
  }
@@ -8677,7 +8776,7 @@ var MODELS_BY_PROVIDER = {
8677
8776
  {
8678
8777
  name: "qwen/qwen3-coder",
8679
8778
  displayName: "Qwen3 Coder 480B A35B",
8680
- maxInputTokens: 262144,
8779
+ maxInputTokens: 1048576,
8681
8780
  supportedFileTypes: [],
8682
8781
  reasoning: false,
8683
8782
  supportsTemperature: true,
@@ -8782,7 +8881,7 @@ var MODELS_BY_PROVIDER = {
8782
8881
  {
8783
8882
  name: "qwen/qwen3-coder:free",
8784
8883
  displayName: "Qwen3 Coder 480B A35B (free)",
8785
- maxInputTokens: 262e3,
8884
+ maxInputTokens: 1048576,
8786
8885
  supportedFileTypes: [],
8787
8886
  reasoning: false,
8788
8887
  supportsTemperature: true,
@@ -8884,7 +8983,7 @@ var MODELS_BY_PROVIDER = {
8884
8983
  {
8885
8984
  name: "qwen/qwen3-next-80b-a3b-thinking",
8886
8985
  displayName: "Qwen3-Next 80B-A3B (Thinking)",
8887
- maxInputTokens: 131072,
8986
+ maxInputTokens: 262144,
8888
8987
  supportedFileTypes: [],
8889
8988
  reasoning: true,
8890
8989
  supportsTemperature: true,
@@ -8945,7 +9044,7 @@ var MODELS_BY_PROVIDER = {
8945
9044
  {
8946
9045
  name: "qwen/qwen3-vl-30b-a3b-instruct",
8947
9046
  displayName: "Qwen3 VL 30B A3B Instruct",
8948
- maxInputTokens: 131072,
9047
+ maxInputTokens: 262144,
8949
9048
  supportedFileTypes: ["image"],
8950
9049
  reasoning: false,
8951
9050
  supportsTemperature: true,
@@ -8985,7 +9084,7 @@ var MODELS_BY_PROVIDER = {
8985
9084
  {
8986
9085
  name: "qwen/qwen3-vl-32b-instruct",
8987
9086
  displayName: "Qwen3 VL 32B Instruct",
8988
- maxInputTokens: 131072,
9087
+ maxInputTokens: 262144,
8989
9088
  supportedFileTypes: ["image"],
8990
9089
  reasoning: false,
8991
9090
  supportsTemperature: true,
@@ -9005,7 +9104,7 @@ var MODELS_BY_PROVIDER = {
9005
9104
  {
9006
9105
  name: "qwen/qwen3-vl-8b-instruct",
9007
9106
  displayName: "Qwen3 VL 8B Instruct",
9008
- maxInputTokens: 131072,
9107
+ maxInputTokens: 256e3,
9009
9108
  supportedFileTypes: ["image"],
9010
9109
  reasoning: false,
9011
9110
  supportsTemperature: true,
@@ -9016,8 +9115,8 @@ var MODELS_BY_PROVIDER = {
9016
9115
  output: ["text"]
9017
9116
  },
9018
9117
  pricing: {
9019
- inputPerM: 0.08,
9020
- outputPerM: 0.5,
9118
+ inputPerM: 0.117,
9119
+ outputPerM: 0.455,
9021
9120
  currency: "USD",
9022
9121
  unit: "per_million_tokens"
9023
9122
  }
@@ -9025,7 +9124,7 @@ var MODELS_BY_PROVIDER = {
9025
9124
  {
9026
9125
  name: "qwen/qwen3-vl-8b-thinking",
9027
9126
  displayName: "Qwen3 VL 8B Thinking",
9028
- maxInputTokens: 131072,
9127
+ maxInputTokens: 256e3,
9029
9128
  supportedFileTypes: ["image"],
9030
9129
  reasoning: true,
9031
9130
  supportsTemperature: true,
@@ -9106,7 +9205,7 @@ var MODELS_BY_PROVIDER = {
9106
9205
  {
9107
9206
  name: "qwen/qwen3.5-397b-a17b",
9108
9207
  displayName: "Qwen3.5 397B-A17B",
9109
- maxInputTokens: 131072,
9208
+ maxInputTokens: 256e3,
9110
9209
  supportedFileTypes: ["image", "video"],
9111
9210
  reasoning: true,
9112
9211
  supportsTemperature: true,
@@ -9119,6 +9218,7 @@ var MODELS_BY_PROVIDER = {
9119
9218
  pricing: {
9120
9219
  inputPerM: 0.385,
9121
9220
  outputPerM: 2.45,
9221
+ cacheReadPerM: 0.111,
9122
9222
  currency: "USD",
9123
9223
  unit: "per_million_tokens"
9124
9224
  }
@@ -9207,7 +9307,7 @@ var MODELS_BY_PROVIDER = {
9207
9307
  {
9208
9308
  name: "qwen/qwen3.6-27b",
9209
9309
  displayName: "Qwen3.6 27B",
9210
- maxInputTokens: 262140,
9310
+ maxInputTokens: 262144,
9211
9311
  supportedFileTypes: ["image", "video"],
9212
9312
  reasoning: true,
9213
9313
  supportsTemperature: true,
@@ -9220,6 +9320,7 @@ var MODELS_BY_PROVIDER = {
9220
9320
  pricing: {
9221
9321
  inputPerM: 0.285,
9222
9322
  outputPerM: 2.4,
9323
+ cacheReadPerM: 0.15,
9223
9324
  currency: "USD",
9224
9325
  unit: "per_million_tokens"
9225
9326
  }
@@ -9574,41 +9675,42 @@ var MODELS_BY_PROVIDER = {
9574
9675
  }
9575
9676
  },
9576
9677
  {
9577
- name: "switchpoint/router",
9578
- displayName: "Switchpoint Router",
9678
+ name: "tencent/hunyuan-a13b-instruct",
9679
+ displayName: "Hunyuan A13B Instruct",
9579
9680
  maxInputTokens: 131072,
9580
9681
  supportedFileTypes: [],
9581
9682
  reasoning: true,
9582
9683
  supportsTemperature: true,
9583
9684
  supportsToolCall: false,
9584
- releaseDate: "2025-07-11",
9685
+ releaseDate: "2025-07-08",
9585
9686
  modalities: {
9586
9687
  input: ["text"],
9587
9688
  output: ["text"]
9588
9689
  },
9589
9690
  pricing: {
9590
- inputPerM: 0.85,
9591
- outputPerM: 3.4,
9691
+ inputPerM: 0.14,
9692
+ outputPerM: 0.57,
9592
9693
  currency: "USD",
9593
9694
  unit: "per_million_tokens"
9594
9695
  }
9595
9696
  },
9596
9697
  {
9597
- name: "tencent/hunyuan-a13b-instruct",
9598
- displayName: "Hunyuan A13B Instruct",
9599
- maxInputTokens: 131072,
9698
+ name: "tencent/hy3",
9699
+ displayName: "Hy3",
9700
+ maxInputTokens: 262144,
9600
9701
  supportedFileTypes: [],
9601
9702
  reasoning: true,
9602
9703
  supportsTemperature: true,
9603
- supportsToolCall: false,
9604
- releaseDate: "2025-07-08",
9704
+ supportsToolCall: true,
9705
+ releaseDate: "2026-07-06",
9605
9706
  modalities: {
9606
9707
  input: ["text"],
9607
9708
  output: ["text"]
9608
9709
  },
9609
9710
  pricing: {
9610
9711
  inputPerM: 0.14,
9611
- outputPerM: 0.57,
9712
+ outputPerM: 0.58,
9713
+ cacheReadPerM: 0.035,
9612
9714
  currency: "USD",
9613
9715
  unit: "per_million_tokens"
9614
9716
  }
@@ -9634,6 +9736,26 @@ var MODELS_BY_PROVIDER = {
9634
9736
  unit: "per_million_tokens"
9635
9737
  }
9636
9738
  },
9739
+ {
9740
+ name: "tencent/hy3:free",
9741
+ displayName: "Hy3 (free)",
9742
+ maxInputTokens: 262144,
9743
+ supportedFileTypes: [],
9744
+ reasoning: true,
9745
+ supportsTemperature: true,
9746
+ supportsToolCall: true,
9747
+ releaseDate: "2026-07-06",
9748
+ modalities: {
9749
+ input: ["text"],
9750
+ output: ["text"]
9751
+ },
9752
+ pricing: {
9753
+ inputPerM: 0,
9754
+ outputPerM: 0,
9755
+ currency: "USD",
9756
+ unit: "per_million_tokens"
9757
+ }
9758
+ },
9637
9759
  {
9638
9760
  name: "thedrummer/cydonia-24b-v4.1",
9639
9761
  displayName: "Cydonia 24B V4.1",
@@ -9658,7 +9780,7 @@ var MODELS_BY_PROVIDER = {
9658
9780
  {
9659
9781
  name: "thedrummer/rocinante-12b",
9660
9782
  displayName: "Rocinante 12B",
9661
- maxInputTokens: 32768,
9783
+ maxInputTokens: 65536,
9662
9784
  supportedFileTypes: [],
9663
9785
  reasoning: false,
9664
9786
  supportsTemperature: true,
@@ -9844,17 +9966,42 @@ var MODELS_BY_PROVIDER = {
9844
9966
  unit: "per_million_tokens"
9845
9967
  }
9846
9968
  },
9969
+ {
9970
+ name: "x-ai/grok-4.5",
9971
+ displayName: "Grok 4.5",
9972
+ maxInputTokens: 5e5,
9973
+ supportedFileTypes: ["pdf", "image"],
9974
+ reasoning: true,
9975
+ supportsTemperature: true,
9976
+ supportsToolCall: true,
9977
+ releaseDate: "2026-07-08",
9978
+ modalities: {
9979
+ input: ["text", "image", "pdf"],
9980
+ output: ["text"]
9981
+ },
9982
+ pricing: {
9983
+ inputPerM: 2,
9984
+ outputPerM: 6,
9985
+ cacheReadPerM: 0.5,
9986
+ contextOver200kPerM: {
9987
+ inputPerM: 4,
9988
+ outputPerM: 12
9989
+ },
9990
+ currency: "USD",
9991
+ unit: "per_million_tokens"
9992
+ }
9993
+ },
9847
9994
  {
9848
9995
  name: "x-ai/grok-build-0.1",
9849
9996
  displayName: "Grok Build 0.1",
9850
9997
  maxInputTokens: 256e3,
9851
- supportedFileTypes: ["image"],
9998
+ supportedFileTypes: ["pdf", "image"],
9852
9999
  reasoning: true,
9853
10000
  supportsTemperature: true,
9854
10001
  supportsToolCall: true,
9855
10002
  releaseDate: "2026-04-16",
9856
10003
  modalities: {
9857
- input: ["text", "image"],
10004
+ input: ["text", "image", "pdf"],
9858
10005
  output: ["text"]
9859
10006
  },
9860
10007
  pricing: {
@@ -9868,7 +10015,7 @@ var MODELS_BY_PROVIDER = {
9868
10015
  {
9869
10016
  name: "xiaomi/mimo-v2.5",
9870
10017
  displayName: "MiMo-V2.5",
9871
- maxInputTokens: 32e3,
10018
+ maxInputTokens: 1048576,
9872
10019
  supportedFileTypes: ["image", "audio", "video"],
9873
10020
  reasoning: true,
9874
10021
  supportsTemperature: true,
@@ -9885,6 +10032,7 @@ var MODELS_BY_PROVIDER = {
9885
10032
  pricing: {
9886
10033
  inputPerM: 0.105,
9887
10034
  outputPerM: 0.28,
10035
+ cacheReadPerM: 0.028,
9888
10036
  currency: "USD",
9889
10037
  unit: "per_million_tokens"
9890
10038
  }
@@ -10122,7 +10270,7 @@ var MODELS_BY_PROVIDER = {
10122
10270
  {
10123
10271
  name: "z-ai/glm-5.1",
10124
10272
  displayName: "GLM-5.1",
10125
- maxInputTokens: 65536,
10273
+ maxInputTokens: 202752,
10126
10274
  supportedFileTypes: [],
10127
10275
  reasoning: true,
10128
10276
  supportsTemperature: true,
@@ -10137,8 +10285,9 @@ var MODELS_BY_PROVIDER = {
10137
10285
  },
10138
10286
  supportsInterleaved: true,
10139
10287
  pricing: {
10140
- inputPerM: 0.975,
10141
- outputPerM: 4.3,
10288
+ inputPerM: 0.966,
10289
+ outputPerM: 3.036,
10290
+ cacheReadPerM: 0.1794,
10142
10291
  currency: "USD",
10143
10292
  unit: "per_million_tokens"
10144
10293
  }
@@ -10161,9 +10310,9 @@ var MODELS_BY_PROVIDER = {
10161
10310
  },
10162
10311
  supportsInterleaved: true,
10163
10312
  pricing: {
10164
- inputPerM: 0.94,
10165
- outputPerM: 3,
10166
- cacheReadPerM: 0.18,
10313
+ inputPerM: 0.54,
10314
+ outputPerM: 1.76,
10315
+ cacheReadPerM: 0.1,
10167
10316
  currency: "USD",
10168
10317
  unit: "per_million_tokens"
10169
10318
  }
@@ -11156,6 +11305,28 @@ var MODELS_BY_PROVIDER = {
11156
11305
  unit: "per_million_tokens"
11157
11306
  }
11158
11307
  },
11308
+ {
11309
+ name: "anthropic.claude-fable-5",
11310
+ displayName: "Claude Fable 5",
11311
+ maxInputTokens: 1e6,
11312
+ supportedFileTypes: ["pdf", "image"],
11313
+ reasoning: true,
11314
+ supportsTemperature: false,
11315
+ supportsToolCall: true,
11316
+ releaseDate: "2026-06-09",
11317
+ modalities: {
11318
+ input: ["text", "image", "pdf"],
11319
+ output: ["text"]
11320
+ },
11321
+ pricing: {
11322
+ inputPerM: 10,
11323
+ outputPerM: 50,
11324
+ cacheReadPerM: 1,
11325
+ cacheWritePerM: 12.5,
11326
+ currency: "USD",
11327
+ unit: "per_million_tokens"
11328
+ }
11329
+ },
11159
11330
  {
11160
11331
  name: "anthropic.claude-haiku-4-5-20251001-v1:0",
11161
11332
  displayName: "Claude Haiku 4.5",
@@ -11551,13 +11722,13 @@ var MODELS_BY_PROVIDER = {
11551
11722
  name: "eu.anthropic.claude-fable-5",
11552
11723
  displayName: "Claude Fable 5 (EU)",
11553
11724
  maxInputTokens: 1e6,
11554
- supportedFileTypes: ["image"],
11725
+ supportedFileTypes: ["pdf", "image"],
11555
11726
  reasoning: true,
11556
11727
  supportsTemperature: false,
11557
11728
  supportsToolCall: true,
11558
11729
  releaseDate: "2026-06-09",
11559
11730
  modalities: {
11560
- input: ["text", "image"],
11731
+ input: ["text", "image", "pdf"],
11561
11732
  output: ["text"]
11562
11733
  },
11563
11734
  pricing: {
@@ -11749,13 +11920,13 @@ var MODELS_BY_PROVIDER = {
11749
11920
  name: "global.anthropic.claude-fable-5",
11750
11921
  displayName: "Claude Fable 5 (Global)",
11751
11922
  maxInputTokens: 1e6,
11752
- supportedFileTypes: ["image"],
11923
+ supportedFileTypes: ["pdf", "image"],
11753
11924
  reasoning: true,
11754
11925
  supportsTemperature: false,
11755
11926
  supportsToolCall: true,
11756
11927
  releaseDate: "2026-06-09",
11757
11928
  modalities: {
11758
- input: ["text", "image"],
11929
+ input: ["text", "image", "pdf"],
11759
11930
  output: ["text"]
11760
11931
  },
11761
11932
  pricing: {
@@ -12003,6 +12174,28 @@ var MODELS_BY_PROVIDER = {
12003
12174
  unit: "per_million_tokens"
12004
12175
  }
12005
12176
  },
12177
+ {
12178
+ name: "jp.anthropic.claude-haiku-4-5-20251001-v1:0",
12179
+ displayName: "Claude Haiku 4.5 (JP)",
12180
+ maxInputTokens: 2e5,
12181
+ supportedFileTypes: ["pdf", "image"],
12182
+ reasoning: true,
12183
+ supportsTemperature: true,
12184
+ supportsToolCall: true,
12185
+ releaseDate: "2025-10-15",
12186
+ modalities: {
12187
+ input: ["text", "image", "pdf"],
12188
+ output: ["text"]
12189
+ },
12190
+ pricing: {
12191
+ inputPerM: 1,
12192
+ outputPerM: 5,
12193
+ cacheReadPerM: 0.1,
12194
+ cacheWritePerM: 1.25,
12195
+ currency: "USD",
12196
+ unit: "per_million_tokens"
12197
+ }
12198
+ },
12006
12199
  {
12007
12200
  name: "jp.anthropic.claude-opus-4-7",
12008
12201
  displayName: "Claude Opus 4.7 (JP)",
@@ -12899,13 +13092,13 @@ var MODELS_BY_PROVIDER = {
12899
13092
  name: "us.anthropic.claude-fable-5",
12900
13093
  displayName: "Claude Fable 5 (US)",
12901
13094
  maxInputTokens: 1e6,
12902
- supportedFileTypes: ["image"],
13095
+ supportedFileTypes: ["pdf", "image"],
12903
13096
  reasoning: true,
12904
13097
  supportsTemperature: false,
12905
13098
  supportsToolCall: true,
12906
13099
  releaseDate: "2026-06-09",
12907
13100
  modalities: {
12908
- input: ["text", "image"],
13101
+ input: ["text", "image", "pdf"],
12909
13102
  output: ["text"]
12910
13103
  },
12911
13104
  pricing: {
@@ -13362,7 +13555,7 @@ var MODELS_BY_PROVIDER = {
13362
13555
  maxInputTokens: 1e6,
13363
13556
  supportedFileTypes: ["pdf", "image"],
13364
13557
  reasoning: true,
13365
- supportsTemperature: false,
13558
+ supportsTemperature: true,
13366
13559
  supportsToolCall: true,
13367
13560
  releaseDate: "2026-04-21",
13368
13561
  modalities: {
@@ -13384,7 +13577,7 @@ var MODELS_BY_PROVIDER = {
13384
13577
  maxInputTokens: 1e6,
13385
13578
  supportedFileTypes: ["pdf", "image"],
13386
13579
  reasoning: true,
13387
- supportsTemperature: true,
13580
+ supportsTemperature: false,
13388
13581
  supportsToolCall: true,
13389
13582
  releaseDate: "2026-04-27",
13390
13583
  modalities: {
@@ -13392,10 +13585,10 @@ var MODELS_BY_PROVIDER = {
13392
13585
  output: ["text"]
13393
13586
  },
13394
13587
  pricing: {
13395
- inputPerM: 3,
13396
- outputPerM: 15,
13397
- cacheReadPerM: 0.3,
13398
- cacheWritePerM: 3.75,
13588
+ inputPerM: 2,
13589
+ outputPerM: 10,
13590
+ cacheReadPerM: 0.2,
13591
+ cacheWritePerM: 2.5,
13399
13592
  currency: "USD",
13400
13593
  unit: "per_million_tokens"
13401
13594
  }
@@ -13460,9 +13653,9 @@ var MODELS_BY_PROVIDER = {
13460
13653
  output: ["text"]
13461
13654
  },
13462
13655
  pricing: {
13463
- inputPerM: 0.55,
13464
- outputPerM: 3.2,
13465
- cacheReadPerM: 0.11,
13656
+ inputPerM: 0.66,
13657
+ outputPerM: 3.41,
13658
+ cacheReadPerM: 0.15,
13466
13659
  currency: "USD",
13467
13660
  unit: "per_million_tokens"
13468
13661
  }
@@ -13484,27 +13677,49 @@ var MODELS_BY_PROVIDER = {
13484
13677
  inputPerM: 5,
13485
13678
  outputPerM: 30,
13486
13679
  cacheReadPerM: 0.5,
13680
+ cacheWritePerM: 6.25,
13681
+ currency: "USD",
13682
+ unit: "per_million_tokens"
13683
+ }
13684
+ },
13685
+ {
13686
+ name: "~openai/gpt-mini-latest",
13687
+ displayName: "OpenAI GPT Mini Latest",
13688
+ maxInputTokens: 4e5,
13689
+ supportedFileTypes: ["pdf", "image"],
13690
+ reasoning: true,
13691
+ supportsTemperature: false,
13692
+ supportsToolCall: true,
13693
+ releaseDate: "2026-04-27",
13694
+ modalities: {
13695
+ input: ["pdf", "image", "text"],
13696
+ output: ["text"]
13697
+ },
13698
+ pricing: {
13699
+ inputPerM: 0.75,
13700
+ outputPerM: 4.5,
13701
+ cacheReadPerM: 0.075,
13487
13702
  currency: "USD",
13488
13703
  unit: "per_million_tokens"
13489
13704
  }
13490
13705
  },
13491
13706
  {
13492
- name: "~openai/gpt-mini-latest",
13493
- displayName: "OpenAI GPT Mini Latest",
13494
- maxInputTokens: 4e5,
13707
+ name: "~x-ai/grok-latest",
13708
+ displayName: "Grok Latest",
13709
+ maxInputTokens: 5e5,
13495
13710
  supportedFileTypes: ["pdf", "image"],
13496
13711
  reasoning: true,
13497
- supportsTemperature: false,
13712
+ supportsTemperature: true,
13498
13713
  supportsToolCall: true,
13499
- releaseDate: "2026-04-27",
13714
+ releaseDate: "2026-07-08",
13500
13715
  modalities: {
13501
- input: ["pdf", "image", "text"],
13716
+ input: ["text", "image", "pdf"],
13502
13717
  output: ["text"]
13503
13718
  },
13504
13719
  pricing: {
13505
- inputPerM: 0.75,
13506
- outputPerM: 4.5,
13507
- cacheReadPerM: 0.075,
13720
+ inputPerM: 2,
13721
+ outputPerM: 6,
13722
+ cacheReadPerM: 0.5,
13508
13723
  currency: "USD",
13509
13724
  unit: "per_million_tokens"
13510
13725
  }
@@ -13530,62 +13745,64 @@ var MODELS_BY_PROVIDER = {
13530
13745
  }
13531
13746
  },
13532
13747
  {
13533
- name: "aion-labs/aion-1.0",
13534
- displayName: "Aion-1.0",
13748
+ name: "aion-labs/aion-2.0",
13749
+ displayName: "Aion-2.0",
13535
13750
  maxInputTokens: 131072,
13536
13751
  supportedFileTypes: [],
13537
13752
  reasoning: true,
13538
13753
  supportsTemperature: true,
13539
- supportsToolCall: false,
13540
- releaseDate: "2025-02-04",
13754
+ supportsToolCall: true,
13755
+ releaseDate: "2026-02-23",
13541
13756
  modalities: {
13542
13757
  input: ["text"],
13543
13758
  output: ["text"]
13544
13759
  },
13545
13760
  pricing: {
13546
- inputPerM: 4,
13547
- outputPerM: 8,
13761
+ inputPerM: 0.8,
13762
+ outputPerM: 1.6,
13763
+ cacheReadPerM: 0.2,
13548
13764
  currency: "USD",
13549
13765
  unit: "per_million_tokens"
13550
13766
  }
13551
13767
  },
13552
13768
  {
13553
- name: "aion-labs/aion-1.0-mini",
13554
- displayName: "Aion-1.0-Mini",
13769
+ name: "aion-labs/aion-3.0",
13770
+ displayName: "Aion-3.0",
13555
13771
  maxInputTokens: 131072,
13556
13772
  supportedFileTypes: [],
13557
13773
  reasoning: true,
13558
13774
  supportsTemperature: true,
13559
- supportsToolCall: false,
13560
- releaseDate: "2025-02-04",
13775
+ supportsToolCall: true,
13776
+ releaseDate: "2026-07-07",
13561
13777
  modalities: {
13562
13778
  input: ["text"],
13563
13779
  output: ["text"]
13564
13780
  },
13565
13781
  pricing: {
13566
- inputPerM: 0.7,
13567
- outputPerM: 1.4,
13782
+ inputPerM: 3,
13783
+ outputPerM: 6,
13784
+ cacheReadPerM: 0.75,
13568
13785
  currency: "USD",
13569
13786
  unit: "per_million_tokens"
13570
13787
  }
13571
13788
  },
13572
13789
  {
13573
- name: "aion-labs/aion-2.0",
13574
- displayName: "Aion-2.0",
13790
+ name: "aion-labs/aion-3.0-mini",
13791
+ displayName: "Aion-3.0-Mini",
13575
13792
  maxInputTokens: 131072,
13576
13793
  supportedFileTypes: [],
13577
13794
  reasoning: true,
13578
13795
  supportsTemperature: true,
13579
- supportsToolCall: false,
13580
- releaseDate: "2026-02-23",
13796
+ supportsToolCall: true,
13797
+ releaseDate: "2026-07-07",
13581
13798
  modalities: {
13582
13799
  input: ["text"],
13583
13800
  output: ["text"]
13584
13801
  },
13585
13802
  pricing: {
13586
- inputPerM: 0.8,
13587
- outputPerM: 1.6,
13588
- cacheReadPerM: 0.2,
13803
+ inputPerM: 0.7,
13804
+ outputPerM: 1.4,
13805
+ cacheReadPerM: 0.18,
13589
13806
  currency: "USD",
13590
13807
  unit: "per_million_tokens"
13591
13808
  }
@@ -13734,7 +13951,7 @@ var MODELS_BY_PROVIDER = {
13734
13951
  {
13735
13952
  name: "anthracite-org/magnum-v4-72b",
13736
13953
  displayName: "Magnum v4 72B",
13737
- maxInputTokens: 16384,
13954
+ maxInputTokens: 32768,
13738
13955
  supportedFileTypes: [],
13739
13956
  reasoning: false,
13740
13957
  supportsTemperature: true,
@@ -13773,6 +13990,28 @@ var MODELS_BY_PROVIDER = {
13773
13990
  unit: "per_million_tokens"
13774
13991
  }
13775
13992
  },
13993
+ {
13994
+ name: "anthropic/claude-fable-5",
13995
+ displayName: "Claude Fable 5",
13996
+ maxInputTokens: 1e6,
13997
+ supportedFileTypes: ["pdf", "image"],
13998
+ reasoning: true,
13999
+ supportsTemperature: false,
14000
+ supportsToolCall: true,
14001
+ releaseDate: "2026-06-09",
14002
+ modalities: {
14003
+ input: ["text", "image", "pdf"],
14004
+ output: ["text"]
14005
+ },
14006
+ pricing: {
14007
+ inputPerM: 10,
14008
+ outputPerM: 50,
14009
+ cacheReadPerM: 1,
14010
+ cacheWritePerM: 12.5,
14011
+ currency: "USD",
14012
+ unit: "per_million_tokens"
14013
+ }
14014
+ },
13776
14015
  {
13777
14016
  name: "anthropic/claude-haiku-4.5",
13778
14017
  displayName: "Claude Haiku 4.5 (latest)",
@@ -13941,7 +14180,7 @@ var MODELS_BY_PROVIDER = {
13941
14180
  maxInputTokens: 1e6,
13942
14181
  supportedFileTypes: ["pdf", "image"],
13943
14182
  reasoning: true,
13944
- supportsTemperature: false,
14183
+ supportsTemperature: true,
13945
14184
  supportsToolCall: true,
13946
14185
  releaseDate: "2026-05-28",
13947
14186
  modalities: {
@@ -14057,6 +14296,28 @@ var MODELS_BY_PROVIDER = {
14057
14296
  unit: "per_million_tokens"
14058
14297
  }
14059
14298
  },
14299
+ {
14300
+ name: "anthropic/claude-sonnet-5",
14301
+ displayName: "Claude Sonnet 5",
14302
+ maxInputTokens: 1e6,
14303
+ supportedFileTypes: ["pdf", "image"],
14304
+ reasoning: true,
14305
+ supportsTemperature: false,
14306
+ supportsToolCall: true,
14307
+ releaseDate: "2026-06-30",
14308
+ modalities: {
14309
+ input: ["text", "image", "pdf"],
14310
+ output: ["text"]
14311
+ },
14312
+ pricing: {
14313
+ inputPerM: 2,
14314
+ outputPerM: 10,
14315
+ cacheReadPerM: 0.2,
14316
+ cacheWritePerM: 2.5,
14317
+ currency: "USD",
14318
+ unit: "per_million_tokens"
14319
+ }
14320
+ },
14060
14321
  {
14061
14322
  name: "arcee-ai/coder-large",
14062
14323
  displayName: "Coder Large",
@@ -14141,7 +14402,7 @@ var MODELS_BY_PROVIDER = {
14141
14402
  {
14142
14403
  name: "baidu/ernie-4.5-vl-424b-a47b",
14143
14404
  displayName: "ERNIE 4.5 VL 424B A47B ",
14144
- maxInputTokens: 123e3,
14405
+ maxInputTokens: 131072,
14145
14406
  supportedFileTypes: ["image"],
14146
14407
  reasoning: true,
14147
14408
  supportsTemperature: true,
@@ -14259,6 +14520,26 @@ var MODELS_BY_PROVIDER = {
14259
14520
  unit: "per_million_tokens"
14260
14521
  }
14261
14522
  },
14523
+ {
14524
+ name: "cognitivecomputations/dolphin-mistral-24b-venice-edition",
14525
+ displayName: "Uncensored",
14526
+ maxInputTokens: 128e3,
14527
+ supportedFileTypes: [],
14528
+ reasoning: false,
14529
+ supportsTemperature: true,
14530
+ supportsToolCall: false,
14531
+ releaseDate: "2025-07-09",
14532
+ modalities: {
14533
+ input: ["text"],
14534
+ output: ["text"]
14535
+ },
14536
+ pricing: {
14537
+ inputPerM: 0.2,
14538
+ outputPerM: 0.9,
14539
+ currency: "USD",
14540
+ unit: "per_million_tokens"
14541
+ }
14542
+ },
14262
14543
  {
14263
14544
  name: "cognitivecomputations/dolphin-mistral-24b-venice-edition:free",
14264
14545
  displayName: "Uncensored (free)",
@@ -14402,7 +14683,7 @@ var MODELS_BY_PROVIDER = {
14402
14683
  {
14403
14684
  name: "deepseek/deepseek-chat",
14404
14685
  displayName: "DeepSeek Chat",
14405
- maxInputTokens: 128e3,
14686
+ maxInputTokens: 131072,
14406
14687
  supportedFileTypes: [],
14407
14688
  reasoning: false,
14408
14689
  supportsTemperature: true,
@@ -14433,8 +14714,8 @@ var MODELS_BY_PROVIDER = {
14433
14714
  output: ["text"]
14434
14715
  },
14435
14716
  pricing: {
14436
- inputPerM: 0.2,
14437
- outputPerM: 0.77,
14717
+ inputPerM: 0.24,
14718
+ outputPerM: 0.9,
14438
14719
  cacheReadPerM: 0.135,
14439
14720
  currency: "USD",
14440
14721
  unit: "per_million_tokens"
@@ -14464,7 +14745,7 @@ var MODELS_BY_PROVIDER = {
14464
14745
  {
14465
14746
  name: "deepseek/deepseek-r1",
14466
14747
  displayName: "DeepSeek-R1",
14467
- maxInputTokens: 64e3,
14748
+ maxInputTokens: 163840,
14468
14749
  supportedFileTypes: [],
14469
14750
  reasoning: true,
14470
14751
  supportsTemperature: true,
@@ -14505,7 +14786,7 @@ var MODELS_BY_PROVIDER = {
14505
14786
  {
14506
14787
  name: "deepseek/deepseek-r1-distill-llama-70b",
14507
14788
  displayName: "R1 Distill Llama 70B",
14508
- maxInputTokens: 8192,
14789
+ maxInputTokens: 128e3,
14509
14790
  supportedFileTypes: [],
14510
14791
  reasoning: true,
14511
14792
  supportsTemperature: true,
@@ -14546,7 +14827,7 @@ var MODELS_BY_PROVIDER = {
14546
14827
  {
14547
14828
  name: "deepseek/deepseek-v3.2",
14548
14829
  displayName: "DeepSeek V3.2",
14549
- maxInputTokens: 128e3,
14830
+ maxInputTokens: 131072,
14550
14831
  supportedFileTypes: [],
14551
14832
  reasoning: true,
14552
14833
  supportsTemperature: true,
@@ -14587,7 +14868,7 @@ var MODELS_BY_PROVIDER = {
14587
14868
  {
14588
14869
  name: "deepseek/deepseek-v4-flash",
14589
14870
  displayName: "DeepSeek V4 Flash",
14590
- maxInputTokens: 1e6,
14871
+ maxInputTokens: 1048576,
14591
14872
  supportedFileTypes: [],
14592
14873
  reasoning: true,
14593
14874
  supportsTemperature: true,
@@ -14604,7 +14885,7 @@ var MODELS_BY_PROVIDER = {
14604
14885
  pricing: {
14605
14886
  inputPerM: 0.09,
14606
14887
  outputPerM: 0.18,
14607
- cacheReadPerM: 0.02,
14888
+ cacheReadPerM: 0.018,
14608
14889
  currency: "USD",
14609
14890
  unit: "per_million_tokens"
14610
14891
  }
@@ -14702,29 +14983,6 @@ var MODELS_BY_PROVIDER = {
14702
14983
  unit: "per_million_tokens"
14703
14984
  }
14704
14985
  },
14705
- {
14706
- name: "google/gemini-2.5-flash-lite-preview-09-2025",
14707
- displayName: "Gemini 2.5 Flash Lite Preview 09-2025",
14708
- maxInputTokens: 1048576,
14709
- supportedFileTypes: ["pdf", "image", "audio", "video", "document"],
14710
- reasoning: true,
14711
- supportsTemperature: true,
14712
- supportsToolCall: true,
14713
- releaseDate: "2025-09-25",
14714
- modalities: {
14715
- input: ["text", "image", "pdf", "audio", "video"],
14716
- output: ["text"]
14717
- },
14718
- pricing: {
14719
- inputPerM: 0.1,
14720
- outputPerM: 0.4,
14721
- cacheReadPerM: 0.01,
14722
- cacheWritePerM: 0.083333,
14723
- reasoningPerM: 0.4,
14724
- currency: "USD",
14725
- unit: "per_million_tokens"
14726
- }
14727
- },
14728
14986
  {
14729
14987
  name: "google/gemini-2.5-pro",
14730
14988
  displayName: "Gemini 2.5 Pro",
@@ -14930,6 +15188,26 @@ var MODELS_BY_PROVIDER = {
14930
15188
  unit: "per_million_tokens"
14931
15189
  }
14932
15190
  },
15191
+ {
15192
+ name: "google/gemini-3.1-flash-lite-image",
15193
+ displayName: "Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)",
15194
+ maxInputTokens: 65536,
15195
+ supportedFileTypes: ["image", "document"],
15196
+ reasoning: true,
15197
+ supportsTemperature: true,
15198
+ supportsToolCall: false,
15199
+ releaseDate: "2026-06-30",
15200
+ modalities: {
15201
+ input: ["image", "text"],
15202
+ output: ["image", "text"]
15203
+ },
15204
+ pricing: {
15205
+ inputPerM: 0.25,
15206
+ outputPerM: 1.5,
15207
+ currency: "USD",
15208
+ unit: "per_million_tokens"
15209
+ }
15210
+ },
14933
15211
  {
14934
15212
  name: "google/gemini-3.1-flash-lite-preview",
14935
15213
  displayName: "Gemini 3.1 Flash Lite Preview",
@@ -14987,7 +15265,7 @@ var MODELS_BY_PROVIDER = {
14987
15265
  {
14988
15266
  name: "google/gemini-3.1-pro-preview-customtools",
14989
15267
  displayName: "Gemini 3.1 Pro Preview Custom Tools",
14990
- maxInputTokens: 1048576,
15268
+ maxInputTokens: 1048756,
14991
15269
  supportedFileTypes: ["pdf", "image", "audio", "video", "document"],
14992
15270
  reasoning: true,
14993
15271
  supportsTemperature: true,
@@ -15161,7 +15439,7 @@ var MODELS_BY_PROVIDER = {
15161
15439
  {
15162
15440
  name: "google/gemma-4-26b-a4b-it:free",
15163
15441
  displayName: "Gemma 4 26B A4B (free)",
15164
- maxInputTokens: 131072,
15442
+ maxInputTokens: 262144,
15165
15443
  supportedFileTypes: ["image", "video", "document"],
15166
15444
  reasoning: true,
15167
15445
  supportsTemperature: true,
@@ -15465,26 +15743,6 @@ var MODELS_BY_PROVIDER = {
15465
15743
  unit: "per_million_tokens"
15466
15744
  }
15467
15745
  },
15468
- {
15469
- name: "liquid/lfm-2-24b-a2b",
15470
- displayName: "LFM2-24B-A2B",
15471
- maxInputTokens: 32768,
15472
- supportedFileTypes: [],
15473
- reasoning: false,
15474
- supportsTemperature: true,
15475
- supportsToolCall: false,
15476
- releaseDate: "2026-02-25",
15477
- modalities: {
15478
- input: ["text"],
15479
- output: ["text"]
15480
- },
15481
- pricing: {
15482
- inputPerM: 0.03,
15483
- outputPerM: 0.12,
15484
- currency: "USD",
15485
- unit: "per_million_tokens"
15486
- }
15487
- },
15488
15746
  {
15489
15747
  name: "liquid/lfm-2.5-1.2b-instruct:free",
15490
15748
  displayName: "LFM2.5-1.2B-Instruct (free)",
@@ -15628,7 +15886,7 @@ var MODELS_BY_PROVIDER = {
15628
15886
  {
15629
15887
  name: "meta-llama/llama-3.2-1b-instruct",
15630
15888
  displayName: "Llama 3.2 1B Instruct",
15631
- maxInputTokens: 6e4,
15889
+ maxInputTokens: 131072,
15632
15890
  supportedFileTypes: [],
15633
15891
  reasoning: false,
15634
15892
  supportsTemperature: true,
@@ -15648,7 +15906,7 @@ var MODELS_BY_PROVIDER = {
15648
15906
  {
15649
15907
  name: "meta-llama/llama-3.2-3b-instruct",
15650
15908
  displayName: "Llama 3.2 3B Instruct",
15651
- maxInputTokens: 8e4,
15909
+ maxInputTokens: 131072,
15652
15910
  supportedFileTypes: [],
15653
15911
  reasoning: false,
15654
15912
  supportsTemperature: true,
@@ -15659,8 +15917,8 @@ var MODELS_BY_PROVIDER = {
15659
15917
  output: ["text"]
15660
15918
  },
15661
15919
  pricing: {
15662
- inputPerM: 0.0509,
15663
- outputPerM: 0.335,
15920
+ inputPerM: 0.05,
15921
+ outputPerM: 0.33,
15664
15922
  currency: "USD",
15665
15923
  unit: "per_million_tokens"
15666
15924
  }
@@ -15708,7 +15966,7 @@ var MODELS_BY_PROVIDER = {
15708
15966
  {
15709
15967
  name: "meta-llama/llama-3.3-70b-instruct:free",
15710
15968
  displayName: "Llama 3.3 70B Instruct (free)",
15711
- maxInputTokens: 65536,
15969
+ maxInputTokens: 131072,
15712
15970
  supportedFileTypes: [],
15713
15971
  reasoning: false,
15714
15972
  supportsTemperature: true,
@@ -15748,7 +16006,7 @@ var MODELS_BY_PROVIDER = {
15748
16006
  {
15749
16007
  name: "meta-llama/llama-4-scout",
15750
16008
  displayName: "Llama 4 Scout",
15751
- maxInputTokens: 327680,
16009
+ maxInputTokens: 1e7,
15752
16010
  supportedFileTypes: ["image"],
15753
16011
  reasoning: false,
15754
16012
  supportsTemperature: true,
@@ -15805,31 +16063,10 @@ var MODELS_BY_PROVIDER = {
15805
16063
  unit: "per_million_tokens"
15806
16064
  }
15807
16065
  },
15808
- {
15809
- name: "microsoft/phi-4-mini-instruct",
15810
- displayName: "Phi 4 Mini Instruct",
15811
- maxInputTokens: 128e3,
15812
- supportedFileTypes: [],
15813
- reasoning: false,
15814
- supportsTemperature: true,
15815
- supportsToolCall: false,
15816
- releaseDate: "2025-10-17",
15817
- modalities: {
15818
- input: ["text"],
15819
- output: ["text"]
15820
- },
15821
- pricing: {
15822
- inputPerM: 0.08,
15823
- outputPerM: 0.35,
15824
- cacheReadPerM: 0.08,
15825
- currency: "USD",
15826
- unit: "per_million_tokens"
15827
- }
15828
- },
15829
16066
  {
15830
16067
  name: "microsoft/wizardlm-2-8x22b",
15831
16068
  displayName: "WizardLM-2 8x22B",
15832
- maxInputTokens: 65535,
16069
+ maxInputTokens: 65536,
15833
16070
  supportedFileTypes: [],
15834
16071
  reasoning: false,
15835
16072
  supportsTemperature: true,
@@ -15889,7 +16126,7 @@ var MODELS_BY_PROVIDER = {
15889
16126
  {
15890
16127
  name: "minimax/minimax-m2",
15891
16128
  displayName: "MiniMax-M2",
15892
- maxInputTokens: 196608,
16129
+ maxInputTokens: 204800,
15893
16130
  supportedFileTypes: [],
15894
16131
  reasoning: true,
15895
16132
  supportsTemperature: true,
@@ -15905,8 +16142,7 @@ var MODELS_BY_PROVIDER = {
15905
16142
  supportsInterleaved: true,
15906
16143
  pricing: {
15907
16144
  inputPerM: 0.255,
15908
- outputPerM: 1,
15909
- cacheReadPerM: 0.03,
16145
+ outputPerM: 1.02,
15910
16146
  currency: "USD",
15911
16147
  unit: "per_million_tokens"
15912
16148
  }
@@ -15935,7 +16171,7 @@ var MODELS_BY_PROVIDER = {
15935
16171
  {
15936
16172
  name: "minimax/minimax-m2.1",
15937
16173
  displayName: "MiniMax-M2.1",
15938
- maxInputTokens: 196608,
16174
+ maxInputTokens: 204800,
15939
16175
  supportedFileTypes: [],
15940
16176
  reasoning: true,
15941
16177
  supportsTemperature: true,
@@ -15950,8 +16186,8 @@ var MODELS_BY_PROVIDER = {
15950
16186
  },
15951
16187
  supportsInterleaved: true,
15952
16188
  pricing: {
15953
- inputPerM: 0.29,
15954
- outputPerM: 0.95,
16189
+ inputPerM: 0.3,
16190
+ outputPerM: 1.2,
15955
16191
  cacheReadPerM: 0.03,
15956
16192
  currency: "USD",
15957
16193
  unit: "per_million_tokens"
@@ -15960,7 +16196,7 @@ var MODELS_BY_PROVIDER = {
15960
16196
  {
15961
16197
  name: "minimax/minimax-m2.5",
15962
16198
  displayName: "MiniMax-M2.5",
15963
- maxInputTokens: 196608,
16199
+ maxInputTokens: 204800,
15964
16200
  supportedFileTypes: [],
15965
16201
  reasoning: true,
15966
16202
  supportsTemperature: true,
@@ -15975,8 +16211,9 @@ var MODELS_BY_PROVIDER = {
15975
16211
  },
15976
16212
  supportsInterleaved: true,
15977
16213
  pricing: {
15978
- inputPerM: 0.12,
15979
- outputPerM: 0.48,
16214
+ inputPerM: 0.15,
16215
+ outputPerM: 0.9,
16216
+ cacheReadPerM: 0.05,
15980
16217
  currency: "USD",
15981
16218
  unit: "per_million_tokens"
15982
16219
  }
@@ -15984,7 +16221,7 @@ var MODELS_BY_PROVIDER = {
15984
16221
  {
15985
16222
  name: "minimax/minimax-m2.7",
15986
16223
  displayName: "MiniMax-M2.7",
15987
- maxInputTokens: 196608,
16224
+ maxInputTokens: 204800,
15988
16225
  supportedFileTypes: [],
15989
16226
  reasoning: true,
15990
16227
  supportsTemperature: true,
@@ -15995,8 +16232,8 @@ var MODELS_BY_PROVIDER = {
15995
16232
  output: ["text"]
15996
16233
  },
15997
16234
  pricing: {
15998
- inputPerM: 0.18,
15999
- outputPerM: 0.72,
16235
+ inputPerM: 0.24,
16236
+ outputPerM: 0.96,
16000
16237
  currency: "USD",
16001
16238
  unit: "per_million_tokens"
16002
16239
  }
@@ -16004,7 +16241,7 @@ var MODELS_BY_PROVIDER = {
16004
16241
  {
16005
16242
  name: "minimax/minimax-m3",
16006
16243
  displayName: "MiniMax-M3",
16007
- maxInputTokens: 524288,
16244
+ maxInputTokens: 1048576,
16008
16245
  supportedFileTypes: ["image", "video"],
16009
16246
  reasoning: true,
16010
16247
  supportsTemperature: true,
@@ -16477,7 +16714,7 @@ var MODELS_BY_PROVIDER = {
16477
16714
  pricing: {
16478
16715
  inputPerM: 0.6,
16479
16716
  outputPerM: 2.5,
16480
- cacheReadPerM: 0.6,
16717
+ cacheReadPerM: 0.15,
16481
16718
  currency: "USD",
16482
16719
  unit: "per_million_tokens"
16483
16720
  }
@@ -16485,7 +16722,7 @@ var MODELS_BY_PROVIDER = {
16485
16722
  {
16486
16723
  name: "moonshotai/kimi-k2.5",
16487
16724
  displayName: "Kimi K2.5",
16488
- maxInputTokens: 256e3,
16725
+ maxInputTokens: 262144,
16489
16726
  supportedFileTypes: ["image"],
16490
16727
  reasoning: true,
16491
16728
  supportsTemperature: true,
@@ -16502,6 +16739,7 @@ var MODELS_BY_PROVIDER = {
16502
16739
  pricing: {
16503
16740
  inputPerM: 0.375,
16504
16741
  outputPerM: 2.025,
16742
+ cacheReadPerM: 0.203,
16505
16743
  currency: "USD",
16506
16744
  unit: "per_million_tokens"
16507
16745
  }
@@ -16524,9 +16762,9 @@ var MODELS_BY_PROVIDER = {
16524
16762
  },
16525
16763
  supportsInterleaved: true,
16526
16764
  pricing: {
16527
- inputPerM: 0.55,
16528
- outputPerM: 3.2,
16529
- cacheReadPerM: 0.11,
16765
+ inputPerM: 0.66,
16766
+ outputPerM: 3.41,
16767
+ cacheReadPerM: 0.15,
16530
16768
  currency: "USD",
16531
16769
  unit: "per_million_tokens"
16532
16770
  }
@@ -16545,9 +16783,9 @@ var MODELS_BY_PROVIDER = {
16545
16783
  output: ["text"]
16546
16784
  },
16547
16785
  pricing: {
16548
- inputPerM: 0.74,
16549
- outputPerM: 3.5,
16550
- cacheReadPerM: 0.15,
16786
+ inputPerM: 0.72,
16787
+ outputPerM: 3.49,
16788
+ cacheReadPerM: 0.159,
16551
16789
  currency: "USD",
16552
16790
  unit: "per_million_tokens"
16553
16791
  }
@@ -16592,6 +16830,27 @@ var MODELS_BY_PROVIDER = {
16592
16830
  unit: "per_million_tokens"
16593
16831
  }
16594
16832
  },
16833
+ {
16834
+ name: "nex-agi/nex-n2-mini",
16835
+ displayName: "Nex-N2-Mini",
16836
+ maxInputTokens: 262144,
16837
+ supportedFileTypes: ["image"],
16838
+ reasoning: true,
16839
+ supportsTemperature: true,
16840
+ supportsToolCall: true,
16841
+ releaseDate: "2026-06-24",
16842
+ modalities: {
16843
+ input: ["text", "image"],
16844
+ output: ["text"]
16845
+ },
16846
+ pricing: {
16847
+ inputPerM: 0.025,
16848
+ outputPerM: 0.1,
16849
+ cacheReadPerM: 25e-4,
16850
+ currency: "USD",
16851
+ unit: "per_million_tokens"
16852
+ }
16853
+ },
16595
16854
  {
16596
16855
  name: "nex-agi/nex-n2-pro",
16597
16856
  displayName: "Nex-N2-Pro",
@@ -16599,7 +16858,7 @@ var MODELS_BY_PROVIDER = {
16599
16858
  supportedFileTypes: ["image"],
16600
16859
  reasoning: true,
16601
16860
  supportsTemperature: true,
16602
- supportsToolCall: false,
16861
+ supportsToolCall: true,
16603
16862
  releaseDate: "2026-06-08",
16604
16863
  modalities: {
16605
16864
  input: ["text", "image"],
@@ -16796,7 +17055,7 @@ var MODELS_BY_PROVIDER = {
16796
17055
  {
16797
17056
  name: "nvidia/nemotron-3-super-120b-a12b",
16798
17057
  displayName: "Nemotron 3 Super 120B A12B",
16799
- maxInputTokens: 262144,
17058
+ maxInputTokens: 1e6,
16800
17059
  supportedFileTypes: [],
16801
17060
  reasoning: true,
16802
17061
  supportsTemperature: true,
@@ -16807,8 +17066,8 @@ var MODELS_BY_PROVIDER = {
16807
17066
  output: ["text"]
16808
17067
  },
16809
17068
  pricing: {
16810
- inputPerM: 0.085,
16811
- outputPerM: 0.4,
17069
+ inputPerM: 0.08,
17070
+ outputPerM: 0.45,
16812
17071
  currency: "USD",
16813
17072
  unit: "per_million_tokens"
16814
17073
  }
@@ -16816,7 +17075,7 @@ var MODELS_BY_PROVIDER = {
16816
17075
  {
16817
17076
  name: "nvidia/nemotron-3-super-120b-a12b:free",
16818
17077
  displayName: "Nemotron 3 Super (free)",
16819
- maxInputTokens: 262144,
17078
+ maxInputTokens: 1e6,
16820
17079
  supportedFileTypes: [],
16821
17080
  reasoning: true,
16822
17081
  supportsTemperature: true,
@@ -16836,7 +17095,7 @@ var MODELS_BY_PROVIDER = {
16836
17095
  {
16837
17096
  name: "nvidia/nemotron-3-ultra-550b-a55b",
16838
17097
  displayName: "Nemotron 3 Ultra 550B A55B",
16839
- maxInputTokens: 262144,
17098
+ maxInputTokens: 1e6,
16840
17099
  supportedFileTypes: [],
16841
17100
  reasoning: true,
16842
17101
  supportsTemperature: true,
@@ -17843,6 +18102,138 @@ var MODELS_BY_PROVIDER = {
17843
18102
  unit: "per_million_tokens"
17844
18103
  }
17845
18104
  },
18105
+ {
18106
+ name: "openai/gpt-5.6-luna",
18107
+ displayName: "GPT-5.6 Luna",
18108
+ maxInputTokens: 922e3,
18109
+ supportedFileTypes: ["pdf", "image", "document"],
18110
+ reasoning: true,
18111
+ supportsTemperature: false,
18112
+ supportsToolCall: true,
18113
+ releaseDate: "2026-07-09",
18114
+ modalities: {
18115
+ input: ["text", "image", "pdf"],
18116
+ output: ["text"]
18117
+ },
18118
+ pricing: {
18119
+ inputPerM: 1,
18120
+ outputPerM: 6,
18121
+ cacheReadPerM: 0.1,
18122
+ cacheWritePerM: 1.25,
18123
+ currency: "USD",
18124
+ unit: "per_million_tokens"
18125
+ }
18126
+ },
18127
+ {
18128
+ name: "openai/gpt-5.6-luna-pro",
18129
+ displayName: "GPT-5.6 Luna Pro",
18130
+ maxInputTokens: 922e3,
18131
+ supportedFileTypes: ["pdf", "image", "document"],
18132
+ reasoning: true,
18133
+ supportsTemperature: false,
18134
+ supportsToolCall: true,
18135
+ releaseDate: "2026-07-09",
18136
+ modalities: {
18137
+ input: ["text", "image", "pdf"],
18138
+ output: ["text"]
18139
+ },
18140
+ pricing: {
18141
+ inputPerM: 1,
18142
+ outputPerM: 6,
18143
+ cacheReadPerM: 0.1,
18144
+ cacheWritePerM: 1.25,
18145
+ currency: "USD",
18146
+ unit: "per_million_tokens"
18147
+ }
18148
+ },
18149
+ {
18150
+ name: "openai/gpt-5.6-sol",
18151
+ displayName: "GPT-5.6 Sol",
18152
+ maxInputTokens: 922e3,
18153
+ supportedFileTypes: ["pdf", "image", "document"],
18154
+ reasoning: true,
18155
+ supportsTemperature: false,
18156
+ supportsToolCall: true,
18157
+ releaseDate: "2026-07-09",
18158
+ modalities: {
18159
+ input: ["text", "image", "pdf"],
18160
+ output: ["text"]
18161
+ },
18162
+ pricing: {
18163
+ inputPerM: 5,
18164
+ outputPerM: 30,
18165
+ cacheReadPerM: 0.5,
18166
+ cacheWritePerM: 6.25,
18167
+ currency: "USD",
18168
+ unit: "per_million_tokens"
18169
+ }
18170
+ },
18171
+ {
18172
+ name: "openai/gpt-5.6-sol-pro",
18173
+ displayName: "GPT-5.6 Sol Pro",
18174
+ maxInputTokens: 922e3,
18175
+ supportedFileTypes: ["pdf", "image", "document"],
18176
+ reasoning: true,
18177
+ supportsTemperature: false,
18178
+ supportsToolCall: true,
18179
+ releaseDate: "2026-07-09",
18180
+ modalities: {
18181
+ input: ["text", "image", "pdf"],
18182
+ output: ["text"]
18183
+ },
18184
+ pricing: {
18185
+ inputPerM: 5,
18186
+ outputPerM: 30,
18187
+ cacheReadPerM: 0.5,
18188
+ cacheWritePerM: 6.25,
18189
+ currency: "USD",
18190
+ unit: "per_million_tokens"
18191
+ }
18192
+ },
18193
+ {
18194
+ name: "openai/gpt-5.6-terra",
18195
+ displayName: "GPT-5.6 Terra",
18196
+ maxInputTokens: 922e3,
18197
+ supportedFileTypes: ["pdf", "image", "document"],
18198
+ reasoning: true,
18199
+ supportsTemperature: false,
18200
+ supportsToolCall: true,
18201
+ releaseDate: "2026-07-09",
18202
+ modalities: {
18203
+ input: ["text", "image", "pdf"],
18204
+ output: ["text"]
18205
+ },
18206
+ pricing: {
18207
+ inputPerM: 2.5,
18208
+ outputPerM: 15,
18209
+ cacheReadPerM: 0.25,
18210
+ cacheWritePerM: 3.125,
18211
+ currency: "USD",
18212
+ unit: "per_million_tokens"
18213
+ }
18214
+ },
18215
+ {
18216
+ name: "openai/gpt-5.6-terra-pro",
18217
+ displayName: "GPT-5.6 Terra Pro",
18218
+ maxInputTokens: 922e3,
18219
+ supportedFileTypes: ["pdf", "image", "document"],
18220
+ reasoning: true,
18221
+ supportsTemperature: false,
18222
+ supportsToolCall: true,
18223
+ releaseDate: "2026-07-09",
18224
+ modalities: {
18225
+ input: ["text", "image", "pdf"],
18226
+ output: ["text"]
18227
+ },
18228
+ pricing: {
18229
+ inputPerM: 2.5,
18230
+ outputPerM: 15,
18231
+ cacheReadPerM: 0.25,
18232
+ cacheWritePerM: 3.125,
18233
+ currency: "USD",
18234
+ unit: "per_million_tokens"
18235
+ }
18236
+ },
17846
18237
  {
17847
18238
  name: "openai/gpt-audio",
17848
18239
  displayName: "GPT Audio",
@@ -17918,8 +18309,8 @@ var MODELS_BY_PROVIDER = {
17918
18309
  output: ["text"]
17919
18310
  },
17920
18311
  pricing: {
17921
- inputPerM: 0.03,
17922
- outputPerM: 0.15,
18312
+ inputPerM: 0.036,
18313
+ outputPerM: 0.18,
17923
18314
  currency: "USD",
17924
18315
  unit: "per_million_tokens"
17925
18316
  }
@@ -17946,7 +18337,7 @@ var MODELS_BY_PROVIDER = {
17946
18337
  },
17947
18338
  {
17948
18339
  name: "openai/gpt-oss-20b",
17949
- displayName: "gpt-oss-20b",
18340
+ displayName: "GPT OSS 20B",
17950
18341
  maxInputTokens: 131072,
17951
18342
  supportedFileTypes: [],
17952
18343
  reasoning: true,
@@ -18456,43 +18847,39 @@ var MODELS_BY_PROVIDER = {
18456
18847
  }
18457
18848
  },
18458
18849
  {
18459
- name: "poolside/laguna-xs.2",
18460
- displayName: "Laguna XS.2",
18850
+ name: "poolside/laguna-xs-2.1",
18851
+ displayName: "Laguna XS 2.1",
18461
18852
  maxInputTokens: 262144,
18462
18853
  supportedFileTypes: [],
18463
18854
  reasoning: true,
18464
18855
  supportsTemperature: true,
18465
18856
  supportsToolCall: true,
18466
- releaseDate: "2026-04-28",
18857
+ releaseDate: "2026-07-02",
18467
18858
  modalities: {
18468
18859
  input: ["text"],
18469
18860
  output: ["text"]
18470
18861
  },
18471
18862
  pricing: {
18472
- inputPerM: 0.1,
18473
- outputPerM: 0.2,
18474
- cacheReadPerM: 0.05,
18863
+ inputPerM: 0.06,
18864
+ outputPerM: 0.12,
18865
+ cacheReadPerM: 0.03,
18475
18866
  currency: "USD",
18476
18867
  unit: "per_million_tokens"
18477
18868
  }
18478
18869
  },
18479
18870
  {
18480
- name: "poolside/laguna-xs.2:free",
18481
- displayName: "Laguna XS.2 (free)",
18871
+ name: "poolside/laguna-xs-2.1:free",
18872
+ displayName: "Laguna XS 2.1 (free)",
18482
18873
  maxInputTokens: 262144,
18483
18874
  supportedFileTypes: [],
18484
18875
  reasoning: true,
18485
18876
  supportsTemperature: true,
18486
18877
  supportsToolCall: true,
18487
- releaseDate: "2026-04-28",
18878
+ releaseDate: "2026-07-02",
18488
18879
  modalities: {
18489
18880
  input: ["text"],
18490
18881
  output: ["text"]
18491
18882
  },
18492
- interleaved: {
18493
- field: "reasoning_content"
18494
- },
18495
- supportsInterleaved: true,
18496
18883
  pricing: {
18497
18884
  inputPerM: 0,
18498
18885
  outputPerM: 0,
@@ -18503,7 +18890,7 @@ var MODELS_BY_PROVIDER = {
18503
18890
  {
18504
18891
  name: "qwen/qwen-2.5-72b-instruct",
18505
18892
  displayName: "Qwen2.5 72B Instruct",
18506
- maxInputTokens: 32768,
18893
+ maxInputTokens: 131072,
18507
18894
  supportedFileTypes: [],
18508
18895
  reasoning: false,
18509
18896
  supportsTemperature: true,
@@ -18523,7 +18910,7 @@ var MODELS_BY_PROVIDER = {
18523
18910
  {
18524
18911
  name: "qwen/qwen-2.5-7b-instruct",
18525
18912
  displayName: "Qwen2.5 7B Instruct",
18526
- maxInputTokens: 32768,
18913
+ maxInputTokens: 131072,
18527
18914
  supportedFileTypes: [],
18528
18915
  reasoning: false,
18529
18916
  supportsTemperature: true,
@@ -18543,7 +18930,7 @@ var MODELS_BY_PROVIDER = {
18543
18930
  {
18544
18931
  name: "qwen/qwen-2.5-coder-32b-instruct",
18545
18932
  displayName: "Qwen2.5 Coder 32B Instruct",
18546
- maxInputTokens: 32768,
18933
+ maxInputTokens: 128e3,
18547
18934
  supportedFileTypes: [],
18548
18935
  reasoning: false,
18549
18936
  supportsTemperature: true,
@@ -18626,7 +19013,7 @@ var MODELS_BY_PROVIDER = {
18626
19013
  {
18627
19014
  name: "qwen/qwen2.5-vl-72b-instruct",
18628
19015
  displayName: "Qwen2.5 VL 72B Instruct",
18629
- maxInputTokens: 128e3,
19016
+ maxInputTokens: 131072,
18630
19017
  supportedFileTypes: ["image"],
18631
19018
  reasoning: false,
18632
19019
  supportsTemperature: true,
@@ -18647,7 +19034,7 @@ var MODELS_BY_PROVIDER = {
18647
19034
  {
18648
19035
  name: "qwen/qwen3-14b",
18649
19036
  displayName: "Qwen3 14B",
18650
- maxInputTokens: 40960,
19037
+ maxInputTokens: 131702,
18651
19038
  supportedFileTypes: [],
18652
19039
  reasoning: true,
18653
19040
  supportsTemperature: true,
@@ -18718,9 +19105,8 @@ var MODELS_BY_PROVIDER = {
18718
19105
  output: ["text"]
18719
19106
  },
18720
19107
  pricing: {
18721
- inputPerM: 0.1,
18722
- outputPerM: 0.1,
18723
- cacheReadPerM: 0.1,
19108
+ inputPerM: 0.1495,
19109
+ outputPerM: 1.495,
18724
19110
  currency: "USD",
18725
19111
  unit: "per_million_tokens"
18726
19112
  }
@@ -18728,7 +19114,7 @@ var MODELS_BY_PROVIDER = {
18728
19114
  {
18729
19115
  name: "qwen/qwen3-30b-a3b",
18730
19116
  displayName: "Qwen3 30B A3B",
18731
- maxInputTokens: 40960,
19117
+ maxInputTokens: 131072,
18732
19118
  supportedFileTypes: [],
18733
19119
  reasoning: true,
18734
19120
  supportsTemperature: true,
@@ -18748,7 +19134,7 @@ var MODELS_BY_PROVIDER = {
18748
19134
  {
18749
19135
  name: "qwen/qwen3-30b-a3b-instruct-2507",
18750
19136
  displayName: "Qwen3 30B A3B Instruct 2507",
18751
- maxInputTokens: 128e3,
19137
+ maxInputTokens: 131072,
18752
19138
  supportedFileTypes: [],
18753
19139
  reasoning: false,
18754
19140
  supportsTemperature: true,
@@ -18779,9 +19165,8 @@ var MODELS_BY_PROVIDER = {
18779
19165
  output: ["text"]
18780
19166
  },
18781
19167
  pricing: {
18782
- inputPerM: 0.08,
18783
- outputPerM: 0.4,
18784
- cacheReadPerM: 0.08,
19168
+ inputPerM: 0.13,
19169
+ outputPerM: 1.56,
18785
19170
  currency: "USD",
18786
19171
  unit: "per_million_tokens"
18787
19172
  }
@@ -18789,7 +19174,7 @@ var MODELS_BY_PROVIDER = {
18789
19174
  {
18790
19175
  name: "qwen/qwen3-32b",
18791
19176
  displayName: "Qwen3 32B",
18792
- maxInputTokens: 40960,
19177
+ maxInputTokens: 131072,
18793
19178
  supportedFileTypes: [],
18794
19179
  reasoning: true,
18795
19180
  supportsTemperature: true,
@@ -18809,7 +19194,7 @@ var MODELS_BY_PROVIDER = {
18809
19194
  {
18810
19195
  name: "qwen/qwen3-8b",
18811
19196
  displayName: "Qwen3 8B",
18812
- maxInputTokens: 40960,
19197
+ maxInputTokens: 131072,
18813
19198
  supportedFileTypes: [],
18814
19199
  reasoning: true,
18815
19200
  supportsTemperature: true,
@@ -18820,9 +19205,8 @@ var MODELS_BY_PROVIDER = {
18820
19205
  output: ["text"]
18821
19206
  },
18822
19207
  pricing: {
18823
- inputPerM: 0.05,
18824
- outputPerM: 0.4,
18825
- cacheReadPerM: 0.05,
19208
+ inputPerM: 0.117,
19209
+ outputPerM: 0.455,
18826
19210
  currency: "USD",
18827
19211
  unit: "per_million_tokens"
18828
19212
  }
@@ -18830,7 +19214,7 @@ var MODELS_BY_PROVIDER = {
18830
19214
  {
18831
19215
  name: "qwen/qwen3-coder",
18832
19216
  displayName: "Qwen3 Coder 480B A35B",
18833
- maxInputTokens: 262144,
19217
+ maxInputTokens: 1048576,
18834
19218
  supportedFileTypes: [],
18835
19219
  reasoning: false,
18836
19220
  supportsTemperature: true,
@@ -18935,7 +19319,7 @@ var MODELS_BY_PROVIDER = {
18935
19319
  {
18936
19320
  name: "qwen/qwen3-coder:free",
18937
19321
  displayName: "Qwen3 Coder 480B A35B (free)",
18938
- maxInputTokens: 262e3,
19322
+ maxInputTokens: 1048576,
18939
19323
  supportedFileTypes: [],
18940
19324
  reasoning: false,
18941
19325
  supportsTemperature: true,
@@ -19037,7 +19421,7 @@ var MODELS_BY_PROVIDER = {
19037
19421
  {
19038
19422
  name: "qwen/qwen3-next-80b-a3b-thinking",
19039
19423
  displayName: "Qwen3-Next 80B-A3B (Thinking)",
19040
- maxInputTokens: 131072,
19424
+ maxInputTokens: 262144,
19041
19425
  supportedFileTypes: [],
19042
19426
  reasoning: true,
19043
19427
  supportsTemperature: true,
@@ -19098,7 +19482,7 @@ var MODELS_BY_PROVIDER = {
19098
19482
  {
19099
19483
  name: "qwen/qwen3-vl-30b-a3b-instruct",
19100
19484
  displayName: "Qwen3 VL 30B A3B Instruct",
19101
- maxInputTokens: 131072,
19485
+ maxInputTokens: 262144,
19102
19486
  supportedFileTypes: ["image"],
19103
19487
  reasoning: false,
19104
19488
  supportsTemperature: true,
@@ -19138,7 +19522,7 @@ var MODELS_BY_PROVIDER = {
19138
19522
  {
19139
19523
  name: "qwen/qwen3-vl-32b-instruct",
19140
19524
  displayName: "Qwen3 VL 32B Instruct",
19141
- maxInputTokens: 131072,
19525
+ maxInputTokens: 262144,
19142
19526
  supportedFileTypes: ["image"],
19143
19527
  reasoning: false,
19144
19528
  supportsTemperature: true,
@@ -19158,7 +19542,7 @@ var MODELS_BY_PROVIDER = {
19158
19542
  {
19159
19543
  name: "qwen/qwen3-vl-8b-instruct",
19160
19544
  displayName: "Qwen3 VL 8B Instruct",
19161
- maxInputTokens: 131072,
19545
+ maxInputTokens: 256e3,
19162
19546
  supportedFileTypes: ["image"],
19163
19547
  reasoning: false,
19164
19548
  supportsTemperature: true,
@@ -19169,8 +19553,8 @@ var MODELS_BY_PROVIDER = {
19169
19553
  output: ["text"]
19170
19554
  },
19171
19555
  pricing: {
19172
- inputPerM: 0.08,
19173
- outputPerM: 0.5,
19556
+ inputPerM: 0.117,
19557
+ outputPerM: 0.455,
19174
19558
  currency: "USD",
19175
19559
  unit: "per_million_tokens"
19176
19560
  }
@@ -19178,7 +19562,7 @@ var MODELS_BY_PROVIDER = {
19178
19562
  {
19179
19563
  name: "qwen/qwen3-vl-8b-thinking",
19180
19564
  displayName: "Qwen3 VL 8B Thinking",
19181
- maxInputTokens: 131072,
19565
+ maxInputTokens: 256e3,
19182
19566
  supportedFileTypes: ["image"],
19183
19567
  reasoning: true,
19184
19568
  supportsTemperature: true,
@@ -19259,7 +19643,7 @@ var MODELS_BY_PROVIDER = {
19259
19643
  {
19260
19644
  name: "qwen/qwen3.5-397b-a17b",
19261
19645
  displayName: "Qwen3.5 397B-A17B",
19262
- maxInputTokens: 131072,
19646
+ maxInputTokens: 256e3,
19263
19647
  supportedFileTypes: ["image", "video"],
19264
19648
  reasoning: true,
19265
19649
  supportsTemperature: true,
@@ -19272,6 +19656,7 @@ var MODELS_BY_PROVIDER = {
19272
19656
  pricing: {
19273
19657
  inputPerM: 0.385,
19274
19658
  outputPerM: 2.45,
19659
+ cacheReadPerM: 0.111,
19275
19660
  currency: "USD",
19276
19661
  unit: "per_million_tokens"
19277
19662
  }
@@ -19360,7 +19745,7 @@ var MODELS_BY_PROVIDER = {
19360
19745
  {
19361
19746
  name: "qwen/qwen3.6-27b",
19362
19747
  displayName: "Qwen3.6 27B",
19363
- maxInputTokens: 262140,
19748
+ maxInputTokens: 262144,
19364
19749
  supportedFileTypes: ["image", "video"],
19365
19750
  reasoning: true,
19366
19751
  supportsTemperature: true,
@@ -19373,6 +19758,7 @@ var MODELS_BY_PROVIDER = {
19373
19758
  pricing: {
19374
19759
  inputPerM: 0.285,
19375
19760
  outputPerM: 2.4,
19761
+ cacheReadPerM: 0.15,
19376
19762
  currency: "USD",
19377
19763
  unit: "per_million_tokens"
19378
19764
  }
@@ -19727,41 +20113,42 @@ var MODELS_BY_PROVIDER = {
19727
20113
  }
19728
20114
  },
19729
20115
  {
19730
- name: "switchpoint/router",
19731
- displayName: "Switchpoint Router",
20116
+ name: "tencent/hunyuan-a13b-instruct",
20117
+ displayName: "Hunyuan A13B Instruct",
19732
20118
  maxInputTokens: 131072,
19733
20119
  supportedFileTypes: [],
19734
20120
  reasoning: true,
19735
20121
  supportsTemperature: true,
19736
20122
  supportsToolCall: false,
19737
- releaseDate: "2025-07-11",
20123
+ releaseDate: "2025-07-08",
19738
20124
  modalities: {
19739
20125
  input: ["text"],
19740
20126
  output: ["text"]
19741
20127
  },
19742
20128
  pricing: {
19743
- inputPerM: 0.85,
19744
- outputPerM: 3.4,
20129
+ inputPerM: 0.14,
20130
+ outputPerM: 0.57,
19745
20131
  currency: "USD",
19746
20132
  unit: "per_million_tokens"
19747
20133
  }
19748
20134
  },
19749
20135
  {
19750
- name: "tencent/hunyuan-a13b-instruct",
19751
- displayName: "Hunyuan A13B Instruct",
19752
- maxInputTokens: 131072,
20136
+ name: "tencent/hy3",
20137
+ displayName: "Hy3",
20138
+ maxInputTokens: 262144,
19753
20139
  supportedFileTypes: [],
19754
20140
  reasoning: true,
19755
20141
  supportsTemperature: true,
19756
- supportsToolCall: false,
19757
- releaseDate: "2025-07-08",
20142
+ supportsToolCall: true,
20143
+ releaseDate: "2026-07-06",
19758
20144
  modalities: {
19759
20145
  input: ["text"],
19760
20146
  output: ["text"]
19761
20147
  },
19762
20148
  pricing: {
19763
20149
  inputPerM: 0.14,
19764
- outputPerM: 0.57,
20150
+ outputPerM: 0.58,
20151
+ cacheReadPerM: 0.035,
19765
20152
  currency: "USD",
19766
20153
  unit: "per_million_tokens"
19767
20154
  }
@@ -19787,6 +20174,26 @@ var MODELS_BY_PROVIDER = {
19787
20174
  unit: "per_million_tokens"
19788
20175
  }
19789
20176
  },
20177
+ {
20178
+ name: "tencent/hy3:free",
20179
+ displayName: "Hy3 (free)",
20180
+ maxInputTokens: 262144,
20181
+ supportedFileTypes: [],
20182
+ reasoning: true,
20183
+ supportsTemperature: true,
20184
+ supportsToolCall: true,
20185
+ releaseDate: "2026-07-06",
20186
+ modalities: {
20187
+ input: ["text"],
20188
+ output: ["text"]
20189
+ },
20190
+ pricing: {
20191
+ inputPerM: 0,
20192
+ outputPerM: 0,
20193
+ currency: "USD",
20194
+ unit: "per_million_tokens"
20195
+ }
20196
+ },
19790
20197
  {
19791
20198
  name: "thedrummer/cydonia-24b-v4.1",
19792
20199
  displayName: "Cydonia 24B V4.1",
@@ -19811,7 +20218,7 @@ var MODELS_BY_PROVIDER = {
19811
20218
  {
19812
20219
  name: "thedrummer/rocinante-12b",
19813
20220
  displayName: "Rocinante 12B",
19814
- maxInputTokens: 32768,
20221
+ maxInputTokens: 65536,
19815
20222
  supportedFileTypes: [],
19816
20223
  reasoning: false,
19817
20224
  supportsTemperature: true,
@@ -19997,17 +20404,42 @@ var MODELS_BY_PROVIDER = {
19997
20404
  unit: "per_million_tokens"
19998
20405
  }
19999
20406
  },
20407
+ {
20408
+ name: "x-ai/grok-4.5",
20409
+ displayName: "Grok 4.5",
20410
+ maxInputTokens: 5e5,
20411
+ supportedFileTypes: ["pdf", "image"],
20412
+ reasoning: true,
20413
+ supportsTemperature: true,
20414
+ supportsToolCall: true,
20415
+ releaseDate: "2026-07-08",
20416
+ modalities: {
20417
+ input: ["text", "image", "pdf"],
20418
+ output: ["text"]
20419
+ },
20420
+ pricing: {
20421
+ inputPerM: 2,
20422
+ outputPerM: 6,
20423
+ cacheReadPerM: 0.5,
20424
+ contextOver200kPerM: {
20425
+ inputPerM: 4,
20426
+ outputPerM: 12
20427
+ },
20428
+ currency: "USD",
20429
+ unit: "per_million_tokens"
20430
+ }
20431
+ },
20000
20432
  {
20001
20433
  name: "x-ai/grok-build-0.1",
20002
20434
  displayName: "Grok Build 0.1",
20003
20435
  maxInputTokens: 256e3,
20004
- supportedFileTypes: ["image"],
20436
+ supportedFileTypes: ["pdf", "image"],
20005
20437
  reasoning: true,
20006
20438
  supportsTemperature: true,
20007
20439
  supportsToolCall: true,
20008
20440
  releaseDate: "2026-04-16",
20009
20441
  modalities: {
20010
- input: ["text", "image"],
20442
+ input: ["text", "image", "pdf"],
20011
20443
  output: ["text"]
20012
20444
  },
20013
20445
  pricing: {
@@ -20021,7 +20453,7 @@ var MODELS_BY_PROVIDER = {
20021
20453
  {
20022
20454
  name: "xiaomi/mimo-v2.5",
20023
20455
  displayName: "MiMo-V2.5",
20024
- maxInputTokens: 32e3,
20456
+ maxInputTokens: 1048576,
20025
20457
  supportedFileTypes: ["image", "audio", "video"],
20026
20458
  reasoning: true,
20027
20459
  supportsTemperature: true,
@@ -20038,6 +20470,7 @@ var MODELS_BY_PROVIDER = {
20038
20470
  pricing: {
20039
20471
  inputPerM: 0.105,
20040
20472
  outputPerM: 0.28,
20473
+ cacheReadPerM: 0.028,
20041
20474
  currency: "USD",
20042
20475
  unit: "per_million_tokens"
20043
20476
  }
@@ -20275,7 +20708,7 @@ var MODELS_BY_PROVIDER = {
20275
20708
  {
20276
20709
  name: "z-ai/glm-5.1",
20277
20710
  displayName: "GLM-5.1",
20278
- maxInputTokens: 65536,
20711
+ maxInputTokens: 202752,
20279
20712
  supportedFileTypes: [],
20280
20713
  reasoning: true,
20281
20714
  supportsTemperature: true,
@@ -20290,8 +20723,9 @@ var MODELS_BY_PROVIDER = {
20290
20723
  },
20291
20724
  supportsInterleaved: true,
20292
20725
  pricing: {
20293
- inputPerM: 0.975,
20294
- outputPerM: 4.3,
20726
+ inputPerM: 0.966,
20727
+ outputPerM: 3.036,
20728
+ cacheReadPerM: 0.1794,
20295
20729
  currency: "USD",
20296
20730
  unit: "per_million_tokens"
20297
20731
  }
@@ -20314,9 +20748,9 @@ var MODELS_BY_PROVIDER = {
20314
20748
  },
20315
20749
  supportsInterleaved: true,
20316
20750
  pricing: {
20317
- inputPerM: 0.94,
20318
- outputPerM: 3,
20319
- cacheReadPerM: 0.18,
20751
+ inputPerM: 0.54,
20752
+ outputPerM: 1.76,
20753
+ cacheReadPerM: 0.1,
20320
20754
  currency: "USD",
20321
20755
  unit: "per_million_tokens"
20322
20756
  }
@@ -20447,19 +20881,9 @@ function unknownModel(provider, model) {
20447
20881
  function modelProviderUnknown(model) {
20448
20882
  return new LlmCatalogError("MODEL_UNKNOWN", `Could not infer provider for model '${model}'`);
20449
20883
  }
20450
- var LEGACY_MODEL_ID_ALIASES = {
20451
- anthropic: {
20452
- // Older Dexto configs/tests used "claude-4-{tier}-{date}".
20453
- // models.dev (and our generated snapshot) use "claude-{tier}-4-{date}".
20454
- "claude-4-sonnet-20250514": "claude-sonnet-4-20250514",
20455
- "claude-4-opus-20250514": "claude-opus-4-20250514"
20456
- }
20457
- };
20458
- function getNormalizedModelIdForLookup(provider, model) {
20884
+ function getNormalizedModelIdForLookup(model) {
20459
20885
  const stripped = stripBedrockRegionPrefix(model);
20460
- const lower = stripped.toLowerCase();
20461
- const aliases = LEGACY_MODEL_ID_ALIASES[provider];
20462
- return aliases?.[lower] ?? lower;
20886
+ return stripped.toLowerCase();
20463
20887
  }
20464
20888
  function mergeModels(base, extra) {
20465
20889
  if (!extra || extra.length === 0) return base;
@@ -20813,7 +21237,7 @@ function getMaxInputTokensForModel(provider, model, logger) {
20813
21237
  }
20814
21238
  function isValidProviderModel(provider, model) {
20815
21239
  const providerInfo = LLM_REGISTRY[provider];
20816
- const normalizedModel = getNormalizedModelIdForLookup(provider, model);
21240
+ const normalizedModel = getNormalizedModelIdForLookup(model);
20817
21241
  return providerInfo.models.some((m) => m.name.toLowerCase() === normalizedModel);
20818
21242
  }
20819
21243
  function getProviderFromModel(model) {
@@ -20822,7 +21246,7 @@ function getProviderFromModel(model) {
20822
21246
  }
20823
21247
  for (const provider of LLM_PROVIDERS) {
20824
21248
  const info = LLM_REGISTRY[provider];
20825
- const normalizedModel = getNormalizedModelIdForLookup(provider, model);
21249
+ const normalizedModel = getNormalizedModelIdForLookup(model);
20826
21250
  if (info.models.some((m) => m.name.toLowerCase() === normalizedModel)) {
20827
21251
  return provider;
20828
21252
  }
@@ -20896,7 +21320,7 @@ function findModelInfo(provider, model) {
20896
21320
  if (dynamicOpenRouterModel) return dynamicOpenRouterModel;
20897
21321
  }
20898
21322
  const providerInfo = LLM_REGISTRY[provider];
20899
- const normalizedModel = getNormalizedModelIdForLookup(provider, model);
21323
+ const normalizedModel = getNormalizedModelIdForLookup(model);
20900
21324
  const direct = providerInfo.models.find((m) => m.name.toLowerCase() === normalizedModel);
20901
21325
  if (direct) return direct;
20902
21326
  if (provider !== "openrouter" && hasAllRegistryModelsSupport(provider) && model.includes("/")) {
@@ -20959,7 +21383,7 @@ function transformModelNameForProvider(model, originalProvider, targetProvider)
20959
21383
  }
20960
21384
  function isModelValidForProvider(provider, model) {
20961
21385
  const providerInfo = LLM_REGISTRY[provider];
20962
- const normalizedModel = getNormalizedModelIdForLookup(provider, model);
21386
+ const normalizedModel = getNormalizedModelIdForLookup(model);
20963
21387
  if (providerInfo.models.some((m) => m.name.toLowerCase() === normalizedModel)) {
20964
21388
  return true;
20965
21389
  }
@@ -21186,11 +21610,18 @@ function calculateCost(usage, pricing) {
21186
21610
  return calculateCostBreakdown(usage, pricing).totalUsd;
21187
21611
  }
21188
21612
  function calculateCostBreakdown(usage, pricing) {
21189
- const inputUsd = (usage.inputTokens ?? 0) * pricing.inputPerM / 1e6;
21190
- const outputUsd = (usage.outputTokens ?? 0) * pricing.outputPerM / 1e6;
21191
- const cacheReadUsd = (usage.cacheReadTokens ?? 0) * (pricing.cacheReadPerM ?? 0) / 1e6;
21192
- const cacheWriteUsd = (usage.cacheWriteTokens ?? 0) * (pricing.cacheWritePerM ?? 0) / 1e6;
21193
- const reasoningUsd = (usage.reasoningTokens ?? 0) * (pricing.reasoningPerM ?? pricing.outputPerM) / 1e6;
21613
+ const longContextPricing = pricing.contextOver200kPerM;
21614
+ const totalInputTokens = (usage.inputTokens ?? 0) + (usage.cacheReadTokens ?? 0) + (usage.cacheWriteTokens ?? 0);
21615
+ const useLongContextPricing = longContextPricing !== void 0 && totalInputTokens > (longContextPricing.inputTokensAbove ?? 2e5);
21616
+ const inputPerM = useLongContextPricing ? longContextPricing.inputPerM : pricing.inputPerM;
21617
+ const outputPerM = useLongContextPricing ? longContextPricing.outputPerM : pricing.outputPerM;
21618
+ const cacheReadPerM = useLongContextPricing ? longContextPricing.cacheReadPerM ?? pricing.cacheReadPerM : pricing.cacheReadPerM;
21619
+ const cacheWritePerM = useLongContextPricing ? longContextPricing.cacheWritePerM ?? pricing.cacheWritePerM : pricing.cacheWritePerM;
21620
+ const inputUsd = (usage.inputTokens ?? 0) * inputPerM / 1e6;
21621
+ const outputUsd = (usage.outputTokens ?? 0) * outputPerM / 1e6;
21622
+ const cacheReadUsd = (usage.cacheReadTokens ?? 0) * (cacheReadPerM ?? 0) / 1e6;
21623
+ const cacheWriteUsd = (usage.cacheWriteTokens ?? 0) * (cacheWritePerM ?? 0) / 1e6;
21624
+ const reasoningUsd = (usage.reasoningTokens ?? 0) * (pricing.reasoningPerM ?? outputPerM) / 1e6;
21194
21625
  return {
21195
21626
  inputUsd,
21196
21627
  outputUsd,
@@ -21278,6 +21709,12 @@ function getSupportedOpenAIReasoningEfforts(model) {
21278
21709
  if (isVersionedGpt5Pro(id)) {
21279
21710
  return ["medium", "high", "xhigh"];
21280
21711
  }
21712
+ if (id === "gpt-5.6-sol" || id === "gpt-5.6-terra") {
21713
+ return ["low", "medium", "high", "xhigh", "max", "ultra"];
21714
+ }
21715
+ if (id === "gpt-5.6-luna") {
21716
+ return ["low", "medium", "high", "xhigh", "max"];
21717
+ }
21281
21718
  if (version !== void 0 && version >= 2) {
21282
21719
  return ["none", "low", "medium", "high", "xhigh"];
21283
21720
  }
@@ -21310,17 +21747,21 @@ function isGpt5Chat(id) {
21310
21747
  function getFallbackOrder(requested) {
21311
21748
  switch (requested) {
21312
21749
  case "none":
21313
- return ["none", "minimal", "low", "medium", "high", "xhigh"];
21750
+ return ["none", "minimal", "low", "medium", "high", "xhigh", "max", "ultra"];
21314
21751
  case "minimal":
21315
- return ["minimal", "low", "medium", "high", "xhigh"];
21752
+ return ["minimal", "low", "medium", "high", "xhigh", "max", "ultra"];
21316
21753
  case "low":
21317
- return ["low", "medium", "high", "xhigh"];
21754
+ return ["low", "medium", "high", "xhigh", "max", "ultra"];
21318
21755
  case "medium":
21319
- return ["medium", "high", "xhigh"];
21756
+ return ["medium", "high", "xhigh", "max", "ultra"];
21320
21757
  case "high":
21321
- return ["high", "xhigh"];
21758
+ return ["high", "xhigh", "max", "ultra"];
21322
21759
  case "xhigh":
21323
- return ["xhigh", "high", "medium", "low", "minimal", "none"];
21760
+ return ["xhigh", "max", "ultra", "high", "medium", "low", "minimal", "none"];
21761
+ case "max":
21762
+ return ["max", "ultra", "xhigh", "high", "medium", "low", "minimal", "none"];
21763
+ case "ultra":
21764
+ return ["ultra", "max", "xhigh", "high", "medium", "low", "minimal", "none"];
21324
21765
  }
21325
21766
  }
21326
21767
  function coerceOpenAIReasoningEffort(model, requested) {