46 lines
2.1 KiB
Markdown
46 lines
2.1 KiB
Markdown
# Usage and limits
|
|
|
|
## Understand your usage
|
|
|
|
**Usage** combines Codex, Claude Code, and Grok Build session history from your connected
|
|
environments. It shows token use, cache savings, model breakdowns, and estimated API-equivalent
|
|
cost. These estimates are not your subscription bill.
|
|
|
|
Totals depend on the history available on each server. Grok turns without a saved completed-turn
|
|
record are missing from the totals.
|
|
|
|
If recent work is missing or a new model shows no cost, refresh to rescan session history and
|
|
update model pricing.
|
|
|
|
## Set custom model prices
|
|
|
|
On web or desktop, open **Usage → Model prices** to add, edit, or remove a model's estimated
|
|
price. Choose the environment whose history you want to price, then enter the exact model ID and
|
|
USD rates per million input and output tokens. You can enter any model ID, including models
|
|
without public pricing.
|
|
|
|
Cache read and cache write rates are optional and use the input rate when blank. Enter `0` for
|
|
tokens that are free. Saved prices replace automatic pricing for all of that environment's
|
|
history and are shared with clients connected to it. Set prices on each environment that needs
|
|
them. Removing a price restores automatic pricing.
|
|
|
|
## Track subscription limits
|
|
|
|
**Usage → Limits** shows quota use and reset times for Codex and Claude subscriptions. It also
|
|
compares quota consumed with time elapsed in each window, so you can judge your pace before the
|
|
next reset.
|
|
|
|
If a window looks stale, refresh Limits to re-check every provider and hub.
|
|
|
|
API-key accounts may not report subscription limits. This also applies to Claude connections
|
|
using a proxy through `ANTHROPIC_AUTH_TOKEN`.
|
|
|
|
## Connect a CLIProxyAPI hub
|
|
|
|
To see pooled accounts, open **Settings → Providers → Usage providers → Add hub**. Choose the
|
|
environment that will connect to the hub and enter its URL and management key.
|
|
|
|
The accounts appear under **Usage → Limits**. This connection supplies usage information; configure
|
|
the provider separately to send agent requests through the hub. Remove the hub from the same
|
|
settings section when you no longer need it.
|