·cost-aware-llm-pipeline
</>

cost-aware-llm-pipeline

affaan-m/everything-claude-code

LLM API 使用的成本最佳化模式 — 依任務複雜度、預算追蹤、重試邏輯和提示快取進行模型路由。

23安裝·21熱度·@affaan-m

安裝

$npx skills add https://github.com/affaan-m/everything-claude-code --skill cost-aware-llm-pipeline

SKILL.md

Patterns for controlling LLM API costs while maintaining quality. Combines model routing, budget tracking, retry logic, and prompt caching into a composable pipeline.

Automatically select cheaper models for simple tasks, reserving expensive models for complex ones.

Track cumulative spend with frozen dataclasses. Each API call returns a new tracker — never mutates state.

LLM API 使用的成本最佳化模式 — 依任務複雜度、預算追蹤、重試邏輯和提示快取進行模型路由。 來源:affaan-m/everything-claude-code。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/affaan-m/everything-claude-code --skill cost-aware-llm-pipeline
分類
</>開發工具
認證
收錄時間
2026-02-17
更新時間
2026-02-18

快速解答

什麼是 cost-aware-llm-pipeline?

LLM API 使用的成本最佳化模式 — 依任務複雜度、預算追蹤、重試邏輯和提示快取進行模型路由。 來源:affaan-m/everything-claude-code。

如何安裝 cost-aware-llm-pipeline?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/affaan-m/everything-claude-code --skill cost-aware-llm-pipeline 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/affaan-m/everything-claude-code