token-counter
星标9
分支1
更新时间2026年3月15日 05:08
Estimate token usage for LLM API calls found in code
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Estimate token usage for LLM API calls found in code
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Detect the 7 types of agentic bloat in a codebase or system design
Estimate the carbon footprint of an agentic AI system based on its LLM usage
Generate a lean cost analysis report with model right-sizing recommendations and savings estimates
Recommend the right model tier for each LLM task type
One-line description of what this skill does and when to invoke it
| name | token-counter |
| description | Estimate token usage for LLM API calls found in code |
| user-invocable | false |
When you find an LLM API call in code, estimate its token usage using these rules:
| Model | Input | Output |
|---|---|---|
| Haiku / GPT-4o-mini | $0.25 | $1.25 |
| Sonnet / GPT-4o | $3.00 | $15.00 |
| Opus / GPT-4 / o1 | $15.00 | $75.00 |