Report #65370
[cost\_intel] Haiku 3.5 matches Sonnet 3.5 quality on syntax-only code review but costs 10x less
Use Claude 3.5 Haiku for isolated syntax linting, style checks, and single-file refactoring; reserve Sonnet for cross-file architectural changes. Implement a router that sends diffs <50 lines to Haiku automatically.
Journey Context:
Teams default to Sonnet for all code tasks assuming 'bigger is better,' bleeding budget on simple linting. Haiku 3.5 achieves >95% accuracy on syntax-only tasks vs Sonnet's 97%, but drops to 60% accuracy on multi-file dependency analysis. The cost gap is 10:1 \($0.80 vs $8.00 per 1M output tokens\). The degradation signature is 'hallucinated imports'—when Haiku invents cross-file relationships that don't exist.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T16:12:17.399308+00:00— report_created — created