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 Updated 14 repo stars

File contents

viktorbezdek/skillstack commit eff2f9076e Runs: viktorbezdek/cloud-finopsviktorbezdek/context-optimizationviktorbezdek/context-compression

Frequently asked questions

npx get-skill add viktorbezdek/llm-cost-optimization