This product was not featured by Product Hunt yet. It will not be visible on their landing page and won't be ranked (cannot win product of the day regardless of upvotes).
Cost X-ray
See what your AI coding agent actually 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.
We built Cost X-ray because “this coding session cost $X” is not enough.
AI coding agents assemble a large amount of context before every model call: system prompts, tool schemas, MCP definitions, previous messages, tool outputs, cache reads and writes, and reasoning blocks. Most of that is invisible in ordinary usage logs, so it is difficult to understand what is actually consuming the context window—or which parts are driving the bill.
Cost X-ray captures the local API traffic generated by Claude Code and Codex, then attributes tokens and cost back to the individual sources inside each request. You can inspect context-window occupancy, drill into specific tools and MCP servers, and identify things like unused schemas, oversized tool results, or repeated cache writes.
The project evolved from a simple cost dashboard into a lower-level observability tool. Instead of only answering “How much did the session cost?”, we wanted it to answer “What exactly did the model receive, and why did this turn cost that much?”
Everything runs locally, sensitive fields are redacted before storage, and no telemetry is sent. It currently supports Claude Code and Codex on macOS and Linux.
We would love to hear what you discover in your own agent workflows—especially unexpected sources of context or cost.
No comment highlights available yet. Please check back later!
About Cost X-ray on Product Hunt
“See what your AI coding agent actually what each part costs.”
Cost X-ray was submitted on Product Hunt and earned 3 upvotes and 1 comments, placing #160 on the daily leaderboard. 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.
Cost X-ray was featured in API (98.5k followers), Software Engineering (42.8k followers), Artificial Intelligence (475.9k followers) and GitHub (41.4k followers) on Product Hunt. Together, these topics include over 158.7k products, making this a competitive space to launch in.
Who hunted Cost X-ray?
Cost X-ray was hunted by Tigerless Labs. A “hunter” on Product Hunt is the community member who submits a product to the platform — uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.
Want to see how Cost X-ray stacked up against nearby launches in real time? Check out the live launch dashboard for upvote speed charts, proximity comparisons, and more analytics.