Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

usage.md

58 lines2.9 KB

1# Usage and limits
2​
3## Understand your usage
4​
5**Usage** combines Codex, Claude Code, and Grok Build session history from your connected
6environments. It shows token use, cache savings, model breakdowns, and estimated API-equivalent
7cost. These estimates are not your subscription bill.
8​
9Totals depend on the history available on each server. Grok turns without a saved completed-turn
10record are missing from the totals.
11​
12On web and desktop, use the environment dropdown to filter costs, tokens, and limits. All
13environments are selected by default. The dropdown shows which environments are still scanning;
14results appear as each one responds.
15​
16If recent work is missing or a new model shows no cost, refresh to rescan session history and
17update model pricing.
18​
19## Set custom model prices
20​
21On web or desktop, open the environment dropdown on **Usage**, then choose **Model prices** to add,
22edit, or reset a model's estimated price. **Apply to** starts with your current Usage filter;
23choose all environments or select individual destinations. Enter the exact model ID and USD
24rates per million input and output tokens. You can enter any model ID, including models
25without public pricing.
26​
27Cache read and cache write rates are optional and use the input rate when blank. Enter `0` for
28tokens that are free. Saved prices replace automatic pricing for all of that environment's
29history and are shared with clients connected to it. When environments have different prices,
30cells show **Mixed**. Edit rates directly in the table, then choose **Save changes** to apply all
31edited rows. Untouched cells keep each environment's rate. Select one environment to inspect its
32prices. **Reset to automatic** marks a model's override for removal when you save; you can undo
33it before saving.
34​
35Each destination reports whether the change saved. Offline or unavailable environments are
36marked **Not saved**. Reconnect them and choose **Retry failed saves** to finish the same change
37without writing again to environments that already saved. Changes are not queued after you close
38the dialog.
39​
40## Track subscription limits
41​
42**Usage → Limits** shows quota use and reset times for Codex and Claude subscriptions. It also
43compares quota consumed with time elapsed in each window, so you can judge your pace before the
44next reset.
45​
46If a window looks stale, refresh Limits to re-check every provider and hub.
47​
48API-key accounts may not report subscription limits. This also applies to Claude connections
49using a proxy through `ANTHROPIC_AUTH_TOKEN`.
50​
51## Connect a CLIProxyAPI hub
52​
53To see pooled accounts, open **Settings → Providers → Usage providers → Add hub**. Choose the
54environment that will connect to the hub and enter its URL and management key.
55​
56The accounts appear under **Usage → Limits**. This connection supplies usage information; configure
57the provider separately to send agent requests through the hub. Remove the hub from the same
58settings section when you no longer need it.