You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Upgrade LiteLLM and turn on prompt caching for Claude models #9588
Prompt caching is off for Claude models. #9576 covers the whole problem; this task changes only this default. Lowering the agent's default step limit is tracked in #9602.
Claude caches only prompts that carry cache marks. Nothing sets them, so every call is billed in full, although the system prompt and tool definitions (11,746 tokens) are identical in every call. LiteLLM 1.94 and later can add the marks for Claude by itself. The version Texera pins, 1.83.10, cannot, and published security advisories affect it.
Proposed: upgrade LiteLLM to a current stable release and turn its automatic prompt caching on. Estimated from recorded conversations, that cuts the agent's input cost by about 55%.
changed the title [-]Cache Claude prompts and lower the agent's default step limit[/-][+]Cache Claude prompts in the default LiteLLM configuration[/+]on Nov 21, 2026
changed the title [-]Cache Claude prompts in the default LiteLLM configuration[/-][+]Upgrade LiteLLM and turn on prompt caching for Claude models[/+]on Nov 21, 2026
Activity
bobbai00 commentedon Nov 21, 2026
/take
[-]Cache Claude prompts and lower the agent's default step limit[/-][+]Cache Claude prompts in the default LiteLLM configuration[/+][-]Cache Claude prompts in the default LiteLLM configuration[/-][+]Upgrade LiteLLM and turn on prompt caching for Claude models[/+]