@chenlongapps/opencode-token-usage 0.4.20 → 0.4.21

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.
@@ -1224,6 +1224,17 @@ export declare const GENERATED_PRICE_SNAPSHOT: {
1224
1224
  };
1225
1225
  }];
1226
1226
  readonly released: "2026-10-13";
1227
+ }, {
1228
+ readonly providerID: "google";
1229
+ readonly id: "gemini-4-carbon";
1230
+ readonly prices: readonly [{
1231
+ readonly input: 2;
1232
+ readonly output: 10;
1233
+ readonly cache: {
1234
+ readonly read: 0.1;
1235
+ };
1236
+ }];
1237
+ readonly released: "2026-11-10";
1227
1238
  }, {
1228
1239
  readonly providerID: "google";
1229
1240
  readonly id: "gemini-flash-latest";
@@ -103,6 +103,7 @@ export const GENERATED_PRICE_SNAPSHOT = {
103
103
  { "providerID": "google", "id": "gemini-3.7-flash", "prices": [{ "input": 0.75, "output": 3.75, "cache": { "read": 0.075 } }], "released": "2026-08-13" },
104
104
  { "providerID": "google", "id": "gemini-3.8-flash", "prices": [{ "input": 0.75, "output": 3.75, "cache": { "read": 0.075 } }], "released": "2026-09-02" },
105
105
  { "providerID": "google", "id": "gemini-4-argon", "prices": [{ "input": 2, "output": 10, "cache": { "read": 0.1 } }], "released": "2026-10-13" },
106
+ { "providerID": "google", "id": "gemini-4-carbon", "prices": [{ "input": 2, "output": 10, "cache": { "read": 0.1 } }], "released": "2026-11-10" },
106
107
  { "providerID": "google", "id": "gemini-flash-latest", "prices": [{ "input": 0.75, "output": 3.75, "cache": { "read": 0.075 } }], "released": "2026-08-13" },
107
108
  { "providerID": "google", "id": "gemini-flash-lite-latest", "prices": [{ "input": 0.3, "output": 2.5, "cache": { "read": 0.03 } }], "released": "2026-07-21" },
108
109
  { "providerID": "google", "id": "gemini-pro-latest", "prices": [{ "input": 2, "output": 12, "cache": { "read": 0.2 } }, { "input": 4, "output": 18, "cache": { "read": 0.4 }, "tier": { "type": "context", "size": 200000 } }], "released": "2026-02-19" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chenlongapps/opencode-token-usage",
3
- "version": "0.4.20",
3
+ "version": "0.4.21",
4
4
  "description": "OpenCode 2 plugin for session-tree token usage, context window monitoring, estimated costs, and performance metrics (TPS, TTFT, run time).",
5
5
  "keywords": [
6
6
  "opencode",