Skip to content
Back to skills

Llm Cost Advisor

ASecurity

WHAT — Recommend the most cost-effective LLM provider for a given task type. Shows estimated

  • 19 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 2, 2026
ai-agentsbashdebugging

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add ulises-jeremias/agent-toolkit --skill llm-cost-advisor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Llm Cost Advisor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Llm Cost Advisor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ulises-jeremias-llm-cost-advisor/badge)](https://www.skillsdirectory.com/skills/ulises-jeremias-llm-cost-advisor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: llm-cost-advisor
description: WHAT — Recommend the most cost-effective LLM provider for a given task type. Shows estimated
  cost per run across available providers and integrates with devcompanion llm-status to show what is
  actually available.
origin:
  type: first-party
metadata:
  author: ulises-jeremias
  version: '1.0'
  tags:
  - llm
  - cost
  - provider
  - optimization
---
# LLM Cost Advisor (WHAT)

Recommend the right provider for the task at hand — balancing quality, cost, and privacy.

## When to use

- User asks "which model should I use for X?"
- Before scheduling expensive loops (pr-babysitter, ci-sweeper)
- When dev-companion jobs are unexpectedly expensive
- When choosing between local and cloud providers for sensitive work

## Out of scope

- Does NOT configure providers — that's done via env vars and `loadenv`
- Does NOT run LLM calls — it advises, the runner executes

## Workflow

**Step 1 — Check available providers:**

```bash
devcompanion llm-status
```

**Step 2 — Classify the task:**

| Task type | Recommended tier | Why |
|-----------|-----------------|-----|
| Interactive code review, planning, debugging | Claude Sonnet / GPT-4o | Reasoning quality matters |
| Batch labeling, summarization, triage | Claude Haiku / GPT-4o-mini | High volume, lower stakes |
| Private/sensitive codebase work | Ollama or OpenCode | Stays local, zero cost |
| Loop L1 (observation only) | Haiku / GPT-4o-mini | Low stakes, runs daily |
| Loop L2 (PR creation) | Sonnet | Creates external artifacts |
| Loop L3 (unattended) | Sonnet + verifier | Autonomous — quality critical |

**Step 3 — Show cost estimate:**

| Provider | Model | Est. per run | Monthly (1/day) | Monthly (96/day) |
|----------|-------|-------------|-----------------|-----------------|
| Anthropic | claude-3-5-sonnet | ~$0.05 | ~$1.50 | ~$144 |
| Anthropic | claude-3-haiku | ~$0.005 | ~$0.15 | ~$14.40 |
| OpenAI | gpt-4o | ~$0.04 | ~$1.20 | ~$115 |
| OpenAI | gpt-4o-mini | ~$0.003 | ~$0.09 | ~$8.64 |
| Ollama | (local) | $0 | $0 | $0 |
| OpenCode | (local) | $0 | $0 | $0 |

*Estimates based on ~2K input + ~1K output tokens per typical run.*

**Step 4 — Recommend with reasoning:**

Give a clear recommendation: "For daily CNA issue triage (L1, observation only), use
claude-3-haiku — ~$0.15/month vs $1.50/month for Sonnet, with no quality difference
for labeling and summarization tasks."

## Budget gate reminder

If the user is setting up loops, remind them to add `limits.max_cost_usd` to their job
definitions to enable the runner's hard budget enforcement:

```json
"limits": {
  "timeout_sec": 300,
  "max_cost_usd": 0.50
}
```

## Anti-patterns

- Do not recommend cloud providers for repos marked confidential — suggest Ollama/OpenCode
- Do not recommend Haiku for L3 unattended loops — quality failures cascade
- Do not skip the `llm-status` check — recommend only available providers

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.