@stll/ai-catalog 0.5.0 → 0.6.0
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/benchmark-frontier.d.ts +1 -1
- package/dist/benchmarks.d.ts +3 -1
- package/dist/benchmarks.js +3 -1
- package/dist/{index-D5gnRT1S.d.ts → index-pC8aWAxm.d.ts} +61 -4
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/{src-Dn6XqN2_.js → src-DaH9EEfe.js} +87 -29
- package/package.json +2 -2
package/dist/benchmarks.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as OfferedBYOKModelId } from "./index-
|
|
1
|
+
import { T as OfferedBYOKModelId } from "./index-pC8aWAxm.js";
|
|
2
2
|
import { ModelBenchmarkMeasurement } from "./benchmark-frontier.js";
|
|
3
3
|
//#region src/benchmark-sources.d.ts
|
|
4
4
|
export declare const MODEL_BENCHMARK_NAME = "Text Arena";
|
|
@@ -245,6 +245,7 @@ export declare const MODEL_BENCHMARK_SOURCES: {
|
|
|
245
245
|
readonly sourceModelId: "gpt-oss-20b";
|
|
246
246
|
readonly reasoningEffort: null;
|
|
247
247
|
}];
|
|
248
|
+
readonly "mistral-large-4": readonly [];
|
|
248
249
|
readonly "mistral-large-latest": readonly [];
|
|
249
250
|
readonly "mistral-medium-latest": readonly [];
|
|
250
251
|
readonly "mistral-small-latest": readonly [];
|
|
@@ -267,6 +268,7 @@ export declare const MODEL_UNRATED_REASON: {
|
|
|
267
268
|
readonly "anthropic/claude-sonnet-4.6": "named_default_effort";
|
|
268
269
|
readonly "gpt-6.1-sol": "too_new";
|
|
269
270
|
readonly "claude-sonnet-5-5": "too_new";
|
|
271
|
+
readonly "mistral-large-4": "too_new";
|
|
270
272
|
readonly "mistral-large-latest": "floating_alias";
|
|
271
273
|
readonly "mistral-medium-latest": "floating_alias";
|
|
272
274
|
readonly "mistral-small-latest": "floating_alias";
|
package/dist/benchmarks.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as getModelRate, G as getStandardModelRate, W as MODEL_RATE_UNITS_PER_USD } from "./src-DaH9EEfe.js";
|
|
2
2
|
//#region src/benchmark-sources.ts
|
|
3
3
|
const MODEL_BENCHMARK_NAME = "Text Arena";
|
|
4
4
|
const MODEL_BENCHMARK_LICENCE = "CC BY 4.0";
|
|
@@ -244,6 +244,7 @@ const MODEL_BENCHMARK_SOURCES = {
|
|
|
244
244
|
sourceModelId: "gpt-oss-20b",
|
|
245
245
|
reasoningEffort: null
|
|
246
246
|
}],
|
|
247
|
+
"mistral-large-4": [],
|
|
247
248
|
"mistral-large-latest": [],
|
|
248
249
|
"mistral-medium-latest": [],
|
|
249
250
|
"mistral-small-latest": []
|
|
@@ -270,6 +271,7 @@ const MODEL_UNRATED_REASON = {
|
|
|
270
271
|
"anthropic/claude-sonnet-4.6": "named_default_effort",
|
|
271
272
|
"gpt-6.1-sol": "too_new",
|
|
272
273
|
"claude-sonnet-5-5": "too_new",
|
|
274
|
+
"mistral-large-4": "too_new",
|
|
273
275
|
"mistral-large-latest": "floating_alias",
|
|
274
276
|
"mistral-medium-latest": "floating_alias",
|
|
275
277
|
"mistral-small-latest": "floating_alias"
|
|
@@ -372,6 +372,12 @@ declare const MODEL_RATES: {
|
|
|
372
372
|
readonly inputPerMTok: 7000;
|
|
373
373
|
readonly outputPerMTok: 30000;
|
|
374
374
|
};
|
|
375
|
+
readonly "mistral-large-4": {
|
|
376
|
+
readonly kind: "flat";
|
|
377
|
+
readonly inputPerMTok: 68000;
|
|
378
|
+
readonly outputPerMTok: 209000;
|
|
379
|
+
readonly cachedInputPerMTok: 7000;
|
|
380
|
+
};
|
|
375
381
|
readonly "mistral-large-latest": {
|
|
376
382
|
readonly kind: "flat";
|
|
377
383
|
readonly inputPerMTok: 50000;
|
|
@@ -593,6 +599,7 @@ declare const MODEL_IMAGE_INPUT_CAPABILITIES: {
|
|
|
593
599
|
readonly "openai.gpt-oss-20b-1:0": "unsupported";
|
|
594
600
|
};
|
|
595
601
|
readonly mistral: {
|
|
602
|
+
readonly "mistral-large-4": "supported";
|
|
596
603
|
readonly "mistral-large-latest": "supported";
|
|
597
604
|
readonly "mistral-medium-latest": "supported";
|
|
598
605
|
readonly "mistral-small-latest": "supported";
|
|
@@ -663,6 +670,7 @@ declare const MODEL_REASONING_EFFORTS: {
|
|
|
663
670
|
readonly "us.amazon.nova-micro-v1:0": null;
|
|
664
671
|
readonly "openai.gpt-oss-120b-1:0": readonly ["low", "medium", "high"];
|
|
665
672
|
readonly "openai.gpt-oss-20b-1:0": readonly ["low", "medium", "high"];
|
|
673
|
+
readonly "mistral-large-4": readonly ["none", "high"];
|
|
666
674
|
readonly "mistral-large-latest": null;
|
|
667
675
|
readonly "mistral-medium-latest": readonly ["none", "high"];
|
|
668
676
|
readonly "mistral-small-latest": readonly ["none", "high"];
|
|
@@ -731,6 +739,7 @@ declare const MODEL_DEFAULT_REASONING_EFFORTS: {
|
|
|
731
739
|
readonly "us.amazon.nova-micro-v1:0": null;
|
|
732
740
|
readonly "openai.gpt-oss-120b-1:0": null;
|
|
733
741
|
readonly "openai.gpt-oss-20b-1:0": null;
|
|
742
|
+
readonly "mistral-large-4": null;
|
|
734
743
|
readonly "mistral-large-latest": null;
|
|
735
744
|
readonly "mistral-medium-latest": null;
|
|
736
745
|
readonly "mistral-small-latest": null;
|
|
@@ -799,6 +808,7 @@ declare const MODEL_TEMPERATURE_POLICIES: {
|
|
|
799
808
|
readonly "us.amazon.nova-micro-v1:0": "emit";
|
|
800
809
|
readonly "openai.gpt-oss-120b-1:0": "emit";
|
|
801
810
|
readonly "openai.gpt-oss-20b-1:0": "emit";
|
|
811
|
+
readonly "mistral-large-4": "emit";
|
|
802
812
|
readonly "mistral-large-latest": "emit";
|
|
803
813
|
readonly "mistral-medium-latest": "emit";
|
|
804
814
|
readonly "mistral-small-latest": "emit";
|
|
@@ -867,6 +877,7 @@ declare const MODEL_OUTPUT_TOKEN_LIMITS: {
|
|
|
867
877
|
readonly "us.amazon.nova-micro-v1:0": 10000;
|
|
868
878
|
readonly "openai.gpt-oss-120b-1:0": 128000;
|
|
869
879
|
readonly "openai.gpt-oss-20b-1:0": 128000;
|
|
880
|
+
readonly "mistral-large-4": 262144;
|
|
870
881
|
readonly "mistral-large-latest": 262144;
|
|
871
882
|
readonly "mistral-medium-latest": 262144;
|
|
872
883
|
readonly "mistral-small-latest": 256000;
|
|
@@ -1039,10 +1050,10 @@ declare const DEFAULT_MODELS: {
|
|
|
1039
1050
|
declare const BYOK_MODEL_OPTIONS: {
|
|
1040
1051
|
readonly google: readonly ["gemini-3.8-flash", "gemini-3.7-flash", "gemini-3.6-flash", "gemini-3.5-flash-lite", "gemini-3.1-pro-preview", "gemini-3.5-flash", "gemini-3.1-flash-lite"];
|
|
1041
1052
|
readonly anthropic: readonly ["claude-sonnet-5-5", "claude-sonnet-5", "claude-fable-5-1", "claude-fable-5", "claude-opus-5-5", "claude-opus-5", "claude-opus-4-8", "claude-opus-4-7", "claude-sonnet-4-6", "claude-opus-4-6", "claude-haiku-4-5-20251001"];
|
|
1042
|
-
readonly openai: readonly [...("gpt-6-
|
|
1043
|
-
readonly openrouter: readonly [...("openai/gpt-6-
|
|
1053
|
+
readonly openai: readonly [...("gpt-6.1-sol" | "gpt-6-astra" | "gpt-6-sol" | "gpt-6-luna" | "gpt-5.6" | "gpt-5.6-terra" | "gpt-5.6-luna")[], "gpt-5.5", "gpt-5.4", "gpt-5.4-mini", "gpt-5.4-nano", "gpt-5.2"];
|
|
1054
|
+
readonly openrouter: readonly [...("openai/gpt-6.1-sol" | "openai/gpt-6-astra" | "openai/gpt-6-sol" | "openai/gpt-6-luna" | "openai/gpt-5.6-sol" | "openai/gpt-5.6-terra" | "openai/gpt-5.6-luna")[], "google/gemini-3.8-flash", "google/gemini-3.7-flash", "google/gemini-3.6-flash", "google/gemini-3.5-flash-lite", "google/gemini-3.1-pro-preview", "google/gemini-3.5-flash", "google/gemini-3.1-flash-lite", "anthropic/claude-sonnet-5.5", "anthropic/claude-sonnet-5", "anthropic/claude-opus-5", "anthropic/claude-opus-4.8", "anthropic/claude-sonnet-4.6", "openai/gpt-5.5", "openai/gpt-5.4-mini"];
|
|
1044
1055
|
readonly bedrock: readonly ["us.anthropic.claude-sonnet-4-5-20250929-v1:0", "us.anthropic.claude-haiku-4-5-20251001-v1:0", "us.amazon.nova-pro-v1:0", "us.amazon.nova-lite-v1:0", "us.amazon.nova-micro-v1:0", "openai.gpt-oss-120b-1:0", "openai.gpt-oss-20b-1:0"];
|
|
1045
|
-
readonly mistral: readonly ["mistral-large-latest", "mistral-medium-latest", "mistral-small-latest"];
|
|
1056
|
+
readonly mistral: readonly ["mistral-large-4", "mistral-large-latest", "mistral-medium-latest", "mistral-small-latest"];
|
|
1046
1057
|
};
|
|
1047
1058
|
type BYOKProvider = keyof typeof BYOK_MODEL_OPTIONS;
|
|
1048
1059
|
type BYOKModelIdByProvider = { [TProvider in BYOKProvider]: (typeof BYOK_MODEL_OPTIONS)[TProvider][number]; };
|
|
@@ -1052,7 +1063,19 @@ type ModelDisplayMetadata = {
|
|
|
1052
1063
|
displayName: string;
|
|
1053
1064
|
/** Brand mark to show. This may differ from the routing provider. */
|
|
1054
1065
|
iconProvider: BYOKProvider;
|
|
1066
|
+
/**
|
|
1067
|
+
* A newer model of the same line, preferably on the same route. A superseded
|
|
1068
|
+
* model stays selectable but is never recommended.
|
|
1069
|
+
*/
|
|
1070
|
+
supersededBy?: string;
|
|
1055
1071
|
};
|
|
1072
|
+
/**
|
|
1073
|
+
* The chat model picker's Recommended section: a reviewed, curated list of
|
|
1074
|
+
* the latest generation per maker. Benchmarks inform ordering and hints but
|
|
1075
|
+
* never pick these. Every route to a listed model qualifies; a listed model
|
|
1076
|
+
* must not be superseded (model-lineage.test.ts).
|
|
1077
|
+
*/
|
|
1078
|
+
declare const RECOMMENDED_CHAT_MODELS: readonly ["claude-opus-5-5", "gpt-6.1-sol", "gpt-6-luna", "gemini-3.8-flash"];
|
|
1056
1079
|
/**
|
|
1057
1080
|
* Presentation metadata for every offered model. Keeping this exhaustive beside
|
|
1058
1081
|
* the allowlist prevents a newly offered model from leaking a raw provider ID
|
|
@@ -1067,10 +1090,12 @@ declare const MODEL_DISPLAY_METADATA: {
|
|
|
1067
1090
|
readonly "gemini-3.7-flash": {
|
|
1068
1091
|
readonly displayName: "Gemini 3.7 Flash";
|
|
1069
1092
|
readonly iconProvider: "google";
|
|
1093
|
+
readonly supersededBy: "gemini-3.8-flash";
|
|
1070
1094
|
};
|
|
1071
1095
|
readonly "gemini-3.6-flash": {
|
|
1072
1096
|
readonly displayName: "Gemini 3.6 Flash";
|
|
1073
1097
|
readonly iconProvider: "google";
|
|
1098
|
+
readonly supersededBy: "gemini-3.8-flash";
|
|
1074
1099
|
};
|
|
1075
1100
|
readonly "gemini-3.5-flash-lite": {
|
|
1076
1101
|
readonly displayName: "Gemini 3.5 Flash Lite";
|
|
@@ -1083,10 +1108,12 @@ declare const MODEL_DISPLAY_METADATA: {
|
|
|
1083
1108
|
readonly "gemini-3.5-flash": {
|
|
1084
1109
|
readonly displayName: "Gemini 3.5 Flash";
|
|
1085
1110
|
readonly iconProvider: "google";
|
|
1111
|
+
readonly supersededBy: "gemini-3.8-flash";
|
|
1086
1112
|
};
|
|
1087
1113
|
readonly "gemini-3.1-flash-lite": {
|
|
1088
1114
|
readonly displayName: "Gemini 3.1 Flash Lite";
|
|
1089
1115
|
readonly iconProvider: "google";
|
|
1116
|
+
readonly supersededBy: "gemini-3.5-flash-lite";
|
|
1090
1117
|
};
|
|
1091
1118
|
readonly "claude-sonnet-5-5": {
|
|
1092
1119
|
readonly displayName: "Claude Sonnet 5.5";
|
|
@@ -1095,6 +1122,7 @@ declare const MODEL_DISPLAY_METADATA: {
|
|
|
1095
1122
|
readonly "claude-sonnet-5": {
|
|
1096
1123
|
readonly displayName: "Claude Sonnet 5";
|
|
1097
1124
|
readonly iconProvider: "anthropic";
|
|
1125
|
+
readonly supersededBy: "claude-sonnet-5-5";
|
|
1098
1126
|
};
|
|
1099
1127
|
readonly "claude-fable-5-1": {
|
|
1100
1128
|
readonly displayName: "Claude Fable 5.1";
|
|
@@ -1103,6 +1131,7 @@ declare const MODEL_DISPLAY_METADATA: {
|
|
|
1103
1131
|
readonly "claude-fable-5": {
|
|
1104
1132
|
readonly displayName: "Claude Fable 5";
|
|
1105
1133
|
readonly iconProvider: "anthropic";
|
|
1134
|
+
readonly supersededBy: "claude-fable-5-1";
|
|
1106
1135
|
};
|
|
1107
1136
|
readonly "claude-opus-5-5": {
|
|
1108
1137
|
readonly displayName: "Claude Opus 5.5";
|
|
@@ -1111,22 +1140,27 @@ declare const MODEL_DISPLAY_METADATA: {
|
|
|
1111
1140
|
readonly "claude-opus-5": {
|
|
1112
1141
|
readonly displayName: "Claude Opus 5";
|
|
1113
1142
|
readonly iconProvider: "anthropic";
|
|
1143
|
+
readonly supersededBy: "claude-opus-5-5";
|
|
1114
1144
|
};
|
|
1115
1145
|
readonly "claude-opus-4-8": {
|
|
1116
1146
|
readonly displayName: "Claude Opus 4.8";
|
|
1117
1147
|
readonly iconProvider: "anthropic";
|
|
1148
|
+
readonly supersededBy: "claude-opus-5-5";
|
|
1118
1149
|
};
|
|
1119
1150
|
readonly "claude-opus-4-7": {
|
|
1120
1151
|
readonly displayName: "Claude Opus 4.7";
|
|
1121
1152
|
readonly iconProvider: "anthropic";
|
|
1153
|
+
readonly supersededBy: "claude-opus-5-5";
|
|
1122
1154
|
};
|
|
1123
1155
|
readonly "claude-sonnet-4-6": {
|
|
1124
1156
|
readonly displayName: "Claude Sonnet 4.6";
|
|
1125
1157
|
readonly iconProvider: "anthropic";
|
|
1158
|
+
readonly supersededBy: "claude-sonnet-5-5";
|
|
1126
1159
|
};
|
|
1127
1160
|
readonly "claude-opus-4-6": {
|
|
1128
1161
|
readonly displayName: "Claude Opus 4.6";
|
|
1129
1162
|
readonly iconProvider: "anthropic";
|
|
1163
|
+
readonly supersededBy: "claude-opus-5-5";
|
|
1130
1164
|
};
|
|
1131
1165
|
readonly "claude-haiku-4-5-20251001": {
|
|
1132
1166
|
readonly displayName: "Claude Haiku 4.5";
|
|
@@ -1143,6 +1177,7 @@ declare const MODEL_DISPLAY_METADATA: {
|
|
|
1143
1177
|
readonly "gpt-6-sol": {
|
|
1144
1178
|
readonly displayName: "GPT-6 Sol";
|
|
1145
1179
|
readonly iconProvider: "openai";
|
|
1180
|
+
readonly supersededBy: "gpt-6.1-sol";
|
|
1146
1181
|
};
|
|
1147
1182
|
readonly "gpt-6-luna": {
|
|
1148
1183
|
readonly displayName: "GPT-6 Luna";
|
|
@@ -1151,6 +1186,7 @@ declare const MODEL_DISPLAY_METADATA: {
|
|
|
1151
1186
|
readonly "gpt-5.6": {
|
|
1152
1187
|
readonly displayName: "GPT-5.6 Sol";
|
|
1153
1188
|
readonly iconProvider: "openai";
|
|
1189
|
+
readonly supersededBy: "gpt-6.1-sol";
|
|
1154
1190
|
};
|
|
1155
1191
|
readonly "gpt-5.6-terra": {
|
|
1156
1192
|
readonly displayName: "GPT-5.6 Terra";
|
|
@@ -1159,6 +1195,7 @@ declare const MODEL_DISPLAY_METADATA: {
|
|
|
1159
1195
|
readonly "gpt-5.6-luna": {
|
|
1160
1196
|
readonly displayName: "GPT-5.6 Luna";
|
|
1161
1197
|
readonly iconProvider: "openai";
|
|
1198
|
+
readonly supersededBy: "gpt-6-luna";
|
|
1162
1199
|
};
|
|
1163
1200
|
readonly "gpt-5.5": {
|
|
1164
1201
|
readonly displayName: "GPT-5.5";
|
|
@@ -1167,6 +1204,7 @@ declare const MODEL_DISPLAY_METADATA: {
|
|
|
1167
1204
|
readonly "gpt-5.4": {
|
|
1168
1205
|
readonly displayName: "GPT-5.4";
|
|
1169
1206
|
readonly iconProvider: "openai";
|
|
1207
|
+
readonly supersededBy: "gpt-5.5";
|
|
1170
1208
|
};
|
|
1171
1209
|
readonly "gpt-5.4-mini": {
|
|
1172
1210
|
readonly displayName: "GPT-5.4 Mini";
|
|
@@ -1179,6 +1217,7 @@ declare const MODEL_DISPLAY_METADATA: {
|
|
|
1179
1217
|
readonly "gpt-5.2": {
|
|
1180
1218
|
readonly displayName: "GPT-5.2";
|
|
1181
1219
|
readonly iconProvider: "openai";
|
|
1220
|
+
readonly supersededBy: "gpt-5.5";
|
|
1182
1221
|
};
|
|
1183
1222
|
readonly "openai/gpt-6.1-sol": {
|
|
1184
1223
|
readonly displayName: "GPT-6.1 Sol";
|
|
@@ -1191,6 +1230,7 @@ declare const MODEL_DISPLAY_METADATA: {
|
|
|
1191
1230
|
readonly "openai/gpt-6-sol": {
|
|
1192
1231
|
readonly displayName: "GPT-6 Sol";
|
|
1193
1232
|
readonly iconProvider: "openai";
|
|
1233
|
+
readonly supersededBy: "openai/gpt-6.1-sol";
|
|
1194
1234
|
};
|
|
1195
1235
|
readonly "openai/gpt-6-luna": {
|
|
1196
1236
|
readonly displayName: "GPT-6 Luna";
|
|
@@ -1199,10 +1239,12 @@ declare const MODEL_DISPLAY_METADATA: {
|
|
|
1199
1239
|
readonly "openai/gpt-5.6-sol": {
|
|
1200
1240
|
readonly displayName: "GPT-5.6 Sol";
|
|
1201
1241
|
readonly iconProvider: "openai";
|
|
1242
|
+
readonly supersededBy: "openai/gpt-6.1-sol";
|
|
1202
1243
|
};
|
|
1203
1244
|
readonly "openai/gpt-5.6-luna": {
|
|
1204
1245
|
readonly displayName: "GPT-5.6 Luna";
|
|
1205
1246
|
readonly iconProvider: "openai";
|
|
1247
|
+
readonly supersededBy: "openai/gpt-6-luna";
|
|
1206
1248
|
};
|
|
1207
1249
|
readonly "openai/gpt-5.6-terra": {
|
|
1208
1250
|
readonly displayName: "GPT-5.6 Terra";
|
|
@@ -1215,10 +1257,12 @@ declare const MODEL_DISPLAY_METADATA: {
|
|
|
1215
1257
|
readonly "google/gemini-3.7-flash": {
|
|
1216
1258
|
readonly displayName: "Gemini 3.7 Flash";
|
|
1217
1259
|
readonly iconProvider: "google";
|
|
1260
|
+
readonly supersededBy: "google/gemini-3.8-flash";
|
|
1218
1261
|
};
|
|
1219
1262
|
readonly "google/gemini-3.6-flash": {
|
|
1220
1263
|
readonly displayName: "Gemini 3.6 Flash";
|
|
1221
1264
|
readonly iconProvider: "google";
|
|
1265
|
+
readonly supersededBy: "google/gemini-3.8-flash";
|
|
1222
1266
|
};
|
|
1223
1267
|
readonly "google/gemini-3.5-flash-lite": {
|
|
1224
1268
|
readonly displayName: "Gemini 3.5 Flash Lite";
|
|
@@ -1231,10 +1275,12 @@ declare const MODEL_DISPLAY_METADATA: {
|
|
|
1231
1275
|
readonly "google/gemini-3.5-flash": {
|
|
1232
1276
|
readonly displayName: "Gemini 3.5 Flash";
|
|
1233
1277
|
readonly iconProvider: "google";
|
|
1278
|
+
readonly supersededBy: "google/gemini-3.8-flash";
|
|
1234
1279
|
};
|
|
1235
1280
|
readonly "google/gemini-3.1-flash-lite": {
|
|
1236
1281
|
readonly displayName: "Gemini 3.1 Flash Lite";
|
|
1237
1282
|
readonly iconProvider: "google";
|
|
1283
|
+
readonly supersededBy: "google/gemini-3.5-flash-lite";
|
|
1238
1284
|
};
|
|
1239
1285
|
readonly "anthropic/claude-sonnet-5.5": {
|
|
1240
1286
|
readonly displayName: "Claude Sonnet 5.5";
|
|
@@ -1243,18 +1289,22 @@ declare const MODEL_DISPLAY_METADATA: {
|
|
|
1243
1289
|
readonly "anthropic/claude-sonnet-5": {
|
|
1244
1290
|
readonly displayName: "Claude Sonnet 5";
|
|
1245
1291
|
readonly iconProvider: "anthropic";
|
|
1292
|
+
readonly supersededBy: "anthropic/claude-sonnet-5.5";
|
|
1246
1293
|
};
|
|
1247
1294
|
readonly "anthropic/claude-opus-5": {
|
|
1248
1295
|
readonly displayName: "Claude Opus 5";
|
|
1249
1296
|
readonly iconProvider: "anthropic";
|
|
1297
|
+
readonly supersededBy: "claude-opus-5-5";
|
|
1250
1298
|
};
|
|
1251
1299
|
readonly "anthropic/claude-opus-4.8": {
|
|
1252
1300
|
readonly displayName: "Claude Opus 4.8";
|
|
1253
1301
|
readonly iconProvider: "anthropic";
|
|
1302
|
+
readonly supersededBy: "claude-opus-5-5";
|
|
1254
1303
|
};
|
|
1255
1304
|
readonly "anthropic/claude-sonnet-4.6": {
|
|
1256
1305
|
readonly displayName: "Claude Sonnet 4.6";
|
|
1257
1306
|
readonly iconProvider: "anthropic";
|
|
1307
|
+
readonly supersededBy: "anthropic/claude-sonnet-5.5";
|
|
1258
1308
|
};
|
|
1259
1309
|
readonly "openai/gpt-5.5": {
|
|
1260
1310
|
readonly displayName: "GPT-5.5";
|
|
@@ -1267,6 +1317,7 @@ declare const MODEL_DISPLAY_METADATA: {
|
|
|
1267
1317
|
readonly "us.anthropic.claude-sonnet-4-5-20250929-v1:0": {
|
|
1268
1318
|
readonly displayName: "Claude Sonnet 4.5";
|
|
1269
1319
|
readonly iconProvider: "anthropic";
|
|
1320
|
+
readonly supersededBy: "claude-sonnet-5-5";
|
|
1270
1321
|
};
|
|
1271
1322
|
readonly "us.anthropic.claude-haiku-4-5-20251001-v1:0": {
|
|
1272
1323
|
readonly displayName: "Claude Haiku 4.5";
|
|
@@ -1292,6 +1343,10 @@ declare const MODEL_DISPLAY_METADATA: {
|
|
|
1292
1343
|
readonly displayName: "GPT OSS 20B";
|
|
1293
1344
|
readonly iconProvider: "openai";
|
|
1294
1345
|
};
|
|
1346
|
+
readonly "mistral-large-4": {
|
|
1347
|
+
readonly displayName: "Mistral Large 4";
|
|
1348
|
+
readonly iconProvider: "mistral";
|
|
1349
|
+
};
|
|
1295
1350
|
readonly "mistral-large-latest": {
|
|
1296
1351
|
readonly displayName: "Mistral Large";
|
|
1297
1352
|
readonly iconProvider: "mistral";
|
|
@@ -1519,6 +1574,7 @@ declare const MODEL_STREAMING_TOOL_USE: {
|
|
|
1519
1574
|
readonly "us.amazon.nova-micro-v1:0": "supported";
|
|
1520
1575
|
readonly "openai.gpt-oss-120b-1:0": "supported";
|
|
1521
1576
|
readonly "openai.gpt-oss-20b-1:0": "supported";
|
|
1577
|
+
readonly "mistral-large-4": "supported";
|
|
1522
1578
|
readonly "mistral-large-latest": "supported";
|
|
1523
1579
|
readonly "mistral-medium-latest": "supported";
|
|
1524
1580
|
readonly "mistral-small-latest": "supported";
|
|
@@ -1614,6 +1670,7 @@ declare const CONTEXT_WINDOW_TOKENS: {
|
|
|
1614
1670
|
readonly "claude-fable-5": 200000;
|
|
1615
1671
|
readonly "claude-fable-5-1": 1000000;
|
|
1616
1672
|
readonly "mistral-small-latest": 128000;
|
|
1673
|
+
readonly "mistral-large-4": 524288;
|
|
1617
1674
|
readonly "mistral-large-latest": 128000;
|
|
1618
1675
|
readonly "mistral-medium-latest": 128000;
|
|
1619
1676
|
readonly "mistral-medium-3-5": 128000;
|
|
@@ -1661,4 +1718,4 @@ declare const DEFAULT_CONTEXT_WINDOW_TOKENS = 128000;
|
|
|
1661
1718
|
*/
|
|
1662
1719
|
declare const getContextWindowTokens: (modelId: string) => number;
|
|
1663
1720
|
//#endregion
|
|
1664
|
-
export {
|
|
1721
|
+
export { MODEL_IMAGE_INPUT_CAPABILITIES as $, ResolvedReasoningEffort as A, getModelImageInputCapability as B, ModelDisplayMetadata as C, RECOMMENDED_CHAT_MODELS as D, REASONING_EFFORTS as E, TanStackAIProvider as F, isBYOKProviderRoleSupported as G, getModelReasoningEfforts as H, TemperaturePolicy as I, resolveReasoningEffort as J, isChatPdfAttachmentModelSupported as K, getContextWindowTokens as L, StreamingToolUseSupport as M, TANSTACK_AI_PROVIDERS as N, ReasoningEffort as O, TEMPERATURE_POLICIES as P, MODEL_DEFAULT_REASONING_EFFORTS as Q, getModelDefaultReasoningEffort as R, MODEL_STREAMING_TOOL_USE as S, OfferedBYOKModelId as T, getOutputTokenLimit as U, getModelRate as V, isBYOKModelRoleSupported as W, shouldEmitTemperature as X, resolveWorkingBYOKModelForRole as Y, supportsStreamingToolUse as Z, ImageInputCapability as _, ModelRateAmounts as _t, BYOKProvider as a, CAPABILITY_OVERRIDES as at, MODEL_DISPLAY_METADATA as b, BYOK_MODEL_OPTIONS as c, ImageInputOverride as ct, DEFAULT_CONTEXT_WINDOW_TOKENS as d, MODELS_DEV_RATE_SOURCE_ALIASES as dt, MODEL_OUTPUT_TOKEN_LIMITS as et, DEFAULT_MODELS as f, ModelsDevRateProvider as ft, IMAGE_INPUT_CAPABILITIES as g, ModelRate as gt, FirstPartyModelProvider as h, MODEL_RATE_UNITS_PER_USD as ht, BYOKModelIdByProvider as i, DocumentInputOverride as it, STREAMING_TOOL_USE_SUPPORTS as j, ResolveReasoningEffortOptions as k, CHAT_PDF_ATTACHMENT_MODEL_OPTIONS as l, ImageInputOverrides as lt, FIRST_PARTY_MODEL_PROVIDERS as m, MODEL_RATES as mt, AI_PROVIDERS as n, MODEL_TEMPERATURE_POLICIES as nt, BYOK_DEFAULT_MODELS as o, CapabilityOverride as ot, FALLBACK_CHAT_MODEL_BY_PROVIDER as p, RETAINED_MODELS_DEV_RATE_ENTRIES as pt, normalizeModelCatalogId as q, ANTHROPIC_ADAPTIVE_THINKING_MODELS as r, DOCUMENT_INPUT_OVERRIDES as rt, BYOK_DOCUMENT_INPUT_MODEL_OPTIONS as s, IMAGE_INPUT_OVERRIDES as st, AIProvider as t, MODEL_REASONING_EFFORTS as tt, CONTEXT_WINDOW_TOKENS as u, MODELS_DEV_RATE_PROVIDER_BY_CATALOG_PROVIDER as ut, MODEL_CATALOG_ID_ALIASES as v, getStandardModelRate as vt, ModelRole as w, MODEL_ROLES as x, MODEL_CATALOG_PROVIDER_KIND as y, resolveModelRate as yt, getModelDisplayMetadata as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { AIProvider, AI_PROVIDERS, ANTHROPIC_ADAPTIVE_THINKING_MODELS, BYOKModelIdByProvider, BYOKProvider, BYOK_DEFAULT_MODELS, BYOK_DOCUMENT_INPUT_MODEL_OPTIONS, BYOK_MODEL_OPTIONS, CAPABILITY_OVERRIDES, CHAT_PDF_ATTACHMENT_MODEL_OPTIONS, CONTEXT_WINDOW_TOKENS, type CapabilityOverride, DEFAULT_CONTEXT_WINDOW_TOKENS, DEFAULT_MODELS, DOCUMENT_INPUT_OVERRIDES, type DocumentInputOverride, FALLBACK_CHAT_MODEL_BY_PROVIDER, FIRST_PARTY_MODEL_PROVIDERS, FirstPartyModelProvider, IMAGE_INPUT_CAPABILITIES, IMAGE_INPUT_OVERRIDES, ImageInputCapability, type ImageInputOverride, type ImageInputOverrides, MODELS_DEV_RATE_PROVIDER_BY_CATALOG_PROVIDER, MODELS_DEV_RATE_SOURCE_ALIASES, MODEL_CATALOG_ID_ALIASES, MODEL_CATALOG_PROVIDER_KIND, MODEL_DEFAULT_REASONING_EFFORTS, MODEL_DISPLAY_METADATA, MODEL_IMAGE_INPUT_CAPABILITIES, MODEL_OUTPUT_TOKEN_LIMITS, MODEL_RATES, MODEL_RATE_UNITS_PER_USD, MODEL_REASONING_EFFORTS, MODEL_ROLES, MODEL_STREAMING_TOOL_USE, MODEL_TEMPERATURE_POLICIES, ModelDisplayMetadata, type ModelRate, type ModelRateAmounts, ModelRole, type ModelsDevRateProvider, OfferedBYOKModelId, REASONING_EFFORTS, RETAINED_MODELS_DEV_RATE_ENTRIES, ReasoningEffort, ResolveReasoningEffortOptions, ResolvedReasoningEffort, STREAMING_TOOL_USE_SUPPORTS, StreamingToolUseSupport, TANSTACK_AI_PROVIDERS, TEMPERATURE_POLICIES, TanStackAIProvider, TemperaturePolicy, getContextWindowTokens, getModelDefaultReasoningEffort, getModelDisplayMetadata, getModelImageInputCapability, getModelRate, getModelReasoningEfforts, getOutputTokenLimit, getStandardModelRate, isBYOKModelRoleSupported, isBYOKProviderRoleSupported, isChatPdfAttachmentModelSupported, normalizeModelCatalogId, resolveModelRate, resolveReasoningEffort, resolveWorkingBYOKModelForRole, shouldEmitTemperature, supportsStreamingToolUse };
|
|
1
|
+
import { $ as MODEL_IMAGE_INPUT_CAPABILITIES, A as ResolvedReasoningEffort, B as getModelImageInputCapability, C as ModelDisplayMetadata, D as RECOMMENDED_CHAT_MODELS, E as REASONING_EFFORTS, F as TanStackAIProvider, G as isBYOKProviderRoleSupported, H as getModelReasoningEfforts, I as TemperaturePolicy, J as resolveReasoningEffort, K as isChatPdfAttachmentModelSupported, L as getContextWindowTokens, M as StreamingToolUseSupport, N as TANSTACK_AI_PROVIDERS, O as ReasoningEffort, P as TEMPERATURE_POLICIES, Q as MODEL_DEFAULT_REASONING_EFFORTS, R as getModelDefaultReasoningEffort, S as MODEL_STREAMING_TOOL_USE, T as OfferedBYOKModelId, U as getOutputTokenLimit, V as getModelRate, W as isBYOKModelRoleSupported, X as shouldEmitTemperature, Y as resolveWorkingBYOKModelForRole, Z as supportsStreamingToolUse, _ as ImageInputCapability, _t as ModelRateAmounts, a as BYOKProvider, at as CAPABILITY_OVERRIDES, b as MODEL_DISPLAY_METADATA, c as BYOK_MODEL_OPTIONS, ct as ImageInputOverride, d as DEFAULT_CONTEXT_WINDOW_TOKENS, dt as MODELS_DEV_RATE_SOURCE_ALIASES, et as MODEL_OUTPUT_TOKEN_LIMITS, f as DEFAULT_MODELS, ft as ModelsDevRateProvider, g as IMAGE_INPUT_CAPABILITIES, gt as ModelRate, h as FirstPartyModelProvider, ht as MODEL_RATE_UNITS_PER_USD, i as BYOKModelIdByProvider, it as DocumentInputOverride, j as STREAMING_TOOL_USE_SUPPORTS, k as ResolveReasoningEffortOptions, l as CHAT_PDF_ATTACHMENT_MODEL_OPTIONS, lt as ImageInputOverrides, m as FIRST_PARTY_MODEL_PROVIDERS, mt as MODEL_RATES, n as AI_PROVIDERS, nt as MODEL_TEMPERATURE_POLICIES, o as BYOK_DEFAULT_MODELS, ot as CapabilityOverride, p as FALLBACK_CHAT_MODEL_BY_PROVIDER, pt as RETAINED_MODELS_DEV_RATE_ENTRIES, q as normalizeModelCatalogId, r as ANTHROPIC_ADAPTIVE_THINKING_MODELS, rt as DOCUMENT_INPUT_OVERRIDES, s as BYOK_DOCUMENT_INPUT_MODEL_OPTIONS, st as IMAGE_INPUT_OVERRIDES, t as AIProvider, tt as MODEL_REASONING_EFFORTS, u as CONTEXT_WINDOW_TOKENS, ut as MODELS_DEV_RATE_PROVIDER_BY_CATALOG_PROVIDER, v as MODEL_CATALOG_ID_ALIASES, vt as getStandardModelRate, w as ModelRole, x as MODEL_ROLES, y as MODEL_CATALOG_PROVIDER_KIND, yt as resolveModelRate, z as getModelDisplayMetadata } from "./index-pC8aWAxm.js";
|
|
2
|
+
export { AIProvider, AI_PROVIDERS, ANTHROPIC_ADAPTIVE_THINKING_MODELS, BYOKModelIdByProvider, BYOKProvider, BYOK_DEFAULT_MODELS, BYOK_DOCUMENT_INPUT_MODEL_OPTIONS, BYOK_MODEL_OPTIONS, CAPABILITY_OVERRIDES, CHAT_PDF_ATTACHMENT_MODEL_OPTIONS, CONTEXT_WINDOW_TOKENS, type CapabilityOverride, DEFAULT_CONTEXT_WINDOW_TOKENS, DEFAULT_MODELS, DOCUMENT_INPUT_OVERRIDES, type DocumentInputOverride, FALLBACK_CHAT_MODEL_BY_PROVIDER, FIRST_PARTY_MODEL_PROVIDERS, FirstPartyModelProvider, IMAGE_INPUT_CAPABILITIES, IMAGE_INPUT_OVERRIDES, ImageInputCapability, type ImageInputOverride, type ImageInputOverrides, MODELS_DEV_RATE_PROVIDER_BY_CATALOG_PROVIDER, MODELS_DEV_RATE_SOURCE_ALIASES, MODEL_CATALOG_ID_ALIASES, MODEL_CATALOG_PROVIDER_KIND, MODEL_DEFAULT_REASONING_EFFORTS, MODEL_DISPLAY_METADATA, MODEL_IMAGE_INPUT_CAPABILITIES, MODEL_OUTPUT_TOKEN_LIMITS, MODEL_RATES, MODEL_RATE_UNITS_PER_USD, MODEL_REASONING_EFFORTS, MODEL_ROLES, MODEL_STREAMING_TOOL_USE, MODEL_TEMPERATURE_POLICIES, ModelDisplayMetadata, type ModelRate, type ModelRateAmounts, ModelRole, type ModelsDevRateProvider, OfferedBYOKModelId, REASONING_EFFORTS, RECOMMENDED_CHAT_MODELS, RETAINED_MODELS_DEV_RATE_ENTRIES, ReasoningEffort, ResolveReasoningEffortOptions, ResolvedReasoningEffort, STREAMING_TOOL_USE_SUPPORTS, StreamingToolUseSupport, TANSTACK_AI_PROVIDERS, TEMPERATURE_POLICIES, TanStackAIProvider, TemperaturePolicy, getContextWindowTokens, getModelDefaultReasoningEffort, getModelDisplayMetadata, getModelImageInputCapability, getModelRate, getModelReasoningEfforts, getOutputTokenLimit, getStandardModelRate, isBYOKModelRoleSupported, isBYOKProviderRoleSupported, isChatPdfAttachmentModelSupported, normalizeModelCatalogId, resolveModelRate, resolveReasoningEffort, resolveWorkingBYOKModelForRole, shouldEmitTemperature, supportsStreamingToolUse };
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
export { AI_PROVIDERS, ANTHROPIC_ADAPTIVE_THINKING_MODELS, BYOK_DEFAULT_MODELS, BYOK_DOCUMENT_INPUT_MODEL_OPTIONS, BYOK_MODEL_OPTIONS, CAPABILITY_OVERRIDES, CHAT_PDF_ATTACHMENT_MODEL_OPTIONS, CONTEXT_WINDOW_TOKENS, DEFAULT_CONTEXT_WINDOW_TOKENS, DEFAULT_MODELS, DOCUMENT_INPUT_OVERRIDES, FALLBACK_CHAT_MODEL_BY_PROVIDER, FIRST_PARTY_MODEL_PROVIDERS, IMAGE_INPUT_CAPABILITIES, IMAGE_INPUT_OVERRIDES, MODELS_DEV_RATE_PROVIDER_BY_CATALOG_PROVIDER, MODELS_DEV_RATE_SOURCE_ALIASES, MODEL_CATALOG_ID_ALIASES, MODEL_CATALOG_PROVIDER_KIND, MODEL_DEFAULT_REASONING_EFFORTS, MODEL_DISPLAY_METADATA, MODEL_IMAGE_INPUT_CAPABILITIES, MODEL_OUTPUT_TOKEN_LIMITS, MODEL_RATES, MODEL_RATE_UNITS_PER_USD, MODEL_REASONING_EFFORTS, MODEL_ROLES, MODEL_STREAMING_TOOL_USE, MODEL_TEMPERATURE_POLICIES, REASONING_EFFORTS, RETAINED_MODELS_DEV_RATE_ENTRIES, STREAMING_TOOL_USE_SUPPORTS, TANSTACK_AI_PROVIDERS, TEMPERATURE_POLICIES, getContextWindowTokens, getModelDefaultReasoningEffort, getModelDisplayMetadata, getModelImageInputCapability, getModelRate, getModelReasoningEfforts, getOutputTokenLimit, getStandardModelRate, isBYOKModelRoleSupported, isBYOKProviderRoleSupported, isChatPdfAttachmentModelSupported, normalizeModelCatalogId, resolveModelRate, resolveReasoningEffort, resolveWorkingBYOKModelForRole, shouldEmitTemperature, supportsStreamingToolUse };
|
|
1
|
+
import { A as isBYOKModelRoleSupported, B as IMAGE_INPUT_OVERRIDES, C as getContextWindowTokens, D as getModelRate, E as getModelImageInputCapability, F as resolveWorkingBYOKModelForRole, G as getStandardModelRate, H as MODELS_DEV_RATE_SOURCE_ALIASES, I as shouldEmitTemperature, J as MODEL_DEFAULT_REASONING_EFFORTS, K as resolveModelRate, L as supportsStreamingToolUse, M as isChatPdfAttachmentModelSupported, N as normalizeModelCatalogId, O as getModelReasoningEfforts, P as resolveReasoningEffort, Q as MODEL_TEMPERATURE_POLICIES, R as DOCUMENT_INPUT_OVERRIDES, S as TEMPERATURE_POLICIES, T as getModelDisplayMetadata, U as RETAINED_MODELS_DEV_RATE_ENTRIES, V as MODELS_DEV_RATE_PROVIDER_BY_CATALOG_PROVIDER, W as MODEL_RATE_UNITS_PER_USD, X as MODEL_OUTPUT_TOKEN_LIMITS, Y as MODEL_IMAGE_INPUT_CAPABILITIES, Z as MODEL_REASONING_EFFORTS, _ as MODEL_STREAMING_TOOL_USE, a as BYOK_MODEL_OPTIONS, b as STREAMING_TOOL_USE_SUPPORTS, c as DEFAULT_CONTEXT_WINDOW_TOKENS, d as FIRST_PARTY_MODEL_PROVIDERS, f as IMAGE_INPUT_CAPABILITIES, g as MODEL_ROLES, h as MODEL_DISPLAY_METADATA, i as BYOK_DOCUMENT_INPUT_MODEL_OPTIONS, j as isBYOKProviderRoleSupported, k as getOutputTokenLimit, l as DEFAULT_MODELS, m as MODEL_CATALOG_PROVIDER_KIND, n as ANTHROPIC_ADAPTIVE_THINKING_MODELS, o as CHAT_PDF_ATTACHMENT_MODEL_OPTIONS, p as MODEL_CATALOG_ID_ALIASES, q as MODEL_RATES, r as BYOK_DEFAULT_MODELS, s as CONTEXT_WINDOW_TOKENS, t as AI_PROVIDERS, u as FALLBACK_CHAT_MODEL_BY_PROVIDER, v as REASONING_EFFORTS, w as getModelDefaultReasoningEffort, x as TANSTACK_AI_PROVIDERS, y as RECOMMENDED_CHAT_MODELS, z as CAPABILITY_OVERRIDES } from "./src-DaH9EEfe.js";
|
|
2
|
+
export { AI_PROVIDERS, ANTHROPIC_ADAPTIVE_THINKING_MODELS, BYOK_DEFAULT_MODELS, BYOK_DOCUMENT_INPUT_MODEL_OPTIONS, BYOK_MODEL_OPTIONS, CAPABILITY_OVERRIDES, CHAT_PDF_ATTACHMENT_MODEL_OPTIONS, CONTEXT_WINDOW_TOKENS, DEFAULT_CONTEXT_WINDOW_TOKENS, DEFAULT_MODELS, DOCUMENT_INPUT_OVERRIDES, FALLBACK_CHAT_MODEL_BY_PROVIDER, FIRST_PARTY_MODEL_PROVIDERS, IMAGE_INPUT_CAPABILITIES, IMAGE_INPUT_OVERRIDES, MODELS_DEV_RATE_PROVIDER_BY_CATALOG_PROVIDER, MODELS_DEV_RATE_SOURCE_ALIASES, MODEL_CATALOG_ID_ALIASES, MODEL_CATALOG_PROVIDER_KIND, MODEL_DEFAULT_REASONING_EFFORTS, MODEL_DISPLAY_METADATA, MODEL_IMAGE_INPUT_CAPABILITIES, MODEL_OUTPUT_TOKEN_LIMITS, MODEL_RATES, MODEL_RATE_UNITS_PER_USD, MODEL_REASONING_EFFORTS, MODEL_ROLES, MODEL_STREAMING_TOOL_USE, MODEL_TEMPERATURE_POLICIES, REASONING_EFFORTS, RECOMMENDED_CHAT_MODELS, RETAINED_MODELS_DEV_RATE_ENTRIES, STREAMING_TOOL_USE_SUPPORTS, TANSTACK_AI_PROVIDERS, TEMPERATURE_POLICIES, getContextWindowTokens, getModelDefaultReasoningEffort, getModelDisplayMetadata, getModelImageInputCapability, getModelRate, getModelReasoningEfforts, getOutputTokenLimit, getStandardModelRate, isBYOKModelRoleSupported, isBYOKProviderRoleSupported, isChatPdfAttachmentModelSupported, normalizeModelCatalogId, resolveModelRate, resolveReasoningEffort, resolveWorkingBYOKModelForRole, shouldEmitTemperature, supportsStreamingToolUse };
|
|
@@ -143,6 +143,7 @@ const MODEL_IMAGE_INPUT_CAPABILITIES = {
|
|
|
143
143
|
"openai.gpt-oss-20b-1:0": "unsupported"
|
|
144
144
|
},
|
|
145
145
|
mistral: {
|
|
146
|
+
"mistral-large-4": "supported",
|
|
146
147
|
"mistral-large-latest": "supported",
|
|
147
148
|
"mistral-medium-latest": "supported",
|
|
148
149
|
"mistral-small-latest": "supported"
|
|
@@ -514,6 +515,7 @@ const MODEL_REASONING_EFFORTS = {
|
|
|
514
515
|
"medium",
|
|
515
516
|
"high"
|
|
516
517
|
],
|
|
518
|
+
"mistral-large-4": ["none", "high"],
|
|
517
519
|
"mistral-large-latest": null,
|
|
518
520
|
"mistral-medium-latest": ["none", "high"],
|
|
519
521
|
"mistral-small-latest": ["none", "high"]
|
|
@@ -582,6 +584,7 @@ const MODEL_DEFAULT_REASONING_EFFORTS = {
|
|
|
582
584
|
"us.amazon.nova-micro-v1:0": null,
|
|
583
585
|
"openai.gpt-oss-120b-1:0": null,
|
|
584
586
|
"openai.gpt-oss-20b-1:0": null,
|
|
587
|
+
"mistral-large-4": null,
|
|
585
588
|
"mistral-large-latest": null,
|
|
586
589
|
"mistral-medium-latest": null,
|
|
587
590
|
"mistral-small-latest": null
|
|
@@ -650,6 +653,7 @@ const MODEL_TEMPERATURE_POLICIES = {
|
|
|
650
653
|
"us.amazon.nova-micro-v1:0": "emit",
|
|
651
654
|
"openai.gpt-oss-120b-1:0": "emit",
|
|
652
655
|
"openai.gpt-oss-20b-1:0": "emit",
|
|
656
|
+
"mistral-large-4": "emit",
|
|
653
657
|
"mistral-large-latest": "emit",
|
|
654
658
|
"mistral-medium-latest": "emit",
|
|
655
659
|
"mistral-small-latest": "emit"
|
|
@@ -718,6 +722,7 @@ const MODEL_OUTPUT_TOKEN_LIMITS = {
|
|
|
718
722
|
"us.amazon.nova-micro-v1:0": 1e4,
|
|
719
723
|
"openai.gpt-oss-120b-1:0": 128e3,
|
|
720
724
|
"openai.gpt-oss-20b-1:0": 128e3,
|
|
725
|
+
"mistral-large-4": 262144,
|
|
721
726
|
"mistral-large-latest": 262144,
|
|
722
727
|
"mistral-medium-latest": 262144,
|
|
723
728
|
"mistral-small-latest": 256e3
|
|
@@ -1055,6 +1060,12 @@ const MODEL_RATES = {
|
|
|
1055
1060
|
inputPerMTok: 7e3,
|
|
1056
1061
|
outputPerMTok: 3e4
|
|
1057
1062
|
},
|
|
1063
|
+
"mistral-large-4": {
|
|
1064
|
+
kind: "flat",
|
|
1065
|
+
inputPerMTok: 68e3,
|
|
1066
|
+
outputPerMTok: 209e3,
|
|
1067
|
+
cachedInputPerMTok: 7e3
|
|
1068
|
+
},
|
|
1058
1069
|
"mistral-large-latest": {
|
|
1059
1070
|
kind: "flat",
|
|
1060
1071
|
inputPerMTok: 5e4,
|
|
@@ -1467,12 +1478,25 @@ const BYOK_MODEL_OPTIONS = {
|
|
|
1467
1478
|
"openai.gpt-oss-20b-1:0"
|
|
1468
1479
|
],
|
|
1469
1480
|
mistral: [
|
|
1481
|
+
"mistral-large-4",
|
|
1470
1482
|
"mistral-large-latest",
|
|
1471
1483
|
"mistral-medium-latest",
|
|
1472
1484
|
"mistral-small-latest"
|
|
1473
1485
|
]
|
|
1474
1486
|
};
|
|
1475
1487
|
/**
|
|
1488
|
+
* The chat model picker's Recommended section: a reviewed, curated list of
|
|
1489
|
+
* the latest generation per maker. Benchmarks inform ordering and hints but
|
|
1490
|
+
* never pick these. Every route to a listed model qualifies; a listed model
|
|
1491
|
+
* must not be superseded (model-lineage.test.ts).
|
|
1492
|
+
*/
|
|
1493
|
+
const RECOMMENDED_CHAT_MODELS = [
|
|
1494
|
+
"claude-opus-5-5",
|
|
1495
|
+
GPT_61_MODEL_IDS.sol.openai,
|
|
1496
|
+
GPT_6_MODEL_IDS.luna.openai,
|
|
1497
|
+
"gemini-3.8-flash"
|
|
1498
|
+
];
|
|
1499
|
+
/**
|
|
1476
1500
|
* Presentation metadata for every offered model. Keeping this exhaustive beside
|
|
1477
1501
|
* the allowlist prevents a newly offered model from leaking a raw provider ID
|
|
1478
1502
|
* into user-facing pickers. OpenRouter entries deliberately carry their model
|
|
@@ -1485,11 +1509,13 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1485
1509
|
},
|
|
1486
1510
|
"gemini-3.7-flash": {
|
|
1487
1511
|
displayName: "Gemini 3.7 Flash",
|
|
1488
|
-
iconProvider: "google"
|
|
1512
|
+
iconProvider: "google",
|
|
1513
|
+
supersededBy: "gemini-3.8-flash"
|
|
1489
1514
|
},
|
|
1490
1515
|
"gemini-3.6-flash": {
|
|
1491
1516
|
displayName: "Gemini 3.6 Flash",
|
|
1492
|
-
iconProvider: "google"
|
|
1517
|
+
iconProvider: "google",
|
|
1518
|
+
supersededBy: "gemini-3.8-flash"
|
|
1493
1519
|
},
|
|
1494
1520
|
"gemini-3.5-flash-lite": {
|
|
1495
1521
|
displayName: "Gemini 3.5 Flash Lite",
|
|
@@ -1501,11 +1527,13 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1501
1527
|
},
|
|
1502
1528
|
"gemini-3.5-flash": {
|
|
1503
1529
|
displayName: "Gemini 3.5 Flash",
|
|
1504
|
-
iconProvider: "google"
|
|
1530
|
+
iconProvider: "google",
|
|
1531
|
+
supersededBy: "gemini-3.8-flash"
|
|
1505
1532
|
},
|
|
1506
1533
|
"gemini-3.1-flash-lite": {
|
|
1507
1534
|
displayName: "Gemini 3.1 Flash Lite",
|
|
1508
|
-
iconProvider: "google"
|
|
1535
|
+
iconProvider: "google",
|
|
1536
|
+
supersededBy: "gemini-3.5-flash-lite"
|
|
1509
1537
|
},
|
|
1510
1538
|
"claude-sonnet-5-5": {
|
|
1511
1539
|
displayName: "Claude Sonnet 5.5",
|
|
@@ -1513,7 +1541,8 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1513
1541
|
},
|
|
1514
1542
|
"claude-sonnet-5": {
|
|
1515
1543
|
displayName: "Claude Sonnet 5",
|
|
1516
|
-
iconProvider: "anthropic"
|
|
1544
|
+
iconProvider: "anthropic",
|
|
1545
|
+
supersededBy: "claude-sonnet-5-5"
|
|
1517
1546
|
},
|
|
1518
1547
|
"claude-fable-5-1": {
|
|
1519
1548
|
displayName: "Claude Fable 5.1",
|
|
@@ -1521,7 +1550,8 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1521
1550
|
},
|
|
1522
1551
|
"claude-fable-5": {
|
|
1523
1552
|
displayName: "Claude Fable 5",
|
|
1524
|
-
iconProvider: "anthropic"
|
|
1553
|
+
iconProvider: "anthropic",
|
|
1554
|
+
supersededBy: "claude-fable-5-1"
|
|
1525
1555
|
},
|
|
1526
1556
|
"claude-opus-5-5": {
|
|
1527
1557
|
displayName: "Claude Opus 5.5",
|
|
@@ -1529,23 +1559,28 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1529
1559
|
},
|
|
1530
1560
|
"claude-opus-5": {
|
|
1531
1561
|
displayName: "Claude Opus 5",
|
|
1532
|
-
iconProvider: "anthropic"
|
|
1562
|
+
iconProvider: "anthropic",
|
|
1563
|
+
supersededBy: "claude-opus-5-5"
|
|
1533
1564
|
},
|
|
1534
1565
|
"claude-opus-4-8": {
|
|
1535
1566
|
displayName: "Claude Opus 4.8",
|
|
1536
|
-
iconProvider: "anthropic"
|
|
1567
|
+
iconProvider: "anthropic",
|
|
1568
|
+
supersededBy: "claude-opus-5-5"
|
|
1537
1569
|
},
|
|
1538
1570
|
"claude-opus-4-7": {
|
|
1539
1571
|
displayName: "Claude Opus 4.7",
|
|
1540
|
-
iconProvider: "anthropic"
|
|
1572
|
+
iconProvider: "anthropic",
|
|
1573
|
+
supersededBy: "claude-opus-5-5"
|
|
1541
1574
|
},
|
|
1542
1575
|
"claude-sonnet-4-6": {
|
|
1543
1576
|
displayName: "Claude Sonnet 4.6",
|
|
1544
|
-
iconProvider: "anthropic"
|
|
1577
|
+
iconProvider: "anthropic",
|
|
1578
|
+
supersededBy: "claude-sonnet-5-5"
|
|
1545
1579
|
},
|
|
1546
1580
|
"claude-opus-4-6": {
|
|
1547
1581
|
displayName: "Claude Opus 4.6",
|
|
1548
|
-
iconProvider: "anthropic"
|
|
1582
|
+
iconProvider: "anthropic",
|
|
1583
|
+
supersededBy: "claude-opus-5-5"
|
|
1549
1584
|
},
|
|
1550
1585
|
"claude-haiku-4-5-20251001": {
|
|
1551
1586
|
displayName: "Claude Haiku 4.5",
|
|
@@ -1561,7 +1596,8 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1561
1596
|
},
|
|
1562
1597
|
[GPT_6_MODEL_IDS.sol.openai]: {
|
|
1563
1598
|
displayName: "GPT-6 Sol",
|
|
1564
|
-
iconProvider: "openai"
|
|
1599
|
+
iconProvider: "openai",
|
|
1600
|
+
supersededBy: GPT_61_MODEL_IDS.sol.openai
|
|
1565
1601
|
},
|
|
1566
1602
|
[GPT_6_MODEL_IDS.luna.openai]: {
|
|
1567
1603
|
displayName: "GPT-6 Luna",
|
|
@@ -1569,7 +1605,8 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1569
1605
|
},
|
|
1570
1606
|
[GPT_56_MODEL_IDS.sol.openai]: {
|
|
1571
1607
|
displayName: "GPT-5.6 Sol",
|
|
1572
|
-
iconProvider: "openai"
|
|
1608
|
+
iconProvider: "openai",
|
|
1609
|
+
supersededBy: GPT_61_MODEL_IDS.sol.openai
|
|
1573
1610
|
},
|
|
1574
1611
|
[GPT_56_MODEL_IDS.terra.openai]: {
|
|
1575
1612
|
displayName: "GPT-5.6 Terra",
|
|
@@ -1577,7 +1614,8 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1577
1614
|
},
|
|
1578
1615
|
[GPT_56_MODEL_IDS.luna.openai]: {
|
|
1579
1616
|
displayName: "GPT-5.6 Luna",
|
|
1580
|
-
iconProvider: "openai"
|
|
1617
|
+
iconProvider: "openai",
|
|
1618
|
+
supersededBy: GPT_6_MODEL_IDS.luna.openai
|
|
1581
1619
|
},
|
|
1582
1620
|
"gpt-5.5": {
|
|
1583
1621
|
displayName: "GPT-5.5",
|
|
@@ -1585,7 +1623,8 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1585
1623
|
},
|
|
1586
1624
|
"gpt-5.4": {
|
|
1587
1625
|
displayName: "GPT-5.4",
|
|
1588
|
-
iconProvider: "openai"
|
|
1626
|
+
iconProvider: "openai",
|
|
1627
|
+
supersededBy: "gpt-5.5"
|
|
1589
1628
|
},
|
|
1590
1629
|
"gpt-5.4-mini": {
|
|
1591
1630
|
displayName: "GPT-5.4 Mini",
|
|
@@ -1597,7 +1636,8 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1597
1636
|
},
|
|
1598
1637
|
"gpt-5.2": {
|
|
1599
1638
|
displayName: "GPT-5.2",
|
|
1600
|
-
iconProvider: "openai"
|
|
1639
|
+
iconProvider: "openai",
|
|
1640
|
+
supersededBy: "gpt-5.5"
|
|
1601
1641
|
},
|
|
1602
1642
|
[GPT_61_MODEL_IDS.sol.openrouter]: {
|
|
1603
1643
|
displayName: "GPT-6.1 Sol",
|
|
@@ -1609,7 +1649,8 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1609
1649
|
},
|
|
1610
1650
|
[GPT_6_MODEL_IDS.sol.openrouter]: {
|
|
1611
1651
|
displayName: "GPT-6 Sol",
|
|
1612
|
-
iconProvider: "openai"
|
|
1652
|
+
iconProvider: "openai",
|
|
1653
|
+
supersededBy: GPT_61_MODEL_IDS.sol.openrouter
|
|
1613
1654
|
},
|
|
1614
1655
|
[GPT_6_MODEL_IDS.luna.openrouter]: {
|
|
1615
1656
|
displayName: "GPT-6 Luna",
|
|
@@ -1617,11 +1658,13 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1617
1658
|
},
|
|
1618
1659
|
[GPT_56_MODEL_IDS.sol.openrouter]: {
|
|
1619
1660
|
displayName: "GPT-5.6 Sol",
|
|
1620
|
-
iconProvider: "openai"
|
|
1661
|
+
iconProvider: "openai",
|
|
1662
|
+
supersededBy: GPT_61_MODEL_IDS.sol.openrouter
|
|
1621
1663
|
},
|
|
1622
1664
|
[GPT_56_MODEL_IDS.luna.openrouter]: {
|
|
1623
1665
|
displayName: "GPT-5.6 Luna",
|
|
1624
|
-
iconProvider: "openai"
|
|
1666
|
+
iconProvider: "openai",
|
|
1667
|
+
supersededBy: GPT_6_MODEL_IDS.luna.openrouter
|
|
1625
1668
|
},
|
|
1626
1669
|
[GPT_56_MODEL_IDS.terra.openrouter]: {
|
|
1627
1670
|
displayName: "GPT-5.6 Terra",
|
|
@@ -1633,11 +1676,13 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1633
1676
|
},
|
|
1634
1677
|
"google/gemini-3.7-flash": {
|
|
1635
1678
|
displayName: "Gemini 3.7 Flash",
|
|
1636
|
-
iconProvider: "google"
|
|
1679
|
+
iconProvider: "google",
|
|
1680
|
+
supersededBy: "google/gemini-3.8-flash"
|
|
1637
1681
|
},
|
|
1638
1682
|
"google/gemini-3.6-flash": {
|
|
1639
1683
|
displayName: "Gemini 3.6 Flash",
|
|
1640
|
-
iconProvider: "google"
|
|
1684
|
+
iconProvider: "google",
|
|
1685
|
+
supersededBy: "google/gemini-3.8-flash"
|
|
1641
1686
|
},
|
|
1642
1687
|
"google/gemini-3.5-flash-lite": {
|
|
1643
1688
|
displayName: "Gemini 3.5 Flash Lite",
|
|
@@ -1649,11 +1694,13 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1649
1694
|
},
|
|
1650
1695
|
"google/gemini-3.5-flash": {
|
|
1651
1696
|
displayName: "Gemini 3.5 Flash",
|
|
1652
|
-
iconProvider: "google"
|
|
1697
|
+
iconProvider: "google",
|
|
1698
|
+
supersededBy: "google/gemini-3.8-flash"
|
|
1653
1699
|
},
|
|
1654
1700
|
"google/gemini-3.1-flash-lite": {
|
|
1655
1701
|
displayName: "Gemini 3.1 Flash Lite",
|
|
1656
|
-
iconProvider: "google"
|
|
1702
|
+
iconProvider: "google",
|
|
1703
|
+
supersededBy: "google/gemini-3.5-flash-lite"
|
|
1657
1704
|
},
|
|
1658
1705
|
"anthropic/claude-sonnet-5.5": {
|
|
1659
1706
|
displayName: "Claude Sonnet 5.5",
|
|
@@ -1661,19 +1708,23 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1661
1708
|
},
|
|
1662
1709
|
"anthropic/claude-sonnet-5": {
|
|
1663
1710
|
displayName: "Claude Sonnet 5",
|
|
1664
|
-
iconProvider: "anthropic"
|
|
1711
|
+
iconProvider: "anthropic",
|
|
1712
|
+
supersededBy: "anthropic/claude-sonnet-5.5"
|
|
1665
1713
|
},
|
|
1666
1714
|
"anthropic/claude-opus-5": {
|
|
1667
1715
|
displayName: "Claude Opus 5",
|
|
1668
|
-
iconProvider: "anthropic"
|
|
1716
|
+
iconProvider: "anthropic",
|
|
1717
|
+
supersededBy: "claude-opus-5-5"
|
|
1669
1718
|
},
|
|
1670
1719
|
"anthropic/claude-opus-4.8": {
|
|
1671
1720
|
displayName: "Claude Opus 4.8",
|
|
1672
|
-
iconProvider: "anthropic"
|
|
1721
|
+
iconProvider: "anthropic",
|
|
1722
|
+
supersededBy: "claude-opus-5-5"
|
|
1673
1723
|
},
|
|
1674
1724
|
"anthropic/claude-sonnet-4.6": {
|
|
1675
1725
|
displayName: "Claude Sonnet 4.6",
|
|
1676
|
-
iconProvider: "anthropic"
|
|
1726
|
+
iconProvider: "anthropic",
|
|
1727
|
+
supersededBy: "anthropic/claude-sonnet-5.5"
|
|
1677
1728
|
},
|
|
1678
1729
|
"openai/gpt-5.5": {
|
|
1679
1730
|
displayName: "GPT-5.5",
|
|
@@ -1685,7 +1736,8 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1685
1736
|
},
|
|
1686
1737
|
"us.anthropic.claude-sonnet-4-5-20250929-v1:0": {
|
|
1687
1738
|
displayName: "Claude Sonnet 4.5",
|
|
1688
|
-
iconProvider: "anthropic"
|
|
1739
|
+
iconProvider: "anthropic",
|
|
1740
|
+
supersededBy: "claude-sonnet-5-5"
|
|
1689
1741
|
},
|
|
1690
1742
|
"us.anthropic.claude-haiku-4-5-20251001-v1:0": {
|
|
1691
1743
|
displayName: "Claude Haiku 4.5",
|
|
@@ -1711,6 +1763,10 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1711
1763
|
displayName: "GPT OSS 20B",
|
|
1712
1764
|
iconProvider: "openai"
|
|
1713
1765
|
},
|
|
1766
|
+
"mistral-large-4": {
|
|
1767
|
+
displayName: "Mistral Large 4",
|
|
1768
|
+
iconProvider: "mistral"
|
|
1769
|
+
},
|
|
1714
1770
|
"mistral-large-latest": {
|
|
1715
1771
|
displayName: "Mistral Large",
|
|
1716
1772
|
iconProvider: "mistral"
|
|
@@ -1961,6 +2017,7 @@ const MODEL_STREAMING_TOOL_USE = {
|
|
|
1961
2017
|
"us.amazon.nova-micro-v1:0": "supported",
|
|
1962
2018
|
"openai.gpt-oss-120b-1:0": "supported",
|
|
1963
2019
|
"openai.gpt-oss-20b-1:0": "supported",
|
|
2020
|
+
"mistral-large-4": "supported",
|
|
1964
2021
|
"mistral-large-latest": "supported",
|
|
1965
2022
|
"mistral-medium-latest": "supported",
|
|
1966
2023
|
"mistral-small-latest": "supported"
|
|
@@ -2087,6 +2144,7 @@ const CONTEXT_WINDOW_TOKENS = {
|
|
|
2087
2144
|
"claude-fable-5": 2e5,
|
|
2088
2145
|
"claude-fable-5-1": 1e6,
|
|
2089
2146
|
"mistral-small-latest": 128e3,
|
|
2147
|
+
"mistral-large-4": 524288,
|
|
2090
2148
|
"mistral-large-latest": 128e3,
|
|
2091
2149
|
"mistral-medium-latest": 128e3,
|
|
2092
2150
|
"mistral-medium-3-5": 128e3,
|
|
@@ -2135,4 +2193,4 @@ const DEFAULT_CONTEXT_WINDOW_TOKENS = 128e3;
|
|
|
2135
2193
|
*/
|
|
2136
2194
|
const getContextWindowTokens = (modelId) => CONTEXT_WINDOW_TOKENS_BY_ID[normalizeModelCatalogId(modelId)] ?? 128e3;
|
|
2137
2195
|
//#endregion
|
|
2138
|
-
export {
|
|
2196
|
+
export { isBYOKModelRoleSupported as A, IMAGE_INPUT_OVERRIDES as B, getContextWindowTokens as C, getModelRate as D, getModelImageInputCapability as E, resolveWorkingBYOKModelForRole as F, getStandardModelRate as G, MODELS_DEV_RATE_SOURCE_ALIASES as H, shouldEmitTemperature as I, MODEL_DEFAULT_REASONING_EFFORTS as J, resolveModelRate as K, supportsStreamingToolUse as L, isChatPdfAttachmentModelSupported as M, normalizeModelCatalogId as N, getModelReasoningEfforts as O, resolveReasoningEffort as P, MODEL_TEMPERATURE_POLICIES as Q, DOCUMENT_INPUT_OVERRIDES as R, TEMPERATURE_POLICIES as S, getModelDisplayMetadata as T, RETAINED_MODELS_DEV_RATE_ENTRIES as U, MODELS_DEV_RATE_PROVIDER_BY_CATALOG_PROVIDER as V, MODEL_RATE_UNITS_PER_USD as W, MODEL_OUTPUT_TOKEN_LIMITS as X, MODEL_IMAGE_INPUT_CAPABILITIES as Y, MODEL_REASONING_EFFORTS as Z, MODEL_STREAMING_TOOL_USE as _, BYOK_MODEL_OPTIONS as a, STREAMING_TOOL_USE_SUPPORTS as b, DEFAULT_CONTEXT_WINDOW_TOKENS as c, FIRST_PARTY_MODEL_PROVIDERS as d, IMAGE_INPUT_CAPABILITIES as f, MODEL_ROLES as g, MODEL_DISPLAY_METADATA as h, BYOK_DOCUMENT_INPUT_MODEL_OPTIONS as i, isBYOKProviderRoleSupported as j, getOutputTokenLimit as k, DEFAULT_MODELS as l, MODEL_CATALOG_PROVIDER_KIND as m, ANTHROPIC_ADAPTIVE_THINKING_MODELS as n, CHAT_PDF_ATTACHMENT_MODEL_OPTIONS as o, MODEL_CATALOG_ID_ALIASES as p, MODEL_RATES as q, BYOK_DEFAULT_MODELS as r, CONTEXT_WINDOW_TOKENS as s, AI_PROVIDERS as t, FALLBACK_CHAT_MODEL_BY_PROVIDER as u, REASONING_EFFORTS as v, getModelDefaultReasoningEffort as w, TANSTACK_AI_PROVIDERS as x, RECOMMENDED_CHAT_MODELS as y, CAPABILITY_OVERRIDES as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stll/ai-catalog",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Provider-neutral AI model roles, capabilities, and curated model metadata.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@tanstack/ai-mistral": "0.6.10",
|
|
69
69
|
"@tanstack/ai-openrouter": "0.19.20",
|
|
70
70
|
"bun-types": "1.4.2",
|
|
71
|
-
"fast-check": "^4.10.
|
|
71
|
+
"fast-check": "^4.10.2",
|
|
72
72
|
"tsdown": "0.23.0"
|
|
73
73
|
},
|
|
74
74
|
"main": "./dist/index.js",
|