Skip to main content
Run any Skill in Manus
with one click

profiling-llm-cost

Stars2
Forks0
UpdatedJune 17, 2026 at 00:55

Profiles the per-call and per-task cost of an LLM-powered application by building a token-cost rollup from logged traces: input tokens, output tokens, cached vs. uncached input tokens, model tier, and downstream calls. Produces a $ / task figure with attribution (which step burns the most), a cache-hit rate trend, and a list of the highest-leverage cost-reduction opportunities. Triggers whenever production LLM cost is exceeding budget, whenever the user reports a sudden cost spike with no obvious traffic change, whenever prompt-cache hit rate is dropping, or whenever an agentic system's $-per-task is unknown and needs to be measured before optimization. Refuses to recommend cost-cutting actions without a measured baseline.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
7 files
SKILL.md
readonly