modelmix 3.3.8 → 3.4.0
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 -1
- package/index.js +1 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -117,7 +117,7 @@ Here's a comprehensive list of available methods:
|
|
|
117
117
|
| `grok3mini()` | Grok | grok-3-mini-beta | [\$0.30 / \$0.50][6] |
|
|
118
118
|
| `sonar()` | Perplexity | sonar | [\$1.00 / \$1.00][4] |
|
|
119
119
|
| `sonarPro()` | Perplexity | sonar-pro | [\$3.00 / \$15.00][4] |
|
|
120
|
-
| `qwen3()` |
|
|
120
|
+
| `qwen3()` | Together | Qwen3-235B-A22B-fp8-tput | [\$0.20 / \$0.60][7] |
|
|
121
121
|
| `scout()` | Groq | Llama-4-Scout-17B-16E-Instruct | [\$0.11 / \$0.34][5] |
|
|
122
122
|
| `maverick()` | Groq | Maverick-17B-128E-Instruct-FP8 | [\$0.20 / \$0.60][5] |
|
|
123
123
|
|
|
@@ -127,6 +127,7 @@ Here's a comprehensive list of available methods:
|
|
|
127
127
|
[4]: https://docs.perplexity.ai/guides/pricing "Pricing - Perplexity"
|
|
128
128
|
[5]: https://groq.com/pricing/ "Groq Pricing"
|
|
129
129
|
[6]: https://docs.x.ai/docs/models "xAI"
|
|
130
|
+
[7]: https://www.together.ai/pricing "Together AI"
|
|
130
131
|
|
|
131
132
|
Each method accepts optional `options` and `config` parameters to customize the model's behavior. For example:
|
|
132
133
|
|
package/index.js
CHANGED
|
@@ -129,8 +129,7 @@ class ModelMix {
|
|
|
129
129
|
return this.attach('grok-3-mini-beta', new MixGrok({ options, config }));
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
qwen3({ options = {}, config = {}, mix = {
|
|
133
|
-
if (mix.groq) this.attach('qwen-qwq-32b', new MixGroq({ options, config }));
|
|
132
|
+
qwen3({ options = {}, config = {}, mix = { together: true } } = {}) {
|
|
134
133
|
if (mix.together) this.attach('Qwen/Qwen3-235B-A22B-fp8-tput', new MixTogether({ options, config }));
|
|
135
134
|
return this;
|
|
136
135
|
}
|