Property CacheSystemPrompt

Assembly: redb.Route.Llm.dll

cacheSystemPrompt=true — ask the provider to cache the system prompt so repeated
turns re-read it instead of re-paying for it.
Set it only when the system prompt is the same bytes every time. Caching matches on
the rendered prefix, so a prompt carrying a timestamp or a per-user name is written to the
cache and never read back: cost, no benefit. Verify with
LlmUsage.CacheReadInputTokens — zero across repeated calls means the prefix moves.

public bool CacheSystemPrompt { get; set; }