MeteorNOX/DeepSeek-Balance-Whale-Widget · 24 Aug 2026 · Feature

DeepSeek Users Are Flocking to a Whale That Tracks API Spend

Vanessa Cho
Vanessa Cho
Staff Writer

A DeepSeek Harness plugin turns real-time balance and usage tracking into a draggable, squishy desktop companion, because the platform refuses to tell you how fast you are burning cash.

The Billing Blind Spot That Spawned a Mascot

DeepSeek’s API is famously inexpensive, but it is also strangely opaque about consumption. The official user balance endpoint returns only a snapshot: total balance, granted balance, and topped-up balance. It does not expose a quota denominator, a usage percentage, or a running tally of tokens burned in the current billing cycle. This omission is not merely cosmetic. As noted in a bug report against the popular CodexBar tool, the lack of a total quota figure makes it impossible to render a meaningful progress bar; developers were left staring at plain text balances while trying to guess whether they were halfway through a budget or teetering on the edge of an empty tank.

MeteorNOX/DeepSeek-Balance-Whale-Widget

Into this visibility gap swims the DeepSeek Balance Whale Widget, a community-built plugin for DeepSeek Harness. It occupies the lower-right corner of the DSH web interface as a small whale bubble that tracks balance, estimates daily spend, and even announces the exact cost of each conversation turn. Despite being a single-purpose frontend accessory, the project has attracted roughly 700 stars on GitHub and a featured slot on the DSH Hub catalog. That level of attention for a balance monitor suggests the problem it solves is more acute than the tool’s playful appearance implies.

Two Ways to Count the Burn

The widget’s core value is financial instrumentation layered on top of an API that offers none. Because DeepSeek does not publish a clean usage endpoint, the plugin resorts to two distinct accounting strategies.

The first, labeled small-whale bookkeeping, is a heuristic that requires nothing beyond the standard DeepSeek API key. Every sixty seconds the plugin polls the balance endpoint. When the total drops, it records the delta as consumption in a local JSON ledger, archives the data across a thirty-day window, and automatically zeroes the tally at midnight. The advantage is zero configuration; the disadvantage is blindness. Any API calls made while DSH is closed—by a script, a colleague, or another client—vanish from the ledger. The whale only sees what it observes firsthand.

The second mode is more precise and more precarious. It asks the user to supply a platform session token scraped from the DeepSeek website via browser developer tools. With that token, the widget calls an internal platform usage endpoint and maps the returned token buckets against a hard-coded peak-and-valley pricing table. Weekday peak hours run from nine to noon and two to six in the afternoon; nights and weekends fall to valley rates, with a policy change enacted on August 23, 2026 that makes weekends entirely off-peak. The result is an hour-by-hour cost translation that the official API simply does not provide.

A third feature, per-turn consumption, sidesteps both methods. By listening to local session events inside DSH, the widget intercepts the exact token usage after each chat turn and pops up a transient bubble showing the real cost in yuan. This requires no platform token and no polling guesswork; it is a local tap on the shoulder after every exchange, turning an abstract cloud bill into a tangible price tag per question.

Desktop Pet or Developer Tool?

If the widget stopped at accounting, it would be a dashboard panel. Instead, it behaves like a desktop mascot. The whale can be dragged and snapped to any quarter of the screen edges. Snap it to the left side and the entire sprite mirrors horizontally, flipping its text in real time so nothing reads backward. Hold the Q key and the creature squashes downward in a rubbery physics animation, anchored at its base so it does not drift. A hidden burger menu appears on hover, offering a size slider that ranges from sixty percent to two and a half times the default, volume controls, and a choice of sound effects including a rubber-duck squeak.

There is also a weighted-random dialogue system. Click the speech bubble and the whale cycles through lines that may display peak-valley hints, today’s burn rate, or animated GIFs. The menu even allows users to swap the pricing alert text between a default mode, a founder-name pun referencing Liang Wenfeng, and an exuberant alternate label. These details signal that the author is building not just for function but for the specific cultural vernacular of the Chinese AI developer community. The result is a tool that makes cost anxiety slightly less stressful by wrapping it in charm.

A Canary in the Harness

The widget is not a standalone application. It is a standard DSH bundle plugin, meaning it installs into the DSH web profile and mounts its own local routes for balance JSON, widget JavaScript, and image assets. DeepSeek Harness itself remains in developer preview, and the DSH Hub explicitly warns that bundle APIs may shift during this period. The whale is therefore a canary: its continued operation depends on the stability of a harness that is still learning to walk.

That fragility notwithstanding, the plugin points to a maturing ecosystem. Early platform extensions usually focus on adding new model providers or prompt templates. The whale widget is different; it is operational middleware, concerned with billing transparency and user experience rather than generation quality. Its README includes a maintenance prompt file containing the full visual specification and architectural conclusions, suggesting the project is designed to be extended or repaired by AI assistants. In a sense, it is a plugin for an AI harness that is itself documented for AI consumption.

Where the Friction Lives

For all its polish, the widget rests on shaky foundations. The platform-token mode is the most brittle. The token is a transient web-session credential, not an official API key, and it expires whenever the user logs out of the DeepSeek platform website. Scraping it from browser network tabs is a workaround, not an integration, and DeepSeek could invalidate the endpoint or change its authentication scheme without notice.

The bookkeeping mode is more stable but inherently lossy. It cannot reconcile spend that happens outside its gaze, and its daily reset relies on local clock time rather than the provider’s billing cycle. Users who split their work across multiple API keys or clients will find the whale’s ledger incomplete.

Finally, the entire project is scoped to the DSH web interface. If you call DeepSeek from a Python script, a VS Code extension, or a mobile app, the whale is not watching. It is a local ornament for a single profile in a single harness, useful only to the subset of developers who have adopted DSH as their primary control plane.

Whether DeepSeek eventually publishes a proper usage API will determine how long these workarounds remain necessary. Until then, the Balance Whale Widget stands as one of the more inventive pieces of glue code in the current AI tooling landscape: a creature that watches your wallet because the platform forgot to, and makes the surveillance feel almost like companionship.

Sources

  1. https://github.com/MeteorNOX/DeepSeek-Balance-Whal...
  2. DeepSeek API Docs: Your First API Call
  3. Free WordPress Floating Contact Button Plugin | Bit Assist ...
  4. Get User Balance - DeepSeek API Docs
  5. Codexbar DeepSeek API usage monitoring not working ...
  6. Buttonizer | The #1 Floating Action Button Plugin for WordPress
  7. dsh-whale-widget - DSH Hub
  8. Has anyone experimented with the DeepSeek API? Is it ...
  9. Chat Widget: Floating Customer Support Button for 30 ...
  10. DeepSeek V4 PRO & Flash: The WHALE is Back with ... - YouTube
  11. Add a Custom Dashboard Widget in WordPress - Plugin ...

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.