AgentSpend: Open-Source Rust CLI Tracks Local Codex Token Usage
A developer has released AgentSpend, an early-stage, local-first Rust command-line tool that scans Codex session files for token usage. Deduplicated totals are stored in a local SQLite database, so the data never leaves the user's machine. The tool uses turn-level counters to avoid double-counting cumulative thread totals, and it ignores prompt and response text and does not access API credentials. Cost tracking, waste detection, and support for Claude, Gemini, and Ollama/Gemma logs are still on the roadmap, and the project has not yet been tested broadly across real-world setups.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in