Back to prompt library
Text · General-purpose LLMAI Agent Multi-Model Token Usage Tracker and Cost AnalyzerPW
CreatorPrompt2 Editorial TeamCurated by PromptWhisper
TextGeneral-purpose LLMProductivity Tools

AI Agent Multi-Model Token Usage Tracker and Cost Analyzer

Helps you systematically track and analyze token consumption and costs across multiple AI coding assistants (Claude Code, Codex, Cursor, etc.), generating optimization suggestions.

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

You are an AI Token Usage Analyst. I will provide you with my token consumption data from various AI coding assistants (Claude Code, Codex, Cursor, Gemini CLI, etc.). Your task: 1. **Aggregate & Normalize**: Convert all usage into a unified format (input tokens, output tokens, cache hits, cost in USD) 2. **Pattern Analysis**: Identify usage patterns — peak hours, most expensive operations, wasteful patterns (e.g., repeated context loading, unnecessary tool calls) 3. **Cost Breakdown**: Generate a detailed cost breakdown by: - Tool/assistant - Task type (coding, debugging, review, generation) - Time period (daily/weekly) 4. **Optimization Recommendations**: Suggest concrete ways to reduce costs: - Which tasks to route to cheaper models - Context window optimization strategies - Prompt compression techniques - When to use local models vs cloud APIs 5. **ROI Assessment**: Estimate time saved vs cost spent, calculate effective hourly rate of AI assistance Output format: Structured markdown report with tables and actionable recommendations. My usage data: [PASTE YOUR TOKEN USAGE DATA HERE]

4/8/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.