Install any skill in seconds. Free to start, no credit card required.
Get Started Free →llm-cost-optimizer
Analyze and reduce LLM spend by mapping call-site overrides to managed profiles (Balanced / Quality / Speed). Covers spend analysis, profile assignment, and config correctness.
Passed 16 of 20 test cases with the skill, and 7 of 20 without it.
and 9 more in the full report
12 fixed6 passed either way2 still failing2 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 12 test cases the skill fixed. Same model, same prompt, with and without the skill.
An automated schedule with ID `sched_daily_digest` has a custom profile pin attached to it. We want to clear this pinned profile so that the schedule reverts to following the mainAgent chat model selection. Which CLI command clears the schedule profile?
| Checked | Without skill | With skill |
|---|---|---|
| Clears schedule profile pin using assistant schedules update sched_daily_digest with --clear-profile. | Missed | Passed |
The instructions your model reads when the skill loads.
This skill walks through analyzing and reducing LLM spend on a Vellum assistant. There are three layers:
anthropic-managed, my-personal-key)balanced → Balanced (the general agent-loop profile)quality-optimized → Quality (the expensive escalation profile)cost-optimized → Cost (the cheap utility/background profile, and the one to pin for spend reduction)latency-optimized → Speed (the low time-to-first-token profile, used by live voice; faster but not cheaper than Cost)llm.callSites.<id>.profile) — optional per-task overrides of the shipped defaults.The concrete model behind each managed profile depends on the install: platform-managed installs and BYOK installs resolve different providers/models, and the catalog changes over time. Never assume which model a profile maps to — read assistant config get llm.profiles and the usage breakdown by model to see what actually ran.
Every LLM call resolves exactly one winning profile through a strict first-usable-wins chain. Profiles never merge with each other:
/model pick, an open assistant inference session, or a schedule's pinned profilellm.activeProfile — applies to mainAgent (the chat loop) only; it IS the user's chat-model selection and outranks any llm.callSites.mainAgent pinllm.callSites.<site>.profile — explicit per-site pinllm.defaultProviderbalanced intent (final anchor)A rung only wins if its profile exists, is enabled, and carries its own provider + model; otherwise resolution silently falls to the next rung.
Consequences that change how you diagnose cost:
llm.callSites block is healthy, not a red flag. Every call site ships with a sensible default intent: the agent loop and quality-sensitive sites (mainAgent, subagentSpawn, compactionAgent, callAgent, patternScan, narrativeRefinement, memoryConsolidation, memoryV2Consolidation, memoryV3SelectL2, recall, conversationStarters, identityIntro, emptyStateGreeting) default to balanced; everything else (classifiers, summarization, titles, copy generation, memory extraction/retrieval/sweeps, heartbeat, home-screen content, etc.) defaults to cost-optimized. Nothing "falls back" to an expensive model.llm.callSites blob that mirrors the shipped defaults. That freezes today's defaults into user config and silently opts the user out of future default improvements (and of tuning shipped alongside them, like cache and context-window settings). Pin only deliberate deviations.# Monthly totals
assistant usage totals --range month
# Break down by conversation (what the user actually did — use this for presentation)
assistant usage breakdown --group-by conversation --range month
test cases passed, vs 7 / 20 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.