Log every model call's time and tokens #175

Merged
dev-agent merged 1 commits from call-timing into main 2026-10-20 23:19:30 +00:00
1 Commits
Author SHA1 Message Date
dongarandClaude Opus 5.5 31c97ccfb5 Log every model call's time and tokens
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 2m57s
CI / e2e (pull_request) Successful in 4m42s
Each call through BudgetedClient emits llm.call: seconds, input,
output and cached tokens, and the answering model when a fallback
answered; a failed call logs how long it ran before it failed.
Usage now carries the server's cached-prompt count on both routes.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
2026-10-20 23:07:18 +00:00