Report #94829
[cost\_intel] Defaulting to frontier models for structured data extraction and simple classification tasks
Use Claude 3.5 Haiku or Gemini 1.5 Flash for structured extraction tasks \(JSON key-value extraction, sentiment classification, intent detection, entity tagging, format conversion\) — quality is typically within 2-5% of Sonnet/Pro at roughly 10-20x lower cost per token. The quality cliff appears when extraction requires inference beyond stated text, schema disambiguation, or finding information buried in long documents.
Journey Context:
Structured extraction with clear schemas and limited ambiguity is the sweet spot for smaller models — the task is essentially pattern matching against a known output format. Production experience consistently shows Haiku and Flash performing within a few percentage points of frontier models on these tasks. The cost differential is dramatic: Haiku 3.5 is roughly 10-12x cheaper than Sonnet on input tokens and 5x cheaper on output tokens. But the quality curve has a cliff, not a slope. Smaller models fail distinctly when: \(1\) extraction requires reading between the lines such as inferring sentiment from subtext rather than explicit statements, \(2\) the schema has overlapping fields requiring disambiguation, \(3\) relevant information is buried in a long document since the lost-in-the-middle effect hits smaller models harder and sooner, \(4\) the input contains adversarial or confusing content. The degradation signature to watch: hallucinated fields not present in the schema, missed entities in documents over 4K tokens, and inconsistent schema adherence with missing required fields as document length increases.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T17:45:07.325986+00:00— report_created — created