Token Supply

Guide

Track AI API token usage

Prepaid billing only helps if you can see the debit. Token Supply records usage per request, rolls it up in the dashboard, and stops new calls when the wallet hits zero.

Create account Open docs

Key, run, inspect

  1. Create a plan key

    Bind the key to the plan that contains your model.

  2. Point the client

    Set the base URL and key in Codex, Claude Code, OpenCode, or an SDK.

  3. Send a short request

    One prompt is enough to land a usage row.

  4. Open Usage

    Check Today, 24h, 7d, or 30d. Wallet balance sits in the sidebar.

What you can see

The dashboard shows usage and wallet activity across your API keys. Switch Today, 24h, 7d, and 30d to see whether a coding agent is a daily habit or a burst.

Each key is bound to a plan. If several people or agents share an account, give them separate keys so Usage can tell them apart.

Prepaid wallet

Accounts start at $0. Add credit before the first call. Listed usage debits the wallet as requests complete.

At zero balance the API returns 402 Payment Required. That is the cap. Add credit when you want the agent to continue.

Reduce coding-agent API costs · Estimate the next month

From a client to a row

After you change a base URL, send a short prompt and confirm that Usage moved. If nothing appears, check the key, the model name, and the client guide for that app.

Codex · Claude Code · OpenCode · OpenAI SDK

Details

Where is the usage dashboard?
Sign in and open Usage. Logged-out visitors can still set up a client from the guides.
What does 402 mean?
The wallet is empty. Add credit, then retry.
Can I track more than one agent?
Yes. Create a key per agent or person. Usage is recorded per key.

Related