4.5 Optimizing Token Usage, Latency & Cost
Claude Certified Architect – Professional (CCAR-P) exam practice questions · 10 flashcards
Question
Top levers to cut cost?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 4.5 Optimizing Token Usage, Latency & Cost practice questions and answers
- Top levers to cut cost?Prompt caching, batch processing, right-sized models, shorter outputs, trimmed context.
- Top levers to cut latency?Smaller/faster models, caching, streaming, parallel calls, fewer chain steps.
- When use the Batch API?Latency-tolerant bulk work; about 50% cheaper.
- How does model routing optimize cost?Cheap models handle most traffic; strong models only where needed.
- Why measure before optimizing?To target the real bottleneck and confirm quality holds.
- What is the risk of aggressive optimization?Quality drops that cost more downstream.
- How do you optimize agent cost?Limit iterations, prune context, use subagents wisely and cache tools/prompts.
- How does effort level affect cost?Lower effort uses fewer tokens; higher effort improves hard tasks.
- Why set max_tokens sensibly?Prevents runaway output cost; too low causes truncation.
- How do you present cost-performance options?As trade-off tables showing quality, latency and cost per option.