Quiz 4 Question 6 of 20

A multi-turn conversational assistant stores conversation history and sends it with each Claude API call. After 6 months in production, the team notices that average token counts per API call have grown from 2,000 to 18,000 tokens as users accumulate longer conversation histories. API costs have increased 9x. The team considers either truncating old messages or summarizing them. For a customer support context where customers frequently reference issues discussed 10+ turns ago, which strategy preserves the most relevant context while controlling cost?

Select an answer to reveal the explanation.

Motivation