Skip to content

Add LLM cost tracking and budgeting #23

@aviralgarg05

Description

@aviralgarg05

Summary

Add cost tracking and estimation for LLM-based evaluations.

Tasks

  • Track token usage in trace events.
  • Calculate estimated cost based on model pricing.
  • Add --cost-limit flag to abort if budget exceeded.
  • Include cost summary in reports.

Acceptance criteria

  • Token counts captured in trace.
  • Cost estimates shown in results.
  • Evaluation stops gracefully at cost limit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions