AI Agent Token 用量追踪与成本优化报告生成器
输入你的 AI 编码助手使用数据,生成详细的 Token 消耗分析报告,包含模型对比、成本趋势和优化建议。
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]
如何使用这条提示词
- 1复制上方完整提示词。
- 2在对应模型中替换主题、人物或风格变量。
- 3生成后记录有效调整,形成自己的版本。



