AI Usage and Token Log Explorer
Upload a CSV or JSONL usage log to see token use and estimated cost by model and task, plus retries and the biggest requests. Free, private and instant.
How to use the AI Usage and Token Log Explorer
- Open a usage log as CSV or JSON lines, or paste rows. A small sample is already there.
- Enter your own prices per million input and output tokens, and any model-specific prices as model=in/out lines.
- Press Analyse log to see totals by model and task, the most expensive requests and a waste check for failures and retries.
Example
Worked example (the fictional 6-row sample log built into the tool, with example prices of £2 and £8 per million tokens)
- Result: 6 requests, 43,092 tokens, an estimated cost of £0.1011
- By model: model-large 4 requests, £0.0976; model-small 2 requests, £0.0035
- Waste check: 1 failed request cost about £0.0240 and 1 retry cost about £0.0316
Limitations
- Costs are estimates from the prices you enter. Provider prices change, differ by model and may include caching or batch discounts that are not modelled.
- Columns are detected by name, so unusual log formats may need renaming.
- A retry is defined as a repeat of a failed request within 2 minutes, which is a rule of thumb.
- The file stays in your browser; nothing is uploaded.
About this tool
Open a usage log with one request per row (CSV, or JSON lines as many AI APIs produce) and the explorer finds the columns for model, input and output tokens, optional task label and status, then totals tokens and an estimated cost, ranks the most expensive tasks and highlights retries and failures. Enter your own prices per million tokens because they differ by model and change often. The file is processed in your browser and is never uploaded.
AI Usage and Token Log Explorer is part of ToolStack Hub's Developer Tools. It runs entirely in your browser, which keeps your data private and makes results instant. There is nothing to install and no account to create. There is no usage limit.
Frequently asked questions
Which log formats work?
CSV, JSON lines or a JSON array with token counts per request. It looks for columns like input_tokens and output_tokens, or prompt_tokens and completion_tokens, and for model, task and status when present.
How is cost estimated?
From the per-million-token prices you enter, which can be overridden per model. If your file already has a cost column, that is used instead.
Is the AI Usage and Token Log Explorer free?
Yes. AI Usage and Token Log Explorer is completely free with no sign-up, limits or watermarks.
Is my data private when I use the AI Usage and Token Log Explorer?
Yes. It runs in your browser, so your input is not uploaded to our servers.
Does it work on mobile?
Yes. ToolStack Hub tools work on phones, tablets and desktop browsers.
Keep going
Need this automated for your business?
Vantalume builds custom AI and web automation workflows so your team can stop doing repetitive work.