DeepSeek Balance in Taskbar
Shows the current DeepSeek API account balance next to the taskbar clock
Author: MrAlexFreeman
Shows the current DeepSeek API account balance right in the Windows taskbar
clock:
0:17
22.10.2026 | ≈1 058 ₽
Works in explorer.exe on Windows 10 and Windows 11 with the stock taskbar.
Networking uses the built-in WinHTTP stack and JSON/XML parsing is hand-written,
so there are no external dependencies.

How it works
- The mod hooks
GetTimeFormatEx / GetDateFormatEx from kernelbase.dll —
the functions the taskbar clock uses to format its text (Windows 10:
ClockButton::UpdateTextStringsIfNecessary, Windows 11:
ClockSystemTrayIconDataModel::RefreshIcon).
- Formatting is only decorated while the clock is refreshing (a thread-local
flag), so dates in other Explorer windows are left alone.
- A background thread polls
https://api.deepseek.com/user/balance through
WinHTTP, parses the JSON and updates the clock suffix.
- When a display currency is selected, the mod fetches the official Bank of
Russia rates (
https://www.cbr.ru/scripts/XML_daily.asp, windows-1251),
caches them for six hours and converts the balance. With the default
native mode no such request is made.
Settings
- DeepSeek API key —
sk-... key stored in Windhawk's mod settings on this
PC. Leave it empty to use the DEEPSEEK_API_KEY environment variable.
- Refresh interval — how often to poll the API, in minutes.
- Clock line — append to the bottom (date) line or the top (time) line.
- Display currency —
native keeps the currency returned by the API;
CNY, RUB and USD convert the balance with the official Bank of Russia
rates.
Notes
- Requires symbols (PDB) for
explorer.exe / SystemTray.dll; Windhawk
downloads them automatically on first start.
- The old Windows 10 taskbar on Windows 11 (ExplorerPatcher) is not supported.
- The API key is stored in plain text in the mod settings: Windhawk has no
secret setting type. The key is only sent to
api.deepseek.com and is never
logged; no other endpoints are contacted except www.cbr.ru, and only when a
display currency other than native is selected.
In a regular (non-portable) Windhawk install the settings are machine-wide,
so every Windows account on this PC shares the same key.
- Do not enable this mod together with Taskbar Clock Customization: both hook
the same formatting functions of the clock, and that mod replaces the line
text, so only one of them can win. Pick one of the two.