Free tool

See where your AI bill goes, customer by customer

Drop an OpenAI or Anthropic usage or cost export. You get spend by day, model, project or workspace and API key, the top cost drivers, your cache and batch use, and, if you map keys or projects to customers, AI cost and margin per customer.

Your file never leaves this device

  • This page makes no network requests after it loads. Check your browser's network tab while you drop a file.
  • Your file is read and analysed in your browser, in this tab. Nothing is uploaded, and there is no analytics on this page.
  • As a second line of defence, the page's security policy refuses fetch, XHR, WebSocket, beacon and image requests from the page and its worker (connect-src 'none', and images only as inline data:).
  • Nothing is saved. Close the tab and it is gone.
No file to hand? Try an example: (made-up data; or to see the format)
How to export your usage

OpenAI

  1. Open the usage dashboard and choose Export.
  2. For dollars, export cost and group by line item, and by project if you use projects. For tokens, export usage grouped by project, API key or user and model.
  3. Pick CSV and a time interval of one day, then drop the file here.

JSON from the Admin API /v1/organization/costs or /v1/organization/usage/completions works too. Several pages can go in one JSON array.

Anthropic

  1. Open the Claude Console Cost or Usage page.
  2. Group by workspace, API key or model, set the date range, and download the CSV.
  3. Drop it here. If a column is not recognised, you can pick it by hand.

JSON from the Admin API /v1/organizations/cost_report or /v1/organizations/usage_report/messages works too.

Get this live for every customer: free audit

An export shows the past, by key and project. Tilwe reads usage with an admin key it only uses for usage and cost, and with two request headers shows AI cost and margin per customer and per feature, every day.

Get a free audit

Costs come straight from cost exports. Usage exports only have tokens, so cost is estimated from public list prices (OpenAI and Anthropic pricing pages, checked 3 Oct 2026), with batch at 50% off. Negotiated discounts, credits, long-context and data residency surcharges are not included, so treat estimates as a guide and check them against your invoice.

Margin is plan price per month minus AI cost per month. When your file covers more or fewer than 30 days, AI cost is scaled to 30 days. It is gross margin on AI only: hosting, support and payment fees are not in it.