llm-cost-optimization
Installation
SKILL.md
LLM Cost Optimization
The failure mode in LLM cost optimization isn't cutting costs — it's cutting costs by degrading quality without noticing. The gate at
agent-evaluationis non-negotiable: any optimization that makes the product worse is a failure, not a savings. This workflow treats cost and quality as a single optimization problem with two axes, not as cost alone.
LLM costs are fundamentally different from traditional cloud costs: they're incurred at the moment a decision is made, not when capacity is provisioned. This makes them invisible to traditional FinOps reviews and catastrophic when anti-patterns persist. The workflow maps those anti-patterns and applies the specific optimizations that address them.
When to use this workflow
- LLM costs are growing faster than usage (suggests anti-patterns)
- A feature's unit economics are turning negative (cost per interaction > revenue per interaction)
- Leadership is asking why the Anthropic / OpenAI / Bedrock / Vertex bill doubled
- A new feature is about to ship and you need cost containment in the launch plan
- You just discovered your agent is in an agentic loop and the bill has already arrived