Report #65988
[cost\_intel] When does Claude 3 Haiku fail on structured JSON extraction vs Sonnet?
Use Sonnet/Pro when schema has >2 nested levels, arrays with discriminated unions, or >10 optional fields. Haiku works for flat objects <5 fields. Cost difference is 10x but failure rate drops from 40% to <2%.
Journey Context:
Many assume Haiku 'supports JSON mode' so it's equivalent. But Haiku's tool use reliability drops sharply with schema complexity. The failure mode is silent: valid JSON but wrong structure or hallucinated fields. Testing shows Haiku hits 40% error on nested invoices vs Sonnet's 2%. The 10x cost is cheaper than retry logic or validation pipelines.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T17:14:25.699129+00:00— report_created — created