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 +2 -2
- package/demo/minimax.js +1 -1
- package/index.js +7 -0
- package/package.json +1 -1
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
|
-
| `
|
|
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
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
|
}
|