-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat: add usage / quota visibility for Codex sessions and accounts #228
Copy link
Copy link
Open
Labels
enhancementRequested improvement or new capability.Requested improvement or new capability.
Description
I’d like T3 Code to surface usage information so users can better understand cost/rate-limit consumption while working.
Why
For long-running coding sessions it is hard to tell:
- how much usage a thread consumed
- whether the current account is close to rate limits
- whether a model/service-tier choice is still appropriate
Requested scope
- Show per-thread or per-turn token usage when available.
- Show account-level rate limit / credits / quota information when available from the provider.
- Add a lightweight usage summary in the UI, ideally without overwhelming the chat view.
Suggested UX
- Thread-level token usage near the thread/session metadata
- Account usage summary in sidebar or settings/account area
- Refresh or auto-update on relevant provider events
Suggested acceptance criteria
- Users can inspect current thread/session usage without opening logs.
- Users can inspect account-level quota or rate-limit status when the provider exposes it.
- The UI degrades gracefully when the provider does not expose usage data.
Relevant code context
apps/server/src/codexAppServerManager.tsapps/server/src/provider/Layers/CodexAdapter.tsapps/web/src/components/ChatView.tsx
Reference implementation ideas
- CodexMonitor exposes local usage snapshots, thread token usage, and account rate-limit views.
- Codex app-server events include account and token-usage style notifications that look relevant to this problem.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementRequested improvement or new capability.Requested improvement or new capability.