Audit Prompt Caching

Use whenever the user mentions cached_tokens=0,total_cached_tokens,cache_read_input_tokens,cache_creation_input_tokens,cache_write_tokens,prompt_cache_key,prompt_cache_options,prompt_cache_breakpoint,previous_interaction_id,cache_control/cachePoint,TTFT,KV reuse; prefix_cache_retention_interval,prefix_caching_hash_algo,Mamba/SWA/hybrid,cross-process block hash; LLM cost or speed regressed,repeated long prompts,speeding up agents; LLM request shape changes: tools,schemas,response_format,model/router,agent loops,compaction; Not for generic prompt writing,RAG,token counts,non-LLM perf

sernote ca87ae1 37 files · 260.1 KB Updated

File contents

sernote/audit-prompt-caching/tree/main/audit-prompt-caching commit ca87ae110b

Frequently asked questions

npx skillmds@latest add sernote/audit-prompt-caching