OpenAI introduced optional 12-hour prompt caching for the Responses API on October 20, 2026. The feature keeps shared instructions, tools and context eligible for discounted cached-input billing across requests separated by hours, according to OpenAI. Sources: OpenAI
For GPT-5.6 and later, developers enable the option by setting prompt_cache_options.ttl to "12h"; the default remains "30m". Eligible prefixes require at least 1,024 visible input tokens. Sources: OpenAI
OpenAI lists total write charges at 2.5 times the ordinary input-token rate for 12-hour caching and 1.25 times for 30-minute caching. At GPT-6.1 Sol’s standard, short-context rates, one million tokens written once and fully read twice calculates to $5.20, versus $6.00 for three uncached passes. A 30-minute cache serving both reads totals $2.70; these calculations exclude output, changing prompt content and additional writes. Sources: OpenAI
OpenAI defines 12 hours as a minimum period of billing eligibility, without guaranteeing physical cache reuse or lower latency. It is not a deletion deadline and does not change the maximum data-retention policy. Sources: OpenAI