ai-cutting-costs
Installation
SKILL.md
Cut Your AI Costs
Guide the user through reducing AI API costs without sacrificing quality. Multiple strategies, from quick wins to advanced techniques.
Step 1: Understand where the money goes
Ask the user:
- Which provider/model are you using? (GPT-4o, Claude, etc.)
- How many API calls per day/month?
- Is there a specific module or step that's most expensive?
Quick cost audit
import dspy
# Run your program and check token usage
lm = dspy.LM("openai/gpt-4o-mini") # or "anthropic/claude-sonnet-4-5-20250929", etc.
dspy.configure(lm=lm)