# feat\(usage\): show Codex and Claude subscription limits on a Limits tab \(\#9507\) · gitcafe/t3code

[View on GitCafe](https://git.cafe/gitcafe/t3code/commit/19d8ab2ae9fc562ee7b216a0d72903fbfafa9572)

Repository: [gitcafe/t3code](https://git.cafe/gitcafe/t3code)

Visibility: public

Requested revision: 19d8ab2ae9fc562ee7b216a0d72903fbfafa9572

Requested commit: 19d8ab2ae9fc562ee7b216a0d72903fbfafa9572

Commit: 19d8ab2ae9fc562ee7b216a0d72903fbfafa9572

Tree: 6b48da114bc1823cab0f0c80a6fd85b9a88681b4

Author: Julius Marminge

Committer: GitHub

## Message

```
feat(usage): show Codex and Claude subscription limits on a Limits tab (#9507)

Users on Codex or Claude Code subscriptions could not see how much quota was left or when it resets without leaving T3 Code. A user whose CLIs route through a CLIProxyAPI hub could not see it at all.

Each driver now returns `usageLimits` on its own snapshot (Codex from `account/rateLimits/read`, Claude from the SDK's `get_usage`), adapters normalise turn-driven rate-limit events at the boundary, and a driver-blind ingestion layer folds them onto the owning instance. The Usage page gains a Limits tab (mobile a card) with a bar per window, elapsed marker, pace, and reset countdown. CLIProxyAPI hubs can be added as read-only usage-limit sources; their accounts show badged "via CLIProxyAPI" with emails blurred.

Distilled from #1732 (server model, provider rows) and #9421 (Limits tab, window bars, pace maths). Closes #228.

Co-authored-by: Aditya Mer <101453576+Aditya190803@users.noreply.github.com>
Co-authored-by: Wout Stiens <71498452+StiensWout@users.noreply.github.com>
Co-authored-by: Claude Code <noreply@anthropic.com>
```

## Parents

- [0a0b6be96833adae68b36540c00d347eda278736](https://git.cafe/gitcafe/t3code/commit/0a0b6be96833adae68b36540c00d347eda278736?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/t3code/tree/19d8ab2ae9fc562ee7b216a0d72903fbfafa9572?format=markdown)
