modelmix 3.9.6 → 3.9.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 +1 -0
- package/index.js +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -118,6 +118,7 @@ Here's a comprehensive list of available methods:
|
|
|
118
118
|
|
|
119
119
|
| Method | Provider | Model | Price (I/O) per 1 M tokens |
|
|
120
120
|
| ------------------ | ---------- | ------------------------------ | -------------------------- |
|
|
121
|
+
| `gpt51()` | OpenAI | gpt-5.1 | [\$1.25 / \$10.00][1] |
|
|
121
122
|
| `gpt5()` | OpenAI | gpt-5 | [\$1.25 / \$10.00][1] |
|
|
122
123
|
| `gpt5mini()` | OpenAI | gpt-5-mini | [\$0.25 / \$2.00][1] |
|
|
123
124
|
| `gpt5nano()` | OpenAI | gpt-5-nano | [\$0.05 / \$0.40][1] |
|
package/index.js
CHANGED
|
@@ -100,6 +100,9 @@ class ModelMix {
|
|
|
100
100
|
gpt5nano({ options = {}, config = {} } = {}) {
|
|
101
101
|
return this.attach('gpt-5-nano', new MixOpenAI({ options, config }));
|
|
102
102
|
}
|
|
103
|
+
gpt51({ options = {}, config = {} } = {}) {
|
|
104
|
+
return this.attach('gpt-5.1', new MixOpenAI({ options, config }));
|
|
105
|
+
}
|
|
103
106
|
gptOss({ options = {}, config = {}, mix = { together: false, cerebras: false, groq: true } } = {}) {
|
|
104
107
|
if (mix.together) return this.attach('openai/gpt-oss-120b', new MixTogether({ options, config }));
|
|
105
108
|
if (mix.cerebras) return this.attach('gpt-oss-120b', new MixCerebras({ options, config }));
|