15.1Where cost and latency come from
Cost accrues from embedding, retrieval, reranking, input tokens, output tokens and retries. Latency accrues from sequential calls, large contexts and long outputs. Measure both per stage.
Retries and fallbacks are hidden multipliers. Track them explicitly.