modelmix 4.4.26 → 4.4.28
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 +1 -1
- package/demo/minimax.js +1 -1
- package/index.js +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -159,7 +159,7 @@ Here's a comprehensive list of available methods:
|
|
|
159
159
|
| `grok41[think]()` | Grok | grok-4-1-fast | [\$0.20 / \$0.50][6] |
|
|
160
160
|
| `deepseekV32()` | Fireworks | fireworks/models/deepseek-v3p2 | [\$0.56 / \$1.68][10] |
|
|
161
161
|
| `GLM47()` | Fireworks | fireworks/models/glm-4p7 | [\$0.55 / \$2.19][10] |
|
|
162
|
-
| `
|
|
162
|
+
| `minimaxM27()` | MiniMax | MiniMax-M2.7 | [\$0.30 / \$1.20][9] |
|
|
163
163
|
| `sonar()` | Perplexity | sonar | [\$1.00 / \$1.00][4] |
|
|
164
164
|
| `sonarPro()` | Perplexity | sonar-pro | [\$3.00 / \$15.00][4] |
|
|
165
165
|
| `hermes3()` | Lambda | Hermes-3-Llama-3.1-405B-FP8 | [\$0.80 / \$0.80][8] |
|
package/demo/minimax.js
CHANGED
package/index.js
CHANGED
|
@@ -61,7 +61,9 @@ const MODEL_PRICING = {
|
|
|
61
61
|
// MiniMax
|
|
62
62
|
'MiniMax-M2.1': [0.30, 1.20],
|
|
63
63
|
'MiniMax-M2.5': [0.30, 1.20],
|
|
64
|
+
'MiniMax-M2.7': [0.30, 1.20],
|
|
64
65
|
'fireworks/minimax-m2p5': [0.30, 1.20],
|
|
66
|
+
'minimax/minimax-m2.7': [0.30, 1.20],
|
|
65
67
|
// Perplexity
|
|
66
68
|
'sonar': [1.00, 1.00],
|
|
67
69
|
'sonar-pro': [3.00, 15.00],
|
|
@@ -478,6 +480,12 @@ class ModelMix {
|
|
|
478
480
|
return this.attach('MiniMax-M2-Stable', new MixMiniMax({ options, config }));
|
|
479
481
|
}
|
|
480
482
|
|
|
483
|
+
minimaxM27({ options = {}, config = {}, mix = { openrouter: true, minimax: true } } = {}) {
|
|
484
|
+
if (mix.openrouter) return this.attach('minimax/minimax-m2.7', new MixOpenRouter({ options, config }));
|
|
485
|
+
if (mix.minimax) return this.attach('MiniMax-M2.7', new MixMiniMax({ options, config }));
|
|
486
|
+
return this;
|
|
487
|
+
}
|
|
488
|
+
|
|
481
489
|
deepseekV32({ options = {}, config = {}, mix = {} } = {}) {
|
|
482
490
|
mix = { ...this.mix, ...mix };
|
|
483
491
|
if (mix.fireworks) this.attach('accounts/fireworks/models/deepseek-v3p2', new MixFireworks({ options, config }));
|