Skip to content

Cache

Last updated: 2026-11-12T13:19:55-03:00 (UTC-3)

Repeated questions cost the same every time. The cache returns the answer already obtained without calling the provider. It is isolated so that one team never receives another team’s answer, and authorization and limits apply before it.

Feature What it does Flag Learn more
Exact cache Same question, same parameters: same answer, for a TTL. Isolated by identity, team and credential exact_cache Exact cache
Semantic cache Answers questions with the same meaning by comparing embeddings; exact or by similarity semantic_cache Semantic cache
Backends Per-process memory, or Redis and Memcached shared across replicas, switchable from the console distributed_exact_cache, cache_backend_management Backends
Chat cache on Redis Keeps the chat answer cache in the Redis backend instead of PostgreSQL, shared by every replica on the namespace distributed_semantic_cache Semantic cache
Client control Cache-Control: no-store or {"cache": {"no-cache": true}} (always) Semantic cache
Status and purge Hit and miss panel, backend health check and per-model purge exact_cache Exact cache
  • Before the cache: authorization and RPM apply; a hit does not bypass revocation or limits.
  • In PostgreSQL: the semantic cache content is encrypted.
  • In Redis and Memcached: the exact cache content is also encrypted and tamper-proof, and so is the chat cache when it lives in Redis.

Managed bearer authentication has a separate optional credential cache. Its snapshots, expiry proof and security constraints do not cache model responses or require a response-cache backend.

m7gtw[email protected]