CertPrep
Domain 6 · 8% of the exam

Cost and Latency Optimization at Scale

Controlling cost and latency across a fleet: cost models and forecasts, model routing and cascades, caching strategy and diagnostics, batch versus real-time economics, tenant budgets, time to first token, streaming, parallel tools and effort tuning.

  1. 6.1Cost Architecture at Fleet ScaleModel and forecast cost per unit of work, route requests across the model family with validated routers and cascades, design caching from its break-even, move offline work to batch, enforce per-tenant budgets before requests run, and explain bills from usage data.
  2. 6.2Latency EngineeringBreak a Claude application's latency into its parts, tell time to first token from total latency, and apply the matching technique (streaming, parallel tool execution, cache checkpoints, effort tuning, model routing, shorter outputs) measured end to end.