@chenlongapps/opencode-token-usage 0.4.10 → 0.4.12

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.
@@ -1,5 +1,5 @@
1
1
  export declare const GENERATED_PRICE_SNAPSHOT: {
2
- readonly verified: "2026-10-14";
2
+ readonly verified: "2026-10-18";
3
3
  readonly source: "https://models.dev/api.json";
4
4
  readonly entries: readonly [{
5
5
  readonly providerID: "ai21";
@@ -865,7 +865,7 @@ export declare const GENERATED_PRICE_SNAPSHOT: {
865
865
  readonly read: 0.003;
866
866
  };
867
867
  }];
868
- readonly released: "2026-09-10";
868
+ readonly released: "2026-10-17";
869
869
  }, {
870
870
  readonly providerID: "deepseek";
871
871
  readonly id: "deepseek-v4-flash";
@@ -876,7 +876,7 @@ export declare const GENERATED_PRICE_SNAPSHOT: {
876
876
  readonly read: 0.003;
877
877
  };
878
878
  }];
879
- readonly released: "2026-09-10";
879
+ readonly released: "2026-10-17";
880
880
  }, {
881
881
  readonly providerID: "deepseek";
882
882
  readonly id: "deepseek-v4-flash-vision-exp";
@@ -887,7 +887,7 @@ export declare const GENERATED_PRICE_SNAPSHOT: {
887
887
  readonly read: 0.003;
888
888
  };
889
889
  }];
890
- readonly released: "2026-09-10";
890
+ readonly released: "2026-10-17";
891
891
  }, {
892
892
  readonly providerID: "deepseek";
893
893
  readonly id: "deepseek-v4-pro";
@@ -1801,14 +1801,6 @@ export declare const GENERATED_PRICE_SNAPSHOT: {
1801
1801
  readonly output: 0;
1802
1802
  }];
1803
1803
  readonly released: "2026-04-28";
1804
- }, {
1805
- readonly providerID: "nvidia";
1806
- readonly id: "nvidia/nemotron-3-super-120b-a12b";
1807
- readonly prices: readonly [{
1808
- readonly input: 0.2;
1809
- readonly output: 0.8;
1810
- }];
1811
- readonly released: "2026-03-11";
1812
1804
  }, {
1813
1805
  readonly providerID: "nvidia";
1814
1806
  readonly id: "nvidia/nemotron-3-ultra-550b-a55b";
@@ -1836,6 +1828,14 @@ export declare const GENERATED_PRICE_SNAPSHOT: {
1836
1828
  readonly output: 0;
1837
1829
  }];
1838
1830
  readonly released: "2026-08-11";
1831
+ }, {
1832
+ readonly providerID: "nvidia";
1833
+ readonly id: "nvidia/nemotron-3.5-super-vl-120b-a12b";
1834
+ readonly prices: readonly [{
1835
+ readonly input: 0;
1836
+ readonly output: 0;
1837
+ }];
1838
+ readonly released: "2026-10-15";
1839
1839
  }, {
1840
1840
  readonly providerID: "nvidia";
1841
1841
  readonly id: "nvidia/nemotron-content-safety-reasoning-4b";
@@ -2982,6 +2982,17 @@ export declare const GENERATED_PRICE_SNAPSHOT: {
2982
2982
  readonly output: 0.15;
2983
2983
  }];
2984
2984
  readonly released: "2024-06-12";
