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