Ability to set prompt_cache_retention

Resolved 💬 2 comments Opened Nov 15, 2025 by EmpowerZ Closed Jan 14, 2026

What feature would you like to see?

GPT-5.1 models (including gpt-5.1-codex) support extended retention by setting prompt_cache_retention: "24h". Otherwise the cache is short-lived. From what I see there is no way to set this parameter in codex.

Additional information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