Report #80654
[cost\_intel] Claude 3.5 Haiku matches Sonnet on structured extraction within 5% quality at 6x lower cost
Use Claude 3.5 Haiku for JSON extraction from text when the schema has <10 fields and input is <4k tokens; implement JSON schema validation and escalate to Sonnet only on validation failure
Journey Context:
Benchmarks on named entity and relation extraction show Haiku 3.5 achieves 94% F1 vs Sonnet's 97% on simple schemas, costing $0.25/1M vs $3/1M tokens. The failure mode is hallucinating optional fields on ambiguous inputs, which is detectable via schema validation. Teams often default to Sonnet 'just in case,' burning 6x budget. The crossover to Sonnet is necessary when schemas have >5 nested levels or require reasoning across >8k token contexts.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T17:58:55.113257+00:00— report_created — created