Reduce LLM Token Costs

Use when an LLM agent, RAG pipeline, or multi-step tool workflow is burning too many tokens/dollars per request — cut token cost ~90% by compressing tool defs, summarizing telemetry/logs, compressing RAG context, replacing conversation history with external state, hierarchical compression, small-model preprocessing, prompt caching, and conversation chaining. Reach for it when a single request exceeds a few thousand tokens of "plumbing" (system prompt + tools + history + retrieved chunks + raw data) rather than useful signal.

nsharandroidnstudio Updated

File contents

nsharandroidnstudio/awesome-skills/tree/main/llm-optimization/reduce-llm-token-costs commit 9ac5c28a6f

Frequently asked questions

npx skillmds@latest add nsharandroidnstudio/reduce-llm-token-costs