Token Optimizer

Practical guide to reduce token consumption and lower AI costs for both Claude Code users and developers calling the Anthropic API directly. Covers file organization, context management, strategic model selection, prompt caching, Batch API, effort tuning, and prompt architecture. Backed by real experiment data. Use when user mentions "optimize tokens", "reduce costs", "Claude is slow", "too many tokens", "token budget", "context window full", "organize codebase for AI", "reduce token consumption", "prompt caching", "cache_control", "batch API", "cache broken", "API costs", or "thinking budget". Do NOT use for general coding questions, debugging, or performance optimization unrelated to AI token usage.

amunozdev a612989 13.3 KB Updated

File contents

amunozdev/token-optimizer/tree/main/ commit a612989ca5

Frequently asked questions

npx skillmds@latest add amunozdev/token-optimizer