» Tag
api-cost-optimization
2 postsCutting Claude API Costs 84% by Separating Vision and Reasoning
An OCR pipeline routed page images to Haiku and reasoning to Sonnet instead of Opus, cutting Claude API costs by 84%. Includes the model-routing math and a real JSON parsing bug.
Hidden Bugs Killing Claude Prompt Caching: The Fix That Cut Costs 80%
Why Claude prompt caching silently fails: timestamps, unsorted JSON, and per-user tool lists breaking the prefix match, plus the fix that cut costs 80%.
CommitBrief — AI code reviews, right in your terminal
A provider-agnostic, local-first CLI that reviews your staged changes, a historic range, or a whole GitHub pull request. Zero telemetry, no server. Free and open source.
commitbrief.com