Skip to main content
Run any Skill in Manus
with one click

cost-aware-llm-pipeline

Stars6
Forks0
UpdatedApril 15, 2026 at 03:59

Cost-optimization patterns for any code that calls Claude, OpenAI, or similar LLM APIs — model routing by task complexity, immutable cost tracking, narrow retry logic, and prompt caching combined into a composable pipeline. Use this skill whenever building or reviewing code that calls an LLM API in a loop or pipeline, when the user says "cut API costs", "reduce LLM spend", "model routing", "which model should I use", "budget limit", "prompt caching", "fallback model", "retry on rate limit", or when designing any batch processor that could silently overspend. Do NOT trigger for one-off prompts with no budget concern or for questions about local models that don't charge per token.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly