cost-xray

by tigerless-labs · Codex Skill · ★ 5.1k

About cost-xray

cost-xray See what your AI coding agent actually sends to the API — and what each part costs. Most usage tools read local logs. That shows the total cost of a call or session, but it misses the request-time context assembled before the model is invoked: system prompts, tool schemas, MCP blocks, tool results, cache reads/writes, and previous thinking blocks. cost-xray captures the actual local API traffic for Claude Code and Codex, then attributes tokens and dollars back to the sources inside the request. It shows not just how much a turn cost, but why it cost that much.

claude-codecodex-clicost-trackingobservabilityprompt-cachingproxytoken-counting

Quick Facts

Stars5,088
Forks335
LanguagePython
CategoryCodex Skill
LicenseMIT
Quality Score42.75/100
Open Issues35
Last Updated2026-10-15
Created2026-06-06
Platformsclaude-code, cli, codex, python
Est. Tokens~34k

Compatible Skills

These tools work well together with cost-xray for enhanced workflows:

  • prompt-cache-skills-501 — semantic(0.28)+complementary+rare_topics+same_lang+similar_pop+shared_platform (59%)
  • prompt-cache-skills-189 — semantic(0.28)+complementary+rare_topics+same_lang+similar_pop+shared_platform (59%)
  • cc-devops-skills — semantic(0.23)+complementary+same_lang+similar_pop+shared_platform (53%)
  • NadirClaw — semantic(0.23)+complementary+rare_topics+same_lang+similar_pop (53%)
  • recall — semantic(0.21)+complementary+same_lang+similar_pop+shared_platform (53%)

More Codex Skill Tools

Explore other popular codex skill tools:

View all Codex Skill tools →

Popular Python Agent Tools

Frequently Asked Questions

What is cost-xray?

cost-xray is See what Claude Code and Codex actually send to the API — and what each part costs.. It is categorized as a Codex Skill with 5.1k GitHub stars.

What programming language is cost-xray written in?

cost-xray is primarily written in Python. It covers topics such as claude-code, codex-cli, cost-tracking.

How do I install or use cost-xray?

You can find installation instructions and usage details in the cost-xray GitHub repository at github.com/tigerless-labs/cost-xray. The project has 5.1k stars and 335 forks, indicating an active community.

What license does cost-xray use?

cost-xray is released under the MIT license, making it free to use and modify according to the license terms.

View on GitHub → Browse Codex Skill tools