Decode your Codex.
Optimize your spend.

Stop operating in the dark. codex-spend builds a mission control center for your local OpenAI usage. Instant analytics, automated insights, 100% private.

$ npx codex-spend
COPY_COMMAND
EXPLORE_SETUP_FLOW
COPIED_TO_CLIPBOARD
$ npx codex-spend
# Generating local dashboard...
# Analyzing .codex-history...
Server active: http://localhost:4322
BOOT_SEQUENCE

Zero-config initialization.

01

Invoke Registry

Run npx codex-spend in your root directory. The tool scans your local cache instantly.

02

Local Processing

Usage data is parsed, indexed, and evaluated locally. Your API keys and data never touch a remote server.

03

Strategic Insight

Open the generated URL to reveal cost peaks, token sinks, and optimization strategies automatically.

TELEMETRY_VIEW

Uncharted Insights.