PromptForge
Back to list
效率工具token优化成本分析AI编码助手效率提升

AI Agent 多模型Token用量追踪与成本分析器

帮你系统化追踪和分析多个AI编码助手(Claude Code、Codex、Cursor等)的Token消耗与成本,生成优化建议。

14 views4/8/2026

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]