Does it cost to store lots of files and is there a way to automatically remove them?

Hi.

I have Assistants in which users upload files. Obviously, after a while, the files section of the Playground gets really cluttered with an endless list of files.

Some questions:

  1. Does this incur additional costs just to have these files sitting there in the files section?
  2. Are these files automatically removed by Open AI or do they sit there forever?
  3. If the latter, is there a way to automatically remove them on a schedule?

Thanks in advance.

Hi!

20 cents per gigabyte per assistant

https://help.openai.com/en/articles/8550641-assistants-api#h_061c53c67a

As far as I’m aware, OpenAI doesn’t really automagically do anything when it comes to the API (unless they retire a product). You gotta hack it yourself.

2 Likes

You have to programmatically delete the files via API or use the platform GUI to manage the files.

https://platform.openai.com/docs/assistants/tools/knowledge-retrieval

1 Like