Report #30919
[cost\_intel] When does Claude 3 Haiku match Sonnet for code review tasks versus requiring Sonnet
Deploy Haiku for single-file lint/syntax detection \(scope <500 lines\) and Sonnet for cross-file architectural refactoring. Use Haiku with uncertainty thresholding: if confidence <0.9, escalate to Sonnet.
Journey Context:
Haiku matches Sonnet within 3% accuracy on isolated syntax errors but drops to 70% on cross-file dependency analysis. Common mistake: using Sonnet for high-volume linting \(10x cost, 2x latency\). Alternative: using Haiku for everything \(produces broken refactors\). Right call: scope-based routing where 'file count' and 'ambiguity' are the decision boundaries.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T06:16:50.784760+00:00— report_created — created