modelmix 5.1.1 → 5.1.2

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 CHANGED
@@ -117,9 +117,9 @@ const ETH = ModelMix.new()
117
117
  console.log(ETH.price);
118
118
  ```
119
119
 
120
- **This example uses providers with free quotas (OpenRouter, Groq, Cerebras) - just get the API key and you're ready to go. If one model runs out of quota, ModelMix automatically falls back to the next model in the chain.**
120
+ **This example uses providers with free quotas (Groq, Cerebras, and Together). OpenRouter is disabled because its GPT-OSS 120B route is no longer free. If one model runs out of quota, ModelMix automatically falls back to the next model in the chain.**
121
121
  ```javascript
122
- ModelMix.new()
122
+ ModelMix.new({ mix: { openrouter: false } })
123
123
  .gptOss()
124
124
  .kimiK25()
125
125
  .hermes3()
package/demo/free.js CHANGED
@@ -1,13 +1,12 @@
1
1
  import { ModelMix } from '../index.js';
2
2
  try { process.loadEnvFile(); } catch {}
3
3
 
4
- const ai = ModelMix.new({ config: { debug: 2 } })
4
+ const ai = ModelMix.new({ config: { debug: 2 }, mix: { openrouter: false } })
5
5
  .gptOss()
6
6
  .kimiK25()
7
7
  .hermes3()
8
8
  .addText('What is the capital of France?');
9
9
 
10
10
  const response = await ai.message();
11
- console.log('Response from Claude via OpenRouter:', response);
12
-
11
+ console.log('Response from a free-tier provider:', response);
13
12
 
package/effort.js CHANGED
@@ -47,7 +47,6 @@ const OPENAI_MODEL_LEVELS = {
47
47
  'gpt-5.3-codex': ['low', 'medium', 'high', 'xhigh'],
48
48
  'gpt-oss-120b': ['low', 'medium', 'high'],
49
49
  'openai/gpt-oss-120b': ['low', 'medium', 'high'],
50
- 'openai/gpt-oss-120b:free': ['low', 'medium', 'high'],
51
50
  };
52
51
 
53
52
  /**