Skip to content
AI Learning Ground Start learning

News ·

Reducing token costs and latency in Amazon Bedrock AgentCore JSON workloads

AWS outlines three composable techniques for Amazon Bedrock AgentCore agents that shrink per-turn token use by up to 71% and latency by up to 80% when handling large JSON payloads.

Reducing token costs and latency in Amazon Bedrock AgentCore JSON workloads
Image: Amazon Web Services

Production agents running on Amazon Bedrock AgentCore can face multi-megabyte JSON payloads, which drives up token costs and latency as responses pass through the model. AWS shared three strategies for reducing this overhead.

The first is offloading heavy artifacts to Amazon S3 so large data does not flow through every turn. The second is on-demand result paging, which returns only the slice of results an agent actually needs rather than the full set. The third is dictionary compaction, which shrinks JSON by replacing repeated structure with shorter representations. The techniques are composable, meaning they can be combined.

Applied together, the approaches cut per-turn token use by up to 71% and latency by up to 80%. For anyone building agents that query databases, APIs, or search results, this shows that payload shape, not just model choice, is a major cost and speed lever worth engineering early.

The post was published by Amazon Web Services on November 17, 2026.

References

Read the full story at Amazon Web Services ↗Like, save or discuss on Buzz

#infrastructure #products