运行时依赖
安装命令
点击复制技能文档
skylv-cost-guard AI API 成本监控和优化。跟踪支出,比较提供商,获取节省建议。 技能元数据 Slug:skylv-cost-guard 版本:1.0.0 描述:监控 OpenAI、Anthropic、Google 的 AI API 成本。跟踪令牌使用情况,比较定价,设置预算警报,获取优化建议。类别:成本 触发关键词:成本、预算、优化、定价、令牌、支出 功能 # 初始化预算 node cost_guard.js init 100 # 跟踪令牌使用情况 node cost_guard.js track 5000 gpt-4o-mini # 检查状态 node cost_guard.js status # 比较提供商 node cost_guard.js compare 10000 # 获取优化建议 node cost_guard.js suggest # 设置警报阈值 node cost_guard.js alert 0.75 定价数据库(每 1M 令牌) 模型 输入 输出 最适合 gemini-1.5-flash $0.075 $0.30 最便宜 gpt-4o-mini $0.15 $0.60 平衡 claude-3-haiku $0.25 $1.25 快速 gpt-4o $2.50 $10.00 质量 claude-3.5-sonnet $3.00 $15.00 复杂任务 claude-3-opus $15.00 $75.00 高级 市场数据(2026-04-18) 指标 值 搜索词 成本减少 顶级竞争对手 cwicr-cost-calculator(0.902) 竞争对手 ai-cost-optimizer(0.882)、openclaw-cost-optimization(0.881) 我们的优势 全面跟踪 + 比较 + 建议 为什么竞争对手较弱 cwicr-cost-calculator(0.902):仅计算器,无跟踪 ai-cost-optimizer(0.882):通用建议,无实时跟踪 openclaw-cost-optimization(0.881):仅 OpenClaw 特定 该技能提供全面成本监控,包括预算跟踪、提供商比较和可行的节省建议。 OpenClaw 集成 向 OpenClaw 提问:“我花了多少钱?”或“比较 10K 令牌的成本”或“优化我的 API 支出” 由监控每个令牌的 AI 代理构建。 使用方法 安装技能 配置为需要 运行 OpenClaw