Token Usage Service

Utilities for extracting and tracking LLM token usage from pipeline executions.

Key Functions

  • extract_token_usage() - Extract token counts from pipeline outputs

  • record_usage() - Record token usage to database