Skip to content

Commit 480e8a2

Browse files
authored
Merge pull request #3337 from mcowger/mcowger/syntheticM2
Mcowger/syntheticM2
2 parents 9e18cca + 85a4447 commit 480e8a2

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.changeset/khaki-rockets-trade.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+
Added MiniMax M2 to Synthetic Provider

packages/types/src/providers/synthetic.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import type { ModelInfo } from "../model.js"
44

55
export type SyntheticModelId =
6+
| "hf:MiniMaxAI/MiniMax-M2"
67
| "hf:zai-org/GLM-4.6"
78
| "hf:zai-org/GLM-4.5"
89
| "hf:openai/gpt-oss-120b"
@@ -26,6 +27,16 @@ export type SyntheticModelId =
2627
export const syntheticDefaultModelId: SyntheticModelId = "hf:zai-org/GLM-4.6"
2728

2829
export const syntheticModels = {
30+
"hf:MiniMaxAI/MiniMax-M2": {
31+
maxTokens: 192608,
32+
contextWindow: 192608,
33+
supportsImages: false,
34+
supportsPromptCache: false,
35+
inputPrice: 0.55,
36+
outputPrice: 2.19,
37+
description:
38+
"MiniMax's latest hybrid reasoning model: it's fast, it thinks before it responds, it's great at using tools via the API, and it's a strong coding model. 192k-token context.",
39+
},
2940
"hf:moonshotai/Kimi-K2-Instruct-0905": {
3041
maxTokens: 262144,
3142
contextWindow: 262144,

0 commit comments

Comments
 (0)