How to track Pi and Oh My Pi token usage UsageAtlas now tracks Pi and Oh My Pi (OMP) token usage by reading local session logs, with Pi sessions typically stored under `~/.pi/agent/sessions` and OMP under `~/.omp/agent/sessions`. The reader supports Anthropic and OpenAI Codex usage formats, and a custom root can be set via the `PI_CODING_AGENT_SESSION_DIR` environment variable. UsageAtlas estimates the API value of recorded input, cache, and output tokens using known model prices, but does not collect subscription quotas or match subscription bills. Track Pi and OMP sessions 1. Run Pi or Oh My Pi locally to create session logs. 2. Install UsageAtlas https://usageatlas.com/ download on that computer and check Pi / OMP in Settings → Sources. 3. Refresh, then select Pi / OMP in Today or History to inspect recorded activity. Find your session directory Pi commonly stores JSONL sessions under ~/.pi/agent/sessions ; OMP uses supported stores such as ~/.omp/agent/sessions . UsageAtlas also discovers supported OMP profiles. For a custom root, start the app with PI CODING AGENT SESSION DIR set to that directory. See the supported locations https://github.com/SRX9/UsageAtlas/blob/main/docs/LOCAL PROVIDERS.md for the complete list. Check backend coverage The current reader supports Anthropic and OpenAI Codex usage formats. Other backend records can leave history partial. Recorded input, cache, and output tokens stay under Pi / OMP, even when the model comes from another company. Known prices produce API-equivalent estimates; the reader does not collect subscription quotas. Questions, answered Does Pi usage also count under Codex or Claude? Pi events stay under Pi / OMP. UsageAtlas's Codex and Claude readers do not scan Pi session roots. Does the estimated cost equal my subscription bill? No. It estimates the API value of recorded tokens using known model prices. Subscription charges are separate, and unknown prices remain unavailable.