llm-cost-advisor

Solid

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.

AI & Automation 14 stars 4 forks Updated today MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
39
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 | ~...

Details

Author
ulises-jeremias
Repository
ulises-jeremias/agent-toolkit
Created
3 weeks ago
Last Updated
today
Language
V
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

agentcents

LLM cost consulting — estimate what any LLM API call or agent workflow will cost across candidate models (Claude, GPT, Gemini, local Ollama), recommend the cheapest model that clears the task's capability bar, and render the comparison as a Mermaid diagram. Use this skill whenever the user asks what a prompt / agent run / workflow will cost, which model is cheaper or "good enough", how to cut LLM API spend, whether local models would save money, or anything about model pricing, token costs, LLM budgets, or cost-based model routing — even if they don't name a tool. Also use it whenever the user mentions agentcents, has the agentcents proxy installed, or asks about their own LLM spend, budgets, or cost calibration.

0 Updated 1 months ago
labham-llc
AI & Automation Listed

estimate-llm-cost

Use this to estimate what an LLM call or feature will cost, and to compare models on price, before or after shipping. Trigger on "how much will this cost", "estimate my OpenAI/Anthropic bill", "is a cheaper model worth it", "cost of this prompt", "project my LLM spend". Ships a runnable, tested calculator so the numbers are real, not hand-waved.

30 Updated yesterday
ContextJet-ai
AI & Automation Listed

llm-cost-optimizer

Analyze and reduce LLM API costs through model routing, caching, and prompt optimization. TRIGGER when: user asks about LLM costs, API spend reduction, token optimization, model routing, or prompt caching. DO NOT TRIGGER when: user asks about model quality comparison, fine-tuning, or general prompt engineering.

0 Updated 3 weeks ago
DROOdotFOO