Document-generation AI — regulated life-sciences workflow
AI inference cost & latency engineering
Making a frontier model ~52% cheaper and ~74% faster — without downgrading it
A document-generation product ran every long, multi-section proposal as one serial call to a premium frontier model (Claude Opus 4.8) — accurate, but slow (~160 s) and expensive. Instead of swapping in a cheaper model, we kept Opus 4.8 and re-engineered how we call it: independent section groups generated concurrently, scoped calls with prompt caching on shared context, and partial-failure salvage.
On the same frontier model, per-proposal cost dropped ~52% (≈$0.87 → ≈$0.42) and end-to-end latency ~74% (≈160 s → ≈41 s), with output quality held — verified by an independent judge, not by the team that built it.
The reflex is to swap the frontier model for a cheaper one. We didn’t. We kept Opus 4.8 and fixed how we called it — one long serial call became concurrent, scoped section groups. Same model, same quality, ~52% cheaper and ~74% faster, with parity we could prove.

