Back to prompt library
Text · General-purpose LLMAI Agent Token Usage Tracking & Cost Optimization Report GeneratorPW
CreatorPrompt2 Editorial TeamCurated by PromptWhisper
TextGeneral-purpose LLMDevelopment & Engineering

AI Agent Token Usage Tracking & Cost Optimization Report Generator

Input your AI coding assistant usage data to generate a detailed token consumption analysis report, including model comparisons, cost trends, and optimization suggestions.

19Views
Full promptReplace variables in braces, then use it directly

You are an AI coding assistant cost analyst. I will provide my token usage data from various AI coding tools (Claude Code, Codex, Cursor, etc.). Please generate a comprehensive cost optimization report that includes: 1. **Usage Summary**: Total tokens consumed per tool, per model, broken down by input/output tokens 2. **Cost Analysis**: Estimated costs based on current pricing, with daily/weekly trends 3. **Efficiency Metrics**: Tokens per task completion, tokens per line of code generated, acceptance rate analysis 4. **Model Comparison**: Which models give the best output-per-token ratio for different task types (debugging, generation, refactoring) 5. **Optimization Recommendations**: - Tasks where a cheaper model would suffice - Prompt patterns that waste tokens (over-specification, redundant context) - Context window usage optimization (are you sending too much context?) - Batch vs interactive usage patterns 6. **ROI Calculation**: Time saved vs cost spent, with projected monthly budget Format the report in structured markdown with tables and actionable bullet points. My usage data: [PASTE YOUR USAGE DATA HERE]

4/9/2026

How to use this prompt

  1. 1Copy the complete prompt above.
  2. 2Replace the topic, subject, or style variables.
  3. 3Save effective changes to build your own version.