Skip to content

Commit 1653399

Browse files
authored
Merge pull request #4637 from Kilo-Org/chrarnoldus-patch-1
Add MiniMax-M2.1 model
2 parents 7fd0925 + b47994f commit 1653399

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

.changeset/wise-dingos-rest.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"kilo-code": patch
3+
---
4+
5+
Add MiniMax-M2.1 model for MiniMax provider

packages/types/src/providers/minimax.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,23 @@ export const minimaxModels = {
3838
description:
3939
"MiniMax M2 Stable (High Concurrency, Commercial Use), a model born for Agents and code, featuring Top-tier Coding Capabilities, Powerful Agentic Performance, and Ultimate Cost-Effectiveness & Speed.",
4040
},
41+
"MiniMax-M2.1": {
42+
maxTokens: 16_384,
43+
contextWindow: 192_000,
44+
supportsImages: false,
45+
supportsPromptCache: true,
46+
supportsNativeTools: true,
47+
defaultToolProtocol: "native",
48+
includedTools: ["search_and_replace"],
49+
excludedTools: ["apply_diff"],
50+
preserveReasoning: true,
51+
inputPrice: 0.3,
52+
outputPrice: 1.2,
53+
cacheWritesPrice: 0.375,
54+
cacheReadsPrice: 0.03,
55+
description:
56+
"MiniMax M2.1 builds on M2 with improved overall performance for agentic coding tasks and significantly faster response times.",
57+
},
4158
} as const satisfies Record<string, ModelInfo>
4259

4360
export const minimaxDefaultModelInfo: ModelInfo = minimaxModels[minimaxDefaultModelId]

0 commit comments

Comments
 (0)