AI helpers
How to use AI LLM Trace Reviewer: an example and checklist
Use AI LLM Trace Reviewer when you need a quick way to work through this task. Review a small LLM span export for latency, token usage, cost fields, and trace gaps. This guide walks through a small example and the checks to make before you use the result.
Paste a JSON object with a spans array, or a JSON array of span records. Each span needs a name and may include durationMs, status, inputTokens, outputTokens, costUsd, provider, or model. The Worker checks exact counts and percentiles before asking AI for observations. Only up to 50 spans and 8,000 characters are accepted. Remove prompts, secrets, personal data, and confidential values first: the submitted JSON is sent to an external AI service for analysis and is not stored on this site. A small or sampled trace cannot prove full-traffic reliability or complete cost attribution.
How to use the tool
- Paste a JSON spans array or object, then check the live validation message and record count.
- Review the generated snapshot for exact span durations, recorded token totals, reported costs, and failed spans.
- Use the AI notes to identify missing fields or follow-up checks; compare full, consistently sampled traces before drawing conclusions.
Try a small example
Example input or settings
Three spans: a 920 ms agent.request, a 760 ms model.generate with 1,200 input and 180 output tokens plus a reported $0.0024, and a 60 ms failed search.lookup.
What to check
The reviewer should keep the supplied measurements separate: one failed span, one explicit model usage and cost record, and per-span durations that do not prove end-to-end latency. Check provider-specific token definitions and trace sampling before comparing runs. A small export cannot establish reliability, cost completeness, or model quality.
What are the limitations of AI LLM Trace Reviewer?
The reviewer sees only the JSON sample you provide. It cannot restore dropped spans, identify unreported provider charges, establish trace sampling rates, or prove that recorded prompts and outputs were handled safely. It also does not certify model quality or service reliability.
When this is useful
For a real task, replace the sample with your own input and check the output in its final context. Keep a copy of the original if the change is hard to reverse.
Before you rely on the result
AI output can vary and may contain mistakes. Check facts, code and names yourself; do not paste private or sensitive data into an AI request.