Know where every token goes.

Drop in one trace. Blackbox replays every LLM call, prices every token and shows you what to fix. The trace stays on your machine.

Open a demo run · click one, or drag it into the field

or drop it anywhere on this page.

Follow one refund, call by call.

A sample support agent finds a duplicate charge and refunds it. Each bar is one LLM call. A wide bar took longer. A tall bar sent more tokens. This sample run ships with Blackbox: 12 calls in 53 s, and $0.325 spent.

The striped band: issue_refund failed after 30 s.

30 seconds lost to one tool.

issue_refund hangs for 30 s and fails. The agent waits, then asks for it again.

  1. lookup_patient0.4 s
  2. get_invoices0.9 s
  3. get_invoices0.9 s
  4. get_invoices0.9 s
  5. check_refund_policy2.6 s
  6. issue_refund30.0 s, failed
  7. issue_refund2.1 s
  8. send_email0.6 s
  9. add_note0.2 s

Every token has a price tag.

Orange is money. The brighter the bar, the more each of its tokens cost.

$0$4.00$2.00

Price per 1M input tokens

Try the run on another model.

The tokens stay the same. Only the price moves.

  1. As recorded$0.325
  2. claude-opus-5.5$0.347
  3. claude-sonnet-5.5$0.173
  4. step-5-preview$0.086
  5. hy4$0.036
  6. glm-5.3-flash$0.013
  7. gpt-6-luna$0.0087
  8. deepseek-v4-flash$0.0077
  9. minimax-m3.1-flash$0.0065
  10. deepseek-v4.1-flash$0.0044
  11. hy4-flash$0.0030

Most of this bill could be saved.

$0.277 of the $0.325 it spent.

  1. 10 LLM calls send the earlier conversation again at full price$0.248

    Each call sends the earlier conversation again at full price. With prompt caching, those tokens bill at the cache price.

  2. get_invoices ran 3 times with the same arguments$0.055

    The same tool runs again with the same arguments. Each repeat costs one more LLM call.

  3. 1 failed step and the LLM call that asked for it$0.039

    A step fails, and you still pay for the LLM call that asked for it.

  4. 3 short answers from a premium model$0.036

    Short answers come from an expensive model. A small model of the same provider gives the same few tokens for less.

  5. Tool definitions are 9% of the input$0.014

    Every call carries the full tool definitions. Shorter schemas, or fewer tools for each step, cut the input.

  6. The fixes overlap, so Blackbox applies them one after another. It never adds them up.

Bring your own run.

Drop its trace anywhere on this page. You get the same replay, prices and findings in seconds. The file stays on your machine.

Or open a demo: billing agent, coding agent, research agent

Blackbox reads Claude Code and Codex session logs, OpenTelemetry JSON (GenAI or OpenInference attributes), JSON lines of OpenAI or OpenRouter calls, and its own format, up to 250 MB. It reads the file in your browser and stores nothing. It prices runs on 461 OpenRouter models, and re-pricing always keeps the recorded tokens.