# Check AI balance and allowance

The main chat's bottom row can show a compact balance or allowance beside the
existing chat controls. The same value and details are available on desktop and
mobile; tap the value on either layout to open its details.

- **DeepSeek** or **GLM Pay-as-you-go API**, through Claude, Codex or OpenCode: a currency amount such as
  **$12.40**. The button does not add the provider name or a country prefix.
  The details identify the provider and currency. GLM reports USD;
  DeepSeek CNY balances use **¥**.
- **GLM Coding Plan**, through Claude, Codex or OpenCode: a remaining percentage,
  such as **68%**. The weekly quota is shown when supplied; otherwise the supplied
  coding quota is used. Details include shorter windows and reset times when known.
- Native **Claude** subscriptions and **Codex** ChatGPT plans retain their weekly
  percentage and existing **Refresh** control. The percentage appears only while
  the reading is current. While the page is visible, Claude's is read about once
  a minute through a Claude chat running for that account. When no chat is running,
  or the running chat can't confirm a current figure, a short check that stops as
  soon as it answers runs at most every five minutes. A tab in the background
  checks nothing; when you return to it, it checks at once if its last check is a
  minute or more old. Open tabs and sessions using the same Claude account share
  one reading, so opening more of them does not add checks. When no current reading can be
  obtained, the value shows **?%**. Its details say, for example, **Can't check
  your Claude allowance right now.** and, when known, when it was last checked
  and what was left then.

The selected connection must be available in **AI Accounts**, and you must have
permission to use it. To choose a model explicitly, open **Chat mode**, choose
**Custom**, select **Orchestrator**, **Model** and **Thinking**, then **Apply**.
With **Auto**, the value follows the connection selected for Senior, Junior and
review turns. Changing to another connection never transfers the previous
connection's reading to it.

DeepSeek and GLM balance or Coding Plan quota checks are attempted at the start and
end of each main chat turn. They run independently of the assistant, so a slow or
failed check does not delay a turn, stop it, or decide which model may run. There
is no periodic balance check or manual **Refresh** for these snapshots. Reloading
the page reads the latest stored snapshot; it does not query the provider again.

Tap the value to see when it was checked. **Usage details** opens the provider's
site in a new tab. The balance or quota belongs to the account associated with
that key and may be shared with other sessions or applications; it is not the
cost of the current turn or a separate per-key budget. Other usage and delayed
provider accounting can make the snapshot differ from the provider's current
value.

Reset and checked times use your browser's locale and local time zone, including
Claude and Codex allowances. Dates include a month name, for example
**16 Oct 2026, 6:40 am** in Australian English, to avoid ambiguous numeric dates.

If no value appears, a reading may not be available yet, the provider may have
failed to answer, or the connection may not support balance checks. This does
not mean the balance is zero. Continue using the chat normally; the next turn
boundary makes another attempt. For an immediate account check, open the
provider's account site yourself. GLM's optional pay-as-you-go balance endpoint
can reject a configured key; a missing balance alone is not a reason to replace
the key. Check the provider's Billing page for the account balance. OpenAI API keys
do not show a balance. A confirmed zero does display as zero.

For Claude and Codex, **?%** means the allowance can't be checked right now; it
does not mean zero, and the last checked value in its details may be out of date.
Tap it and choose **Refresh** to try again, or use **Usage details** to see the
provider's current figure.

Colleague can explain these controls, help identify the session's selected model,
and offer to change the selection through its existing session actions. A change
requires the person's request or acceptance and normal access checks. Colleague
can read the same balance or allowance for a session: the amount and currency,
or the remaining percentage with its reset time, and when it was checked. Like
the indicator, no reading does not mean zero, and a reading reported as stale is
the last value checked, not the current one. Colleague has no access to API
keys; the person opens the provider site and handles any account payment or top-up.

Verified against `Vibe64AgentPlanUsage.vue`, `Vibe64ChatModeControls.vue`,
`Vibe64SessionAssistantMenu.vue`, provider usage normalization, and the session
action contracts. Automated browser fixtures cover the displayed values and
details; they do not verify a live provider account's balance.
