feat(models): Add free minimax/mimax-m2 model to the model picker (#7453)

* feat(models): Add free minimax/mimax-m2 model to the model picker

* Add free minimax/mimax-m2 model to model picker
This commit is contained in:
Saoud Rizwan authored and GitHub committed 2025-11-13 17:41:16 -08:00
1 parent bb375b78ca
commit 855db7d8d8
3 files changed
+12 -1

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"claude-dev": patch
---
feat(models): Add free minimax/mimax-m2 model to the model picker
+1 -1
View File
@@ -194,7 +194,7 @@ export class ClineHandler implements ApiHandler {
// @ts-ignore-next-line
let totalCost = (chunk.usage.cost || 0) + (chunk.usage.cost_details?.upstream_inference_cost || 0)
if (this.getModel().id === "x-ai/grok-code-fast-1") {
if (this.getModel().id === "x-ai/grok-code-fast-1" || this.getModel().id === "minimax/minimax-m2") {
totalCost = 0
}
@@ -60,6 +60,12 @@ const featuredModels = [
description: "Fast open-source model with improved performance in Cline",
label: "Trending",
},
{
id: "minimax/minimax-m2",
description: "Compact, high-efficiency model optimized for coding and agentic workflows",
label: "Free",
isFree: true,
},
{
id: "x-ai/grok-code-fast-1",
description: "Advanced model with 262K context for complex coding",