OpenRouter trace viewer
Paste a raw OpenRouter network trace with `data:` lines. This viewer ignores blank lines and comment markers, reconstructs streamed text, stitches together tool-call deltas, and surfaces the final usage payload.
Input trace
Paste the raw log, including `: OPENROUTER PROCESSING`, `data: ...`, and `[DONE]` lines.
Reconstructed assistant text
I can inspect this OpenRouter trace and reconstruct streamed text.
Data frames
8
Choices
1
Tool calls
1
Stream metadata
Completion ID
gen-1776986497-GQV2DIoxUs5A4H8ZNBAn
Created
2026-04-23T23:21:37.000Z
Model
anthropic/claude-4.6-opus-20260205
Provider
Amazon Bedrock
Comment lines
1
Done marker
Seen
Final usage
Prompt tokens
144,649
Completion tokens
6,119
Total tokens
150,768
Cost
$0.5533
Cached prompt tokens
71,765
Reasoning tokens
0
Choices
choice #0assistanttool_callstool_use3 text chunks
Reconstructed text
I can inspect this OpenRouter trace and reconstruct streamed text.
Tool calls
review_changestoolu_bdrk_018zopLCyswHkEgFmVh9hH7sfunction
{
"scope": "all"
}Comment markers
Lines beginning with `:` are ignored during reconstruction.
L1OPENROUTER PROCESSING
Invalid data frames
`data:` lines that were not valid JSON or `[DONE]`.
None.
Chunk timeline
One row per parsed `data:` frame. Later rows are deferred with `content-visibility` to keep long traces responsive.
L3contentchoice 0
Content: I
L5contentchoice 0
Content: can inspect this OpenRouter trace
L7contentchoice 0
Content: and reconstruct streamed text.
L9toolchoice 0
Tool delta: review_changes: (no args yet)
L11toolchoice 0
Tool delta: review_changes: {"scope":"all"}
L13finishchoice 0
Finish: finish=tool_calls native=tool_use
L15usagechoice 0usage payload
Finish: finish=tool_calls native=tool_use
L17done
Finish: [DONE]