You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Authenticated, usage available |`⬡ 45% (2h30m)`|
28
28
| Authenticated, no reset time |`⬡ 45%`|
29
+
| Authenticated, remaining mode |`⬡ 55% (2h30m)`|
29
30
| API key not set |`⬡ Set API Key`|
30
31
| Error / fetch failed |`⬡ -`|
31
32
32
-
> The `⬡` icon is the z.ai icon. Set `zaiUsage.useIcon: false` to display `z.ai:` as a text prefix instead.
33
+
> The `⬡` icon is the z.ai icon. Set `zaiUsage.useIcon: false` to display `z.ai:` as a text prefix instead. Set `zaiUsage.displayMode: "remaining"` to show remaining tokens instead of usage.
Copy file name to clipboardExpand all lines: package.json
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,16 @@
71
71
"type": "number",
72
72
"default": 10000,
73
73
"description": "Priority of the z.ai Usage item in the status bar (higher = further left among right-aligned items). Change takes effect after reloading the window."
74
+
},
75
+
"zaiUsage.displayMode": {
76
+
"type": "string",
77
+
"enum": ["usage", "remaining"],
78
+
"default": "usage",
79
+
"enumDescriptions": [
80
+
"Display token usage (e.g. 75.3%)",
81
+
"Display remaining tokens (e.g. 24.7%)"
82
+
],
83
+
"description": "Whether to display token usage or remaining tokens in the status bar."
0 commit comments