Report #91451
[cost\_intel] Haiku 3.5 matches Sonnet 3.5 on flat JSON extraction but collapses on nested schemas
Use Haiku 3.5 for extraction with <10 flat fields and depth ≤2; force Sonnet 3.5 if schema has nested arrays or optional keys requiring presence validation
Journey Context:
Benchmarks show Haiku 3.5 achieves within 3% F1 of Sonnet 3.5 on flat key-value extraction at 1/6th cost, but JSON parse error rates jump from 2% to 18% when schemas have >2 levels of nesting or >10 fields. Haiku hallucinates optional keys and misplaces nested objects, requiring Sonnet for structural guarantees. The breakpoint is visible in validation failure rates, not just accuracy.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T12:05:36.805944+00:00— report_created — created