Cutting Production LLM Costs by 30% Using Semantic Caching and pgvector
A practical breakdown of our two-tier caching architecture (Redis exact cache + PostgreSQL pgvector semantic cache), conservative cosine similarity thresholds, tenant-safe catalog invalidation, and the benchmark behind our ~30% token reduction.