Anthropic's announcement of Fable 5.2 and Mythos 5.2 — one base model, 1M context, lower prices, and an optional fast mode up to 2.5x.
- official
- models
- announcement
- fable
Empirical study of Claude Code token usage: cache rebuilds, not typing volume, drive the bill — with run-counted measurements of the habits that throw the prompt cache away and a self-audit prompt that scores your own logs
This repository measures how Claude Code usage is driven by prompt-cache rebuilds: the cache lasts 5 minutes on an API key (also Bedrock, Vertex and Foundry) and 1 hour on a Pro, Max or Ultra subscription within its usage limits, visible on /usage's Prompt cache (main) line. The do/don't table carries its sample counts: /compact before a break measured 2.5x versus about 10x resuming after (3 runs); /clear plus a 3-line note after a break measured about 1x (3 runs, 2 for /compact); keeping one session for small related fixes measured 28% less than /clear between them (1 run, small history, preliminary); long tool output added +15% (750-token log) to +64% (5,000) over the next 6 turns (2 runs each, preliminary); turning off a tool or switching models mid-task measured 22x a normal turn (2 runs, preliminary; the model-switch figure comes from docs, not tested). Desktop's Code tab measured at least 1.80x the CLI in one run. It ships a local analyzer (python3 -m cc_usage_study.analyze ~/.claude/projects ... --summary --sessions --calls) that reads logs without copying prompt text, and a paste-in prompt that scores your habits from summary fields, timestamps and compact_boundary metadata only.
For teams and heavy users who want session hygiene decided by evidence rather than folklore: what to do before a break, whether scheduled claude -p runs should resume or start fresh, and which client to standardize on.
mkdir -p ~/.claude/skills cp -R skills/claude-code-usage-check ~/.claude/skills/
Sample sizes are small and the README marks almost every figure: 1-run rows are labeled preliminary, the +76% workday figure for missed idle compaction is modeled rather than tested live, the ~3x estimate for resuming scheduled claude -p runs is not tested live, and measurements were taken on Claude Code 2.1.325 (older versions may behave differently). Fewer raw tokens is not less usage — one setting sent 63% fewer raw tokens and used 25.2% more, because cached tokens cost far less. The self-audit prompt is designed to keep chat text local, but the Claude Code conversation that runs it still contains the summary numbers.
Repository
inevolin/claude-code-usage-analysisCharted
Anthropic's announcement of Fable 5.2 and Mythos 5.2 — one base model, 1M context, lower prices, and an optional fast mode up to 2.5x.
Anthropic's official "Code with Claude" workshop materials — nine hands-on courses on skills, MCP, evals and Claude Managed Agents.
Anthropic's announcement of Fable 5.1 and Mythos 5.1 — one base model, two guardrail postures.
Anthropic's canonical essay on agent design — workflows vs agents, and five composable patterns.
HumanLayer's 12 design principles for production-grade LLM agents — the closest thing to a 'best practices' manifesto.
Official curated registry of MCP servers — discovery, versioning, and metadata for the ecosystem.