feat(ai): add Mistral Medium 3.5 model (#4009)

This commit is contained in:
Johannes Ebeling
2026-04-30 12:18:17 +02:00
committed by GitHub
parent 904b843fee
commit 779d0ef39d
4 changed files with 63 additions and 28 deletions

View File

@@ -1279,6 +1279,27 @@ async function generateModels() {
});
}
// Add missing Mistral Medium 3.5 model until models.dev includes it
if (!allModels.some(m => m.provider === "mistral" && m.id === "mistral-medium-3.5")) {
allModels.push({
id: "mistral-medium-3.5",
name: "Mistral Medium 3.5",
api: "mistral-conversations",
provider: "mistral",
baseUrl: "https://api.mistral.ai",
reasoning: true,
input: ["text", "image"],
cost: {
input: 1.5,
output: 7.5,
cacheRead: 0,
cacheWrite: 0,
},
contextWindow: 262144, // 256k tokens
maxTokens: 262144,
});
}
// Add "auto" alias for openrouter/auto
if (!allModels.some(m => m.provider === "openrouter" && m.id === "auto")) {
allModels.push({