Skip to content
Back to skills

Cost Aware Llm Pipeline

ASecurity

Cost optimization patterns for LLM API usage — model routing by task complexity, budget tracking, retry logic, and prompt caching.

  • 14 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 28, 2026
ai-agentsgoapi

Works with

  • api

Security analysis

A100/100

Scanned November 27, 2026

npx -y skills add Nmor/the-claude-council --skill cost-aware-llm-pipeline --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cost Aware Llm Pipeline?

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

Security grade badge for Cost Aware Llm Pipeline
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nmor-cost-aware-llm-pipeline/badge)](https://www.skillsdirectory.com/skills/nmor-cost-aware-llm-pipeline)

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

SKILL.md
---
name: cost-aware-llm-pipeline
description: Cost optimization patterns for LLM API usage — model routing by task complexity, budget tracking, retry logic, and prompt caching.
disable-model-invocation: true
---

# Cost-Aware LLM Pipeline

> **Size budget: 8 KB** — `token-budget.mjs --check`.

Cost optimization patterns for LLM API usage — model routing by task complexity, budget tracking,
retry logic, and prompt caching.

## Working procedure

1. Establish the relevant mode and existing evidence; do not repeat completed intake.
2. Measure quality, latency and cost together on representative inputs. Verify current prices
   from primary providers before financial claims. Bound retries and preserve critical validation
   even when selecting cheaper models.
3. Read only the corresponding sections below before applying their examples.
4. Verify the result with meaningful positive, negative and failure controls. Record actual
   outcomes, limitations and next action.

## Selected references

- [When to Activate](references/procedure.md#when-to-activate) — read when this part of the task applies.
- [Core Concepts](references/procedure.md#core-concepts) — read when this part of the task applies.
- [Composition](references/procedure.md#composition) — read when this part of the task applies.
- [Pricing Reference (2025-2026)](references/procedure.md#pricing-reference-2025-2026) — read when
  this part of the task applies.
- [Best Practices](references/procedure.md#best-practices) — read when this part of the task applies.
- [Anti-Patterns to Avoid](references/procedure.md#anti-patterns-to-avoid) — read when this part
  of the task applies.
- [When to Use](references/procedure.md#when-to-use) — read when this part of the task applies.
- [Regex-first parsing for structured text](references/procedure.md#regex-first-parsing-for-
  structured-text) — read when this part of the task applies.
- [Purpose](references/procedure.md#purpose) — read when this part of the task applies.
- [When NOT to use](references/procedure.md#when-not-to-use) — read when this part of the task applies.
- [Standards Cited](references/procedure.md#standards-cited) — read when this part of the task applies.
- [Anti-Patterns](references/procedure.md#anti-patterns) — read when this part of the task applies.
- [Verification Checklist](references/procedure.md#verification-checklist) — read when this part
  of the task applies.
- [Cross-References](references/procedure.md#cross-references) — read when this part of the task applies.

The [full procedure](references/procedure.md) preserves detailed examples and standards.
Load relevant excerpts rather than the entire reference. Runtime capabilities and higher-priority
instructions govern imported templates.

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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