02 / codex-spend · local usage dashboard
One command turns local Codex state into a private dashboard for tokens, estimated cost, cache use and project activity.
Long Codex sessions make usage hard to reason about. The raw data exists, but it is split between SQLite state and session logs. I wanted a quick answer without sending that history to another service.
No account, upload or hosted database. Run npx codex-spend and the browser opens locally. That choice keeps setup short and private usage data on the machine.
Dependency: the parser follows Codex's local formats and needs the sqlite3 command. Format changes can require an update.