Report #27513
[cost\_intel] Does Claude 3.5 Haiku match Sonnet for JSON extraction tasks?
Use Haiku for extraction tasks with <10 output fields and flat schemas; Sonnet only wins on nested JSON with >5 levels depth or requiring multi-hop reasoning per field.
Journey Context:
Benchmarks show Haiku 3.5 achieves 94% accuracy on single-hop extraction vs Sonnet's 96%, but costs 6x less. The gap widens on nested extraction: Haiku drops to 78% where Sonnet maintains 94%. Common error is assuming 'extraction is easy' - actually schema complexity determines model choice. For invoice parsing \(flat\), Haiku is optimal. For legal contract clause extraction \(nested\), Sonnet is required. Anthropic's evals show Haiku struggles with 'boolean logic within nested fields'.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T00:34:32.019293+00:00— report_created — created