ArisGlobal Cut Bedrock Inference Costs by Caching the Right Prefix
ArisGlobal runs NavaX, an AI engine on Amazon Bedrock that reads adverse-event PDFs for drug-safety teams and extracts roughly 130 fields per case. Each request carried a shared prompt prefix — system rules, extraction schema, few-shot examples — that grew about 150% over six months as new pharma tenants added their own compliance rules, pushing per-case inference costs up more than 200%. The team had cached the per-case PDF because it was the largest part of the request, which left the growing shared prefix uncached and reprocessed at full price on every call.
ArisGlobal runs NavaX, an AI engine on Amazon Bedrock that reads adverse-event PDFs for drug-safety teams and extracts roughly 130 fields per case. Each request carried a shared prompt prefix — system rules, extraction schema, few-shot examples — that grew about 150% over six months as new pharma tenants added their own compliance rules, pushing per-case inference costs up more than 200%. The team had cached the per-case PDF because it was the largest part of the request, which left the growing shared prefix uncached and reprocessed at full price on every call.
The fix was a reordering, not a new model. Bedrock's prompt caching only stores a contiguous prefix from the start of a request up to a checkpoint, so whatever comes first is what can be reused. ArisGlobal moved the shared prompt prefix to the front, placed one explicit cache checkpoint right after it, and put the per-case PDF and the section-specific question last. The cached entry now repeats across requests, cases, and tenants using the same agent, instead of being unique to one case. The tradeoff is deliberate: they gave up reusing the document across the several sequential requests within a case, and kept the shared prefix byte-identical by moving tenant names, timestamps, and request IDs after the checkpoint. Traffic helps — cases arrive roughly every five minutes per tenant, and each cache hit resets the five-minute TTL, keeping the prefix warm during business hours. ArisGlobal reports 65% of input tokens served from cache, up to 25% lower end-to-end latency, about 50% lower effective input cost, and roughly 40% lower monthly inference spend at over 19 billion tokens per month, with about 15% more tenants onboarded without proportional cost growth. These are the company's own production figures reported to AWS, with no controlled comparison, and results depend on prompt structure and hit rate.
For multi-tenant agentic workloads, cache value comes from reuse, not size: a byte-identical shared prefix read across the fleet usually beats caching a larger document that changes every case. Builders should order stable content first, keep dynamic fields after the checkpoint, and monitor cache reads against their own baseline rather than a generic target.