How long are threads active?

Hi, do we know how long the OpenAI API keeps a thread open? For example, chatGPT tends to forget the conversation fairly quickly, and I would need the API to retain it for several days.

ChatGPT doesn’t forget the conversation based on time. My chats are still there from April to be continued. It “forgets” by not placing turns of a conversation further back than the most recent turns into the chat history that the AI sees.

Inactive assistants threads are deleted after 60 days.