Semantic Cache with Redis to Cut AI API Costs

How semantic caching cuts model spend, how to set the Redis distance threshold from measured data instead of a guess, and when a cache hit is unsafe.