slash-tokens 1.6.3 → 1.6.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.
- package/CHANGELOG.md +8 -0
- package/README.md +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.6.4] — The Fixed Deal Edition
|
|
4
|
+
|
|
5
|
+
*2026-08-25*
|
|
6
|
+
|
|
7
|
+
Live model ladder. Grok **4.6** / **4.3**, GPT-5.6 **Sol / Terra / Luna**, Claude **Opus 5 / Sonnet 5 / Haiku 4.5**, Gemini **3.5 Flash-Lite**. Old keys stay as aliases. Calibration factors carried from the 2026-08-23 corpus — not re-measured on the new IDs.
|
|
8
|
+
|
|
9
|
+
No Team/Solo price change.
|
|
10
|
+
|
|
3
11
|
## [1.6.3] — The Fixed Deal Edition
|
|
4
12
|
|
|
5
13
|
*2026-08-25*
|
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ Know the cost before the call leaves your machine.
|
|
|
15
15
|
Models change. Windows grow. Slash adapts — you keep building.
|
|
16
16
|
Cheaper tokens haven't shrunk the bill — usage has.
|
|
17
17
|
|
|
18
|
-
## v1.6.
|
|
18
|
+
## v1.6.4 — The Fixed Deal Edition
|
|
19
19
|
|
|
20
20
|
Solo $20 mailbox, 10% waived. Team $39 for the data.
|
|
21
21
|
|
|
@@ -36,14 +36,14 @@ npm install slash-tokens
|
|
|
36
36
|
import { preflight, preflightRoute } from 'slash-tokens'
|
|
37
37
|
|
|
38
38
|
// Analysis — cheaper alternatives across all providers. Not a route.
|
|
39
|
-
const check = preflight(prompt, 'claude-opus-
|
|
39
|
+
const check = preflight(prompt, 'claude-opus-5')
|
|
40
40
|
check.tokens
|
|
41
41
|
check.cost
|
|
42
42
|
check.fits
|
|
43
43
|
check.options
|
|
44
44
|
|
|
45
45
|
// Routing decision — same-provider only, matches the Slash proxy
|
|
46
|
-
const route = preflightRoute(prompt, 'claude-opus-
|
|
46
|
+
const route = preflightRoute(prompt, 'claude-opus-5')
|
|
47
47
|
// { model: 'claude-haiku', cost, salvaged, salvagePercent } or null
|
|
48
48
|
```
|
|
49
49
|
|