@@ -419,6 +419,14 @@ def create(
419419 prompt caching, which keeps cached prefixes active for longer, up to a maximum
420420 of 24 hours.
421421 [Learn more](https://platform.openai.com/docs/guides/prompt-caching#prompt-cache-retention).
422+ For `gpt-5.5`, `gpt-5.5-pro`, and future models, only `24h` is supported.
423+
424+ For older models that support both `in_memory` and `24h`, the default depends on
425+ your organization's data retention policy:
426+
427+ - Organizations without ZDR enabled default to `24h`.
428+ - Organizations with ZDR enabled default to `in_memory` when
429+ `prompt_cache_retention` is not specified.
422430
423431 reasoning_effort: Constrains effort on reasoning for
424432 [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
@@ -735,6 +743,14 @@ def create(
735743 prompt caching, which keeps cached prefixes active for longer, up to a maximum
736744 of 24 hours.
737745 [Learn more](https://platform.openai.com/docs/guides/prompt-caching#prompt-cache-retention).
746+ For `gpt-5.5`, `gpt-5.5-pro`, and future models, only `24h` is supported.
747+
748+ For older models that support both `in_memory` and `24h`, the default depends on
749+ your organization's data retention policy:
750+
751+ - Organizations without ZDR enabled default to `24h`.
752+ - Organizations with ZDR enabled default to `in_memory` when
753+ `prompt_cache_retention` is not specified.
738754
739755 reasoning_effort: Constrains effort on reasoning for
740756 [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
@@ -1042,6 +1058,14 @@ def create(
10421058 prompt caching, which keeps cached prefixes active for longer, up to a maximum
10431059 of 24 hours.
10441060 [Learn more](https://platform.openai.com/docs/guides/prompt-caching#prompt-cache-retention).
1061+ For `gpt-5.5`, `gpt-5.5-pro`, and future models, only `24h` is supported.
1062+
1063+ For older models that support both `in_memory` and `24h`, the default depends on
1064+ your organization's data retention policy:
1065+
1066+ - Organizations without ZDR enabled default to `24h`.
1067+ - Organizations with ZDR enabled default to `in_memory` when
1068+ `prompt_cache_retention` is not specified.
10451069
10461070 reasoning_effort: Constrains effort on reasoning for
10471071 [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
@@ -1943,6 +1967,14 @@ async def create(
19431967 prompt caching, which keeps cached prefixes active for longer, up to a maximum
19441968 of 24 hours.
19451969 [Learn more](https://platform.openai.com/docs/guides/prompt-caching#prompt-cache-retention).
1970+ For `gpt-5.5`, `gpt-5.5-pro`, and future models, only `24h` is supported.
1971+
1972+ For older models that support both `in_memory` and `24h`, the default depends on
1973+ your organization's data retention policy:
1974+
1975+ - Organizations without ZDR enabled default to `24h`.
1976+ - Organizations with ZDR enabled default to `in_memory` when
1977+ `prompt_cache_retention` is not specified.
19461978
19471979 reasoning_effort: Constrains effort on reasoning for
19481980 [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
@@ -2259,6 +2291,14 @@ async def create(
22592291 prompt caching, which keeps cached prefixes active for longer, up to a maximum
22602292 of 24 hours.
22612293 [Learn more](https://platform.openai.com/docs/guides/prompt-caching#prompt-cache-retention).
2294+ For `gpt-5.5`, `gpt-5.5-pro`, and future models, only `24h` is supported.
2295+
2296+ For older models that support both `in_memory` and `24h`, the default depends on
2297+ your organization's data retention policy:
2298+
2299+ - Organizations without ZDR enabled default to `24h`.
2300+ - Organizations with ZDR enabled default to `in_memory` when
2301+ `prompt_cache_retention` is not specified.
22622302
22632303 reasoning_effort: Constrains effort on reasoning for
22642304 [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
@@ -2566,6 +2606,14 @@ async def create(
25662606 prompt caching, which keeps cached prefixes active for longer, up to a maximum
25672607 of 24 hours.
25682608 [Learn more](https://platform.openai.com/docs/guides/prompt-caching#prompt-cache-retention).
2609+ For `gpt-5.5`, `gpt-5.5-pro`, and future models, only `24h` is supported.
2610+
2611+ For older models that support both `in_memory` and `24h`, the default depends on
2612+ your organization's data retention policy:
2613+
2614+ - Organizations without ZDR enabled default to `24h`.
2615+ - Organizations with ZDR enabled default to `in_memory` when
2616+ `prompt_cache_retention` is not specified.
25692617
25702618 reasoning_effort: Constrains effort on reasoning for
25712619 [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
0 commit comments