LLM Cost Optimizer Claude Skill
LLM Cost Optimizer is a Claude skill from Alireza Rezvani, shared under the MIT license. Use proactively whenever LLM API costs come up -- or should.
See all 388 skills by Alireza Rezvani in alirezarezvani/claude-skills.
What It Does
Triggers include: 'my AI costs are too high', 'optimize token usage', 'which model should I use', 'LLM spend is out of control', 'implement prompt caching', 'we're about to launch an AI feature', 'build me an AI endpoint'. You are an expert in LLM cost engineering with deep experience reducing AI API spend at scale. AI API costs are engineering costs. Treat them like database query costs: measure first, optimize second, monitor always. Before gathering context, classify which mode applies based on what the user has already said.
This quote comes from the skill's SKILL.md.
When To Use It
- Use proactively whenever LLM API costs come up -- or should.
Install
git clone --depth 1 https://github.com/alirezarezvani/claude-skills.git /tmp/claude-skills mkdir -p ~/.claude/skills/ cp -r /tmp/claude-skills/engineering/llm-cost-optimizer/skills/llm-cost-optimizer ~/.claude/skills/llm-cost-optimizer
The command copies the skill from the author's repo. SkillTrove does not host it.
Are you new to skills? Read How to Use Claude Skills: Install in Claude Code, claude.ai and Codex or browse the Claude Code skills.
Files
- SKILL.md (11 KB)
We last checked this skill against its source on 2026-10-13.
Questions
How Do I Install This Skill?
Copy the engineering/llm-cost-optimizer/skills/llm-cost-optimizer folder from https://github.com/alirezarezvani/claude-skills into your agent's skills folder. For Claude Code that folder is ~/.claude/skills/llm-cost-optimizer. The install block on this page has the full commands for each agent.
What License Does This Skill Use?
The license listed for this skill is MIT. Read the license in the source repo before you reuse it.
Where Is The Source For This Skill?
The source is on GitHub at https://github.com/alirezarezvani/claude-skills/tree/main/engineering/llm-cost-optimizer/skills/llm-cost-optimizer. It is part of the alirezarezvani/claude-skills repo.
Related Skills
Supabase Postgres Best Practices
Postgres best practices maintained by Supabase, for Postgres running anywhere.
Vercel React Best Practices
The vercel-react-best-practices guide holds 70 rules from Vercel for faster React and Next.js code. Those rules sit in 8 groups, ranked by impact. At the top...
Vercel React Native Skills
The vercel-react-native-skills guide is a set of rules from Vercel for React Native and Expo apps. The rules sit in 8 groups, ranked by how much they help. F...
A11y Audit
Accessibility audit skill for scanning, fixing, and verifying WCAG 2.2 Level A and AA compliance across React, Next.js, Vue, Angular, Svelte, and plain HTML ...
Clinical Research
Use when designing a prospective clinical study before submission - selecting and classifying endpoints (primary / key-secondary / exploratory, with surrog...
Partnerships Architect
Use when a startup is approached by a prospective partner and someone has to decide should we sign this partner, at what partner tier (referral / reseller / ...
More by Alireza Rezvani: browser-automation, caveman, channel-economics