llm-cost-optimization
Optimize costs for LLM applications. Covers token optimization (prompt compression, caching, context pruning), model routing (expensive vs cheap models), semantic caching, prompt caching, response caching, model selection strategy (GPT-4o vs GPT-4o-mini vs Claude vs open-source), batch API usage, fine-tuned small models vs large models, cost monitoring and budgeting, rate limit management, embedding cost optimization, and ROI analysis for LLM features. Use when reducing LLM API costs, implementing caching, choosing cost-effective models, or building cost-aware LLM architectures.
- Version
- 1.0
- License
- Apache-2.0
Pinned to revision 45cf0fa3c5e7, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/llm-cost-optimization/SKILL.md
- skills/llm-cost-optimization/references/REFERENCE.md
- skills/llm-cost-optimization/scripts/cache_manager.py
- skills/llm-cost-optimization/scripts/cost_optimizer.py
Every link opens the file at its source, pinned to the revision this page describes.