Question 248
Scenario: Structured Data Extraction
A system extracts structured fields from messy documents, validates every output against JSON schemas, handles edge cases gracefully, and stays accurate enough to feed downstream systems.
Read the full scenario lessonYour pipeline processes 8,000 product listings daily using the Message Batches API. Each request uses the same 1,800-token system prompt (JSON schema definition + extraction instructions + normalization rules) alongside variable product description content. Without optimization, input token costs dominate your monthly bill. Which approach most effectively reduces input token costs for this workload?