scripts: cache-aware token telemetry per model/effort over grounding receipts

↗ view on GitHub · Eli Ziff · 2026-07-30 · 151a68e7

Sweeps all receipt JSONLs, dedupes cells, reports uncached input, cache
read/write, output, reasoning, and per-cell means. Codex lane carries
cached_tokens + reasoning_tokens from the Responses API; claude-p lane
carries cache_read/write_input_tokens (its inputTokens is uncached-only,
so effective input = uncached + cache read).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012AgUm5EcRKbT3duVFMbrQD
Repository eliziff/Beaver
Author Eli Ziff <eliasziff@gmail.com>
Authored
Parents 27401f0b
Stats 1 file changed , +118
Part of Legal grounding and retrieval research

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-151a68e7.md from inside the repo you want the change in.

⬇ Download capture-commit-151a68e7.md