CodeBurn

OpenAI Codex CLI Token Usage & Cost Tracker

CodeBurn is a free, local tool that tracks your OpenAI Codex CLI token usage and cost. Run npx codeburn and it reads your Codex session files on disk, then breaks spend down by model, project, and task. No signup, nothing uploaded.

What you see

Codex token usage and cost for any day, week, or month, with a per-model split and a per-task view. CodeBurn handles Codex edge cases, like forked and replayed sessions, so the totals stay accurate.

All your tools, one place

Track Codex alongside Claude Code, Cursor, Copilot, Gemini and more. See the full list of supported tools.

Start tracking

One command, fully local.