← Back to Skills Marketplace
Ai Cost Optimizer
by
yang1002378395-cmyk
· GitHub ↗
· v1.0.52
· MIT-0
398
Downloads
0
Stars
2
Active Installs
26
Versions
Install in OpenClaw
/install ai-cost-optimizer
Description
提供基于预算和任务需求的AI模型成本优化方案,计算节省并指导OpenClaw配置与模型切换策略。
README (SKILL.md)
Skill: OpenClaw 成本优化顾问
触发词
- AI 成本
- 模型成本
- API 成本优化
- 省钱模型
使用场景
用户想知道如何选择最便宜的 AI 模型,优化 API 成本。
核心数据(2026-03-12 已验证)
| 模型 | 输入价格/百万 tokens | 输出价格/百万 tokens | 人民币/万 tokens |
|---|---|---|---|
| DeepSeek-V3.2 | ¥0.27 | ¥1.08 | ¥0.014 |
| GPT-5 mini | $0.25 | $2 | ¥0.18 |
| GPT-5.4 | $2.50 | $15 | ¥1.40-1.75 |
| Claude Sonnet 4.6 | $3 | $15 | ¥0.99-1.26 |
| Claude Opus 4.6 | $5 | $25 | ¥1.75-2.10 |
差价:DeepSeek vs Opus = 150 倍
执行步骤
-
询问用户需求
- 月预算?
- 任务类型(对话/代码/分析)?
- 性能要求(速度/质量)?
-
推荐方案
- 预算 \x3C ¥100 → DeepSeek-V3.2
- 预算 ¥100-500 → GPT-5 mini + DeepSeek 混合
- 预算 > ¥500 → GPT-5.4/Claude Sonnet
-
计算节省
- 对比用户当前成本
- 展示优化后成本
- 计算节省比例
-
提供配置指南
- OpenClaw 配置文件
- BYOK(自带 API Key)
- 模型切换策略
输出格式
💰 成本优化方案
当前方案:
- 模型:[用户当前模型]
- 月成本:¥[X]
推荐方案:
- 模型:[推荐模型]
- 月成本:¥[Y]
- 节省:¥[X-Y]([Z]%)
配置步骤:
1. [步骤1]
2. [步骤2]
预期效果:
- 成本降低 [Z]%
- 性能保持 [质量等级]
定价建议
- 免费咨询
- 企业方案定制:¥999
- 长期优化服务:¥2999/月
Usage Guidance
This skill appears to do what it says — give cost comparisons and suggest model/config changes — and it does not ask for any credentials. Before using: (1) verify the pricing numbers against official provider docs (they can change); (2) be careful with any BYOK instructions — never paste API keys into untrusted UIs or third-party services; prefer storing keys in your agent's secure vault if available; (3) when following OpenClaw configuration steps, review what files will be changed and back them up; (4) note the package metadata/version mismatch and that the skill's source/homepage is not provided — treat the author as unknown and test with non-sensitive example data first.
Capability Analysis
Type: OpenClaw Skill
Name: ai-cost-optimizer
Version: 1.0.52
The skill bundle is purely informational and contains no executable code. It provides a structured framework (SKILL.md) for an AI agent to act as a cost optimization consultant for AI model pricing. There are no indicators of data exfiltration, malicious commands, or prompt injection attacks; it simply guides the agent on how to compare model costs and suggest configurations.
Capability Assessment
Purpose & Capability
Name and description (AI cost optimization) align with the SKILL.md: it lists model prices, asks for budget and task type, recommends models, computes savings, and provides configuration guidance. There are no unrelated required binaries, env vars, or config paths. Minor metadata mismatch: skill.json version (1.0.0) differs from registry version (1.0.52) — likely a packaging oversight, not a security contradiction.
Instruction Scope
SKILL.md instructions stay on-topic (ask user budget, recommend models, compute savings, produce OpenClaw configuration steps). It mentions OpenClaw configuration and 'BYOK (bring your own API Key)', which implies the user may be guided to modify agent config or provide API keys — the instructions do not themselves request or transmit keys, nor do they specify reading system files. Recommend caution when following config/BYOK steps (avoid pasting keys into untrusted interfaces).
Install Mechanism
Instruction-only skill with no install spec, no downloads, and no code files — lowest-risk install surface. Nothing is written to disk by the skill itself.
Credentials
The skill requests no environment variables, no credentials, and no config paths. All data it needs (budget, task type, current cost) is gathered interactively from the user per the instructions.
Persistence & Privilege
always is false and model invocation is normal. The skill does not request permanent presence, nor does it instruct altering other skills' configs. Its guidance may tell users how to change their OpenClaw config, but it does not itself claim to modify agent settings.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install ai-cost-optimizer - After installation, invoke the skill by name or use
/ai-cost-optimizer - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.52
- No changes detected in this version.
- All features, data, and guidance remain the same.
v1.0.51
- No changes detected in this version.
- The skill content, data, and instructions remain unchanged.
v1.0.50
No changes detected in this version.
- This release does not include any file or documentation changes.
v1.0.49
ai-cost-optimizer v1.0.49
- No changes detected for this version; content and features remain the same.
v1.0.48
- No changes detected in this version.
- Skill documentation and logic remain the same.
v1.0.47
Version 1.0.47 of ai-cost-optimizer
- No file changes detected in this release.
- No updates to features, data, or documentation.
v1.0.46
- No user-facing changes in this version.
- No file changes detected; functionality and documentation remain unchanged.
v1.0.45
Version 1.0.45 of ai-cost-optimizer
- No file changes detected in this release.
- All existing features, data, and recommendations remain unchanged.
v1.0.44
- No code or content changes detected in this version.
- Confirmed no modifications between previous and current skill files.
v1.0.43
- No changes detected in this version.
- All features, data, and recommendations remain the same.
v1.0.42
No changes detected in this version; the skill content remains the same.
v1.0.41
No changes detected in this version.
- No file changes were made in version 1.0.41.
v1.0.40
- No changes detected in this version; documentation and functionality remain the same.
v1.0.39
Version 1.0.39 of ai-cost-optimizer
- No file changes detected in this release.
- Functionality and documentation remain unchanged from the previous version.
v1.0.38
Version 1.0.38 of ai-cost-optimizer
- No file changes detected in this release.
- Functionality, data, usage instructions, and documentation remain unchanged from the previous version.
v1.0.37
- No file changes detected for version 1.0.37.
- Functionality and documentation remain unchanged from previous version.
v1.0.36
Version 1.0.36 contains no changes from the previous version.
- No modifications detected in any files.
- All features and data remain the same.
v1.0.35
Version 1.0.35 (no file changes detected)
- No changes were made to the skill in this version.
- All features, data, and documentation remain unchanged from the previous release.
v1.0.34
Version 1.0.34 of ai-cost-optimizer
- No file changes detected in this release.
- No updates to features, data, or documentation.
v1.0.32
Version 1.0.32 of ai-cost-optimizer
- No file changes detected; behavior and features remain unchanged.
- Core cost data and usage scenarios are consistent with previous version.
- All optimization steps, recommendations, and pricing suggestions are retained.
Metadata
Frequently Asked Questions
What is Ai Cost Optimizer?
提供基于预算和任务需求的AI模型成本优化方案,计算节省并指导OpenClaw配置与模型切换策略。 It is an AI Agent Skill for Claude Code / OpenClaw, with 398 downloads so far.
How do I install Ai Cost Optimizer?
Run "/install ai-cost-optimizer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Ai Cost Optimizer free?
Yes, Ai Cost Optimizer is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Ai Cost Optimizer support?
Ai Cost Optimizer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Ai Cost Optimizer?
It is built and maintained by yang1002378395-cmyk (@yang1002378395-cmyk); the current version is v1.0.52.
More Skills