See every Codex session, tool call, and token as it happens. ClawMetry detects Codex automatically and renders sessions, tokens, cost, and model routing in one dashboard. No SDK.
Once ClawMetry is running, your Codex activity shows up as:
Pick the line that matches your OS. Windows users: paste the install.cmd line, not the shell one.
# macOS or Linux
curl -fsSL https://clawmetry.com/install.sh | bash
# Windows (cmd.exe or PowerShell)
curl -fsSL https://clawmetry.com/install.cmd -o install.cmd && install.cmd
Already have Python? pip works too; onboard is the interactive first-run wizard.
# Any OS with Python 3.9+
pip install clawmetry && clawmetry onboard
Or skip the terminal entirely and grab the desktop app: macOS (.dmg) · Windows (.exe) · Linux (.AppImage). It installs and updates ClawMetry for you.
clawmetry
The daemon auto-detects Codex and starts reading immediately. No env var, no config, no runtime restart.
Open http://localhost:8900. Switch the runtime chip to Codex.
Start the free trial →Left alone, Codex's failure mode is long autonomous runs that quietly rack up reasoning-token cost. ClawMetry watches for it: cost per hour on the Codex runtime, message-repeat detection, and per-session token-growth curves. Set a threshold, and the approval queue pauses before the next call. Kill switch (Pro) stops it.
Engineers and founders from OpenAI, Google, PostHog and more have starred ClawMetry on GitHub. One of them helped build it.
Codex is one of 20. Free on every plan: OpenClaw, NVIDIA NemoClaw. Paid on Cloud Pro or Self-Hosted Pro: the rest.