@chenlongapps/opencode-token-usage 0.4.26 → 0.4.28
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/prices.generated.d.ts +12 -22
- package/dist/prices.generated.js +2 -2
- package/dist/pricing.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const GENERATED_PRICE_SNAPSHOT: {
|
|
2
|
-
readonly verified: "2026-11-
|
|
2
|
+
readonly verified: "2026-11-20";
|
|
3
3
|
readonly source: "https://models.dev/api.json";
|
|
4
4
|
readonly entries: readonly [{
|
|
5
5
|
readonly providerID: "ai21";
|
|
@@ -1239,6 +1239,17 @@ export declare const GENERATED_PRICE_SNAPSHOT: {
|
|
|
1239
1239
|
};
|
|
1240
1240
|
}];
|
|
1241
1241
|
readonly released: "2026-11-12";
|
|
1242
|
+
}, {
|
|
1243
|
+
readonly providerID: "google";
|
|
1244
|
+
readonly id: "gemini-4-neon";
|
|
1245
|
+
readonly prices: readonly [{
|
|
1246
|
+
readonly input: 3;
|
|
1247
|
+
readonly output: 15;
|
|
1248
|
+
readonly cache: {
|
|
1249
|
+
readonly read: 0.15;
|
|
1250
|
+
};
|
|
1251
|
+
}];
|
|
1252
|
+
readonly released: "2026-11-18";
|
|
1242
1253
|
}, {
|
|
1243
1254
|
readonly providerID: "google";
|
|
1244
1255
|
readonly id: "gemini-flash-latest";
|
|
@@ -3633,27 +3644,6 @@ export declare const GENERATED_PRICE_SNAPSHOT: {
|
|
|
3633
3644
|
};
|
|
3634
3645
|
}];
|
|
3635
3646
|
readonly released: "2026-09-21";
|
|
3636
|
-
}, {
|
|
3637
|
-
readonly providerID: "xai";
|
|
3638
|
-
readonly id: "grok-build-0.1";
|
|
3639
|
-
readonly prices: readonly [{
|
|
3640
|
-
readonly input: 1;
|
|
3641
|
-
readonly output: 2;
|
|
3642
|
-
readonly cache: {
|
|
3643
|
-
readonly read: 0.2;
|
|
3644
|
-
};
|
|
3645
|
-
}, {
|
|
3646
|
-
readonly input: 2;
|
|
3647
|
-
readonly output: 4;
|
|
3648
|
-
readonly cache: {
|
|
3649
|
-
readonly read: 0.4;
|
|
3650
|
-
};
|
|
3651
|
-
readonly tier: {
|
|
3652
|
-
readonly type: "context";
|
|
3653
|
-
readonly size: 199999;
|
|
3654
|
-
};
|
|
3655
|
-
}];
|
|
3656
|
-
readonly released: "2026-04-16";
|
|
3657
3647
|
}, {
|
|
3658
3648
|
readonly providerID: "xiaomi";
|
|
3659
3649
|
readonly id: "mimo-v2.5";
|
package/dist/prices.generated.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const GENERATED_PRICE_SNAPSHOT = {
|
|
2
|
-
verified: "2026-11-
|
|
2
|
+
verified: "2026-11-20",
|
|
3
3
|
source: "https://models.dev/api.json",
|
|
4
4
|
entries: [
|
|
5
5
|
{ "providerID": "ai21", "id": "jamba-large", "prices": [{ "input": 2, "output": 8 }], "released": "2025-07-03" },
|
|
@@ -105,6 +105,7 @@ export const GENERATED_PRICE_SNAPSHOT = {
|
|
|
105
105
|
{ "providerID": "google", "id": "gemini-4-argon", "prices": [{ "input": 2, "output": 10, "cache": { "read": 0.1 } }], "released": "2026-10-13" },
|
|
106
106
|
{ "providerID": "google", "id": "gemini-4-carbon", "prices": [{ "input": 2, "output": 10, "cache": { "read": 0.1 } }], "released": "2026-11-10" },
|
|
107
107
|
{ "providerID": "google", "id": "gemini-4-hydrogen", "prices": [{ "input": 1.5, "output": 7.5, "cache": { "read": 0.075 } }], "released": "2026-11-12" },
|
|
108
|
+
{ "providerID": "google", "id": "gemini-4-neon", "prices": [{ "input": 3, "output": 15, "cache": { "read": 0.15 } }], "released": "2026-11-18" },
|
|
108
109
|
{ "providerID": "google", "id": "gemini-flash-latest", "prices": [{ "input": 0.75, "output": 3.75, "cache": { "read": 0.075 } }], "released": "2026-08-13" },
|
|
109
110
|
{ "providerID": "google", "id": "gemini-flash-lite-latest", "prices": [{ "input": 0.3, "output": 2.5, "cache": { "read": 0.03 } }], "released": "2026-07-21" },
|
|
110
111
|
{ "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" },
|
|
@@ -281,7 +282,6 @@ export const GENERATED_PRICE_SNAPSHOT = {
|
|
|
281
282
|
{ "providerID": "xai", "id": "grok-4.5", "prices": [{ "input": 2, "output": 6, "cache": { "read": 0.3 } }, { "input": 4, "output": 12, "cache": { "read": 0.6 }, "tier": { "type": "context", "size": 199999 } }], "released": "2026-07-08" },
|
|
282
283
|
{ "providerID": "xai", "id": "grok-4.6", "prices": [{ "input": 2, "output": 6, "cache": { "read": 0.5 } }, { "input": 4, "output": 12, "cache": { "read": 1 }, "tier": { "type": "context", "size": 199999 } }], "released": "2026-08-12" },
|
|
283
284
|
{ "providerID": "xai", "id": "grok-4.7", "prices": [{ "input": 2, "output": 6, "cache": { "read": 0.5 } }, { "input": 4, "output": 12, "cache": { "read": 1 }, "tier": { "type": "context", "size": 199999 } }], "released": "2026-09-21" },
|
|
284
|
-
{ "providerID": "xai", "id": "grok-build-0.1", "prices": [{ "input": 1, "output": 2, "cache": { "read": 0.2 } }, { "input": 2, "output": 4, "cache": { "read": 0.4 }, "tier": { "type": "context", "size": 199999 } }], "released": "2026-04-16" },
|
|
285
285
|
{ "providerID": "xiaomi", "id": "mimo-v2.5", "prices": [{ "input": 0.14, "output": 0.28, "cache": { "read": 0.0028 } }], "released": "2026-04-22" },
|
|
286
286
|
{ "providerID": "xiaomi", "id": "mimo-v2.5-pro", "prices": [{ "input": 0.435, "output": 0.87, "cache": { "read": 0.0036 } }], "released": "2026-04-22" },
|
|
287
287
|
{ "providerID": "xiaomi", "id": "mimo-v2.5-pro-ultraspeed", "prices": [{ "input": 1.305, "output": 2.61, "cache": { "read": 0.0108 } }], "released": "2026-06-08" },
|
package/dist/pricing.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export interface OfficialPriceEntry {
|
|
|
14
14
|
/** Checked-in data: updating prices is explicit, not a network request at
|
|
15
15
|
* startup, during a refresh, or during an npm build. */
|
|
16
16
|
export declare const OFFICIAL_PRICE_SNAPSHOT: {
|
|
17
|
-
verified: "2026-11-
|
|
17
|
+
verified: "2026-11-20";
|
|
18
18
|
source: "https://models.dev/api.json";
|
|
19
19
|
entries: OfficialPriceEntry[];
|
|
20
20
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chenlongapps/opencode-token-usage",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.28",
|
|
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",
|