Skip to main content
Full pipeline metrics evaluate operational aspects of your RAG system—cost and performance across the entire workflow.
Note: These metrics are non-LLM based and calculate directly from measured values.

Quick Reference


CostMetric

Tracks total cost per query across all RAG components.
Cost breakdown per query:
  • item.cost.embedding - Embedding API cost
  • item.cost.vectorstore - Vector search cost
  • item.cost.reranker - Reranking cost
  • item.cost.llm - LLM generation cost
  • item.cost.total - Sum of all costs
Default worst value: $0.20 per query

LatencyMetric

Measures total time from query to response.
Latency breakdown per query:
  • item.latency.embedding - Embedding time
  • item.latency.retrieval - Vector search time
  • item.latency.reranking - Reranking time
  • item.latency.generation - LLM generation time
  • item.latency.total - Sum of all times
Default worst value: 7.0 seconds per query

Custom Worst Values

Override defaults based on your constraints: