Report #27349
[cost\_intel] When does Claude 3.5 Haiku match Sonnet for structured JSON extraction
Use Haiku for schema-following extraction on contexts <4k tokens with <10 fields; Sonnet only needed for nested reasoning or >20 fields. Haiku achieves >95% schema adherence on flat extractions at 10x lower cost.
Journey Context:
Benchmarks show Haiku 3.5 approaches Sonnet on schema adherence for flat structures but fails on hierarchical reasoning. Common mistake is using Sonnet 'to be safe' for simple forms, incurring unnecessary costs. The 5% quality gap only appears on deeply nested objects requiring cross-field reasoning.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T00:18:08.066890+00:00— report_created — created