codeep 2.24.0 → 2.25.0
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/config/providers.js +2 -0
- package/dist/utils/tokenTracker.js +8 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/config/providers.js
CHANGED
|
@@ -19,6 +19,7 @@ export const PROVIDERS = {
|
|
|
19
19
|
},
|
|
20
20
|
models: [
|
|
21
21
|
{ id: 'glm-5.3', name: 'GLM-5.3', description: 'Latest flagship for project-scale engineering (1M context)' },
|
|
22
|
+
{ id: 'glm-5.3-flash', name: 'GLM-5.3 Flash', description: 'Same 1M context at a twentieth of the price' },
|
|
22
23
|
{ id: 'glm-5.2', name: 'GLM-5.2', description: 'Previous flagship for project-scale engineering (1M context)' },
|
|
23
24
|
{ id: 'glm-5-turbo', name: 'GLM-5 Turbo', description: 'Fast GLM-5 variant, available to all users' },
|
|
24
25
|
],
|
|
@@ -52,6 +53,7 @@ export const PROVIDERS = {
|
|
|
52
53
|
// (`z.ai-cn*`) bills separately and is not covered by that page, so it is
|
|
53
54
|
// left alone until its own listing is checked.
|
|
54
55
|
{ id: 'glm-5.3', name: 'GLM-5.3', description: 'Latest flagship for project-scale engineering (1M context)' },
|
|
56
|
+
{ id: 'glm-5.3-flash', name: 'GLM-5.3 Flash', description: 'Same 1M context at a twentieth of the price' },
|
|
55
57
|
{ id: 'glm-5.2', name: 'GLM-5.2', description: 'Previous flagship for project-scale engineering (1M context)' },
|
|
56
58
|
{ id: 'glm-5-turbo', name: 'GLM-5 Turbo', description: 'Fast GLM-5 variant' },
|
|
57
59
|
],
|
|
@@ -10,6 +10,7 @@ import { formatResourceImpactReport } from './resourceImpact.js';
|
|
|
10
10
|
const MODEL_CONTEXT_WINDOWS = {
|
|
11
11
|
// Z.AI / ZhipuAI
|
|
12
12
|
'glm-5.3': 1_000_000,
|
|
13
|
+
'glm-5.3-flash': 1_000_000,
|
|
13
14
|
'glm-5.2': 1_000_000,
|
|
14
15
|
'glm-5.1': 200_000,
|
|
15
16
|
'glm-5-turbo': 202_752,
|
|
@@ -81,6 +82,10 @@ const MODEL_PRICING = {
|
|
|
81
82
|
// inferred from the match — the two being equal today is a coincidence of the
|
|
82
83
|
// price list, not a rule.
|
|
83
84
|
'glm-5.3': { inputPer1M: 1.40, outputPer1M: 4.40 },
|
|
85
|
+
// Flash lists at $0.15/$0.50 with a 50% launch promotion in force at the
|
|
86
|
+
// time of writing. The list price is what belongs here: a promotional rate
|
|
87
|
+
// would quietly understate every session's cost the day it ends.
|
|
88
|
+
'glm-5.3-flash': { inputPer1M: 0.15, outputPer1M: 0.50 },
|
|
84
89
|
'glm-5.2': { inputPer1M: 1.40, outputPer1M: 4.40 },
|
|
85
90
|
'glm-5.1': { inputPer1M: 1.40, outputPer1M: 4.40 },
|
|
86
91
|
'glm-5-turbo': { inputPer1M: 1.20, outputPer1M: 4.00 },
|
|
@@ -121,6 +126,9 @@ const MODEL_PRICING = {
|
|
|
121
126
|
// subscription alias (flat-fee in reality, priced notionally like K2.7 Code).
|
|
122
127
|
'kimi-k3': { inputPer1M: 3.00, outputPer1M: 15.00 },
|
|
123
128
|
'kimi-k2.7-code': { inputPer1M: 0.95, outputPer1M: 4.00 },
|
|
129
|
+
// Highspeed is the same model served faster, at exactly double the rate
|
|
130
|
+
// across every token category (platform.kimi.ai/docs/pricing/chat-k27-code).
|
|
131
|
+
'kimi-k2.7-code-highspeed': { inputPer1M: 1.90, outputPer1M: 8.00 },
|
|
124
132
|
// Kimi doesn't publish a distinct high-speed price in its main table.
|
|
125
133
|
// Leave that variant unpriced rather than presenting an invented estimate.
|
|
126
134
|
'kimi-k2.6': { inputPer1M: 0.95, outputPer1M: 4.00 },
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.25.0";
|
package/dist/version.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// AUTO-GENERATED by scripts/gen-version.js — do not edit by hand.
|
|
2
2
|
// Baked from package.json at build time so the bun-compiled binary reports
|
|
3
3
|
// the right version (it has no package.json on disk to read at runtime).
|
|
4
|
-
export const VERSION = '2.
|
|
4
|
+
export const VERSION = '2.25.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeep",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.25.0",
|
|
4
4
|
"description": "AI-powered coding assistant built for the terminal. Multiple LLM providers, project-aware context, and a seamless development workflow.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|