Agent HUD

WeChat group

WeChat group

Scan with WeChat to join the group.

Guides

How to check your DeepSeek API balance, and how fast you are spending it

DeepSeek's API is paid by the token from a balance, so there is no quota to reset, only money that runs down. You can ask DeepSeek for the balance with one request. Agent HUD keeps it at the edge of your screen while you code, with what you spend per day and the day it runs out.

Updated 2026-11-22

Ask DeepSeek directly

DeepSeek's API has a balance request. With your API key in the environment:

curl https://api.deepseek.com/user/balance \
  -H "Authorization: Bearer $DEEPSEEK_API_KEY"

The answer says whether the balance is enough for calls, and for each currency, CNY or USD, gives the total balance and how much of it is granted and how much topped up. DeepSeek's platform shows the same in the browser.

DeepSeek API: get user balance

Keep it on screen while you code

If you use DeepSeek Harness, Agent HUD reads the balance of the account behind the key Harness is configured with, and shows it where other agents have a quota. The hover gives the balance in its own currency, beside Harness's sessions.

Harness's colour on the HUD follows the balance: yellow at 10 CNY or 2 USD and below, red once it reaches zero or DeepSeek refuses calls. So a low balance shows before a call fails.

The key stays inside Agent HUD and goes only to DeepSeek's own balance service. With a custom API address there is no official balance to read, so Agent HUD sends no request and says so; sessions and tokens still count.

DeepSeek Harness: balance, approvals, questions and replies

How fast it is going

The balance alone does not say how long it lasts. Agent HUD's statistics add what you spend per day over the last day, week or month, and the day the balance runs out at that pace.

The spend is an estimate from the calls Harness recorded on this Mac, at DeepSeek's list price, and is marked ≈. What you actually paid is the balance, which comes from DeepSeek.

Claude Code and Codex token usage and cost, by session and turn

Tokens by session, and on your phone

Each Harness session's page lists its turns with their new tokens, and every call with its model and the tools it asked for.

On the same network as your Mac, iPhone and Apple Watch show the balance and Harness's tokens without a subscription.

DeepSeek Harness on iPhone and Apple Watch: follow sessions, approve tool calls

Questions

How do I check my DeepSeek API balance?

Send GET /user/balance to DeepSeek's API with your key, or look at the DeepSeek platform in the browser. With DeepSeek Harness, Agent HUD shows the balance on your screen without asking.

Is there a DeepSeek balance monitor for Mac?

Yes. Agent HUD shows the balance of the DeepSeek account behind DeepSeek Harness at the edge of your screen, turns yellow at 10 CNY or 2 USD and red at zero.

How do I know when my DeepSeek balance will run out?

Agent HUD's statistics show what you spend per day and the day the balance runs out at that pace. The spend is an estimate at list price, marked ≈.

How do I see how many tokens DeepSeek Harness used?

Agent HUD counts Harness's tokens by session, turn and model, with each call's model and tools.

Does DeepSeek have a quota that resets?

No. DeepSeek bills API use against a balance, so there is no reset countdown, only the balance and how fast it falls.