From the source
From the source
From the source

From the source
Use prompt_cache_options.mode and prompt_cache_breakpoint to choose which prompt prefixes the Agent API writes to the cache. In explicit mode, a request writes only the prefixes that end at an input_text part that you mark with prompt_cache_breakpoint , up to 4 marks per request.
In explicit mode with no marks, a request makes no cache writes. Send the same prompt_cache_key on each request that shares a prefix, so that a later request can read the prefix that an earlier request wrote. The Agent API Models reference now lists cache write rates.
Where no cache write rate is shown, cache writes are billed at the input rate. For some models, such as openai/gpt-6.1-sol , the cache write rate is above the input rate. See Prompt Caching .
docs.perplexity.ai