AI EngineeringSemantic Cache with Redis to Cut AI API CostsHow 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.