codexwatch
v1.0.2OpenAI Codex usage from your local logs: tokens, API-equivalent cost and plan limits.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
usage_summary
Codex token usage and its API-equivalent dollar value for a period: totals, cache hit rate, and the top models and projects. Dollar figures are estimates at OpenAI API prices; tokens of models with no published price are counted separately.
| Parameter | Type | Description |
|---|---|---|
period | string | today, the last 7 or 30 days, this calendar month, or all history |
plan_limits
Where the ChatGPT plan's Codex limits stand now: each window's percent used, reset time, burn rate per hour and projected time it fills, read from the newest session log. With codexhop installed, also every saved account's last reading and the account with the most 5-hour room.
quota_forensics
What each percentage point of the plan cost in API-equivalent dollars and tokens, per window and per day, plus rises in a window that the local logs cannot explain (usage from another machine, ChatGPT itself or cloud tasks, or a metering change).
| Parameter | Type | Description |
|---|---|---|
window | string | only windows of this length; both when omitted |
sessions
The most recent Codex sessions with title, project, models, turns, tokens and dollar value.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
daily
Tokens and API-equivalent dollars per local day, oldest first, with empty days included.
| Parameter | Type | Description |
|---|---|---|
days | integer |
budget_status
The user's codexwatch budgets (dollar, token or plan-window caps) with how much of each is used and whether it is near or over its limit.