Description
The GPT-5.6 models support a new prompt_cache_breakpoint parameter that explicitly sets breakpoints for where prompt prefixes should be saved to the cache. This is important for the newer models, as cache writes now cost.
https://developers.openai.com/api/docs/guides/prompt-caching#prompt-cache-breakpoints
Code Sample
Perhaps something like this.
Content.from_text(
"Text input",
additional_properties={
"prompt_cache_breakpoint": {
"mode": "explicit"
}
}
)
Language/SDK
Python
Description
The GPT-5.6 models support a new
prompt_cache_breakpointparameter that explicitly sets breakpoints for where prompt prefixes should be saved to the cache. This is important for the newer models, as cache writes now cost.https://developers.openai.com/api/docs/guides/prompt-caching#prompt-cache-breakpoints
Code Sample
Perhaps something like this.
Language/SDK
Python