modelmix 4.1.6 → 4.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -137,10 +137,9 @@ Here's a comprehensive list of available methods:
137
137
  | `gemini3flash()` | Google | gemini-3-flash-preview | [\$0.50 / \$3.00][3] |
138
138
  | `gemini25pro()` | Google | gemini-2.5-pro | [\$1.25 / \$10.00][3] |
139
139
  | `gemini25flash()` | Google | gemini-2.5-flash | [\$0.30 / \$2.50][3] |
140
- | `grok3()` | Grok | grok-3 | [\$3.00 / \$15.00][6] |
141
140
  | `grok4()` | Grok | grok-4-0709 | [\$3.00 / \$15.00][6] |
142
141
  | `grok41[think]()` | Grok | grok-4-1-fast | [\$0.20 / \$0.50][6] |
143
- | `minimaxM2()` | MiniMax | MiniMax-M2 | [\$0.30 / \$1.20][9] |
142
+ | `minimaxM21()` | MiniMax | MiniMax-M2.1 | [\$0.30 / \$1.20][9] |
144
143
  | `sonar()` | Perplexity | sonar | [\$1.00 / \$1.00][4] |
145
144
  | `sonarPro()` | Perplexity | sonar-pro | [\$3.00 / \$15.00][4] |
146
145
  | `scout()` | Groq | Llama-4-Scout-17B-16E-Instruct | [\$0.11 / \$0.34][5] |
package/demo/minimax.js CHANGED
@@ -7,7 +7,7 @@ const main = async () => {
7
7
 
8
8
  const bot = ModelMix
9
9
  .new({ config: { debug: true } })
10
- .minimaxM2()
10
+ .minimaxM21()
11
11
  .setSystem('You are a helpful assistant.');
12
12
 
13
13
  bot.addText('What is the capital of France?');
package/index.js CHANGED
@@ -261,6 +261,10 @@ class ModelMix {
261
261
  return this.attach('MiniMax-M2', new MixMiniMax({ options, config }));
262
262
  }
263
263
 
264
+ minimaxM21({ options = {}, config = {} } = {}) {
265
+ return this.attach('MiniMax-M2.1', new MixMiniMax({ options, config }));
266
+ }
267
+
264
268
  minimaxM2Stable({ options = {}, config = {} } = {}) {
265
269
  return this.attach('MiniMax-M2-Stable', new MixMiniMax({ options, config }));
266
270
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "modelmix",
3
- "version": "4.1.6",
3
+ "version": "4.1.8",
4
4
  "description": "🧬 ModelMix - Unified API for Diverse AI LLM.",
5
5
  "main": "index.js",
6
6
  "repository": {