Cost Tracking

Calculates per-task and per-trajectory costs for AI evaluation workflows.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/reaatech/agent-eval-harness --skill cost-tracking-reaatech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Cost Tracking
Source: https://github.com/reaatech/agent-eval-harness/tree/main/skills/cost-tracking
Command: npx skills add https://github.com/reaatech/agent-eval-harness --skill cost-tracking-reaatech

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cost Tracking provides visibility and control over the costs of AI evaluation campaigns by calculating per-task and per-trajectory expenses across LLM calls, tool invocations, and judge evaluations, and by enforcing budget limits with tiered alerts.

Core Features & Use Cases

  • Budget enforcement with thresholds: 50% log, 75% notify, 90% block.
  • Cost breakdown: per-task, per-trajectory, and model-based pricing.
  • Reporting and optimization guidance: generate cost reports and identify wasteful patterns.
  • Supports multiple pricing models and presets to fit organizational policies.

Quick Start

Run an evaluation with a predefined budget to observe per-task and per-trajectory costs and generate a cost report.

Frequently Asked Questions about Cost Tracking

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I track LLM evaluation costs across multiple trajectories?

Track LLM evaluation costs by calculating per-task and per-trajectory expenses across LLM calls, tool invocations, and judge evaluations. This cost tracking applies built-in pricing to generate a structured cost report with daily totals.

How does budget enforcement work for AI evaluation workflows?

Budget enforcement for AI evaluation workflows triggers tiered alerts at specific thresholds: logging at 50% budget usage, notifications at 75%, and blocking further evaluations at 90% to prevent cost overruns.

Can I apply different cost tracking presets for AI evaluations?

Apply different cost tracking presets for AI evaluations using strict, moderate, and lenient configurations. These presets adjust budget thresholds and cost reporting to fit various organizational policies and evaluation scales.

What is the best way to calculate per-task LLM and judge costs?

Calculate per-task LLM and judge costs by applying built-in pricing models to evaluation workflows. Cost tracking separates llm_cost, tool_cost, and judge_cost to provide a precise cost breakdown for each task.

How do I identify wasteful spending patterns in AI evaluation campaigns?

Identify wasteful spending patterns in AI evaluation campaigns by generating a structured cost report with daily totals. Cost tracking analyzes per-task and per-trajectory expenses to highlight inefficient model usage and optimization opportunities.

Does cost tracking work without external pricing dependencies?

Cost tracking works without external pricing dependencies by using built-in pricing models to calculate llm_cost, tool_cost, and judge_cost. It operates independently to enforce budget limits and generate alerts across the evaluation suite.