2985
+ }, {
2986
+ readonly providerID: "upstage";
2987
+ readonly id: "solar-mini4";
2988
+ readonly prices: readonly [{
2989
+ readonly input: 0.1;
2990
+ readonly output: 0.4;
2991
+ readonly cache: {
2992
+ readonly read: 0.01;
2993
+ };
2994
+ }];
2995
+ readonly released: "2026-09-22";
2985
2996
  }, {
2986
2997
  readonly providerID: "upstage";
2987
2998
  readonly id: "solar-pro2";
@@ -3616,6 +3627,9 @@ export declare const GENERATED_PRICE_SNAPSHOT: {
3616
3627
  readonly prices: readonly [{
3617
3628
  readonly input: 0.6;
3618
3629
  readonly output: 1.8;
3630
+ readonly cache: {
3631
+ readonly read: 0.11;
3632
+ };
3619
3633
  }];
3620
3634
  readonly released: "2025-08-11";
3621
3635
  }, {
@@ -3635,6 +3649,9 @@ export declare const GENERATED_PRICE_SNAPSHOT: {
3635
3649
  readonly prices: readonly [{
3636
3650
  readonly input: 0.3;
3637
3651
  readonly output: 0.9;
3652
+ readonly cache: {
3653
+ readonly read: 0.05;
3654
+ };
3638
3655
  }];
3639
3656
  readonly released: "2025-12-08";
3640
3657
  }, {
@@ -1,5 +1,5 @@
1
1
  export const GENERATED_PRICE_SNAPSHOT = {
2
- verified: "2026-10-14",
2
+ verified: "2026-10-18",
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-01" },
@@ -86,9 +86,9 @@ export const GENERATED_PRICE_SNAPSHOT = {
86
86
  { "providerID": "cohere", "id": "command-r7b-arabic-02-2025", "prices": [{ "input": 0.0375, "output": 0.15 }], "released": "2025-02-27" },
87
87
  { "providerID": "cohere", "id": "north-mini-code-1-0", "prices": [{ "input": 0, "output": 0 }], "released": "2026-06-09" },
88
88
  { "providerID": "cohere", "id": "north-small-translate-09-2026", "prices": [{ "input": 0, "output": 0 }], "released": "2026-09-09" },
89
- { "providerID": "deepseek", "id": "deepseek-flash", "prices": [{ "input": 0.15, "output": 0.6, "cache": { "read": 0.003 } }], "released": "2026-09-10" },
90
- { "providerID": "deepseek", "id": "deepseek-v4-flash", "prices": [{ "input": 0.15, "output": 0.6, "cache": { "read": 0.003 } }], "released": "2026-09-10" },
91
- { "providerID": "deepseek", "id": "deepseek-v4-flash-vision-exp", "prices": [{ "input": 0.15, "output": 0.6, "cache": { "read": 0.003 } }], "released": "2026-09-10" },
89
+ { "providerID": "deepseek", "id": "deepseek-flash", "prices": [{ "input": 0.15, "output": 0.6, "cache": { "read": 0.003 } }], "released": "2026-10-17" },
90
+ { "providerID": "deepseek", "id": "deepseek-v4-flash", "prices": [{ "input": 0.15, "output": 0.6, "cache": { "read": 0.003 } }], "released": "2026-10-17" },
91
+ { "providerID": "deepseek", "id": "deepseek-v4-flash-vision-exp", "prices": [{ "input": 0.15, "output": 0.6, "cache": { "read": 0.003 } }], "released": "2026-10-17" },
92
92
  { "providerID": "deepseek", "id": "deepseek-v4-pro", "prices": [{ "input": 0.66, "output": 1.98, "cache": { "read": 0.022 } }], "released": "2026-08-12" },
93
93
  { "providerID": "google", "id": "deep-research-max-preview-04-2026", "prices": [{ "input": 2, "output": 12, "cache": { "read": 0.2 } }, { "input": 4, "output": 18, "cache": { "read": 0.4 }, "tier": { "type": "context", "size": 200000 } }], "released": "2026-04-21" },
94
94
  { "providerID": "google", "id": "deep-research-preview-04-2026", "prices": [{ "input": 2, "output": 12, "cache": { "read": 0.2 } }, { "input": 4, "output": 18, "cache": { "read": 0.4 }, "tier": { "type": "context", "size": 200000 } }], "released": "2026-04-21" },
@@ -175,10 +175,10 @@ export const GENERATED_PRICE_SNAPSHOT = {
175
175
  { "providerID": "nvidia", "id": "nvidia/nemotron-3-content-safety", "prices": [{ "input": 0, "output": 0 }], "released": "2026-04-16" },
176
176
  { "providerID": "nvidia", "id": "nvidia/nemotron-3-nano-30b-a3b", "prices": [{ "input": 0, "output": 0 }] },
177
177
  { "providerID": "nvidia", "id": "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning", "prices": [{ "input": 0, "output": 0 }], "released": "2026-04-28" },
178
- { "providerID": "nvidia", "id": "nvidia/nemotron-3-super-120b-a12b", "prices": [{ "input": 0.2, "output": 0.8 }], "released": "2026-03-11" },
179
178
  { "providerID": "nvidia", "id": "nvidia/nemotron-3-ultra-550b-a55b", "prices": [{ "input": 0.5, "output": 2.5, "cache": { "read": 0.15 } }], "released": "2026-06-04" },
180
179
  { "providerID": "nvidia", "id": "nvidia/nemotron-3.5-content-safety", "prices": [{ "input": 0, "output": 0 }], "released": "2026-06-04" },
181
180
  { "providerID": "nvidia", "id": "nvidia/nemotron-3.5-lightning-30b-a3b", "prices": [{ "input": 0, "output": 0 }], "released": "2026-08-11" },
181
+ { "providerID": "nvidia", "id": "nvidia/nemotron-3.5-super-vl-120b-a12b", "prices": [{ "input": 0, "output": 0 }], "released": "2026-10-15" },
182
182
  { "providerID": "nvidia", "id": "nvidia/nemotron-content-safety-reasoning-4b", "prices": [{ "input": 0, "output": 0 }], "released": "2026-01-22" },
183
183
  { "providerID": "nvidia", "id": "nvidia/nemotron-mini-4b-instruct", "prices": [{ "input": 0, "output": 0 }], "released": "2024-08-21" },
184
184
  { "providerID": "nvidia", "id": "nvidia/nemotron-nano-12b-v2-vl", "prices": [{ "input": 0, "output": 0 }], "released": "2025-10-28" },
@@ -266,6 +266,7 @@ export const GENERATED_PRICE_SNAPSHOT = {
266
266
  { "providerID": "stepfun-ai", "id": "step-5-preview", "prices": [{ "input": 1, "output": 2.7, "cache": { "read": 0.05 } }], "released": "2026-09-16" },
267
267
  { "providerID": "tencent-tokenhub", "id": "hy4-preview", "prices": [{ "input": 0.834, "output": 2.501, "cache": { "read": 0.042 } }], "released": "2026-08-28" },
268
268
  { "providerID": "upstage", "id": "solar-mini", "prices": [{ "input": 0.15, "output": 0.15 }], "released": "2024-06-12" },
269
+ { "providerID": "upstage", "id": "solar-mini4", "prices": [{ "input": 0.1, "output": 0.4, "cache": { "read": 0.01 } }], "released": "2026-09-22" },
269
270
  { "providerID": "upstage", "id": "solar-pro2", "prices": [{ "input": 0.25, "output": 0.25 }], "released": "2025-05-20" },
270
271
  { "providerID": "upstage", "id": "solar-pro3", "prices": [{ "input": 0.25, "output": 0.25 }] },
271
272
  { "providerID": "upstage", "id": "solar-pro4", "prices": [{ "input": 0.3, "output": 1.2, "cache": { "read": 0.06 } }], "released": "2026-08-06" },
@@ -301,9 +302,9 @@ export const GENERATED_PRICE_SNAPSHOT = {
301
302
  { "providerID": "zai", "id": "glm-4.5", "prices": [{ "input": 0.6, "output": 2.2, "cache": { "read": 0.11 } }], "released": "2025-07-28" },
302
303
  { "providerID": "zai", "id": "glm-4.5-air", "prices": [{ "input": 0.2, "output": 1.1, "cache": { "read": 0.03 } }], "released": "2025-07-28" },
303
304
  { "providerID": "zai", "id": "glm-4.5-flash", "prices": [{ "input": 0, "output": 0, "cache": { "read": 0 } }], "released": "2025-07-28" },
304
- { "providerID": "zai", "id": "glm-4.5v", "prices": [{ "input": 0.6, "output": 1.8 }], "released": "2025-08-11" },
305
+ { "providerID": "zai", "id": "glm-4.5v", "prices": [{ "input": 0.6, "output": 1.8, "cache": { "read": 0.11 } }], "released": "2025-08-11" },
305
306
  { "providerID": "zai", "id": "glm-4.6", "prices": [{ "input": 0.6, "output": 2.2, "cache": { "read": 0.11 } }], "released": "2025-09-30" },
306
- { "providerID": "zai", "id": "glm-4.6v", "prices": [{ "input": 0.3, "output": 0.9 }], "released": "2025-12-08" },
307
+ { "providerID": "zai", "id": "glm-4.6v", "prices": [{ "input": 0.3, "output": 0.9, "cache": { "read": 0.05 } }], "released": "2025-12-08" },
307
308
  { "providerID": "zai", "id": "glm-4.6v-flash", "prices": [{ "input": 0, "output": 0, "cache": { "read": 0 } }], "released": "2025-12-08" },
308
309
  { "providerID": "zai", "id": "glm-4.7", "prices": [{ "input": 0.6, "output": 2.2, "cache": { "read": 0.11 } }], "released": "2025-12-22" },
309
310
  { "providerID": "zai", "id": "glm-4.7-flash", "prices": [{ "input": 0, "output": 0, "cache": { "read": 0 } }], "released": "2026-01-19" },
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-10-14";
17
+ verified: "2026-10-18";
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.10",
3
+ "version": "0.4.12",
4
4
  "description": "Session-tree token usage, live performance, context window and estimated cost for OpenCode 2",
5
5
  "keywords": [
6
6
  "opencode",