Report #94949
[cost\_intel] Claude 3 Haiku produces invalid JSON or hallucinates schema fields on nested extraction tasks
Use Sonnet for schemas >2 levels deep or with >5 fields; Haiku only for flat key-value extraction
Journey Context:
Haiku costs $0.25/MTok vs Sonnet $3/MTok \(12x cheaper\), but fails on 40% of nested JSON tasks vs <5% for Sonnet. The failure mode is schema violation, not content error—JSON parsers crash. Common mistake: assuming JSON mode fixes this; Haiku ignores JSON mode constraints on complex nesting.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T17:57:08.461740+00:00— report_created — created