codebuddy-stats 1.3.3 → 1.3.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.
@@ -109,6 +109,24 @@ export const MODEL_PRICING = {
109
109
  },
110
110
  // GLM 系列 (价格从人民币转换: 1 USD = 7 CNY)
111
111
  // 按上下文长度分段定价:[0,32K), [32K,200K)
112
+ "glm-5.0": {
113
+ prompt: [
114
+ { limit: 32_000, pricePerMTok: 0.58 }, // 4元/M tokens
115
+ { limit: Number.POSITIVE_INFINITY, pricePerMTok: 0.87 }, // 6元/M tokens
116
+ ],
117
+ completion: [
118
+ { limit: 32_000, pricePerMTok: 2.6 }, // 18元/M tokens
119
+ { limit: Number.POSITIVE_INFINITY, pricePerMTok: 3.18 }, // 22元/M tokens
120
+ ],
121
+ cacheRead: [
122
+ { limit: 32_000, pricePerMTok: 0.14 }, // 1元/M tokens
123
+ { limit: Number.POSITIVE_INFINITY, pricePerMTok: 0.22 }, // 1.5元/M tokens
124
+ ],
125
+ cacheWrite: [
126
+ { limit: 32_000, pricePerMTok: 0 },
127
+ { limit: Number.POSITIVE_INFINITY, pricePerMTok: 0 },
128
+ ],
129
+ },
112
130
  "glm-4.7": {
113
131
  prompt: [
114
132
  { limit: 32_000, pricePerMTok: 0.286 }, // 2元/M tokens
@@ -123,8 +141,8 @@ export const MODEL_PRICING = {
123
141
  { limit: Number.POSITIVE_INFINITY, pricePerMTok: 0.114 }, // 0.8元/M tokens
124
142
  ],
125
143
  cacheWrite: [
126
- { limit: 32_000, pricePerMTok: 0.286 }, // 2元/M tokens
127
- { limit: Number.POSITIVE_INFINITY, pricePerMTok: 0.571 }, // 4元/M tokens
144
+ { limit: 32_000, pricePerMTok: 0 },
145
+ { limit: Number.POSITIVE_INFINITY, pricePerMTok: 0 },
128
146
  ],
129
147
  },
130
148
  "glm-4.6": {
@@ -141,8 +159,8 @@ export const MODEL_PRICING = {
141
159
  { limit: Number.POSITIVE_INFINITY, pricePerMTok: 0.114 }, // 0.8元/M tokens
142
160
  ],
143
161
  cacheWrite: [
144
- { limit: 32_000, pricePerMTok: 0.286 }, // 2元/M tokens
145
- { limit: Number.POSITIVE_INFINITY, pricePerMTok: 0.571 }, // 4元/M tokens
162
+ { limit: 32_000, pricePerMTok: 0 },
163
+ { limit: Number.POSITIVE_INFINITY, pricePerMTok: 0 },
146
164
  ],
147
165
  },
148
166
  "glm-4.6v": {
@@ -158,9 +176,7 @@ export const MODEL_PRICING = {
158
176
  { limit: 32_000, pricePerMTok: 0.03 }, // 0.2元/M tokens
159
177
  { limit: Number.POSITIVE_INFINITY, pricePerMTok: 0.06 }, // 0.4元/M tokens
160
178
  ],
161
- cacheWrite: [
162
- { limit: Number.POSITIVE_INFINITY, pricePerMTok: 0 },
163
- ]
179
+ cacheWrite: [{ limit: Number.POSITIVE_INFINITY, pricePerMTok: 0 }],
164
180
  },
165
181
  // DeepSeek 系列
166
182
  "deepseek-v3.2-volc": createPricing(0.29, 0.029, 0.43),
@@ -171,6 +187,7 @@ export const MODEL_PRICING = {
171
187
  "kimi-k2-thinking": createPricing(0.6, 0.15, 2.5),
172
188
  // iOA 免费模型
173
189
  "kimi-k2.5-ioa": createPricing(0, 0, 0),
190
+ "glm-5.0-ioa": createPricing(0, 0, 0),
174
191
  "glm-4.7-ioa": createPricing(0, 0, 0),
175
192
  "glm-4.6-ioa": createPricing(0, 0, 0),
176
193
  "glm-4.6v-ioa": createPricing(0, 0, 0),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codebuddy-stats",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "files": [