OpenAI API

API at OpenAI

Default change

Extended 24-hour prompt caching becomes the default

For organizations without Zero Data Retention, prompt_cache_retention now defaults to 24h instead of in_memory on the Responses, Chat Completions and Batch endpoints.

Before

in_memory

After

24h

Who is affected:
API organizations without Zero Data Retention that never set prompt_cache_retention.
What to do:
Set prompt_cache_retention explicitly if you need in-memory only caching.

Source

"enabling extended prompt caching by default."

OpenAI API changelog

Published

Open the sourcedevelopers.openai.com

Modelpeers tracks changes to AI agents and models, each from its source. Follow OpenAI API to get a weekly email when it changes.