@chenlongapps/opencode-token-usage 0.4.27 → 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 +1 -22
- package/dist/prices.generated.js +1 -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";
|
|
@@ -3644,27 +3644,6 @@ export declare const GENERATED_PRICE_SNAPSHOT: {
|
|
|
3644
3644
|
};
|
|
3645
3645
|
}];
|
|
3646
3646
|
readonly released: "2026-09-21";
|
|
3647
|
-
}, {
|
|
3648
|
-
readonly providerID: "xai";
|
|
3649
|
-
readonly id: "grok-build-0.1";
|
|
3650
|
-
readonly prices: readonly [{
|
|
3651
|
-
readonly input: 1;
|
|
3652
|
-
readonly output: 2;
|
|
3653
|
-
readonly cache: {
|
|
3654
|
-
readonly read: 0.2;
|
|
3655
|
-
};
|
|
3656
|
-
}, {
|
|
3657
|
-
readonly input: 2;
|
|
3658
|
-
readonly output: 4;
|
|
3659
|
-
readonly cache: {
|
|
3660
|
-
readonly read: 0.4;
|
|
3661
|
-
};
|
|
3662
|
-
readonly tier: {
|
|
3663
|
-
readonly type: "context";
|
|
3664
|
-
readonly size: 199999;
|
|
3665
|
-
};
|
|
3666
|
-
}];
|
|
3667
|
-
readonly released: "2026-04-16";
|
|
3668
3647
|
}, {
|
|
3669
3648
|
readonly providerID: "xiaomi";
|
|
3670
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" },
|
|
@@ -282,7 +282,6 @@ export const GENERATED_PRICE_SNAPSHOT = {
|
|
|
282
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" },
|
|
283
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" },
|
|
284
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" },
|
|
285
|
-
{ "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" },
|
|
286
285
|
{ "providerID": "xiaomi", "id": "mimo-v2.5", "prices": [{ "input": 0.14, "output": 0.28, "cache": { "read": 0.0028 } }], "released": "2026-04-22" },
|
|
287
286
|
{ "providerID": "xiaomi", "id": "mimo-v2.5-pro", "prices": [{ "input": 0.435, "output": 0.87, "cache": { "read": 0.0036 } }], "released": "2026-04-22" },
|
|
288
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",
|