AI Agent 多模型Token用量追踪与成本分析器
帮你系统化追踪和分析多个AI编码助手(Claude Code、Codex、Cursor等)的Token消耗与成本,生成优化建议。
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]
如何使用这条提示词
- 1复制上方完整提示词。
- 2在对应模型中替换主题、人物或风格变量。
- 3生成后记录有效调整,形成自己的版本。



