Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
36
36
models
listlengths
1
1
block_size
int64
64
64
hash_id_scope
stringclasses
1 value
requests
listlengths
20
2.17k
009dfc4e83422be8d3daa41cfda78036b2cd
[ "claude-opus-4-7" ]
64
local
[{"t":0.0,"model":"claude-opus-4-7","in":418,"out":20,"hash_ids":[0,1,2,3,4,5,6],"api_time":2.303,"t(...TRUNCATED)
0af3e551f4b5f408f6f5fd060efc0fda2a02
[ "claude-opus-4-7" ]
64
local
[{"t":0.0,"model":"claude-opus-4-7","in":55083,"out":205,"hash_ids":[0,1,2,3,4,5,6,7,8,9,10,11,12,13(...TRUNCATED)
0b1825a4864ed8e4f4a14c43d34b634462ae
[ "claude-opus-4-7" ]
64
local
[{"t":0.0,"model":"claude-opus-4-7","in":402,"out":24,"hash_ids":[0,1,2,3,4,5,6],"api_time":2.998,"t(...TRUNCATED)
0c80f810ee39c9ff7fd1da753062021f61ca
[ "claude-opus-4-7" ]
64
local
[{"t":0.0,"model":"claude-opus-4-7","in":50028,"out":295,"hash_ids":[0,1,2,3,4,5,6,7,8,9,10,11,12,13(...TRUNCATED)
0d16b460e49f5f0a3188ec9cc37bb38bf567
[ "claude-opus-4-7" ]
64
local
[{"t":0.0,"model":"claude-opus-4-7","in":587,"out":25,"hash_ids":[0,1,2,3,4,5,6,7,8,9],"api_time":3.(...TRUNCATED)
0dd65f69a351babb9be3191d1c03af492683
[ "claude-opus-4-7" ]
64
local
[{"t":0.0,"model":"claude-opus-4-7","in":434,"out":24,"hash_ids":[0,1,2,3,4,5,6],"api_time":1.97,"ty(...TRUNCATED)
0fbcd81b70613cb62405d69776f6c2932e8f
[ "claude-opus-4-7" ]
64
local
[{"t":0.0,"model":"claude-opus-4-7","in":443,"out":26,"hash_ids":[0,1,2,3,4,5,6],"api_time":2.569,"t(...TRUNCATED)
10f4a17d5dadb7c65175f0be58aae0ef5317
[ "claude-opus-4-7" ]
64
local
[{"t":0.0,"model":"claude-opus-4-7","in":404,"out":24,"hash_ids":[0,1,2,3,4,5,6],"api_time":1.619,"t(...TRUNCATED)
146f199fbf17eb44217390f0c78403ad7b28
[ "claude-opus-4-7" ]
64
local
[{"t":0.0,"model":"claude-opus-4-7","in":107221,"out":325,"hash_ids":[0,1,2,3,4,5,6,7,8,9,10,11,12,1(...TRUNCATED)
155fca8f24b67a1265a0ea3fa24c4ed8afa8
[ "claude-opus-4-7" ]
64
local
[{"t":0.0,"model":"claude-opus-4-7","in":713,"out":26,"hash_ids":[0,1,2,3,4,5,6,7,8,9,10,11],"api_ti(...TRUNCATED)
End of preview. Expand in Data Studio

CC Traces — Weka, No-Subagents, v5 only (May 18 2026)

A collection of 98 multi-turn agentic traces (≈ 22.8 k individual model requests) drawn from real production traffic against the Claude Code CLI ≥ 2.1.139. Each trace captures the full request/response sequence of a single agent session, including per-request KV block hashes, so the dataset can be replayed against an inference engine or used to simulate prefix-cache behavior offline.

No-subagents, v5-only, CC ≥ 2.1.139 variant. Three filters:

  1. No subagents. All WekaSubagentEntry blocks have been stripped — only top-level main-agent turns remain.
  2. v5 only. Every replayable request in every included session has trace_version = 5 (latest proxy schema, o200k_base tokenizer).
  3. Claude Code CLI ≥ 2.1.139. Every successful request in every included session is on a CC build that ships the x-claude-code-agent-id HTTP header — the canonical signal sub-agent grouping depends on. Sessions where any row predates this header are excluded entirely because we can't reliably distinguish a Task-tool sub-agent from a utility call without it.

Each remaining trace has ≥ 20 main-agent turns post-strip so every trace exercises multi-turn replay meaningfully.

Companion: cc-traces-weka-051826 is the same 98 traces with sub-agent fan-out preserved.

  • Traces: 98
  • Requests: 22,822 total, mean 232.9 per trace, max 2,171
  • Models: claude-opus-4-7, claude-opus-4-6, claude-sonnet-4-6
  • KV block size: 64 tokens
  • Hash scope: local

Tokenizer caveat

The in field and hash_ids are measured in the proxy's tokenizer (o200k_base, GPT-4o family). Anthropic typically reports ~60 % of the o200k token count for the same content — so ISL numbers below are larger than what Anthropic would bill for the same prompt, but self-consistent between in and hash_ids for cache-hit simulation.

Summary statistics

p50 p75 p90 p95 p99 mean
ISL (tokens) 181,474 338,879 525,701 664,749 838,501 240,502
OSL (tokens) 212 569 1,455 2,499 6,528 623
think_time (s) 0.98 2.71 12.45 71.64 448.24 92.32
Turn depth (requests/trace) 110 300 568 730 1,119 233

Distributions — log x Distributions — linear x

Model composition

model requests
claude-opus-4-7 22,484
claude-opus-4-6 302
claude-sonnet-4-6 36

Source

Derived from the SemiAnalysis Claude Code traffic proxy. Build pipeline:

  1. utils/sample_proxy_traces.py --min-trace-version 5 --min-main-turns 20 --require-cli-min 2.1.139 --privacy-mode anon
  2. utils/proxy_to_weka.py converts per-session JSONL into weka-format trace JSON. Sub-agent grouping is identical to the proxy dashboard's buildRequestRuns.
  3. Post-step strips all WekaSubagentEntry blocks; traces with <20 surviving main turns are dropped (none dropped at this build).
  4. Remaining traces concatenated into traces.jsonl (one trace per line).
Downloads last month
159