modelmix 4.1.4 → 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
@@ -134,12 +134,12 @@ Here's a comprehensive list of available methods:
134
134
  | `haiku35()` | Anthropic | claude-3-5-haiku-20241022 | [\$0.80 / \$4.00][2] |
135
135
  | `haiku45[think]()` | Anthropic | claude-haiku-4-5-20251001 | [\$1.00 / \$5.00][2] |
136
136
  | `gemini3pro()` | Google | gemini-3-pro-preview | [\$2.00 / \$12.00][3] |
137
+ | `gemini3flash()` | Google | gemini-3-flash-preview | [\$0.50 / \$3.00][3] |
137
138
  | `gemini25pro()` | Google | gemini-2.5-pro | [\$1.25 / \$10.00][3] |
138
139
  | `gemini25flash()` | Google | gemini-2.5-flash | [\$0.30 / \$2.50][3] |
139
- | `grok3()` | Grok | grok-3 | [\$3.00 / \$15.00][6] |
140
140
  | `grok4()` | Grok | grok-4-0709 | [\$3.00 / \$15.00][6] |
141
141
  | `grok41[think]()` | Grok | grok-4-1-fast | [\$0.20 / \$0.50][6] |
142
- | `minimaxM2()` | MiniMax | MiniMax-M2 | [\$0.30 / \$1.20][9] |
142
+ | `minimaxM21()` | MiniMax | MiniMax-M2.1 | [\$0.30 / \$1.20][9] |
143
143
  | `sonar()` | Perplexity | sonar | [\$1.00 / \$1.00][4] |
144
144
  | `sonarPro()` | Perplexity | sonar-pro | [\$3.00 / \$15.00][4] |
145
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
@@ -183,6 +183,9 @@ class ModelMix {
183
183
  gemini3pro({ options = {}, config = {} } = {}) {
184
184
  return this.attach('gemini-3-pro-preview', new MixGoogle({ options, config }));
185
185
  }
186
+ gemini3flash({ options = {}, config = {} } = {}) {
187
+ return this.attach('gemini-3-flash-preview', new MixGoogle({ options, config }));
188
+ }
186
189
  gemini25pro({ options = {}, config = {} } = {}) {
187
190
  return this.attach('gemini-2.5-pro', new MixGoogle({ options, config }));
188
191
  }
@@ -258,6 +261,10 @@ class ModelMix {
258
261
  return this.attach('MiniMax-M2', new MixMiniMax({ options, config }));
259
262
  }
260
263
 
264
+ minimaxM21({ options = {}, config = {} } = {}) {
265
+ return this.attach('MiniMax-M2.1', new MixMiniMax({ options, config }));
266
+ }
267
+
261
268
  minimaxM2Stable({ options = {}, config = {} } = {}) {
262
269
  return this.attach('MiniMax-M2-Stable', new MixMiniMax({ options, config }));
263
270
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "modelmix",
3
- "version": "4.1.4",
3
+ "version": "4.1.8",
4
4
  "description": "🧬 ModelMix - Unified API for Diverse AI LLM.",
5
5
  "main": "index.js",
6
6
  "repository": {