CCDV-F practice › Applications & Integration · Question 32 of 92
Applications & Integration
A chat app resends the full conversation history on every request. By turn 60 the latency and bill have both roughly tripled, though each new user message is short. What's happening?
Show answer and explanation
Answer: B — The API is stateless — your app resends all prior turns, so input tokens grow with every turn
Statelessness is the root cause of cost creep in long chats. The model holds nothing between calls; your application resends history, so turn 60 pays for 60 turns of input. The fix is compaction or pruning, not a different model.
Keep going
More Applications & Integration questions
- A requirements doc says: 'Clinicians should see the summary appear progressively rather…
- An app must process scanned insurance cards that patients photograph with their phones…
- A team wants to reduce cost on a workload where the same 8,000-token clinical guidelines…
- Which statement about the Message Batches API is correct?
- A refactor moves the system prompt from a hardcoded string into a versioned file with…