- Cost per successful task
- Total LLM, tool and retrieval cost for a workflow, including retries and failed attempts, divided by the number of tasks that meet the agreed success criteria.
- Token mix
- Share of uncached input, cached input, cache writes and output tokens per feature, taken from provider usage fields or your gateway logs.
- Prompt cache hit rate
- Cached input tokens divided by total input tokens on cache-eligible requests, tracked per endpoint and over time.
- Retry and failure overhead
- Cost of attempts that did not produce an accepted result (errors, timeouts, rejected outputs, loop aborts) as a share of total spend.
- p50 and p95 latency
- End-to-end latency per workflow measured from traces, so cost changes are not bought with unacceptable response times.
- Eval pass rate
- Share of golden dataset cases that pass, scored with deterministic checks, rubrics or model-graded evaluation calibrated against human review.