Codex × ClawMetry

Observability and cost tracking for OpenAI Codex

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.

Supported runtime Zero config, auto-detected Read-only Free trial Official Codex site ↗
📦 631k+ installs 🌍 128+ countries 392 on GitHub 🏆 #5 Product Hunt

What ClawMetry sees on Codex

Once ClawMetry is running, your Codex activity shows up as:

Enable it in about two minutes

1. Install ClawMetry

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.

2. Run the daemon

clawmetry

The daemon auto-detects Codex and starts reading immediately. No env var, no config, no runtime restart.

3. Open the dashboard

Open http://localhost:8900. Switch the runtime chip to Codex.

Start the free trial →

The one thing this catches that Codex alone does not

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.

Starred by the people building AI

Engineers and founders from OpenAI, Google, PostHog and more have starred ClawMetry on GitHub. One of them helped build it.

Peter Steinberger
Peter SteinbergerOpenAI
Creator of OpenClaw and founder of PSPDFKit, now at OpenAI.
Matt Van Horn
Matt Van HornJune · Weber
Co-founder of June, the smart oven acquired by Weber. ClawMetry contributor.
Alex Krentsel
Alex KrentselGoogle
Systems research engineer at Google and PhD student at UC Berkeley.
Manoel Aranda Neto
Manoel Aranda NetoPostHog
Software engineer at PostHog, previously mobile SDKs at Sentry.
Kody Kendall
Kody KendallLlamaPress AI
Co-founder of LlamaPress AI, an open-source AI web-app builder.

All 20 runtimes ClawMetry observes

Codex is one of 20. Free on every plan: OpenClaw, NVIDIA NemoClaw. Paid on Cloud Pro or Self-Hosted Pro: the rest.

OpenClaw NVIDIA NemoClaw NanoClaw PicoClaw Claude Code Codex (this page) Cursor Aider Goose OpenCode Qwen Code Hermes Pi Deep Agents n8n Antigravity GitHub Copilot Grok QM DeepSeek Harness