How ArisGlobal scaled generative AI inference on Amazon Bedrock

In one sentence

ArisGlobal reduced generative AI inference costs on Amazon Bedrock by reordering requests to cache the shared prompt prefix instead of per-case documents.

Key points

  • ArisGlobal built NavaX on Amazon Bedrock and Claude to automate adverse-event case processing in life sciences.
  • As enterprise tenants grew, the shared prompt prefix expanded by 150% over 6 months, driving per-case inference costs up by over 200%.
  • The team initially cached each case's source document, leaving the growing shared prompt prefix outside the cache.
  • By reversing the request order to cache the shared prompt prefix first, ArisGlobal achieved cross-tenant reuse and sublinear cost growth.

In depth

An AI-written overview of the original article, not the article itself.

According to the AWS Machine Learning Blog, life sciences tech provider ArisGlobal curbed a 200% surge in generative AI inference costs on Amazon Bedrock. By reversing the prompt caching order for its NavaX engine, the company cut monthly inference spending by roughly 40% while onboarding more enterprise tenants.

Prompt bloat drives up inference costs

ArisGlobal built NavaX on Amazon Bedrock using Claude to automate adverse-event processing, extracting around 130 fields from 10 to 200 page PDFs across sequential requests while applying Amazon Bedrock Guardrails for sensitive data.

As new pharmaceutical tenants joined, custom field mappings, regulatory rules, and examples grew the shared prompt prefix by 150% in six months, reaching 180,000 tokens. Because ArisGlobal initially cached the large source document first, the shared prefix sat after the checkpoint and was reprocessed at full cost on every request, driving per-case costs up over 200%.

Reversing cache order for fleet reuse

Amazon Bedrock prompt caching operates on a contiguous prefix from the start of a request to a checkpoint. ArisGlobal reversed its structure by placing the stable shared prompt prefix first, followed by an explicit cache checkpoint, and putting the per-case document last.

Although this gave up single-case document caching, it enabled prompt reuse across requests, cases, and tenants. Concurrent traffic from active accounts arrives roughly every five minutes, resetting the cache time-to-live and keeping the shared prefix warm.

Production results and key lessons

According to ArisGlobal metrics, 65% of input tokens are now served from cache, cutting end-to-end latency by up to 25% and effective input costs by about 50%. At over 19 billion tokens monthly, overall inference spend dropped roughly 40%, supporting 15% more tenants with EU cross-Region routing unchanged.

The article notes that cache value depends on reuse rather than size, advising teams to keep prefixes byte-identical and place dynamic data after checkpoints.

Read originalOpens aws.amazon.com

This summary was generated by AI from the original article and may contain errors; the original is authoritative. Copyright belongs to the original author.

Recent stories from this source