slash-tokens 1.5.3 → 1.5.4

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 (2) hide show
  1. package/dist/models.js +7 -1
  2. package/package.json +1 -1
package/dist/models.js CHANGED
@@ -1,4 +1,10 @@
1
1
  // Pricing as of April 2026 — USD per million tokens
2
+ // Claude Sonnet 5 pricing corrected 2026-08-23: was hardcoded at $3.00/
3
+ // $15.00 (the previously-scheduled Sept 1, 2026 increase), but Anthropic's
4
+ // own pricing page confirms that increase will NOT occur — $2.00/$10.00
5
+ // (the introductory rate) is now the permanent standard price. Found via
6
+ // a full-codebase review that independently re-verified every provider's
7
+ // live pricing, not just the model IDs already fixed that day.
2
8
  // xAI pricing re-derived 2026-08-23: grok-4.20 and grok-4-1-fast (the literal
3
9
  // API IDs, not just the generic keys below) were both fully retired — not
4
10
  // just old snapshots, they 404 on the live API. Current lineup has no cheap
@@ -12,7 +18,7 @@ export const MODELS = {
12
18
  // Anthropic
13
19
  'claude-opus': { input: 5.00, output: 25.00, context: 1000000 },
14
20
  'claude-opus-4.7': { input: 5.00, output: 25.00, context: 1000000 },
15
- 'claude-sonnet': { input: 3.00, output: 15.00, context: 1000000 },
21
+ 'claude-sonnet': { input: 2.00, output: 10.00, context: 1000000 },
16
22
  'claude-haiku': { input: 1.00, output: 5.00, context: 200000 },
17
23
  // xAI
18
24
  'grok-4.20': { input: 1.25, output: 2.50, context: 1000000 },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slash-tokens",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "description": "Token Optimization for Context Engineers. 4.8 KB WASM. Sub-millisecond. Zero dependencies.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",