Cost Optimization: Token Counting, Caching, and Model Selection for LLMs | Wicked Smart Data