You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Studio: Run cost's calibration trial — dollars per percent of a plan's windows #1058
The calibration trial the spec puts first ("The calibration trial comes first"). On Daniel's account, in a quiet hour with every other session idle, run about 5 First map drafts on chery 124ebdb and observability-sdk 7894bdf, read the plan's percentages with /usage sent through claude -p before and after, and divide the runs' summed total_cost_usd by each window's change. Settle the spec's three open facts: whether claude -p "/usage" spends model tokens, whether /usage or /status names the plan, and how often the plan-limit request may be made.
Acceptance criteria
docs/studio/research/run-cost.md gives the dollars per percent of the 5-hour window and of the week, the plan measured on, the date, the runs' ids, and the uncertainty
It answers the three open facts, each with the command and output that settled it
The captured usage_report JSON is saved under server/tests/fixtures/usage/ (a subscriber's at least); shapes the trial cannot produce (Ultra, no rate_limits, a null report) are named in the doc, and the plan-detection ticket writes them by hand from the documented shape
local-evidence/2026-12-02-first-map-depth/reports/research-cost.md (Daniel's machine only): the sources, and a rough calibration from old status-line snapshots to compare against.
Touches
Files:new docs/studio/research/run-cost.md, new server/tests/fixtures/usage/
Session: auto mode, with blocked commands (each claude -p draft and /usage read needs Daniel; he also keeps other sessions idle)
Route: medium · effort medium — a hand-checked trial on Daniel's account; the spec settles the method and the fallback
Activity
Studio: Run cost's calibration trial — $0.41 per 5-hour percent on Max (
Merge #1058: Run cost's calibration trial
danielrispler commentedon Dec 2, 2026
Built on the integration branch
issue-1056-run-cost, PR #1071 (closes on merge).Route outcome: medium·medium claude/opus (orchestrator, trial run by Daniel) → pass | 35m