cost-report

Analyzes AI token usage and estimated costs for benchmark runs, suites, and configurations with JSON output options.

32|4|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/sourcegraph/CodeScaleBench --skill cost-report-sourcegraph
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cost-report
Source: https://github.com/sourcegraph/CodeScaleBench/tree/main/skills/cost-report
Command: npx skills add https://github.com/sourcegraph/CodeScaleBench --skill cost-report-sourcegraph

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps users understand and manage the costs associated with AI model usage by providing detailed breakdowns of token consumption and expenses across different benchmark runs, suites, and configurations.

Core Features & Use Cases

  • Comprehensive Cost Analysis: Generates reports on total cost, tokens, and wall-clock hours.
  • Granular Breakdown: Provides per-suite and per-configuration cost analysis, including average cost per task.
  • Cost Comparison: Enables comparison of costs between different configurations (e.g., sourcegraph_full vs. baseline).
  • Identify Expensive Tasks: Highlights the top 10 most expensive individual tasks.
  • Use Case: A research team wants to optimize their AI agent's performance and cost. They use this Skill to identify which configurations or tasks are consuming the most resources, allowing them to focus optimization efforts.

Quick Start

Run the cost report script to analyze token and cost usage for all benchmark runs.

Frequently Asked Questions about cost-report

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

FAQPage Schema
How do I analyze AI token usage and estimated costs for benchmark runs?

To analyze AI token usage and estimated costs for benchmark runs, execute the cost report script. It generates detailed breakdowns of total cost, tokens, and wall-clock hours across benchmark suites and configurations.

What is the best way to compare AI configuration costs across different benchmark suites?

The best way to compare AI configuration costs across benchmark suites is to use a cost analysis script that supports filtering by suite and configuration. This allows direct cost comparison between different setups, such as baseline versus full configurations.

How do I identify the most expensive tasks in my AI benchmark configurations?

To identify the most expensive tasks in your AI benchmark configurations, run a cost analysis report. The script highlights the top 10 most expensive individual tasks and shows the average cost per task for each configuration.

Can I filter cost analysis reports by specific benchmark suites and output JSON?

Yes, you can filter cost analysis reports by specific benchmark suites and configurations. The script supports JSON output options, enabling you to extract granular per-suite and per-configuration cost data for further processing.

What AI cost metrics are included in a benchmark performance analysis report?

A benchmark performance analysis report includes AI cost metrics such as total expenses, token consumption, wall-clock hours, and average cost per task. It provides a comprehensive cost analysis across benchmark runs, suites, and configurations.

Why do I need cost optimization reporting for AI benchmark runs?

Cost optimization reporting for AI benchmark runs is needed to understand and manage expenses associated with AI model usage. It identifies resource-intensive configurations and tasks, allowing you to focus optimization efforts effectively.