LLM Cost Optimization

Funnel-with-gate workflow for reducing LLM costs without degrading quality. Starts with diagnosing the cost surface using cloud-finops (specifically the finops-for-ai and finops-anthropic references), then applies context-optimization to reduce context per call, context-compression to compress what can't be reduced, prompt-engineering for shorter prompts and better model selection, and uses agent-evaluation as a mandatory gate — if any optimization degrades quality, roll it back. Finishes with prioritization of remaining opportunities and risk-management guardrails for future auto-scaling. Use when LLM costs are growing faster than usage, when leadership is asking why the bill doubled, when unit economics are turning negative, or when a new feature is about to ship and cost containment is part of the launch plan. NOT for cost reductions that don't involve LLMs — use cloud-finops directly.

viktorbezdek eff2f90 3 files · 19.4 KB Updated

File contents

viktorbezdek/skillstack/tree/main/skillstack-workflows/skills/llm-cost-optimization commit eff2f9076e

Frequently asked questions

npx skillmds@latest add viktorbezdek/llm-cost-optimization