New prompt_caching_retention key out today (along with 5.1) - doesn’t say anywhere in the docs that some models don’t support - yet ….
{
“error”: {
“message”: “prompt_cache_retention is not supported on this model”,
“type”: “invalid_request_error”,
“param”: “prompt_cache_retention”,
“code”: “invalid_parameter”
}
}
Are there some models where it doesn’t work??