modelmix 4.5.8 → 4.5.10

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.
Files changed (3) hide show
  1. package/README.md +2 -1
  2. package/index.js +15 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -147,8 +147,8 @@ Here's a comprehensive list of available methods:
147
147
  | `gpt41mini()` | OpenAI | gpt-4.1-mini | [\$0.40 / \$1.60][1] |
148
148
  | `gpt41nano()` | OpenAI | gpt-4.1-nano | [\$0.10 / \$0.40][1] |
149
149
  | `gptOss()` | Together | gpt-oss-120B | [\$0.15 / \$0.60][7] |
150
+ | `opus47[think]()` | Anthropic | claude-opus-4-7 | [\$5.00 / \$25.00][2] |
150
151
  | `opus46[think]()` | Anthropic | claude-opus-4-6 | [\$5.00 / \$25.00][2] |
151
- | `opus45[think]()` | Anthropic | claude-opus-4-5-20251101 | [\$5.00 / \$25.00][2] |
152
152
  | `sonnet46[think]()` | Anthropic | claude-sonnet-4-6 | [\$3.00 / \$15.00][2] |
153
153
  | `sonnet45[think]()` | Anthropic | claude-sonnet-4-5-20250929 | [\$3.00 / \$15.00][2] |
154
154
  | `haiku45[think]()` | Anthropic | claude-haiku-4-5-20251001 | [\$1.00 / \$5.00][2] |
@@ -166,6 +166,7 @@ Here's a comprehensive list of available methods:
166
166
  | `hermes3()` | Lambda | Hermes-3-Llama-3.1-405B-FP8 | [\$0.80 / \$0.80][8] |
167
167
  | `qwen3()` | Together | Qwen3-235B-A22B-fp8-tput | [\$0.20 / \$0.60][7] |
168
168
  | `kimiK25think()` | Together | Kimi-K2.5 | [\$0.50 / \$2.80][7] |
169
+ | `kimiK26think()` | Fireworks | fireworks/models/kimi-k2p6 | [\$0.95 / \$4.00][10] |
169
170
 
170
171
  [1]: https://platform.openai.com/docs/pricing "Pricing | OpenAI"
171
172
  [2]: https://docs.anthropic.com/en/docs/about-claude/pricing "Pricing - Anthropic"
package/index.js CHANGED
@@ -56,6 +56,7 @@ const MODEL_PRICING = {
56
56
  'gpt-oss-120b': [0.15, 0.60],
57
57
  'openai/gpt-oss-120b:free': [0, 0],
58
58
  // Anthropic
59
+ 'claude-opus-4-7': [5.00, 25.00],
59
60
  'claude-opus-4-6': [5.00, 25.00],
60
61
  'claude-opus-4-5-20251101': [5.00, 25.00],
61
62
  'claude-opus-4-1-20250805': [15.00, 75.00],
@@ -332,6 +333,10 @@ class ModelMix {
332
333
  if (mix.openrouter) this.attach('openai/gpt-oss-120b:free', new MixOpenRouter({ options, config }));
333
334
  return this;
334
335
  }
336
+ opus47think({ options = {}, config = {} } = {}) {
337
+ options = { ...MixAnthropic.thinkingOptions, ...options };
338
+ return this.attach('claude-opus-4-7', new MixAnthropic({ options, config }));
339
+ }
335
340
  opus46think({ options = {}, config = {} } = {}) {
336
341
  options = { ...MixAnthropic.thinkingOptions, ...options };
337
342
  return this.attach('claude-opus-4-6', new MixAnthropic({ options, config }));
@@ -340,6 +345,9 @@ class ModelMix {
340
345
  options = { ...MixAnthropic.thinkingOptions, ...options };
341
346
  return this.attach('claude-opus-4-5-20251101', new MixAnthropic({ options, config }));
342
347
  }
348
+ opus47({ options = {}, config = {} } = {}) {
349
+ return this.attach('claude-opus-4-7', new MixAnthropic({ options, config }));
350
+ }
343
351
  opus46({ options = {}, config = {} } = {}) {
344
352
  return this.attach('claude-opus-4-6', new MixAnthropic({ options, config }));
345
353
  }
@@ -462,6 +470,13 @@ class ModelMix {
462
470
  return this;
463
471
  }
464
472
 
473
+ kimiK26think({ options = {}, config = {}, mix = { fireworks: true } } = {}) {
474
+ mix = { ...this.mix, ...mix };
475
+ if (mix.fireworks) this.attach('accounts/fireworks/models/kimi-k2p6', new MixFireworks({ options, config }));
476
+ if (mix.openrouter) this.attach('moonshotai/kimi-k2.6', new MixOpenRouter({ options, config }));
477
+ return this;
478
+ }
479
+
465
480
  kimiK25think({ options = {}, config = {}, mix = { together: true } } = {}) {
466
481
  mix = { ...this.mix, ...mix };
467
482
  if (mix.together) this.attach('moonshotai/Kimi-K2.5', new MixTogether({ options, config }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "modelmix",
3
- "version": "4.5.8",
3
+ "version": "4.5.10",
4
4
  "description": "🧬 Reliable interface with automatic fallback for AI LLMs.",
5
5
  "main": "index.js",
6
6
  "repository": {