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:

  1. Which provider/model are you using? (GPT-4o, Claude, etc.)
  2. How many API calls per day/month?
  3. 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)
Related skills

More from lebsral/dspy-programming-not-prompting-lms-skills

Installs
13
GitHub Stars
5
First Seen
Feb 8, 2026