Skip to content

Commit 6fda9bd

Browse files
authored
feat(models): added latest mistral models (#2159)
1 parent 3b4f227 commit 6fda9bd

File tree

1 file changed

+169
-18
lines changed

1 file changed

+169
-18
lines changed

apps/sim/providers/models.ts

Lines changed: 169 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,14 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
10291029
name: 'Mistral AI',
10301030
description: "Mistral AI's language models",
10311031
defaultModel: 'mistral-large-latest',
1032-
modelPatterns: [/^mistral/, /^magistral/, /^open-mistral/, /^codestral/, /^ministral/],
1032+
modelPatterns: [
1033+
/^mistral/,
1034+
/^magistral/,
1035+
/^open-mistral/,
1036+
/^codestral/,
1037+
/^ministral/,
1038+
/^devstral/,
1039+
],
10331040
icon: MistralIcon,
10341041
capabilities: {
10351042
toolUsageControl: true,
@@ -1038,14 +1045,26 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
10381045
{
10391046
id: 'mistral-large-latest',
10401047
pricing: {
1041-
input: 2.0,
1042-
output: 6.0,
1043-
updatedAt: '2025-10-11',
1048+
input: 0.5,
1049+
output: 1.5,
1050+
updatedAt: '2025-12-02',
10441051
},
10451052
capabilities: {
10461053
temperature: { min: 0, max: 1 },
10471054
},
1048-
contextWindow: 128000,
1055+
contextWindow: 256000,
1056+
},
1057+
{
1058+
id: 'mistral-large-2512',
1059+
pricing: {
1060+
input: 0.5,
1061+
output: 1.5,
1062+
updatedAt: '2025-12-02',
1063+
},
1064+
capabilities: {
1065+
temperature: { min: 0, max: 1 },
1066+
},
1067+
contextWindow: 256000,
10491068
},
10501069
{
10511070
id: 'mistral-large-2411',
@@ -1076,7 +1095,31 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
10761095
pricing: {
10771096
input: 2.0,
10781097
output: 5.0,
1079-
updatedAt: '2025-10-11',
1098+
updatedAt: '2025-12-02',
1099+
},
1100+
capabilities: {
1101+
temperature: { min: 0, max: 1 },
1102+
},
1103+
contextWindow: 128000,
1104+
},
1105+
{
1106+
id: 'magistral-small-latest',
1107+
pricing: {
1108+
input: 0.5,
1109+
output: 1.5,
1110+
updatedAt: '2025-12-02',
1111+
},
1112+
capabilities: {
1113+
temperature: { min: 0, max: 1 },
1114+
},
1115+
contextWindow: 128000,
1116+
},
1117+
{
1118+
id: 'magistral-small-2509',
1119+
pricing: {
1120+
input: 0.5,
1121+
output: 1.5,
1122+
updatedAt: '2025-12-02',
10801123
},
10811124
capabilities: {
10821125
temperature: { min: 0, max: 1 },
@@ -1088,7 +1131,7 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
10881131
pricing: {
10891132
input: 0.4,
10901133
output: 2.0,
1091-
updatedAt: '2025-10-11',
1134+
updatedAt: '2025-12-02',
10921135
},
10931136
capabilities: {
10941137
temperature: { min: 0, max: 1 },
@@ -1107,12 +1150,24 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
11071150
},
11081151
contextWindow: 128000,
11091152
},
1153+
{
1154+
id: 'mistral-medium-2505',
1155+
pricing: {
1156+
input: 0.4,
1157+
output: 2.0,
1158+
updatedAt: '2025-05-07',
1159+
},
1160+
capabilities: {
1161+
temperature: { min: 0, max: 1 },
1162+
},
1163+
contextWindow: 128000,
1164+
},
11101165
{
11111166
id: 'mistral-small-latest',
11121167
pricing: {
1113-
input: 0.2,
1114-
output: 0.6,
1115-
updatedAt: '2025-10-11',
1168+
input: 0.1,
1169+
output: 0.3,
1170+
updatedAt: '2025-12-02',
11161171
},
11171172
capabilities: {
11181173
temperature: { min: 0, max: 1 },
@@ -1122,9 +1177,9 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
11221177
{
11231178
id: 'mistral-small-2506',
11241179
pricing: {
1125-
input: 0.2,
1126-
output: 0.6,
1127-
updatedAt: '2025-10-11',
1180+
input: 0.1,
1181+
output: 0.3,
1182+
updatedAt: '2025-12-02',
11281183
},
11291184
capabilities: {
11301185
temperature: { min: 0, max: 1 },
@@ -1168,23 +1223,95 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
11681223
contextWindow: 256000,
11691224
},
11701225
{
1171-
id: 'ministral-8b-latest',
1226+
id: 'devstral-small-latest',
11721227
pricing: {
11731228
input: 0.1,
1174-
output: 0.1,
1175-
updatedAt: '2025-10-11',
1229+
output: 0.3,
1230+
updatedAt: '2025-12-02',
1231+
},
1232+
capabilities: {
1233+
temperature: { min: 0, max: 1 },
1234+
},
1235+
contextWindow: 128000,
1236+
},
1237+
{
1238+
id: 'devstral-small-2507',
1239+
pricing: {
1240+
input: 0.1,
1241+
output: 0.3,
1242+
updatedAt: '2025-07-10',
11761243
},
11771244
capabilities: {
11781245
temperature: { min: 0, max: 1 },
11791246
},
11801247
contextWindow: 128000,
11811248
},
1249+
{
1250+
id: 'devstral-medium-2507',
1251+
pricing: {
1252+
input: 0.5,
1253+
output: 1.5,
1254+
updatedAt: '2025-07-10',
1255+
},
1256+
capabilities: {
1257+
temperature: { min: 0, max: 1 },
1258+
},
1259+
contextWindow: 128000,
1260+
},
1261+
{
1262+
id: 'ministral-14b-latest',
1263+
pricing: {
1264+
input: 0.2,
1265+
output: 0.2,
1266+
updatedAt: '2025-12-02',
1267+
},
1268+
capabilities: {
1269+
temperature: { min: 0, max: 1 },
1270+
},
1271+
contextWindow: 256000,
1272+
},
1273+
{
1274+
id: 'ministral-14b-2512',
1275+
pricing: {
1276+
input: 0.2,
1277+
output: 0.2,
1278+
updatedAt: '2025-12-02',
1279+
},
1280+
capabilities: {
1281+
temperature: { min: 0, max: 1 },
1282+
},
1283+
contextWindow: 256000,
1284+
},
1285+
{
1286+
id: 'ministral-8b-latest',
1287+
pricing: {
1288+
input: 0.15,
1289+
output: 0.15,
1290+
updatedAt: '2025-12-02',
1291+
},
1292+
capabilities: {
1293+
temperature: { min: 0, max: 1 },
1294+
},
1295+
contextWindow: 256000,
1296+
},
1297+
{
1298+
id: 'ministral-8b-2512',
1299+
pricing: {
1300+
input: 0.15,
1301+
output: 0.15,
1302+
updatedAt: '2025-12-02',
1303+
},
1304+
capabilities: {
1305+
temperature: { min: 0, max: 1 },
1306+
},
1307+
contextWindow: 256000,
1308+
},
11821309
{
11831310
id: 'ministral-8b-2410',
11841311
pricing: {
11851312
input: 0.1,
11861313
output: 0.1,
1187-
updatedAt: '2025-10-11',
1314+
updatedAt: '2025-10-09',
11881315
},
11891316
capabilities: {
11901317
temperature: { min: 0, max: 1 },
@@ -1193,10 +1320,34 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
11931320
},
11941321
{
11951322
id: 'ministral-3b-latest',
1323+
pricing: {
1324+
input: 0.1,
1325+
output: 0.1,
1326+
updatedAt: '2025-12-02',
1327+
},
1328+
capabilities: {
1329+
temperature: { min: 0, max: 1 },
1330+
},
1331+
contextWindow: 256000,
1332+
},
1333+
{
1334+
id: 'ministral-3b-2512',
1335+
pricing: {
1336+
input: 0.1,
1337+
output: 0.1,
1338+
updatedAt: '2025-12-02',
1339+
},
1340+
capabilities: {
1341+
temperature: { min: 0, max: 1 },
1342+
},
1343+
contextWindow: 256000,
1344+
},
1345+
{
1346+
id: 'ministral-3b-2410',
11961347
pricing: {
11971348
input: 0.04,
11981349
output: 0.04,
1199-
updatedAt: '2025-10-11',
1350+
updatedAt: '2025-10-09',
12001351
},
12011352
capabilities: {
12021353
temperature: { min: 0, max: 1 },

0 commit comments

Comments
 (0)