Case studies
Reference architecture5 minUpdated 2026-07-04

One million document events without frontier rates

A representative document workflow using batch and open-model APIs for extraction, with frontier models reserved for evaluator samples and schema changes.

Audience

Data-heavy product teams

Metric

Bulk documents

Sources

3 official links

Problem

Document processing looks simple until every page, chunk, retry, and summary runs through a premium long-context model. Once volume grows, output tokens and cache misses dominate the bill.

Architecture

The workload moved to an open-model extraction lane with a batch route for non-urgent jobs. Frontier models were used for schema design, evaluator samples, and edge cases that changed business decisions.

Cost control

The team measured accepted outputs per provider, cache hit rates, and retry volume. Provider choice was made after quality sampling, not from sticker prices alone.