@dexto/llm 1.9.3 → 1.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -772,6 +772,110 @@ var MODELS_BY_PROVIDER = {
772
772
  unit: "per_million_tokens"
773
773
  }
774
774
  },
775
+ {
776
+ name: "gpt-5.6",
777
+ displayName: "GPT-5.6 Sol",
778
+ maxInputTokens: 922e3,
779
+ supportedFileTypes: ["pdf", "image", "document"],
780
+ reasoning: true,
781
+ supportsTemperature: false,
782
+ supportsToolCall: true,
783
+ releaseDate: "2026-07-09",
784
+ modalities: {
785
+ input: ["text", "image", "pdf"],
786
+ output: ["text"]
787
+ },
788
+ pricing: {
789
+ inputPerM: 5,
790
+ outputPerM: 30,
791
+ cacheReadPerM: 0.5,
792
+ cacheWritePerM: 6.25,
793
+ contextOver200kPerM: {
794
+ inputPerM: 10,
795
+ outputPerM: 45
796
+ },
797
+ currency: "USD",
798
+ unit: "per_million_tokens"
799
+ }
800
+ },
801
+ {
802
+ name: "gpt-5.6-luna",
803
+ displayName: "GPT-5.6 Luna",
804
+ maxInputTokens: 922e3,
805
+ supportedFileTypes: ["pdf", "image", "document"],
806
+ reasoning: true,
807
+ supportsTemperature: false,
808
+ supportsToolCall: true,
809
+ releaseDate: "2026-07-09",
810
+ modalities: {
811
+ input: ["text", "image", "pdf"],
812
+ output: ["text"]
813
+ },
814
+ pricing: {
815
+ inputPerM: 1,
816
+ outputPerM: 6,
817
+ cacheReadPerM: 0.1,
818
+ cacheWritePerM: 1.25,
819
+ contextOver200kPerM: {
820
+ inputPerM: 2,
821
+ outputPerM: 9
822
+ },
823
+ currency: "USD",
824
+ unit: "per_million_tokens"
825
+ }
826
+ },
827
+ {
828
+ name: "gpt-5.6-sol",
829
+ displayName: "GPT-5.6 Sol",
830
+ maxInputTokens: 922e3,
831
+ supportedFileTypes: ["pdf", "image", "document"],
832
+ reasoning: true,
833
+ supportsTemperature: false,
834
+ supportsToolCall: true,
835
+ releaseDate: "2026-07-09",
836
+ modalities: {
837
+ input: ["text", "image", "pdf"],
838
+ output: ["text"]
839
+ },
840
+ pricing: {
841
+ inputPerM: 5,
842
+ outputPerM: 30,
843
+ cacheReadPerM: 0.5,
844
+ cacheWritePerM: 6.25,
845
+ contextOver200kPerM: {
846
+ inputPerM: 10,
847
+ outputPerM: 45
848
+ },
849
+ currency: "USD",
850
+ unit: "per_million_tokens"
851
+ }
852
+ },
853
+ {
854
+ name: "gpt-5.6-terra",
855
+ displayName: "GPT-5.6 Terra",
856
+ maxInputTokens: 922e3,
857
+ supportedFileTypes: ["pdf", "image", "document"],
858
+ reasoning: true,
859
+ supportsTemperature: false,
860
+ supportsToolCall: true,
861
+ releaseDate: "2026-07-09",
862
+ modalities: {
863
+ input: ["text", "image", "pdf"],
864
+ output: ["text"]
865
+ },
866
+ pricing: {
867
+ inputPerM: 2.5,
868
+ outputPerM: 15,
869
+ cacheReadPerM: 0.25,
870
+ cacheWritePerM: 3.125,
871
+ contextOver200kPerM: {
872
+ inputPerM: 5,
873
+ outputPerM: 22.5
874
+ },
875
+ currency: "USD",
876
+ unit: "per_million_tokens"
877
+ }
878
+ },
775
879
  {
776
880
  name: "gpt-image-1",
777
881
  displayName: "gpt-image-1",
@@ -1004,144 +1108,6 @@ var MODELS_BY_PROVIDER = {
1004
1108
  ],
1005
1109
  "openai-compatible": [],
1006
1110
  anthropic: [
1007
- {
1008
- name: "claude-3-5-sonnet-20240620",
1009
- displayName: "Claude Sonnet 3.5",
1010
- maxInputTokens: 2e5,
1011
- supportedFileTypes: ["pdf", "image"],
1012
- reasoning: false,
1013
- supportsTemperature: true,
1014
- supportsToolCall: true,
1015
- releaseDate: "2024-06-20",
1016
- status: "deprecated",
1017
- modalities: {
1018
- input: ["text", "image", "pdf"],
1019
- output: ["text"]
1020
- },
1021
- pricing: {
1022
- inputPerM: 3,
1023
- outputPerM: 15,
1024
- cacheReadPerM: 0.3,
1025
- cacheWritePerM: 3.75,
1026
- currency: "USD",
1027
- unit: "per_million_tokens"
1028
- }
1029
- },
1030
- {
1031
- name: "claude-3-5-sonnet-20241022",
1032
- displayName: "Claude Sonnet 3.5 v2",
1033
- maxInputTokens: 2e5,
1034
- supportedFileTypes: ["pdf", "image"],
1035
- reasoning: false,
1036
- supportsTemperature: true,
1037
- supportsToolCall: true,
1038
- releaseDate: "2024-10-22",
1039
- status: "deprecated",
1040
- modalities: {
1041
- input: ["text", "image", "pdf"],
1042
- output: ["text"]
1043
- },
1044
- pricing: {
1045
- inputPerM: 3,
1046
- outputPerM: 15,
1047
- cacheReadPerM: 0.3,
1048
- cacheWritePerM: 3.75,
1049
- currency: "USD",
1050
- unit: "per_million_tokens"
1051
- }
1052
- },
1053
- {
1054
- name: "claude-3-7-sonnet-20250219",
1055
- displayName: "Claude Sonnet 3.7",
1056
- maxInputTokens: 2e5,
1057
- supportedFileTypes: ["pdf", "image"],
1058
- reasoning: true,
1059
- supportsTemperature: true,
1060
- supportsToolCall: true,
1061
- releaseDate: "2025-02-19",
1062
- status: "deprecated",
1063
- modalities: {
1064
- input: ["text", "image", "pdf"],
1065
- output: ["text"]
1066
- },
1067
- pricing: {
1068
- inputPerM: 3,
1069
- outputPerM: 15,
1070
- cacheReadPerM: 0.3,
1071
- cacheWritePerM: 3.75,
1072
- currency: "USD",
1073
- unit: "per_million_tokens"
1074
- }
1075
- },
1076
- {
1077
- name: "claude-3-haiku-20240307",
1078
- displayName: "Claude Haiku 3",
1079
- maxInputTokens: 2e5,
1080
- supportedFileTypes: ["pdf", "image"],
1081
- reasoning: false,
1082
- supportsTemperature: true,
1083
- supportsToolCall: true,
1084
- releaseDate: "2024-03-13",
1085
- status: "deprecated",
1086
- modalities: {
1087
- input: ["text", "image", "pdf"],
1088
- output: ["text"]
1089
- },
1090
- pricing: {
1091
- inputPerM: 0.25,
1092
- outputPerM: 1.25,
1093
- cacheReadPerM: 0.03,
1094
- cacheWritePerM: 0.3,
1095
- currency: "USD",
1096
- unit: "per_million_tokens"
1097
- }
1098
- },
1099
- {
1100
- name: "claude-3-opus-20240229",
1101
- displayName: "Claude Opus 3",
1102
- maxInputTokens: 2e5,
1103
- supportedFileTypes: ["pdf", "image"],
1104
- reasoning: false,
1105
- supportsTemperature: true,
1106
- supportsToolCall: true,
1107
- releaseDate: "2024-02-29",
1108
- status: "deprecated",
1109
- modalities: {
1110
- input: ["text", "image", "pdf"],
1111
- output: ["text"]
1112
- },
1113
- pricing: {
1114
- inputPerM: 15,
1115
- outputPerM: 75,
1116
- cacheReadPerM: 1.5,
1117
- cacheWritePerM: 18.75,
1118
- currency: "USD",
1119
- unit: "per_million_tokens"
1120
- }
1121
- },
1122
- {
1123
- name: "claude-3-sonnet-20240229",
1124
- displayName: "Claude Sonnet 3",
1125
- maxInputTokens: 2e5,
1126
- supportedFileTypes: ["pdf", "image"],
1127
- reasoning: false,
1128
- supportsTemperature: true,
1129
- supportsToolCall: true,
1130
- releaseDate: "2024-03-04",
1131
- status: "deprecated",
1132
- modalities: {
1133
- input: ["text", "image", "pdf"],
1134
- output: ["text"]
1135
- },
1136
- pricing: {
1137
- inputPerM: 3,
1138
- outputPerM: 15,
1139
- cacheReadPerM: 0.3,
1140
- cacheWritePerM: 0.3,
1141
- currency: "USD",
1142
- unit: "per_million_tokens"
1143
- }
1144
- },
1145
1111
  {
1146
1112
  name: "claude-fable-5",
1147
1113
  displayName: "Claude Fable 5",
@@ -1150,7 +1116,7 @@ var MODELS_BY_PROVIDER = {
1150
1116
  reasoning: true,
1151
1117
  supportsTemperature: false,
1152
1118
  supportsToolCall: true,
1153
- releaseDate: "2026-06-09",
1119
+ releaseDate: "2026-06-07",
1154
1120
  modalities: {
1155
1121
  input: ["text", "image", "pdf"],
1156
1122
  output: ["text"]
@@ -1209,28 +1175,6 @@ var MODELS_BY_PROVIDER = {
1209
1175
  },
1210
1176
  default: true
1211
1177
  },
1212
- {
1213
- name: "claude-opus-4-0",
1214
- displayName: "Claude Opus 4 (latest)",
1215
- maxInputTokens: 2e5,
1216
- supportedFileTypes: ["pdf", "image"],
1217
- reasoning: true,
1218
- supportsTemperature: true,
1219
- supportsToolCall: true,
1220
- releaseDate: "2025-05-22",
1221
- modalities: {
1222
- input: ["text", "image", "pdf"],
1223
- output: ["text"]
1224
- },
1225
- pricing: {
1226
- inputPerM: 15,
1227
- outputPerM: 75,
1228
- cacheReadPerM: 1.5,
1229
- cacheWritePerM: 18.75,
1230
- currency: "USD",
1231
- unit: "per_million_tokens"
1232
- }
1233
- },
1234
1178
  {
1235
1179
  name: "claude-opus-4-1",
1236
1180
  displayName: "Claude Opus 4.1 (latest)",
@@ -1240,6 +1184,7 @@ var MODELS_BY_PROVIDER = {
1240
1184
  supportsTemperature: true,
1241
1185
  supportsToolCall: true,
1242
1186
  releaseDate: "2025-08-05",
1187
+ status: "deprecated",
1243
1188
  modalities: {
1244
1189
  input: ["text", "image", "pdf"],
1245
1190
  output: ["text"]
@@ -1262,28 +1207,7 @@ var MODELS_BY_PROVIDER = {
1262
1207
  supportsTemperature: true,
1263
1208
  supportsToolCall: true,
1264
1209
  releaseDate: "2025-08-05",
1265
- modalities: {
1266
- input: ["text", "image", "pdf"],
1267
- output: ["text"]
1268
- },
1269
- pricing: {
1270
- inputPerM: 15,
1271
- outputPerM: 75,
1272
- cacheReadPerM: 1.5,
1273
- cacheWritePerM: 18.75,
1274
- currency: "USD",
1275
- unit: "per_million_tokens"
1276
- }
1277
- },
1278
- {
1279
- name: "claude-opus-4-20250514",
1280
- displayName: "Claude Opus 4",
1281
- maxInputTokens: 2e5,
1282
- supportedFileTypes: ["pdf", "image"],
1283
- reasoning: true,
1284
- supportsTemperature: true,
1285
- supportsToolCall: true,
1286
- releaseDate: "2025-05-22",
1210
+ status: "deprecated",
1287
1211
  modalities: {
1288
1212
  input: ["text", "image", "pdf"],
1289
1213
  output: ["text"]
@@ -1327,7 +1251,7 @@ var MODELS_BY_PROVIDER = {
1327
1251
  reasoning: true,
1328
1252
  supportsTemperature: true,
1329
1253
  supportsToolCall: true,
1330
- releaseDate: "2025-11-01",
1254
+ releaseDate: "2025-11-24",
1331
1255
  modalities: {
1332
1256
  input: ["text", "image", "pdf"],
1333
1257
  output: ["text"]
@@ -1349,7 +1273,7 @@ var MODELS_BY_PROVIDER = {
1349
1273
  reasoning: true,
1350
1274
  supportsTemperature: true,
1351
1275
  supportsToolCall: true,
1352
- releaseDate: "2026-02-05",
1276
+ releaseDate: "2026-02-04",
1353
1277
  modalities: {
1354
1278
  input: ["text", "image", "pdf"],
1355
1279
  output: ["text"]
@@ -1371,7 +1295,7 @@ var MODELS_BY_PROVIDER = {
1371
1295
  reasoning: true,
1372
1296
  supportsTemperature: false,
1373
1297
  supportsToolCall: true,
1374
- releaseDate: "2026-04-16",
1298
+ releaseDate: "2026-04-14",
1375
1299
  modalities: {
1376
1300
  input: ["text", "image", "pdf"],
1377
1301
  output: ["text"]
@@ -1407,54 +1331,10 @@ var MODELS_BY_PROVIDER = {
1407
1331
  unit: "per_million_tokens"
1408
1332
  }
1409
1333
  },
1410
- {
1411
- name: "claude-sonnet-4-0",
1412
- displayName: "Claude Sonnet 4 (latest)",
1413
- maxInputTokens: 2e5,
1414
- supportedFileTypes: ["pdf", "image"],
1415
- reasoning: true,
1416
- supportsTemperature: true,
1417
- supportsToolCall: true,
1418
- releaseDate: "2025-05-22",
1419
- modalities: {
1420
- input: ["text", "image", "pdf"],
1421
- output: ["text"]
1422
- },
1423
- pricing: {
1424
- inputPerM: 3,
1425
- outputPerM: 15,
1426
- cacheReadPerM: 0.3,
1427
- cacheWritePerM: 3.75,
1428
- currency: "USD",
1429
- unit: "per_million_tokens"
1430
- }
1431
- },
1432
- {
1433
- name: "claude-sonnet-4-20250514",
1434
- displayName: "Claude Sonnet 4",
1435
- maxInputTokens: 2e5,
1436
- supportedFileTypes: ["pdf", "image"],
1437
- reasoning: true,
1438
- supportsTemperature: true,
1439
- supportsToolCall: true,
1440
- releaseDate: "2025-05-22",
1441
- modalities: {
1442
- input: ["text", "image", "pdf"],
1443
- output: ["text"]
1444
- },
1445
- pricing: {
1446
- inputPerM: 3,
1447
- outputPerM: 15,
1448
- cacheReadPerM: 0.3,
1449
- cacheWritePerM: 3.75,
1450
- currency: "USD",
1451
- unit: "per_million_tokens"
1452
- }
1453
- },
1454
1334
  {
1455
1335
  name: "claude-sonnet-4-5",
1456
1336
  displayName: "Claude Sonnet 4.5 (latest)",
1457
- maxInputTokens: 2e5,
1337
+ maxInputTokens: 1e6,
1458
1338
  supportedFileTypes: ["pdf", "image"],
1459
1339
  reasoning: true,
1460
1340
  supportsTemperature: true,
@@ -1476,7 +1356,7 @@ var MODELS_BY_PROVIDER = {
1476
1356
  {
1477
1357
  name: "claude-sonnet-4-5-20250929",
1478
1358
  displayName: "Claude Sonnet 4.5",
1479
- maxInputTokens: 2e5,
1359
+ maxInputTokens: 1e6,
1480
1360
  supportedFileTypes: ["pdf", "image"],
1481
1361
  reasoning: true,
1482
1362
  supportsTemperature: true,
@@ -1525,7 +1405,7 @@ var MODELS_BY_PROVIDER = {
1525
1405
  reasoning: true,
1526
1406
  supportsTemperature: false,
1527
1407
  supportsToolCall: true,
1528
- releaseDate: "2026-06-30",
1408
+ releaseDate: "2026-06-29",
1529
1409
  modalities: {
1530
1410
  input: ["text", "image", "pdf"],
1531
1411
  output: ["text"]
@@ -1982,6 +1862,26 @@ var MODELS_BY_PROVIDER = {
1982
1862
  currency: "USD",
1983
1863
  unit: "per_million_tokens"
1984
1864
  }
1865
+ },
1866
+ {
1867
+ name: "gemini-omni-flash-preview",
1868
+ displayName: "Gemini Omni Flash Preview",
1869
+ maxInputTokens: 131072,
1870
+ supportedFileTypes: ["image", "video", "document"],
1871
+ reasoning: true,
1872
+ supportsTemperature: true,
1873
+ supportsToolCall: false,
1874
+ releaseDate: "2026-06-30",
1875
+ modalities: {
1876
+ input: ["text", "image", "video"],
1877
+ output: ["video"]
1878
+ },
1879
+ pricing: {
1880
+ inputPerM: 1.5,
1881
+ outputPerM: 17.5,
1882
+ currency: "USD",
1883
+ unit: "per_million_tokens"
1884
+ }
1985
1885
  }
1986
1886
  ],
1987
1887
  groq: [
@@ -2361,6 +2261,31 @@ var MODELS_BY_PROVIDER = {
2361
2261
  unit: "per_million_tokens"
2362
2262
  }
2363
2263
  },
2264
+ {
2265
+ name: "grok-4.5",
2266
+ displayName: "Grok 4.5",
2267
+ maxInputTokens: 5e5,
2268
+ supportedFileTypes: ["pdf", "image"],
2269
+ reasoning: true,
2270
+ supportsTemperature: true,
2271
+ supportsToolCall: true,
2272
+ releaseDate: "2026-07-08",
2273
+ modalities: {
2274
+ input: ["text", "image", "pdf"],
2275
+ output: ["text"]
2276
+ },
2277
+ pricing: {
2278
+ inputPerM: 2,
2279
+ outputPerM: 6,
2280
+ cacheReadPerM: 0.5,
2281
+ contextOver200kPerM: {
2282
+ inputPerM: 4,
2283
+ outputPerM: 12
2284
+ },
2285
+ currency: "USD",
2286
+ unit: "per_million_tokens"
2287
+ }
2288
+ },
2364
2289
  {
2365
2290
  name: "grok-build-0.1",
2366
2291
  displayName: "Grok Build 0.1",
@@ -3012,9 +2937,9 @@ var MODELS_BY_PROVIDER = {
3012
2937
  },
3013
2938
  supportsInterleaved: true,
3014
2939
  pricing: {
3015
- inputPerM: 6,
3016
- outputPerM: 24,
3017
- cacheReadPerM: 1.3,
2940
+ inputPerM: 1.4,
2941
+ outputPerM: 4.4,
2942
+ cacheReadPerM: 0.26,
3018
2943
  cacheWritePerM: 0,
3019
2944
  currency: "USD",
3020
2945
  unit: "per_million_tokens"
@@ -3124,7 +3049,7 @@ var MODELS_BY_PROVIDER = {
3124
3049
  maxInputTokens: 1e6,
3125
3050
  supportedFileTypes: ["pdf", "image"],
3126
3051
  reasoning: true,
3127
- supportsTemperature: false,
3052
+ supportsTemperature: true,
3128
3053
  supportsToolCall: true,
3129
3054
  releaseDate: "2026-04-21",
3130
3055
  modalities: {
@@ -3146,7 +3071,7 @@ var MODELS_BY_PROVIDER = {
3146
3071
  maxInputTokens: 1e6,
3147
3072
  supportedFileTypes: ["pdf", "image"],
3148
3073
  reasoning: true,
3149
- supportsTemperature: true,
3074
+ supportsTemperature: false,
3150
3075
  supportsToolCall: true,
3151
3076
  releaseDate: "2026-04-27",
3152
3077
  modalities: {
@@ -3154,10 +3079,10 @@ var MODELS_BY_PROVIDER = {
3154
3079
  output: ["text"]
3155
3080
  },
3156
3081
  pricing: {
3157
- inputPerM: 3,
3158
- outputPerM: 15,
3159
- cacheReadPerM: 0.3,
3160
- cacheWritePerM: 3.75,
3082
+ inputPerM: 2,
3083
+ outputPerM: 10,
3084
+ cacheReadPerM: 0.2,
3085
+ cacheWritePerM: 2.5,
3161
3086
  currency: "USD",
3162
3087
  unit: "per_million_tokens"
3163
3088
  }
@@ -3222,9 +3147,9 @@ var MODELS_BY_PROVIDER = {
3222
3147
  output: ["text"]
3223
3148
  },
3224
3149
  pricing: {
3225
- inputPerM: 0.55,
3226
- outputPerM: 3.2,
3227
- cacheReadPerM: 0.11,
3150
+ inputPerM: 0.65,
3151
+ outputPerM: 3.41,
3152
+ cacheReadPerM: 0.14,
3228
3153
  currency: "USD",
3229
3154
  unit: "per_million_tokens"
3230
3155
  }
@@ -3271,6 +3196,27 @@ var MODELS_BY_PROVIDER = {
3271
3196
  unit: "per_million_tokens"
3272
3197
  }
3273
3198
  },
3199
+ {
3200
+ name: "~x-ai/grok-latest",
3201
+ displayName: "Grok Latest",
3202
+ maxInputTokens: 5e5,
3203
+ supportedFileTypes: ["pdf", "image"],
3204
+ reasoning: true,
3205
+ supportsTemperature: true,
3206
+ supportsToolCall: true,
3207
+ releaseDate: "2026-07-08",
3208
+ modalities: {
3209
+ input: ["text", "image", "pdf"],
3210
+ output: ["text"]
3211
+ },
3212
+ pricing: {
3213
+ inputPerM: 2,
3214
+ outputPerM: 6,
3215
+ cacheReadPerM: 0.5,
3216
+ currency: "USD",
3217
+ unit: "per_million_tokens"
3218
+ }
3219
+ },
3274
3220
  {
3275
3221
  name: "ai21/jamba-large-1.7",
3276
3222
  displayName: "Jamba Large 1.7",
@@ -3292,62 +3238,64 @@ var MODELS_BY_PROVIDER = {
3292
3238
  }
3293
3239
  },
3294
3240
  {
3295
- name: "aion-labs/aion-1.0",
3296
- displayName: "Aion-1.0",
3241
+ name: "aion-labs/aion-2.0",
3242
+ displayName: "Aion-2.0",
3297
3243
  maxInputTokens: 131072,
3298
3244
  supportedFileTypes: [],
3299
3245
  reasoning: true,
3300
3246
  supportsTemperature: true,
3301
- supportsToolCall: false,
3302
- releaseDate: "2025-02-04",
3247
+ supportsToolCall: true,
3248
+ releaseDate: "2026-02-23",
3303
3249
  modalities: {
3304
3250
  input: ["text"],
3305
3251
  output: ["text"]
3306
3252
  },
3307
3253
  pricing: {
3308
- inputPerM: 4,
3309
- outputPerM: 8,
3254
+ inputPerM: 0.8,
3255
+ outputPerM: 1.6,
3256
+ cacheReadPerM: 0.2,
3310
3257
  currency: "USD",
3311
3258
  unit: "per_million_tokens"
3312
3259
  }
3313
3260
  },
3314
3261
  {
3315
- name: "aion-labs/aion-1.0-mini",
3316
- displayName: "Aion-1.0-Mini",
3262
+ name: "aion-labs/aion-3.0",
3263
+ displayName: "Aion-3.0",
3317
3264
  maxInputTokens: 131072,
3318
3265
  supportedFileTypes: [],
3319
3266
  reasoning: true,
3320
3267
  supportsTemperature: true,
3321
- supportsToolCall: false,
3322
- releaseDate: "2025-02-04",
3268
+ supportsToolCall: true,
3269
+ releaseDate: "2026-07-07",
3323
3270
  modalities: {
3324
3271
  input: ["text"],
3325
3272
  output: ["text"]
3326
3273
  },
3327
3274
  pricing: {
3328
- inputPerM: 0.7,
3329
- outputPerM: 1.4,
3275
+ inputPerM: 3,
3276
+ outputPerM: 6,
3277
+ cacheReadPerM: 0.75,
3330
3278
  currency: "USD",
3331
3279
  unit: "per_million_tokens"
3332
3280
  }
3333
3281
  },
3334
3282
  {
3335
- name: "aion-labs/aion-2.0",
3336
- displayName: "Aion-2.0",
3283
+ name: "aion-labs/aion-3.0-mini",
3284
+ displayName: "Aion-3.0-Mini",
3337
3285
  maxInputTokens: 131072,
3338
3286
  supportedFileTypes: [],
3339
3287
  reasoning: true,
3340
3288
  supportsTemperature: true,
3341
- supportsToolCall: false,
3342
- releaseDate: "2026-02-23",
3289
+ supportsToolCall: true,
3290
+ releaseDate: "2026-07-07",
3343
3291
  modalities: {
3344
3292
  input: ["text"],
3345
3293
  output: ["text"]
3346
3294
  },
3347
3295
  pricing: {
3348
- inputPerM: 0.8,
3349
- outputPerM: 1.6,
3350
- cacheReadPerM: 0.2,
3296
+ inputPerM: 0.7,
3297
+ outputPerM: 1.4,
3298
+ cacheReadPerM: 0.18,
3351
3299
  currency: "USD",
3352
3300
  unit: "per_million_tokens"
3353
3301
  }
@@ -3535,6 +3483,28 @@ var MODELS_BY_PROVIDER = {
3535
3483
  unit: "per_million_tokens"
3536
3484
  }
3537
3485
  },
3486
+ {
3487
+ name: "anthropic/claude-fable-5",
3488
+ displayName: "Claude Fable 5",
3489
+ maxInputTokens: 1e6,
3490
+ supportedFileTypes: ["pdf", "image"],
3491
+ reasoning: true,
3492
+ supportsTemperature: false,
3493
+ supportsToolCall: true,
3494
+ releaseDate: "2026-06-09",
3495
+ modalities: {
3496
+ input: ["text", "image", "pdf"],
3497
+ output: ["text"]
3498
+ },
3499
+ pricing: {
3500
+ inputPerM: 10,
3501
+ outputPerM: 50,
3502
+ cacheReadPerM: 1,
3503
+ cacheWritePerM: 12.5,
3504
+ currency: "USD",
3505
+ unit: "per_million_tokens"
3506
+ }
3507
+ },
3538
3508
  {
3539
3509
  name: "anthropic/claude-haiku-4.5",
3540
3510
  displayName: "Claude Haiku 4.5 (latest)",
@@ -3703,7 +3673,7 @@ var MODELS_BY_PROVIDER = {
3703
3673
  maxInputTokens: 1e6,
3704
3674
  supportedFileTypes: ["pdf", "image"],
3705
3675
  reasoning: true,
3706
- supportsTemperature: false,
3676
+ supportsTemperature: true,
3707
3677
  supportsToolCall: true,
3708
3678
  releaseDate: "2026-05-28",
3709
3679
  modalities: {
@@ -3819,6 +3789,28 @@ var MODELS_BY_PROVIDER = {
3819
3789
  unit: "per_million_tokens"
3820
3790
  }
3821
3791
  },
3792
+ {
3793
+ name: "anthropic/claude-sonnet-5",
3794
+ displayName: "Claude Sonnet 5",
3795
+ maxInputTokens: 1e6,
3796
+ supportedFileTypes: ["pdf", "image"],
3797
+ reasoning: true,
3798
+ supportsTemperature: false,
3799
+ supportsToolCall: true,
3800
+ releaseDate: "2026-06-30",
3801
+ modalities: {
3802
+ input: ["text", "image", "pdf"],
3803
+ output: ["text"]
3804
+ },
3805
+ pricing: {
3806
+ inputPerM: 2,
3807
+ outputPerM: 10,
3808
+ cacheReadPerM: 0.2,
3809
+ cacheWritePerM: 2.5,
3810
+ currency: "USD",
3811
+ unit: "per_million_tokens"
3812
+ }
3813
+ },
3822
3814
  {
3823
3815
  name: "arcee-ai/coder-large",
3824
3816
  displayName: "Coder Large",
@@ -4195,8 +4187,8 @@ var MODELS_BY_PROVIDER = {
4195
4187
  output: ["text"]
4196
4188
  },
4197
4189
  pricing: {
4198
- inputPerM: 0.2,
4199
- outputPerM: 0.77,
4190
+ inputPerM: 0.24,
4191
+ outputPerM: 0.9,
4200
4192
  cacheReadPerM: 0.135,
4201
4193
  currency: "USD",
4202
4194
  unit: "per_million_tokens"
@@ -4349,7 +4341,7 @@ var MODELS_BY_PROVIDER = {
4349
4341
  {
4350
4342
  name: "deepseek/deepseek-v4-flash",
4351
4343
  displayName: "DeepSeek V4 Flash",
4352
- maxInputTokens: 1e6,
4344
+ maxInputTokens: 1048576,
4353
4345
  supportedFileTypes: [],
4354
4346
  reasoning: true,
4355
4347
  supportsTemperature: true,
@@ -4366,7 +4358,7 @@ var MODELS_BY_PROVIDER = {
4366
4358
  pricing: {
4367
4359
  inputPerM: 0.09,
4368
4360
  outputPerM: 0.18,
4369
- cacheReadPerM: 0.02,
4361
+ cacheReadPerM: 0.018,
4370
4362
  currency: "USD",
4371
4363
  unit: "per_million_tokens"
4372
4364
  }
@@ -4464,29 +4456,6 @@ var MODELS_BY_PROVIDER = {
4464
4456
  unit: "per_million_tokens"
4465
4457
  }
4466
4458
  },
4467
- {
4468
- name: "google/gemini-2.5-flash-lite-preview-09-2025",
4469
- displayName: "Gemini 2.5 Flash Lite Preview 09-2025",
4470
- maxInputTokens: 1048576,
4471
- supportedFileTypes: ["pdf", "image", "audio", "video", "document"],
4472
- reasoning: true,
4473
- supportsTemperature: true,
4474
- supportsToolCall: true,
4475
- releaseDate: "2025-09-25",
4476
- modalities: {
4477
- input: ["text", "image", "pdf", "audio", "video"],
4478
- output: ["text"]
4479
- },
4480
- pricing: {
4481
- inputPerM: 0.1,
4482
- outputPerM: 0.4,
4483
- cacheReadPerM: 0.01,
4484
- cacheWritePerM: 0.083333,
4485
- reasoningPerM: 0.4,
4486
- currency: "USD",
4487
- unit: "per_million_tokens"
4488
- }
4489
- },
4490
4459
  {
4491
4460
  name: "google/gemini-2.5-pro",
4492
4461
  displayName: "Gemini 2.5 Pro",
@@ -4692,6 +4661,26 @@ var MODELS_BY_PROVIDER = {
4692
4661
  unit: "per_million_tokens"
4693
4662
  }
4694
4663
  },
4664
+ {
4665
+ name: "google/gemini-3.1-flash-lite-image",
4666
+ displayName: "Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)",
4667
+ maxInputTokens: 65536,
4668
+ supportedFileTypes: ["image", "document"],
4669
+ reasoning: true,
4670
+ supportsTemperature: true,
4671
+ supportsToolCall: false,
4672
+ releaseDate: "2026-06-30",
4673
+ modalities: {
4674
+ input: ["image", "text"],
4675
+ output: ["image", "text"]
4676
+ },
4677
+ pricing: {
4678
+ inputPerM: 0.25,
4679
+ outputPerM: 1.5,
4680
+ currency: "USD",
4681
+ unit: "per_million_tokens"
4682
+ }
4683
+ },
4695
4684
  {
4696
4685
  name: "google/gemini-3.1-flash-lite-preview",
4697
4686
  displayName: "Gemini 3.1 Flash Lite Preview",
@@ -5227,26 +5216,6 @@ var MODELS_BY_PROVIDER = {
5227
5216
  unit: "per_million_tokens"
5228
5217
  }
5229
5218
  },
5230
- {
5231
- name: "liquid/lfm-2-24b-a2b",
5232
- displayName: "LFM2-24B-A2B",
5233
- maxInputTokens: 32768,
5234
- supportedFileTypes: [],
5235
- reasoning: false,
5236
- supportsTemperature: true,
5237
- supportsToolCall: false,
5238
- releaseDate: "2026-02-25",
5239
- modalities: {
5240
- input: ["text"],
5241
- output: ["text"]
5242
- },
5243
- pricing: {
5244
- inputPerM: 0.03,
5245
- outputPerM: 0.12,
5246
- currency: "USD",
5247
- unit: "per_million_tokens"
5248
- }
5249
- },
5250
5219
  {
5251
5220
  name: "liquid/lfm-2.5-1.2b-instruct:free",
5252
5221
  displayName: "LFM2.5-1.2B-Instruct (free)",
@@ -5410,7 +5379,7 @@ var MODELS_BY_PROVIDER = {
5410
5379
  {
5411
5380
  name: "meta-llama/llama-3.2-3b-instruct",
5412
5381
  displayName: "Llama 3.2 3B Instruct",
5413
- maxInputTokens: 8e4,
5382
+ maxInputTokens: 131072,
5414
5383
  supportedFileTypes: [],
5415
5384
  reasoning: false,
5416
5385
  supportsTemperature: true,
@@ -5421,8 +5390,8 @@ var MODELS_BY_PROVIDER = {
5421
5390
  output: ["text"]
5422
5391
  },
5423
5392
  pricing: {
5424
- inputPerM: 0.0509,
5425
- outputPerM: 0.335,
5393
+ inputPerM: 0.05,
5394
+ outputPerM: 0.33,
5426
5395
  currency: "USD",
5427
5396
  unit: "per_million_tokens"
5428
5397
  }
@@ -5567,27 +5536,6 @@ var MODELS_BY_PROVIDER = {
5567
5536
  unit: "per_million_tokens"
5568
5537
  }
5569
5538
  },
5570
- {
5571
- name: "microsoft/phi-4-mini-instruct",
5572
- displayName: "Phi 4 Mini Instruct",
5573
- maxInputTokens: 128e3,
5574
- supportedFileTypes: [],
5575
- reasoning: false,
5576
- supportsTemperature: true,
5577
- supportsToolCall: false,
5578
- releaseDate: "2025-10-17",
5579
- modalities: {
5580
- input: ["text"],
5581
- output: ["text"]
5582
- },
5583
- pricing: {
5584
- inputPerM: 0.08,
5585
- outputPerM: 0.35,
5586
- cacheReadPerM: 0.08,
5587
- currency: "USD",
5588
- unit: "per_million_tokens"
5589
- }
5590
- },
5591
5539
  {
5592
5540
  name: "microsoft/wizardlm-2-8x22b",
5593
5541
  displayName: "WizardLM-2 8x22B",
@@ -5651,7 +5599,7 @@ var MODELS_BY_PROVIDER = {
5651
5599
  {
5652
5600
  name: "minimax/minimax-m2",
5653
5601
  displayName: "MiniMax-M2",
5654
- maxInputTokens: 196608,
5602
+ maxInputTokens: 204800,
5655
5603
  supportedFileTypes: [],
5656
5604
  reasoning: true,
5657
5605
  supportsTemperature: true,
@@ -5667,8 +5615,7 @@ var MODELS_BY_PROVIDER = {
5667
5615
  supportsInterleaved: true,
5668
5616
  pricing: {
5669
5617
  inputPerM: 0.255,
5670
- outputPerM: 1,
5671
- cacheReadPerM: 0.03,
5618
+ outputPerM: 1.02,
5672
5619
  currency: "USD",
5673
5620
  unit: "per_million_tokens"
5674
5621
  }
@@ -5697,7 +5644,7 @@ var MODELS_BY_PROVIDER = {
5697
5644
  {
5698
5645
  name: "minimax/minimax-m2.1",
5699
5646
  displayName: "MiniMax-M2.1",
5700
- maxInputTokens: 196608,
5647
+ maxInputTokens: 204800,
5701
5648
  supportedFileTypes: [],
5702
5649
  reasoning: true,
5703
5650
  supportsTemperature: true,
@@ -5712,8 +5659,8 @@ var MODELS_BY_PROVIDER = {
5712
5659
  },
5713
5660
  supportsInterleaved: true,
5714
5661
  pricing: {
5715
- inputPerM: 0.29,
5716
- outputPerM: 0.95,
5662
+ inputPerM: 0.3,
5663
+ outputPerM: 1.2,
5717
5664
  cacheReadPerM: 0.03,
5718
5665
  currency: "USD",
5719
5666
  unit: "per_million_tokens"
@@ -5737,8 +5684,9 @@ var MODELS_BY_PROVIDER = {
5737
5684
  },
5738
5685
  supportsInterleaved: true,
5739
5686
  pricing: {
5740
- inputPerM: 0.12,
5741
- outputPerM: 0.48,
5687
+ inputPerM: 0.15,
5688
+ outputPerM: 0.9,
5689
+ cacheReadPerM: 0.05,
5742
5690
  currency: "USD",
5743
5691
  unit: "per_million_tokens"
5744
5692
  }
@@ -5757,8 +5705,8 @@ var MODELS_BY_PROVIDER = {
5757
5705
  output: ["text"]
5758
5706
  },
5759
5707
  pricing: {
5760
- inputPerM: 0.18,
5761
- outputPerM: 0.72,
5708
+ inputPerM: 0.24,
5709
+ outputPerM: 0.96,
5762
5710
  currency: "USD",
5763
5711
  unit: "per_million_tokens"
5764
5712
  }
@@ -6239,7 +6187,7 @@ var MODELS_BY_PROVIDER = {
6239
6187
  pricing: {
6240
6188
  inputPerM: 0.6,
6241
6189
  outputPerM: 2.5,
6242
- cacheReadPerM: 0.6,
6190
+ cacheReadPerM: 0.15,
6243
6191
  currency: "USD",
6244
6192
  unit: "per_million_tokens"
6245
6193
  }
@@ -6264,6 +6212,7 @@ var MODELS_BY_PROVIDER = {
6264
6212
  pricing: {
6265
6213
  inputPerM: 0.375,
6266
6214
  outputPerM: 2.025,
6215
+ cacheReadPerM: 0.203,
6267
6216
  currency: "USD",
6268
6217
  unit: "per_million_tokens"
6269
6218
  }
@@ -6286,9 +6235,9 @@ var MODELS_BY_PROVIDER = {
6286
6235
  },
6287
6236
  supportsInterleaved: true,
6288
6237
  pricing: {
6289
- inputPerM: 0.55,
6290
- outputPerM: 3.2,
6291
- cacheReadPerM: 0.11,
6238
+ inputPerM: 0.65,
6239
+ outputPerM: 3.41,
6240
+ cacheReadPerM: 0.14,
6292
6241
  currency: "USD",
6293
6242
  unit: "per_million_tokens"
6294
6243
  }
@@ -6307,7 +6256,7 @@ var MODELS_BY_PROVIDER = {
6307
6256
  output: ["text"]
6308
6257
  },
6309
6258
  pricing: {
6310
- inputPerM: 0.74,
6259
+ inputPerM: 0.72,
6311
6260
  outputPerM: 3.5,
6312
6261
  cacheReadPerM: 0.15,
6313
6262
  currency: "USD",
@@ -6335,21 +6284,42 @@ var MODELS_BY_PROVIDER = {
6335
6284
  }
6336
6285
  },
6337
6286
  {
6338
- name: "morph/morph-v3-large",
6339
- displayName: "Morph V3 Large",
6287
+ name: "morph/morph-v3-large",
6288
+ displayName: "Morph V3 Large",
6289
+ maxInputTokens: 262144,
6290
+ supportedFileTypes: [],
6291
+ reasoning: false,
6292
+ supportsTemperature: true,
6293
+ supportsToolCall: false,
6294
+ releaseDate: "2025-07-07",
6295
+ modalities: {
6296
+ input: ["text"],
6297
+ output: ["text"]
6298
+ },
6299
+ pricing: {
6300
+ inputPerM: 0.9,
6301
+ outputPerM: 1.9,
6302
+ currency: "USD",
6303
+ unit: "per_million_tokens"
6304
+ }
6305
+ },
6306
+ {
6307
+ name: "nex-agi/nex-n2-mini",
6308
+ displayName: "Nex-N2-Mini",
6340
6309
  maxInputTokens: 262144,
6341
- supportedFileTypes: [],
6342
- reasoning: false,
6310
+ supportedFileTypes: ["image"],
6311
+ reasoning: true,
6343
6312
  supportsTemperature: true,
6344
- supportsToolCall: false,
6345
- releaseDate: "2025-07-07",
6313
+ supportsToolCall: true,
6314
+ releaseDate: "2026-06-24",
6346
6315
  modalities: {
6347
- input: ["text"],
6316
+ input: ["text", "image"],
6348
6317
  output: ["text"]
6349
6318
  },
6350
6319
  pricing: {
6351
- inputPerM: 0.9,
6352
- outputPerM: 1.9,
6320
+ inputPerM: 0.025,
6321
+ outputPerM: 0.1,
6322
+ cacheReadPerM: 25e-4,
6353
6323
  currency: "USD",
6354
6324
  unit: "per_million_tokens"
6355
6325
  }
@@ -6361,7 +6331,7 @@ var MODELS_BY_PROVIDER = {
6361
6331
  supportedFileTypes: ["image"],
6362
6332
  reasoning: true,
6363
6333
  supportsTemperature: true,
6364
- supportsToolCall: false,
6334
+ supportsToolCall: true,
6365
6335
  releaseDate: "2026-06-08",
6366
6336
  modalities: {
6367
6337
  input: ["text", "image"],
@@ -6569,8 +6539,8 @@ var MODELS_BY_PROVIDER = {
6569
6539
  output: ["text"]
6570
6540
  },
6571
6541
  pricing: {
6572
- inputPerM: 0.085,
6573
- outputPerM: 0.4,
6542
+ inputPerM: 0.08,
6543
+ outputPerM: 0.45,
6574
6544
  currency: "USD",
6575
6545
  unit: "per_million_tokens"
6576
6546
  }
@@ -7680,8 +7650,8 @@ var MODELS_BY_PROVIDER = {
7680
7650
  output: ["text"]
7681
7651
  },
7682
7652
  pricing: {
7683
- inputPerM: 0.03,
7684
- outputPerM: 0.15,
7653
+ inputPerM: 0.036,
7654
+ outputPerM: 0.18,
7685
7655
  currency: "USD",
7686
7656
  unit: "per_million_tokens"
7687
7657
  }
@@ -7708,7 +7678,7 @@ var MODELS_BY_PROVIDER = {
7708
7678
  },
7709
7679
  {
7710
7680
  name: "openai/gpt-oss-20b",
7711
- displayName: "gpt-oss-20b",
7681
+ displayName: "GPT OSS 20B",
7712
7682
  maxInputTokens: 131072,
7713
7683
  supportedFileTypes: [],
7714
7684
  reasoning: true,
@@ -8218,43 +8188,39 @@ var MODELS_BY_PROVIDER = {
8218
8188
  }
8219
8189
  },
8220
8190
  {
8221
- name: "poolside/laguna-xs.2",
8222
- displayName: "Laguna XS.2",
8191
+ name: "poolside/laguna-xs-2.1",
8192
+ displayName: "Laguna XS 2.1",
8223
8193
  maxInputTokens: 262144,
8224
8194
  supportedFileTypes: [],
8225
8195
  reasoning: true,
8226
8196
  supportsTemperature: true,
8227
8197
  supportsToolCall: true,
8228
- releaseDate: "2026-04-28",
8198
+ releaseDate: "2026-07-02",
8229
8199
  modalities: {
8230
8200
  input: ["text"],
8231
8201
  output: ["text"]
8232
8202
  },
8233
8203
  pricing: {
8234
- inputPerM: 0.1,
8235
- outputPerM: 0.2,
8236
- cacheReadPerM: 0.05,
8204
+ inputPerM: 0.06,
8205
+ outputPerM: 0.12,
8206
+ cacheReadPerM: 0.03,
8237
8207
  currency: "USD",
8238
8208
  unit: "per_million_tokens"
8239
8209
  }
8240
8210
  },
8241
8211
  {
8242
- name: "poolside/laguna-xs.2:free",
8243
- displayName: "Laguna XS.2 (free)",
8212
+ name: "poolside/laguna-xs-2.1:free",
8213
+ displayName: "Laguna XS 2.1 (free)",
8244
8214
  maxInputTokens: 262144,
8245
8215
  supportedFileTypes: [],
8246
8216
  reasoning: true,
8247
8217
  supportsTemperature: true,
8248
8218
  supportsToolCall: true,
8249
- releaseDate: "2026-04-28",
8219
+ releaseDate: "2026-07-02",
8250
8220
  modalities: {
8251
8221
  input: ["text"],
8252
8222
  output: ["text"]
8253
8223
  },
8254
- interleaved: {
8255
- field: "reasoning_content"
8256
- },
8257
- supportsInterleaved: true,
8258
8224
  pricing: {
8259
8225
  inputPerM: 0,
8260
8226
  outputPerM: 0,
@@ -8469,7 +8435,7 @@ var MODELS_BY_PROVIDER = {
8469
8435
  {
8470
8436
  name: "qwen/qwen3-235b-a22b-thinking-2507",
8471
8437
  displayName: "Qwen3 235B A22B Thinking 2507",
8472
- maxInputTokens: 262144,
8438
+ maxInputTokens: 131072,
8473
8439
  supportedFileTypes: [],
8474
8440
  reasoning: true,
8475
8441
  supportsTemperature: true,
@@ -8480,9 +8446,8 @@ var MODELS_BY_PROVIDER = {
8480
8446
  output: ["text"]
8481
8447
  },
8482
8448
  pricing: {
8483
- inputPerM: 0.1,
8484
- outputPerM: 0.1,
8485
- cacheReadPerM: 0.1,
8449
+ inputPerM: 0.1495,
8450
+ outputPerM: 1.495,
8486
8451
  currency: "USD",
8487
8452
  unit: "per_million_tokens"
8488
8453
  }
@@ -8530,7 +8495,7 @@ var MODELS_BY_PROVIDER = {
8530
8495
  {
8531
8496
  name: "qwen/qwen3-30b-a3b-thinking-2507",
8532
8497
  displayName: "Qwen3 30B A3B Thinking 2507",
8533
- maxInputTokens: 131072,
8498
+ maxInputTokens: 81920,
8534
8499
  supportedFileTypes: [],
8535
8500
  reasoning: true,
8536
8501
  supportsTemperature: true,
@@ -8541,9 +8506,8 @@ var MODELS_BY_PROVIDER = {
8541
8506
  output: ["text"]
8542
8507
  },
8543
8508
  pricing: {
8544
- inputPerM: 0.08,
8545
- outputPerM: 0.4,
8546
- cacheReadPerM: 0.08,
8509
+ inputPerM: 0.13,
8510
+ outputPerM: 1.56,
8547
8511
  currency: "USD",
8548
8512
  unit: "per_million_tokens"
8549
8513
  }
@@ -8571,7 +8535,7 @@ var MODELS_BY_PROVIDER = {
8571
8535
  {
8572
8536
  name: "qwen/qwen3-8b",
8573
8537
  displayName: "Qwen3 8B",
8574
- maxInputTokens: 40960,
8538
+ maxInputTokens: 131072,
8575
8539
  supportedFileTypes: [],
8576
8540
  reasoning: true,
8577
8541
  supportsTemperature: true,
@@ -8582,9 +8546,8 @@ var MODELS_BY_PROVIDER = {
8582
8546
  output: ["text"]
8583
8547
  },
8584
8548
  pricing: {
8585
- inputPerM: 0.05,
8586
- outputPerM: 0.4,
8587
- cacheReadPerM: 0.05,
8549
+ inputPerM: 0.117,
8550
+ outputPerM: 0.455,
8588
8551
  currency: "USD",
8589
8552
  unit: "per_million_tokens"
8590
8553
  }
@@ -8931,8 +8894,8 @@ var MODELS_BY_PROVIDER = {
8931
8894
  output: ["text"]
8932
8895
  },
8933
8896
  pricing: {
8934
- inputPerM: 0.08,
8935
- outputPerM: 0.5,
8897
+ inputPerM: 0.117,
8898
+ outputPerM: 0.455,
8936
8899
  currency: "USD",
8937
8900
  unit: "per_million_tokens"
8938
8901
  }
@@ -9034,6 +8997,7 @@ var MODELS_BY_PROVIDER = {
9034
8997
  pricing: {
9035
8998
  inputPerM: 0.385,
9036
8999
  outputPerM: 2.45,
9000
+ cacheReadPerM: 0.111,
9037
9001
  currency: "USD",
9038
9002
  unit: "per_million_tokens"
9039
9003
  }
@@ -9135,6 +9099,7 @@ var MODELS_BY_PROVIDER = {
9135
9099
  pricing: {
9136
9100
  inputPerM: 0.285,
9137
9101
  outputPerM: 2.4,
9102
+ cacheReadPerM: 0.15,
9138
9103
  currency: "USD",
9139
9104
  unit: "per_million_tokens"
9140
9105
  }
@@ -9489,41 +9454,42 @@ var MODELS_BY_PROVIDER = {
9489
9454
  }
9490
9455
  },
9491
9456
  {
9492
- name: "switchpoint/router",
9493
- displayName: "Switchpoint Router",
9457
+ name: "tencent/hunyuan-a13b-instruct",
9458
+ displayName: "Hunyuan A13B Instruct",
9494
9459
  maxInputTokens: 131072,
9495
9460
  supportedFileTypes: [],
9496
9461
  reasoning: true,
9497
9462
  supportsTemperature: true,
9498
9463
  supportsToolCall: false,
9499
- releaseDate: "2025-07-11",
9464
+ releaseDate: "2025-07-08",
9500
9465
  modalities: {
9501
9466
  input: ["text"],
9502
9467
  output: ["text"]
9503
9468
  },
9504
9469
  pricing: {
9505
- inputPerM: 0.85,
9506
- outputPerM: 3.4,
9470
+ inputPerM: 0.14,
9471
+ outputPerM: 0.57,
9507
9472
  currency: "USD",
9508
9473
  unit: "per_million_tokens"
9509
9474
  }
9510
9475
  },
9511
9476
  {
9512
- name: "tencent/hunyuan-a13b-instruct",
9513
- displayName: "Hunyuan A13B Instruct",
9514
- maxInputTokens: 131072,
9477
+ name: "tencent/hy3",
9478
+ displayName: "Hy3",
9479
+ maxInputTokens: 262144,
9515
9480
  supportedFileTypes: [],
9516
9481
  reasoning: true,
9517
9482
  supportsTemperature: true,
9518
- supportsToolCall: false,
9519
- releaseDate: "2025-07-08",
9483
+ supportsToolCall: true,
9484
+ releaseDate: "2026-07-06",
9520
9485
  modalities: {
9521
9486
  input: ["text"],
9522
9487
  output: ["text"]
9523
9488
  },
9524
9489
  pricing: {
9525
9490
  inputPerM: 0.14,
9526
- outputPerM: 0.57,
9491
+ outputPerM: 0.58,
9492
+ cacheReadPerM: 0.035,
9527
9493
  currency: "USD",
9528
9494
  unit: "per_million_tokens"
9529
9495
  }
@@ -9549,6 +9515,26 @@ var MODELS_BY_PROVIDER = {
9549
9515
  unit: "per_million_tokens"
9550
9516
  }
9551
9517
  },
9518
+ {
9519
+ name: "tencent/hy3:free",
9520
+ displayName: "Hy3 (free)",
9521
+ maxInputTokens: 262144,
9522
+ supportedFileTypes: [],
9523
+ reasoning: true,
9524
+ supportsTemperature: true,
9525
+ supportsToolCall: true,
9526
+ releaseDate: "2026-07-06",
9527
+ modalities: {
9528
+ input: ["text"],
9529
+ output: ["text"]
9530
+ },
9531
+ pricing: {
9532
+ inputPerM: 0,
9533
+ outputPerM: 0,
9534
+ currency: "USD",
9535
+ unit: "per_million_tokens"
9536
+ }
9537
+ },
9552
9538
  {
9553
9539
  name: "thedrummer/cydonia-24b-v4.1",
9554
9540
  displayName: "Cydonia 24B V4.1",
@@ -9573,7 +9559,7 @@ var MODELS_BY_PROVIDER = {
9573
9559
  {
9574
9560
  name: "thedrummer/rocinante-12b",
9575
9561
  displayName: "Rocinante 12B",
9576
- maxInputTokens: 32768,
9562
+ maxInputTokens: 65536,
9577
9563
  supportedFileTypes: [],
9578
9564
  reasoning: false,
9579
9565
  supportsTemperature: true,
@@ -9759,17 +9745,42 @@ var MODELS_BY_PROVIDER = {
9759
9745
  unit: "per_million_tokens"
9760
9746
  }
9761
9747
  },
9748
+ {
9749
+ name: "x-ai/grok-4.5",
9750
+ displayName: "Grok 4.5",
9751
+ maxInputTokens: 5e5,
9752
+ supportedFileTypes: ["pdf", "image"],
9753
+ reasoning: true,
9754
+ supportsTemperature: true,
9755
+ supportsToolCall: true,
9756
+ releaseDate: "2026-07-08",
9757
+ modalities: {
9758
+ input: ["text", "image", "pdf"],
9759
+ output: ["text"]
9760
+ },
9761
+ pricing: {
9762
+ inputPerM: 2,
9763
+ outputPerM: 6,
9764
+ cacheReadPerM: 0.5,
9765
+ contextOver200kPerM: {
9766
+ inputPerM: 4,
9767
+ outputPerM: 12
9768
+ },
9769
+ currency: "USD",
9770
+ unit: "per_million_tokens"
9771
+ }
9772
+ },
9762
9773
  {
9763
9774
  name: "x-ai/grok-build-0.1",
9764
9775
  displayName: "Grok Build 0.1",
9765
9776
  maxInputTokens: 256e3,
9766
- supportedFileTypes: ["image"],
9777
+ supportedFileTypes: ["pdf", "image"],
9767
9778
  reasoning: true,
9768
9779
  supportsTemperature: true,
9769
9780
  supportsToolCall: true,
9770
9781
  releaseDate: "2026-04-16",
9771
9782
  modalities: {
9772
- input: ["text", "image"],
9783
+ input: ["text", "image", "pdf"],
9773
9784
  output: ["text"]
9774
9785
  },
9775
9786
  pricing: {
@@ -9800,6 +9811,7 @@ var MODELS_BY_PROVIDER = {
9800
9811
  pricing: {
9801
9812
  inputPerM: 0.105,
9802
9813
  outputPerM: 0.28,
9814
+ cacheReadPerM: 0.028,
9803
9815
  currency: "USD",
9804
9816
  unit: "per_million_tokens"
9805
9817
  }
@@ -10037,7 +10049,7 @@ var MODELS_BY_PROVIDER = {
10037
10049
  {
10038
10050
  name: "z-ai/glm-5.1",
10039
10051
  displayName: "GLM-5.1",
10040
- maxInputTokens: 65536,
10052
+ maxInputTokens: 2e5,
10041
10053
  supportedFileTypes: [],
10042
10054
  reasoning: true,
10043
10055
  supportsTemperature: true,
@@ -10052,8 +10064,9 @@ var MODELS_BY_PROVIDER = {
10052
10064
  },
10053
10065
  supportsInterleaved: true,
10054
10066
  pricing: {
10055
- inputPerM: 0.975,
10056
- outputPerM: 4.3,
10067
+ inputPerM: 0.966,
10068
+ outputPerM: 3.036,
10069
+ cacheReadPerM: 0.1794,
10057
10070
  currency: "USD",
10058
10071
  unit: "per_million_tokens"
10059
10072
  }
@@ -10061,7 +10074,7 @@ var MODELS_BY_PROVIDER = {
10061
10074
  {
10062
10075
  name: "z-ai/glm-5.2",
10063
10076
  displayName: "GLM-5.2",
10064
- maxInputTokens: 1048576,
10077
+ maxInputTokens: 1024e3,
10065
10078
  supportedFileTypes: [],
10066
10079
  reasoning: true,
10067
10080
  supportsTemperature: true,
@@ -10076,9 +10089,9 @@ var MODELS_BY_PROVIDER = {
10076
10089
  },
10077
10090
  supportsInterleaved: true,
10078
10091
  pricing: {
10079
- inputPerM: 0.94,
10080
- outputPerM: 3,
10081
- cacheReadPerM: 0.18,
10092
+ inputPerM: 0.546,
10093
+ outputPerM: 1.716,
10094
+ cacheReadPerM: 0.1014,
10082
10095
  currency: "USD",
10083
10096
  unit: "per_million_tokens"
10084
10097
  }
@@ -11071,6 +11084,28 @@ var MODELS_BY_PROVIDER = {
11071
11084
  unit: "per_million_tokens"
11072
11085
  }
11073
11086
  },
11087
+ {
11088
+ name: "anthropic.claude-fable-5",
11089
+ displayName: "Claude Fable 5",
11090
+ maxInputTokens: 1e6,
11091
+ supportedFileTypes: ["pdf", "image"],
11092
+ reasoning: true,
11093
+ supportsTemperature: false,
11094
+ supportsToolCall: true,
11095
+ releaseDate: "2026-06-09",
11096
+ modalities: {
11097
+ input: ["text", "image", "pdf"],
11098
+ output: ["text"]
11099
+ },
11100
+ pricing: {
11101
+ inputPerM: 10,
11102
+ outputPerM: 50,
11103
+ cacheReadPerM: 1,
11104
+ cacheWritePerM: 12.5,
11105
+ currency: "USD",
11106
+ unit: "per_million_tokens"
11107
+ }
11108
+ },
11074
11109
  {
11075
11110
  name: "anthropic.claude-haiku-4-5-20251001-v1:0",
11076
11111
  displayName: "Claude Haiku 4.5",
@@ -11466,13 +11501,13 @@ var MODELS_BY_PROVIDER = {
11466
11501
  name: "eu.anthropic.claude-fable-5",
11467
11502
  displayName: "Claude Fable 5 (EU)",
11468
11503
  maxInputTokens: 1e6,
11469
- supportedFileTypes: ["image"],
11504
+ supportedFileTypes: ["pdf", "image"],
11470
11505
  reasoning: true,
11471
11506
  supportsTemperature: false,
11472
11507
  supportsToolCall: true,
11473
11508
  releaseDate: "2026-06-09",
11474
11509
  modalities: {
11475
- input: ["text", "image"],
11510
+ input: ["text", "image", "pdf"],
11476
11511
  output: ["text"]
11477
11512
  },
11478
11513
  pricing: {
@@ -11664,13 +11699,13 @@ var MODELS_BY_PROVIDER = {
11664
11699
  name: "global.anthropic.claude-fable-5",
11665
11700
  displayName: "Claude Fable 5 (Global)",
11666
11701
  maxInputTokens: 1e6,
11667
- supportedFileTypes: ["image"],
11702
+ supportedFileTypes: ["pdf", "image"],
11668
11703
  reasoning: true,
11669
11704
  supportsTemperature: false,
11670
11705
  supportsToolCall: true,
11671
11706
  releaseDate: "2026-06-09",
11672
11707
  modalities: {
11673
- input: ["text", "image"],
11708
+ input: ["text", "image", "pdf"],
11674
11709
  output: ["text"]
11675
11710
  },
11676
11711
  pricing: {
@@ -11918,6 +11953,28 @@ var MODELS_BY_PROVIDER = {
11918
11953
  unit: "per_million_tokens"
11919
11954
  }
11920
11955
  },
11956
+ {
11957
+ name: "jp.anthropic.claude-haiku-4-5-20251001-v1:0",
11958
+ displayName: "Claude Haiku 4.5 (JP)",
11959
+ maxInputTokens: 2e5,
11960
+ supportedFileTypes: ["pdf", "image"],
11961
+ reasoning: true,
11962
+ supportsTemperature: true,
11963
+ supportsToolCall: true,
11964
+ releaseDate: "2025-10-15",
11965
+ modalities: {
11966
+ input: ["text", "image", "pdf"],
11967
+ output: ["text"]
11968
+ },
11969
+ pricing: {
11970
+ inputPerM: 1,
11971
+ outputPerM: 5,
11972
+ cacheReadPerM: 0.1,
11973
+ cacheWritePerM: 1.25,
11974
+ currency: "USD",
11975
+ unit: "per_million_tokens"
11976
+ }
11977
+ },
11921
11978
  {
11922
11979
  name: "jp.anthropic.claude-opus-4-7",
11923
11980
  displayName: "Claude Opus 4.7 (JP)",
@@ -12814,13 +12871,13 @@ var MODELS_BY_PROVIDER = {
12814
12871
  name: "us.anthropic.claude-fable-5",
12815
12872
  displayName: "Claude Fable 5 (US)",
12816
12873
  maxInputTokens: 1e6,
12817
- supportedFileTypes: ["image"],
12874
+ supportedFileTypes: ["pdf", "image"],
12818
12875
  reasoning: true,
12819
12876
  supportsTemperature: false,
12820
12877
  supportsToolCall: true,
12821
12878
  releaseDate: "2026-06-09",
12822
12879
  modalities: {
12823
- input: ["text", "image"],
12880
+ input: ["text", "image", "pdf"],
12824
12881
  output: ["text"]
12825
12882
  },
12826
12883
  pricing: {
@@ -13277,7 +13334,7 @@ var MODELS_BY_PROVIDER = {
13277
13334
  maxInputTokens: 1e6,
13278
13335
  supportedFileTypes: ["pdf", "image"],
13279
13336
  reasoning: true,
13280
- supportsTemperature: false,
13337
+ supportsTemperature: true,
13281
13338
  supportsToolCall: true,
13282
13339
  releaseDate: "2026-04-21",
13283
13340
  modalities: {
@@ -13299,7 +13356,7 @@ var MODELS_BY_PROVIDER = {
13299
13356
  maxInputTokens: 1e6,
13300
13357
  supportedFileTypes: ["pdf", "image"],
13301
13358
  reasoning: true,
13302
- supportsTemperature: true,
13359
+ supportsTemperature: false,
13303
13360
  supportsToolCall: true,
13304
13361
  releaseDate: "2026-04-27",
13305
13362
  modalities: {
@@ -13307,10 +13364,10 @@ var MODELS_BY_PROVIDER = {
13307
13364
  output: ["text"]
13308
13365
  },
13309
13366
  pricing: {
13310
- inputPerM: 3,
13311
- outputPerM: 15,
13312
- cacheReadPerM: 0.3,
13313
- cacheWritePerM: 3.75,
13367
+ inputPerM: 2,
13368
+ outputPerM: 10,
13369
+ cacheReadPerM: 0.2,
13370
+ cacheWritePerM: 2.5,
13314
13371
  currency: "USD",
13315
13372
  unit: "per_million_tokens"
13316
13373
  }
@@ -13375,9 +13432,9 @@ var MODELS_BY_PROVIDER = {
13375
13432
  output: ["text"]
13376
13433
  },
13377
13434
  pricing: {
13378
- inputPerM: 0.55,
13379
- outputPerM: 3.2,
13380
- cacheReadPerM: 0.11,
13435
+ inputPerM: 0.65,
13436
+ outputPerM: 3.41,
13437
+ cacheReadPerM: 0.14,
13381
13438
  currency: "USD",
13382
13439
  unit: "per_million_tokens"
13383
13440
  }
@@ -13424,6 +13481,27 @@ var MODELS_BY_PROVIDER = {
13424
13481
  unit: "per_million_tokens"
13425
13482
  }
13426
13483
  },
13484
+ {
13485
+ name: "~x-ai/grok-latest",
13486
+ displayName: "Grok Latest",
13487
+ maxInputTokens: 5e5,
13488
+ supportedFileTypes: ["pdf", "image"],
13489
+ reasoning: true,
13490
+ supportsTemperature: true,
13491
+ supportsToolCall: true,
13492
+ releaseDate: "2026-07-08",
13493
+ modalities: {
13494
+ input: ["text", "image", "pdf"],
13495
+ output: ["text"]
13496
+ },
13497
+ pricing: {
13498
+ inputPerM: 2,
13499
+ outputPerM: 6,
13500
+ cacheReadPerM: 0.5,
13501
+ currency: "USD",
13502
+ unit: "per_million_tokens"
13503
+ }
13504
+ },
13427
13505
  {
13428
13506
  name: "ai21/jamba-large-1.7",
13429
13507
  displayName: "Jamba Large 1.7",
@@ -13445,62 +13523,64 @@ var MODELS_BY_PROVIDER = {
13445
13523
  }
13446
13524
  },
13447
13525
  {
13448
- name: "aion-labs/aion-1.0",
13449
- displayName: "Aion-1.0",
13526
+ name: "aion-labs/aion-2.0",
13527
+ displayName: "Aion-2.0",
13450
13528
  maxInputTokens: 131072,
13451
13529
  supportedFileTypes: [],
13452
13530
  reasoning: true,
13453
13531
  supportsTemperature: true,
13454
- supportsToolCall: false,
13455
- releaseDate: "2025-02-04",
13532
+ supportsToolCall: true,
13533
+ releaseDate: "2026-02-23",
13456
13534
  modalities: {
13457
13535
  input: ["text"],
13458
13536
  output: ["text"]
13459
13537
  },
13460
13538
  pricing: {
13461
- inputPerM: 4,
13462
- outputPerM: 8,
13539
+ inputPerM: 0.8,
13540
+ outputPerM: 1.6,
13541
+ cacheReadPerM: 0.2,
13463
13542
  currency: "USD",
13464
13543
  unit: "per_million_tokens"
13465
13544
  }
13466
13545
  },
13467
13546
  {
13468
- name: "aion-labs/aion-1.0-mini",
13469
- displayName: "Aion-1.0-Mini",
13547
+ name: "aion-labs/aion-3.0",
13548
+ displayName: "Aion-3.0",
13470
13549
  maxInputTokens: 131072,
13471
13550
  supportedFileTypes: [],
13472
13551
  reasoning: true,
13473
13552
  supportsTemperature: true,
13474
- supportsToolCall: false,
13475
- releaseDate: "2025-02-04",
13553
+ supportsToolCall: true,
13554
+ releaseDate: "2026-07-07",
13476
13555
  modalities: {
13477
13556
  input: ["text"],
13478
13557
  output: ["text"]
13479
13558
  },
13480
13559
  pricing: {
13481
- inputPerM: 0.7,
13482
- outputPerM: 1.4,
13560
+ inputPerM: 3,
13561
+ outputPerM: 6,
13562
+ cacheReadPerM: 0.75,
13483
13563
  currency: "USD",
13484
13564
  unit: "per_million_tokens"
13485
13565
  }
13486
13566
  },
13487
13567
  {
13488
- name: "aion-labs/aion-2.0",
13489
- displayName: "Aion-2.0",
13568
+ name: "aion-labs/aion-3.0-mini",
13569
+ displayName: "Aion-3.0-Mini",
13490
13570
  maxInputTokens: 131072,
13491
13571
  supportedFileTypes: [],
13492
13572
  reasoning: true,
13493
13573
  supportsTemperature: true,
13494
- supportsToolCall: false,
13495
- releaseDate: "2026-02-23",
13574
+ supportsToolCall: true,
13575
+ releaseDate: "2026-07-07",
13496
13576
  modalities: {
13497
13577
  input: ["text"],
13498
13578
  output: ["text"]
13499
13579
  },
13500
13580
  pricing: {
13501
- inputPerM: 0.8,
13502
- outputPerM: 1.6,
13503
- cacheReadPerM: 0.2,
13581
+ inputPerM: 0.7,
13582
+ outputPerM: 1.4,
13583
+ cacheReadPerM: 0.18,
13504
13584
  currency: "USD",
13505
13585
  unit: "per_million_tokens"
13506
13586
  }
@@ -13688,6 +13768,28 @@ var MODELS_BY_PROVIDER = {
13688
13768
  unit: "per_million_tokens"
13689
13769
  }
13690
13770
  },
13771
+ {
13772
+ name: "anthropic/claude-fable-5",
13773
+ displayName: "Claude Fable 5",
13774
+ maxInputTokens: 1e6,
13775
+ supportedFileTypes: ["pdf", "image"],
13776
+ reasoning: true,
13777
+ supportsTemperature: false,
13778
+ supportsToolCall: true,
13779
+ releaseDate: "2026-06-09",
13780
+ modalities: {
13781
+ input: ["text", "image", "pdf"],
13782
+ output: ["text"]
13783
+ },
13784
+ pricing: {
13785
+ inputPerM: 10,
13786
+ outputPerM: 50,
13787
+ cacheReadPerM: 1,
13788
+ cacheWritePerM: 12.5,
13789
+ currency: "USD",
13790
+ unit: "per_million_tokens"
13791
+ }
13792
+ },
13691
13793
  {
13692
13794
  name: "anthropic/claude-haiku-4.5",
13693
13795
  displayName: "Claude Haiku 4.5 (latest)",
@@ -13856,7 +13958,7 @@ var MODELS_BY_PROVIDER = {
13856
13958
  maxInputTokens: 1e6,
13857
13959
  supportedFileTypes: ["pdf", "image"],
13858
13960
  reasoning: true,
13859
- supportsTemperature: false,
13961
+ supportsTemperature: true,
13860
13962
  supportsToolCall: true,
13861
13963
  releaseDate: "2026-05-28",
13862
13964
  modalities: {
@@ -13972,6 +14074,28 @@ var MODELS_BY_PROVIDER = {
13972
14074
  unit: "per_million_tokens"
13973
14075
  }
13974
14076
  },
14077
+ {
14078
+ name: "anthropic/claude-sonnet-5",
14079
+ displayName: "Claude Sonnet 5",
14080
+ maxInputTokens: 1e6,
14081
+ supportedFileTypes: ["pdf", "image"],
14082
+ reasoning: true,
14083
+ supportsTemperature: false,
14084
+ supportsToolCall: true,
14085
+ releaseDate: "2026-06-30",
14086
+ modalities: {
14087
+ input: ["text", "image", "pdf"],
14088
+ output: ["text"]
14089
+ },
14090
+ pricing: {
14091
+ inputPerM: 2,
14092
+ outputPerM: 10,
14093
+ cacheReadPerM: 0.2,
14094
+ cacheWritePerM: 2.5,
14095
+ currency: "USD",
14096
+ unit: "per_million_tokens"
14097
+ }
14098
+ },
13975
14099
  {
13976
14100
  name: "arcee-ai/coder-large",
13977
14101
  displayName: "Coder Large",
@@ -14348,8 +14472,8 @@ var MODELS_BY_PROVIDER = {
14348
14472
  output: ["text"]
14349
14473
  },
14350
14474
  pricing: {
14351
- inputPerM: 0.2,
14352
- outputPerM: 0.77,
14475
+ inputPerM: 0.24,
14476
+ outputPerM: 0.9,
14353
14477
  cacheReadPerM: 0.135,
14354
14478
  currency: "USD",
14355
14479
  unit: "per_million_tokens"
@@ -14502,7 +14626,7 @@ var MODELS_BY_PROVIDER = {
14502
14626
  {
14503
14627
  name: "deepseek/deepseek-v4-flash",
14504
14628
  displayName: "DeepSeek V4 Flash",
14505
- maxInputTokens: 1e6,
14629
+ maxInputTokens: 1048576,
14506
14630
  supportedFileTypes: [],
14507
14631
  reasoning: true,
14508
14632
  supportsTemperature: true,
@@ -14519,7 +14643,7 @@ var MODELS_BY_PROVIDER = {
14519
14643
  pricing: {
14520
14644
  inputPerM: 0.09,
14521
14645
  outputPerM: 0.18,
14522
- cacheReadPerM: 0.02,
14646
+ cacheReadPerM: 0.018,
14523
14647
  currency: "USD",
14524
14648
  unit: "per_million_tokens"
14525
14649
  }
@@ -14617,29 +14741,6 @@ var MODELS_BY_PROVIDER = {
14617
14741
  unit: "per_million_tokens"
14618
14742
  }
14619
14743
  },
14620
- {
14621
- name: "google/gemini-2.5-flash-lite-preview-09-2025",
14622
- displayName: "Gemini 2.5 Flash Lite Preview 09-2025",
14623
- maxInputTokens: 1048576,
14624
- supportedFileTypes: ["pdf", "image", "audio", "video", "document"],
14625
- reasoning: true,
14626
- supportsTemperature: true,
14627
- supportsToolCall: true,
14628
- releaseDate: "2025-09-25",
14629
- modalities: {
14630
- input: ["text", "image", "pdf", "audio", "video"],
14631
- output: ["text"]
14632
- },
14633
- pricing: {
14634
- inputPerM: 0.1,
14635
- outputPerM: 0.4,
14636
- cacheReadPerM: 0.01,
14637
- cacheWritePerM: 0.083333,
14638
- reasoningPerM: 0.4,
14639
- currency: "USD",
14640
- unit: "per_million_tokens"
14641
- }
14642
- },
14643
14744
  {
14644
14745
  name: "google/gemini-2.5-pro",
14645
14746
  displayName: "Gemini 2.5 Pro",
@@ -14845,6 +14946,26 @@ var MODELS_BY_PROVIDER = {
14845
14946
  unit: "per_million_tokens"
14846
14947
  }
14847
14948
  },
14949
+ {
14950
+ name: "google/gemini-3.1-flash-lite-image",
14951
+ displayName: "Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)",
14952
+ maxInputTokens: 65536,
14953
+ supportedFileTypes: ["image", "document"],
14954
+ reasoning: true,
14955
+ supportsTemperature: true,
14956
+ supportsToolCall: false,
14957
+ releaseDate: "2026-06-30",
14958
+ modalities: {
14959
+ input: ["image", "text"],
14960
+ output: ["image", "text"]
14961
+ },
14962
+ pricing: {
14963
+ inputPerM: 0.25,
14964
+ outputPerM: 1.5,
14965
+ currency: "USD",
14966
+ unit: "per_million_tokens"
14967
+ }
14968
+ },
14848
14969
  {
14849
14970
  name: "google/gemini-3.1-flash-lite-preview",
14850
14971
  displayName: "Gemini 3.1 Flash Lite Preview",
@@ -15380,26 +15501,6 @@ var MODELS_BY_PROVIDER = {
15380
15501
  unit: "per_million_tokens"
15381
15502
  }
15382
15503
  },
15383
- {
15384
- name: "liquid/lfm-2-24b-a2b",
15385
- displayName: "LFM2-24B-A2B",
15386
- maxInputTokens: 32768,
15387
- supportedFileTypes: [],
15388
- reasoning: false,
15389
- supportsTemperature: true,
15390
- supportsToolCall: false,
15391
- releaseDate: "2026-02-25",
15392
- modalities: {
15393
- input: ["text"],
15394
- output: ["text"]
15395
- },
15396
- pricing: {
15397
- inputPerM: 0.03,
15398
- outputPerM: 0.12,
15399
- currency: "USD",
15400
- unit: "per_million_tokens"
15401
- }
15402
- },
15403
15504
  {
15404
15505
  name: "liquid/lfm-2.5-1.2b-instruct:free",
15405
15506
  displayName: "LFM2.5-1.2B-Instruct (free)",
@@ -15563,7 +15664,7 @@ var MODELS_BY_PROVIDER = {
15563
15664
  {
15564
15665
  name: "meta-llama/llama-3.2-3b-instruct",
15565
15666
  displayName: "Llama 3.2 3B Instruct",
15566
- maxInputTokens: 8e4,
15667
+ maxInputTokens: 131072,
15567
15668
  supportedFileTypes: [],
15568
15669
  reasoning: false,
15569
15670
  supportsTemperature: true,
@@ -15574,8 +15675,8 @@ var MODELS_BY_PROVIDER = {
15574
15675
  output: ["text"]
15575
15676
  },
15576
15677
  pricing: {
15577
- inputPerM: 0.0509,
15578
- outputPerM: 0.335,
15678
+ inputPerM: 0.05,
15679
+ outputPerM: 0.33,
15579
15680
  currency: "USD",
15580
15681
  unit: "per_million_tokens"
15581
15682
  }
@@ -15720,27 +15821,6 @@ var MODELS_BY_PROVIDER = {
15720
15821
  unit: "per_million_tokens"
15721
15822
  }
15722
15823
  },
15723
- {
15724
- name: "microsoft/phi-4-mini-instruct",
15725
- displayName: "Phi 4 Mini Instruct",
15726
- maxInputTokens: 128e3,
15727
- supportedFileTypes: [],
15728
- reasoning: false,
15729
- supportsTemperature: true,
15730
- supportsToolCall: false,
15731
- releaseDate: "2025-10-17",
15732
- modalities: {
15733
- input: ["text"],
15734
- output: ["text"]
15735
- },
15736
- pricing: {
15737
- inputPerM: 0.08,
15738
- outputPerM: 0.35,
15739
- cacheReadPerM: 0.08,
15740
- currency: "USD",
15741
- unit: "per_million_tokens"
15742
- }
15743
- },
15744
15824
  {
15745
15825
  name: "microsoft/wizardlm-2-8x22b",
15746
15826
  displayName: "WizardLM-2 8x22B",
@@ -15804,7 +15884,7 @@ var MODELS_BY_PROVIDER = {
15804
15884
  {
15805
15885
  name: "minimax/minimax-m2",
15806
15886
  displayName: "MiniMax-M2",
15807
- maxInputTokens: 196608,
15887
+ maxInputTokens: 204800,
15808
15888
  supportedFileTypes: [],
15809
15889
  reasoning: true,
15810
15890
  supportsTemperature: true,
@@ -15820,8 +15900,7 @@ var MODELS_BY_PROVIDER = {
15820
15900
  supportsInterleaved: true,
15821
15901
  pricing: {
15822
15902
  inputPerM: 0.255,
15823
- outputPerM: 1,
15824
- cacheReadPerM: 0.03,
15903
+ outputPerM: 1.02,
15825
15904
  currency: "USD",
15826
15905
  unit: "per_million_tokens"
15827
15906
  }
@@ -15850,7 +15929,7 @@ var MODELS_BY_PROVIDER = {
15850
15929
  {
15851
15930
  name: "minimax/minimax-m2.1",
15852
15931
  displayName: "MiniMax-M2.1",
15853
- maxInputTokens: 196608,
15932
+ maxInputTokens: 204800,
15854
15933
  supportedFileTypes: [],
15855
15934
  reasoning: true,
15856
15935
  supportsTemperature: true,
@@ -15865,8 +15944,8 @@ var MODELS_BY_PROVIDER = {
15865
15944
  },
15866
15945
  supportsInterleaved: true,
15867
15946
  pricing: {
15868
- inputPerM: 0.29,
15869
- outputPerM: 0.95,
15947
+ inputPerM: 0.3,
15948
+ outputPerM: 1.2,
15870
15949
  cacheReadPerM: 0.03,
15871
15950
  currency: "USD",
15872
15951
  unit: "per_million_tokens"
@@ -15890,8 +15969,9 @@ var MODELS_BY_PROVIDER = {
15890
15969
  },
15891
15970
  supportsInterleaved: true,
15892
15971
  pricing: {
15893
- inputPerM: 0.12,
15894
- outputPerM: 0.48,
15972
+ inputPerM: 0.15,
15973
+ outputPerM: 0.9,
15974
+ cacheReadPerM: 0.05,
15895
15975
  currency: "USD",
15896
15976
  unit: "per_million_tokens"
15897
15977
  }
@@ -15910,8 +15990,8 @@ var MODELS_BY_PROVIDER = {
15910
15990
  output: ["text"]
15911
15991
  },
15912
15992
  pricing: {
15913
- inputPerM: 0.18,
15914
- outputPerM: 0.72,
15993
+ inputPerM: 0.24,
15994
+ outputPerM: 0.96,
15915
15995
  currency: "USD",
15916
15996
  unit: "per_million_tokens"
15917
15997
  }
@@ -16392,7 +16472,7 @@ var MODELS_BY_PROVIDER = {
16392
16472
  pricing: {
16393
16473
  inputPerM: 0.6,
16394
16474
  outputPerM: 2.5,
16395
- cacheReadPerM: 0.6,
16475
+ cacheReadPerM: 0.15,
16396
16476
  currency: "USD",
16397
16477
  unit: "per_million_tokens"
16398
16478
  }
@@ -16417,6 +16497,7 @@ var MODELS_BY_PROVIDER = {
16417
16497
  pricing: {
16418
16498
  inputPerM: 0.375,
16419
16499
  outputPerM: 2.025,
16500
+ cacheReadPerM: 0.203,
16420
16501
  currency: "USD",
16421
16502
  unit: "per_million_tokens"
16422
16503
  }
@@ -16439,9 +16520,9 @@ var MODELS_BY_PROVIDER = {
16439
16520
  },
16440
16521
  supportsInterleaved: true,
16441
16522
  pricing: {
16442
- inputPerM: 0.55,
16443
- outputPerM: 3.2,
16444
- cacheReadPerM: 0.11,
16523
+ inputPerM: 0.65,
16524
+ outputPerM: 3.41,
16525
+ cacheReadPerM: 0.14,
16445
16526
  currency: "USD",
16446
16527
  unit: "per_million_tokens"
16447
16528
  }
@@ -16460,7 +16541,7 @@ var MODELS_BY_PROVIDER = {
16460
16541
  output: ["text"]
16461
16542
  },
16462
16543
  pricing: {
16463
- inputPerM: 0.74,
16544
+ inputPerM: 0.72,
16464
16545
  outputPerM: 3.5,
16465
16546
  cacheReadPerM: 0.15,
16466
16547
  currency: "USD",
@@ -16507,6 +16588,27 @@ var MODELS_BY_PROVIDER = {
16507
16588
  unit: "per_million_tokens"
16508
16589
  }
16509
16590
  },
16591
+ {
16592
+ name: "nex-agi/nex-n2-mini",
16593
+ displayName: "Nex-N2-Mini",
16594
+ maxInputTokens: 262144,
16595
+ supportedFileTypes: ["image"],
16596
+ reasoning: true,
16597
+ supportsTemperature: true,
16598
+ supportsToolCall: true,
16599
+ releaseDate: "2026-06-24",
16600
+ modalities: {
16601
+ input: ["text", "image"],
16602
+ output: ["text"]
16603
+ },
16604
+ pricing: {
16605
+ inputPerM: 0.025,
16606
+ outputPerM: 0.1,
16607
+ cacheReadPerM: 25e-4,
16608
+ currency: "USD",
16609
+ unit: "per_million_tokens"
16610
+ }
16611
+ },
16510
16612
  {
16511
16613
  name: "nex-agi/nex-n2-pro",
16512
16614
  displayName: "Nex-N2-Pro",
@@ -16514,7 +16616,7 @@ var MODELS_BY_PROVIDER = {
16514
16616
  supportedFileTypes: ["image"],
16515
16617
  reasoning: true,
16516
16618
  supportsTemperature: true,
16517
- supportsToolCall: false,
16619
+ supportsToolCall: true,
16518
16620
  releaseDate: "2026-06-08",
16519
16621
  modalities: {
16520
16622
  input: ["text", "image"],
@@ -16722,8 +16824,8 @@ var MODELS_BY_PROVIDER = {
16722
16824
  output: ["text"]
16723
16825
  },
16724
16826
  pricing: {
16725
- inputPerM: 0.085,
16726
- outputPerM: 0.4,
16827
+ inputPerM: 0.08,
16828
+ outputPerM: 0.45,
16727
16829
  currency: "USD",
16728
16830
  unit: "per_million_tokens"
16729
16831
  }
@@ -17833,8 +17935,8 @@ var MODELS_BY_PROVIDER = {
17833
17935
  output: ["text"]
17834
17936
  },
17835
17937
  pricing: {
17836
- inputPerM: 0.03,
17837
- outputPerM: 0.15,
17938
+ inputPerM: 0.036,
17939
+ outputPerM: 0.18,
17838
17940
  currency: "USD",
17839
17941
  unit: "per_million_tokens"
17840
17942
  }
@@ -17861,7 +17963,7 @@ var MODELS_BY_PROVIDER = {
17861
17963
  },
17862
17964
  {
17863
17965
  name: "openai/gpt-oss-20b",
17864
- displayName: "gpt-oss-20b",
17966
+ displayName: "GPT OSS 20B",
17865
17967
  maxInputTokens: 131072,
17866
17968
  supportedFileTypes: [],
17867
17969
  reasoning: true,
@@ -18371,43 +18473,39 @@ var MODELS_BY_PROVIDER = {
18371
18473
  }
18372
18474
  },
18373
18475
  {
18374
- name: "poolside/laguna-xs.2",
18375
- displayName: "Laguna XS.2",
18476
+ name: "poolside/laguna-xs-2.1",
18477
+ displayName: "Laguna XS 2.1",
18376
18478
  maxInputTokens: 262144,
18377
18479
  supportedFileTypes: [],
18378
18480
  reasoning: true,
18379
18481
  supportsTemperature: true,
18380
18482
  supportsToolCall: true,
18381
- releaseDate: "2026-04-28",
18483
+ releaseDate: "2026-07-02",
18382
18484
  modalities: {
18383
18485
  input: ["text"],
18384
18486
  output: ["text"]
18385
18487
  },
18386
18488
  pricing: {
18387
- inputPerM: 0.1,
18388
- outputPerM: 0.2,
18389
- cacheReadPerM: 0.05,
18489
+ inputPerM: 0.06,
18490
+ outputPerM: 0.12,
18491
+ cacheReadPerM: 0.03,
18390
18492
  currency: "USD",
18391
18493
  unit: "per_million_tokens"
18392
18494
  }
18393
18495
  },
18394
18496
  {
18395
- name: "poolside/laguna-xs.2:free",
18396
- displayName: "Laguna XS.2 (free)",
18497
+ name: "poolside/laguna-xs-2.1:free",
18498
+ displayName: "Laguna XS 2.1 (free)",
18397
18499
  maxInputTokens: 262144,
18398
18500
  supportedFileTypes: [],
18399
18501
  reasoning: true,
18400
18502
  supportsTemperature: true,
18401
18503
  supportsToolCall: true,
18402
- releaseDate: "2026-04-28",
18504
+ releaseDate: "2026-07-02",
18403
18505
  modalities: {
18404
18506
  input: ["text"],
18405
18507
  output: ["text"]
18406
18508
  },
18407
- interleaved: {
18408
- field: "reasoning_content"
18409
- },
18410
- supportsInterleaved: true,
18411
18509
  pricing: {
18412
18510
  inputPerM: 0,
18413
18511
  outputPerM: 0,
@@ -18622,7 +18720,7 @@ var MODELS_BY_PROVIDER = {
18622
18720
  {
18623
18721
  name: "qwen/qwen3-235b-a22b-thinking-2507",
18624
18722
  displayName: "Qwen3 235B A22B Thinking 2507",
18625
- maxInputTokens: 262144,
18723
+ maxInputTokens: 131072,
18626
18724
  supportedFileTypes: [],
18627
18725
  reasoning: true,
18628
18726
  supportsTemperature: true,
@@ -18633,9 +18731,8 @@ var MODELS_BY_PROVIDER = {
18633
18731
  output: ["text"]
18634
18732
  },
18635
18733
  pricing: {
18636
- inputPerM: 0.1,
18637
- outputPerM: 0.1,
18638
- cacheReadPerM: 0.1,
18734
+ inputPerM: 0.1495,
18735
+ outputPerM: 1.495,
18639
18736
  currency: "USD",
18640
18737
  unit: "per_million_tokens"
18641
18738
  }
@@ -18683,7 +18780,7 @@ var MODELS_BY_PROVIDER = {
18683
18780
  {
18684
18781
  name: "qwen/qwen3-30b-a3b-thinking-2507",
18685
18782
  displayName: "Qwen3 30B A3B Thinking 2507",
18686
- maxInputTokens: 131072,
18783
+ maxInputTokens: 81920,
18687
18784
  supportedFileTypes: [],
18688
18785
  reasoning: true,
18689
18786
  supportsTemperature: true,
@@ -18694,9 +18791,8 @@ var MODELS_BY_PROVIDER = {
18694
18791
  output: ["text"]
18695
18792
  },
18696
18793
  pricing: {
18697
- inputPerM: 0.08,
18698
- outputPerM: 0.4,
18699
- cacheReadPerM: 0.08,
18794
+ inputPerM: 0.13,
18795
+ outputPerM: 1.56,
18700
18796
  currency: "USD",
18701
18797
  unit: "per_million_tokens"
18702
18798
  }
@@ -18724,7 +18820,7 @@ var MODELS_BY_PROVIDER = {
18724
18820
  {
18725
18821
  name: "qwen/qwen3-8b",
18726
18822
  displayName: "Qwen3 8B",
18727
- maxInputTokens: 40960,
18823
+ maxInputTokens: 131072,
18728
18824
  supportedFileTypes: [],
18729
18825
  reasoning: true,
18730
18826
  supportsTemperature: true,
@@ -18735,9 +18831,8 @@ var MODELS_BY_PROVIDER = {
18735
18831
  output: ["text"]
18736
18832
  },
18737
18833
  pricing: {
18738
- inputPerM: 0.05,
18739
- outputPerM: 0.4,
18740
- cacheReadPerM: 0.05,
18834
+ inputPerM: 0.117,
18835
+ outputPerM: 0.455,
18741
18836
  currency: "USD",
18742
18837
  unit: "per_million_tokens"
18743
18838
  }
@@ -19084,8 +19179,8 @@ var MODELS_BY_PROVIDER = {
19084
19179
  output: ["text"]
19085
19180
  },
19086
19181
  pricing: {
19087
- inputPerM: 0.08,
19088
- outputPerM: 0.5,
19182
+ inputPerM: 0.117,
19183
+ outputPerM: 0.455,
19089
19184
  currency: "USD",
19090
19185
  unit: "per_million_tokens"
19091
19186
  }
@@ -19187,6 +19282,7 @@ var MODELS_BY_PROVIDER = {
19187
19282
  pricing: {
19188
19283
  inputPerM: 0.385,
19189
19284
  outputPerM: 2.45,
19285
+ cacheReadPerM: 0.111,
19190
19286
  currency: "USD",
19191
19287
  unit: "per_million_tokens"
19192
19288
  }
@@ -19288,6 +19384,7 @@ var MODELS_BY_PROVIDER = {
19288
19384
  pricing: {
19289
19385
  inputPerM: 0.285,
19290
19386
  outputPerM: 2.4,
19387
+ cacheReadPerM: 0.15,
19291
19388
  currency: "USD",
19292
19389
  unit: "per_million_tokens"
19293
19390
  }
@@ -19642,41 +19739,42 @@ var MODELS_BY_PROVIDER = {
19642
19739
  }
19643
19740
  },
19644
19741
  {
19645
- name: "switchpoint/router",
19646
- displayName: "Switchpoint Router",
19742
+ name: "tencent/hunyuan-a13b-instruct",
19743
+ displayName: "Hunyuan A13B Instruct",
19647
19744
  maxInputTokens: 131072,
19648
19745
  supportedFileTypes: [],
19649
19746
  reasoning: true,
19650
19747
  supportsTemperature: true,
19651
19748
  supportsToolCall: false,
19652
- releaseDate: "2025-07-11",
19749
+ releaseDate: "2025-07-08",
19653
19750
  modalities: {
19654
19751
  input: ["text"],
19655
19752
  output: ["text"]
19656
19753
  },
19657
19754
  pricing: {
19658
- inputPerM: 0.85,
19659
- outputPerM: 3.4,
19755
+ inputPerM: 0.14,
19756
+ outputPerM: 0.57,
19660
19757
  currency: "USD",
19661
19758
  unit: "per_million_tokens"
19662
19759
  }
19663
19760
  },
19664
19761
  {
19665
- name: "tencent/hunyuan-a13b-instruct",
19666
- displayName: "Hunyuan A13B Instruct",
19667
- maxInputTokens: 131072,
19762
+ name: "tencent/hy3",
19763
+ displayName: "Hy3",
19764
+ maxInputTokens: 262144,
19668
19765
  supportedFileTypes: [],
19669
19766
  reasoning: true,
19670
19767
  supportsTemperature: true,
19671
- supportsToolCall: false,
19672
- releaseDate: "2025-07-08",
19768
+ supportsToolCall: true,
19769
+ releaseDate: "2026-07-06",
19673
19770
  modalities: {
19674
19771
  input: ["text"],
19675
19772
  output: ["text"]
19676
19773
  },
19677
19774
  pricing: {
19678
19775
  inputPerM: 0.14,
19679
- outputPerM: 0.57,
19776
+ outputPerM: 0.58,
19777
+ cacheReadPerM: 0.035,
19680
19778
  currency: "USD",
19681
19779
  unit: "per_million_tokens"
19682
19780
  }
@@ -19702,6 +19800,26 @@ var MODELS_BY_PROVIDER = {
19702
19800
  unit: "per_million_tokens"
19703
19801
  }
19704
19802
  },
19803
+ {
19804
+ name: "tencent/hy3:free",
19805
+ displayName: "Hy3 (free)",
19806
+ maxInputTokens: 262144,
19807
+ supportedFileTypes: [],
19808
+ reasoning: true,
19809
+ supportsTemperature: true,
19810
+ supportsToolCall: true,
19811
+ releaseDate: "2026-07-06",
19812
+ modalities: {
19813
+ input: ["text"],
19814
+ output: ["text"]
19815
+ },
19816
+ pricing: {
19817
+ inputPerM: 0,
19818
+ outputPerM: 0,
19819
+ currency: "USD",
19820
+ unit: "per_million_tokens"
19821
+ }
19822
+ },
19705
19823
  {
19706
19824
  name: "thedrummer/cydonia-24b-v4.1",
19707
19825
  displayName: "Cydonia 24B V4.1",
@@ -19726,7 +19844,7 @@ var MODELS_BY_PROVIDER = {
19726
19844
  {
19727
19845
  name: "thedrummer/rocinante-12b",
19728
19846
  displayName: "Rocinante 12B",
19729
- maxInputTokens: 32768,
19847
+ maxInputTokens: 65536,
19730
19848
  supportedFileTypes: [],
19731
19849
  reasoning: false,
19732
19850
  supportsTemperature: true,
@@ -19912,17 +20030,42 @@ var MODELS_BY_PROVIDER = {
19912
20030
  unit: "per_million_tokens"
19913
20031
  }
19914
20032
  },
20033
+ {
20034
+ name: "x-ai/grok-4.5",
20035
+ displayName: "Grok 4.5",
20036
+ maxInputTokens: 5e5,
20037
+ supportedFileTypes: ["pdf", "image"],
20038
+ reasoning: true,
20039
+ supportsTemperature: true,
20040
+ supportsToolCall: true,
20041
+ releaseDate: "2026-07-08",
20042
+ modalities: {
20043
+ input: ["text", "image", "pdf"],
20044
+ output: ["text"]
20045
+ },
20046
+ pricing: {
20047
+ inputPerM: 2,
20048
+ outputPerM: 6,
20049
+ cacheReadPerM: 0.5,
20050
+ contextOver200kPerM: {
20051
+ inputPerM: 4,
20052
+ outputPerM: 12
20053
+ },
20054
+ currency: "USD",
20055
+ unit: "per_million_tokens"
20056
+ }
20057
+ },
19915
20058
  {
19916
20059
  name: "x-ai/grok-build-0.1",
19917
20060
  displayName: "Grok Build 0.1",
19918
20061
  maxInputTokens: 256e3,
19919
- supportedFileTypes: ["image"],
20062
+ supportedFileTypes: ["pdf", "image"],
19920
20063
  reasoning: true,
19921
20064
  supportsTemperature: true,
19922
20065
  supportsToolCall: true,
19923
20066
  releaseDate: "2026-04-16",
19924
20067
  modalities: {
19925
- input: ["text", "image"],
20068
+ input: ["text", "image", "pdf"],
19926
20069
  output: ["text"]
19927
20070
  },
19928
20071
  pricing: {
@@ -19953,6 +20096,7 @@ var MODELS_BY_PROVIDER = {
19953
20096
  pricing: {
19954
20097
  inputPerM: 0.105,
19955
20098
  outputPerM: 0.28,
20099
+ cacheReadPerM: 0.028,
19956
20100
  currency: "USD",
19957
20101
  unit: "per_million_tokens"
19958
20102
  }
@@ -20190,7 +20334,7 @@ var MODELS_BY_PROVIDER = {
20190
20334
  {
20191
20335
  name: "z-ai/glm-5.1",
20192
20336
  displayName: "GLM-5.1",
20193
- maxInputTokens: 65536,
20337
+ maxInputTokens: 2e5,
20194
20338
  supportedFileTypes: [],
20195
20339
  reasoning: true,
20196
20340
  supportsTemperature: true,
@@ -20205,8 +20349,9 @@ var MODELS_BY_PROVIDER = {
20205
20349
  },
20206
20350
  supportsInterleaved: true,
20207
20351
  pricing: {
20208
- inputPerM: 0.975,
20209
- outputPerM: 4.3,
20352
+ inputPerM: 0.966,
20353
+ outputPerM: 3.036,
20354
+ cacheReadPerM: 0.1794,
20210
20355
  currency: "USD",
20211
20356
  unit: "per_million_tokens"
20212
20357
  }
@@ -20214,7 +20359,7 @@ var MODELS_BY_PROVIDER = {
20214
20359
  {
20215
20360
  name: "z-ai/glm-5.2",
20216
20361
  displayName: "GLM-5.2",
20217
- maxInputTokens: 1048576,
20362
+ maxInputTokens: 1024e3,
20218
20363
  supportedFileTypes: [],
20219
20364
  reasoning: true,
20220
20365
  supportsTemperature: true,
@@ -20229,9 +20374,9 @@ var MODELS_BY_PROVIDER = {
20229
20374
  },
20230
20375
  supportsInterleaved: true,
20231
20376
  pricing: {
20232
- inputPerM: 0.94,
20233
- outputPerM: 3,
20234
- cacheReadPerM: 0.18,
20377
+ inputPerM: 0.546,
20378
+ outputPerM: 1.716,
20379
+ cacheReadPerM: 0.1014,
20235
20380
  currency: "USD",
20236
20381
  unit: "per_million_tokens"
20237
20382
  }
@@ -20362,19 +20507,9 @@ function unknownModel(provider, model) {
20362
20507
  function modelProviderUnknown(model) {
20363
20508
  return new LlmCatalogError("MODEL_UNKNOWN", `Could not infer provider for model '${model}'`);
20364
20509
  }
20365
- var LEGACY_MODEL_ID_ALIASES = {
20366
- anthropic: {
20367
- // Older Dexto configs/tests used "claude-4-{tier}-{date}".
20368
- // models.dev (and our generated snapshot) use "claude-{tier}-4-{date}".
20369
- "claude-4-sonnet-20250514": "claude-sonnet-4-20250514",
20370
- "claude-4-opus-20250514": "claude-opus-4-20250514"
20371
- }
20372
- };
20373
- function getNormalizedModelIdForLookup(provider, model) {
20510
+ function getNormalizedModelIdForLookup(model) {
20374
20511
  const stripped = stripBedrockRegionPrefix(model);
20375
- const lower = stripped.toLowerCase();
20376
- const aliases = LEGACY_MODEL_ID_ALIASES[provider];
20377
- return aliases?.[lower] ?? lower;
20512
+ return stripped.toLowerCase();
20378
20513
  }
20379
20514
  function mergeModels(base, extra) {
20380
20515
  if (!extra || extra.length === 0) return base;
@@ -20728,7 +20863,7 @@ function getMaxInputTokensForModel(provider, model, logger) {
20728
20863
  }
20729
20864
  function isValidProviderModel(provider, model) {
20730
20865
  const providerInfo = LLM_REGISTRY[provider];
20731
- const normalizedModel = getNormalizedModelIdForLookup(provider, model);
20866
+ const normalizedModel = getNormalizedModelIdForLookup(model);
20732
20867
  return providerInfo.models.some((m) => m.name.toLowerCase() === normalizedModel);
20733
20868
  }
20734
20869
  function getProviderFromModel(model) {
@@ -20737,7 +20872,7 @@ function getProviderFromModel(model) {
20737
20872
  }
20738
20873
  for (const provider of LLM_PROVIDERS) {
20739
20874
  const info = LLM_REGISTRY[provider];
20740
- const normalizedModel = getNormalizedModelIdForLookup(provider, model);
20875
+ const normalizedModel = getNormalizedModelIdForLookup(model);
20741
20876
  if (info.models.some((m) => m.name.toLowerCase() === normalizedModel)) {
20742
20877
  return provider;
20743
20878
  }
@@ -20811,7 +20946,7 @@ function findModelInfo(provider, model) {
20811
20946
  if (dynamicOpenRouterModel) return dynamicOpenRouterModel;
20812
20947
  }
20813
20948
  const providerInfo = LLM_REGISTRY[provider];
20814
- const normalizedModel = getNormalizedModelIdForLookup(provider, model);
20949
+ const normalizedModel = getNormalizedModelIdForLookup(model);
20815
20950
  const direct = providerInfo.models.find((m) => m.name.toLowerCase() === normalizedModel);
20816
20951
  if (direct) return direct;
20817
20952
  if (provider !== "openrouter" && hasAllRegistryModelsSupport(provider) && model.includes("/")) {
@@ -20874,7 +21009,7 @@ function transformModelNameForProvider(model, originalProvider, targetProvider)
20874
21009
  }
20875
21010
  function isModelValidForProvider(provider, model) {
20876
21011
  const providerInfo = LLM_REGISTRY[provider];
20877
- const normalizedModel = getNormalizedModelIdForLookup(provider, model);
21012
+ const normalizedModel = getNormalizedModelIdForLookup(model);
20878
21013
  if (providerInfo.models.some((m) => m.name.toLowerCase() === normalizedModel)) {
20879
21014
  return true;
20880
21015
  }