Evaluation

Cost Per Task

1 min read

Quick Definition

The total computational and API costs required to complete a single agent task.

Understanding cost per task is essential for sustainable agent deployment. Costs can vary dramatically based on task complexity.

Components

  • LLM API costs (tokens)
  • Tool/API call costs
  • Infrastructure costs
  • Human review costs (if applicable)

Optimization

  • Smaller models for simpler tasks
  • Caching and deduplication
  • Batching related operations
  • Early termination on clear outcomes
evaluationeconomicsoptimization