codebuddy-stats 1.4.0 → 1.4.1

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.
@@ -18,6 +18,7 @@ function createPricing(inputPrice, cachedInputPrice, outputPrice, cacheWritePric
18
18
  }
19
19
  export const MODEL_PRICING = {
20
20
  // GPT 系列
21
+ "gpt-5.4": createPricing(2.5, 0.25, 15.0),
21
22
  "gpt-5.2": createPricing(1.75, 0.175, 14.0),
22
23
  "gpt-5.1": createPricing(1.25, 0.125, 10.0),
23
24
  "gpt-5": createPricing(1.25, 0.125, 10.0),
@@ -89,6 +90,24 @@ export const MODEL_PRICING = {
89
90
  ],
90
91
  },
91
92
  // Gemini 系列
93
+ "gemini-3.1-pro": {
94
+ prompt: [
95
+ { limit: 200_000, pricePerMTok: 2.0 },
96
+ { limit: Number.POSITIVE_INFINITY, pricePerMTok: 4.0 },
97
+ ],
98
+ completion: [
99
+ { limit: 200_000, pricePerMTok: 12.0 },
100
+ { limit: Number.POSITIVE_INFINITY, pricePerMTok: 18.0 },
101
+ ],
102
+ cacheRead: [
103
+ { limit: 200_000, pricePerMTok: 0.2 },
104
+ { limit: Number.POSITIVE_INFINITY, pricePerMTok: 0.4 },
105
+ ],
106
+ cacheWrite: [
107
+ { limit: 200_000, pricePerMTok: 0.2 },
108
+ { limit: Number.POSITIVE_INFINITY, pricePerMTok: 0.4 },
109
+ ]
110
+ },
92
111
  "gemini-3.0-pro": {
93
112
  prompt: [
94
113
  { limit: 200_000, pricePerMTok: 2.0 },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codebuddy-stats",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "files": [