ccclub 0.3.11 → 0.3.12
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/dist/index.js +21 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -56,20 +56,30 @@ var PLAN_LABELS = {
|
|
|
56
56
|
api: "API"
|
|
57
57
|
};
|
|
58
58
|
var MODEL_PRICING = {
|
|
59
|
-
// Opus 4.5+
|
|
59
|
+
// Claude Opus 4.5+
|
|
60
|
+
"claude-opus-4-7": { input: 5, output: 25, cacheCreation: 6.25, cacheRead: 0.5 },
|
|
60
61
|
"claude-opus-4-6": { input: 5, output: 25, cacheCreation: 6.25, cacheRead: 0.5 },
|
|
62
|
+
"claude-opus-4-5": { input: 5, output: 25, cacheCreation: 6.25, cacheRead: 0.5 },
|
|
61
63
|
"claude-opus-4-5-20251101": { input: 5, output: 25, cacheCreation: 6.25, cacheRead: 0.5 },
|
|
62
64
|
// Opus 4.0–4.1
|
|
63
65
|
"claude-opus-4-1-20250805": { input: 15, output: 75, cacheCreation: 18.75, cacheRead: 1.5 },
|
|
64
66
|
// Sonnet
|
|
67
|
+
"claude-sonnet-4-6": { input: 3, output: 15, cacheCreation: 3.75, cacheRead: 0.3 },
|
|
68
|
+
"claude-sonnet-4-5": { input: 3, output: 15, cacheCreation: 3.75, cacheRead: 0.3 },
|
|
65
69
|
"claude-sonnet-4-5-20250929": { input: 3, output: 15, cacheCreation: 3.75, cacheRead: 0.3 },
|
|
66
70
|
"claude-sonnet-4-20250514": { input: 3, output: 15, cacheCreation: 3.75, cacheRead: 0.3 },
|
|
67
71
|
"claude-3-5-sonnet-20241022": { input: 3, output: 15, cacheCreation: 3.75, cacheRead: 0.3 },
|
|
68
72
|
// Haiku
|
|
69
73
|
"claude-haiku-4-5-20251001": { input: 1, output: 5, cacheCreation: 1.25, cacheRead: 0.1 },
|
|
70
74
|
"claude-3-5-haiku-20241022": { input: 0.8, output: 4, cacheCreation: 1, cacheRead: 0.08 },
|
|
71
|
-
// OpenAI GPT family
|
|
72
|
-
|
|
75
|
+
// OpenAI GPT/Codex family.
|
|
76
|
+
"gpt-5.5": { input: 5, output: 30, cacheCreation: 0, cacheRead: 0.5 },
|
|
77
|
+
"gpt-5.4": { input: 2.5, output: 15, cacheCreation: 0, cacheRead: 0.25 },
|
|
78
|
+
"gpt-5.4-mini": { input: 0.75, output: 4.5, cacheCreation: 0, cacheRead: 0.075 },
|
|
79
|
+
"gpt-5.4-nano": { input: 0.2, output: 1.25, cacheCreation: 0, cacheRead: 0.02 },
|
|
80
|
+
"gpt-5.3-codex": { input: 1.75, output: 14, cacheCreation: 0, cacheRead: 0.175 },
|
|
81
|
+
"gpt-5.2-codex": { input: 1.75, output: 14, cacheCreation: 0, cacheRead: 0.175 },
|
|
82
|
+
"gpt-5-codex": { input: 1.25, output: 10, cacheCreation: 0, cacheRead: 0.125 },
|
|
73
83
|
"gpt-5": { input: 1.25, output: 10, cacheCreation: 0, cacheRead: 0.125 },
|
|
74
84
|
"gpt-5-mini": { input: 0.25, output: 2, cacheCreation: 0, cacheRead: 0.025 },
|
|
75
85
|
"gpt-5-nano": { input: 0.05, output: 0.4, cacheCreation: 0, cacheRead: 5e-3 }
|
|
@@ -78,6 +88,13 @@ var FAMILY_FALLBACK = {
|
|
|
78
88
|
opus: MODEL_PRICING["claude-opus-4-6"],
|
|
79
89
|
sonnet: MODEL_PRICING["claude-sonnet-4-5-20250929"],
|
|
80
90
|
haiku: MODEL_PRICING["claude-haiku-4-5-20251001"],
|
|
91
|
+
"gpt-5.5": MODEL_PRICING["gpt-5.5"],
|
|
92
|
+
"gpt-5.4-mini": MODEL_PRICING["gpt-5.4-mini"],
|
|
93
|
+
"gpt-5.4-nano": MODEL_PRICING["gpt-5.4-nano"],
|
|
94
|
+
"gpt-5.4": MODEL_PRICING["gpt-5.4"],
|
|
95
|
+
"gpt-5.3-codex": MODEL_PRICING["gpt-5.3-codex"],
|
|
96
|
+
"gpt-5.2-codex": MODEL_PRICING["gpt-5.2-codex"],
|
|
97
|
+
"gpt-5-codex": MODEL_PRICING["gpt-5-codex"],
|
|
81
98
|
"gpt-5-nano": MODEL_PRICING["gpt-5-nano"],
|
|
82
99
|
"gpt-5-mini": MODEL_PRICING["gpt-5-mini"],
|
|
83
100
|
"gpt-5": MODEL_PRICING["gpt-5"],
|
|
@@ -2306,7 +2323,7 @@ async function hookCommand() {
|
|
|
2306
2323
|
}
|
|
2307
2324
|
|
|
2308
2325
|
// src/index.ts
|
|
2309
|
-
var VERSION = "0.3.
|
|
2326
|
+
var VERSION = "0.3.12";
|
|
2310
2327
|
startUpdateCheck(VERSION);
|
|
2311
2328
|
var program = new Command();
|
|
2312
2329
|
if (process.argv.slice(2).includes("-v")) {
|