UsageBarRust is a system-tray application for Windows that displays LLM and API usage/balance information. Originally ported from C#: https://github.com/bariskisir/UsageBar
- Codex OAuth
- Claude OAuth
- DeepSeek API
- OpenRouter API
- Deepgram API
- New providers will be added soon.
- Download the latest release for your platform from Releases.
- Install or extract the package.
- Run UsageBarRust.
C:\Users\USERNAME\AppData\Roaming\UsageBarRust\settings.json
{
"refreshPeriodMinute": 5,
"useLegacyTooltip": false,
"highPercentage": 70,
"criticalPercentage": 90,
"DEEPSEEK_API_KEY": "",
"OPENROUTER_API_KEY": "",
"DEEPGRAM_API_KEY": ""
}[System.Environment]::SetEnvironmentVariable("DEEPSEEK_API_KEY", "API_KEY", "User")
[System.Environment]::SetEnvironmentVariable("OPENROUTER_API_KEY", "API_KEY", "User")
[System.Environment]::SetEnvironmentVariable("DEEPGRAM_API_KEY", "API_KEY", "User")Providers with blank or missing API keys will not be enabled
When usage climbs above the configured thresholds, a Windows toast notification is shown:
- High usage — usage crosses
highPercentage(default 70 %) upward. - Critical usage — usage crosses
criticalPercentage(default 90 %) upward. - Limit reset — when usage drops back below the threshold, the tracking state resets so a fresh notification can fire on the next upward crossing.
Each threshold fires only once per cycle (no repeat spam). The thresholds can be changed
from the tray icon's right-click menu (High Level / Critical Level) or by editing
settings.json.
git clone https://github.com/bariskisir/usagebarrust.git
cd usagebarrust
cargo build --releaseMIT
