cost-xray
See what Claude Code and Codex actually send to the API — and what each part costs.
- claude-code
- codex-cli
- cost-tracking
- observability
- prompt-caching
- proxy
- token-counting
- Stars
- 3,499
- Forks
- 288
- + today
- +1
- Created
- 5mo
Ranking data as of December 1, 2026 (UTC).
Star History
Today, hour by hour
Overview
See what Claude Code and Codex actually send to the API — and what each part costs. It ranks #2856 on GitTiger, gaining +1 star on December 1, 2026 (UTC).
The project is written in Python and has 288 forks. It was created 5mo ago.
What it is
cost-xray shows what Claude Code and Codex send to an AI API and what each part costs, per its description. Primary language is Python; license metadata reads MIT.
Capabilities described
Per the README preview: - Works with Claude Code or Codex on macOS or Linux. - No API keys, account or agent configuration changes are needed, because capture is a transparent local hop. - A setting to skip the interactive prompt, for example in CI. - The README mentions an install script for users who already cloned the repository.
Getting started
The README covers setup. Commands are not repeated here; see the README.
Missing evidence
No output examples, cost accuracy details or supported-version list were supplied.
git clone https://github.com/tigerless-labs/cost-xray.git
cd cost-xray
# see README for setupFrequently Asked Questions
Which agents does it support?
Per the README preview, Claude Code and Codex.
Does it need API keys?
The README preview says no API keys, account or config changes are needed.
Which platforms are supported?
The README preview lists macOS and Linux.