#Assistants file upload limits

1 messages · Page 1 of 1 (latest)

steel jacinth
#

GPTs and chatgpt have documented limits for the number and size of files that can be uploaded, is there ant file size / number limits for the assistants API?

sand pierBOT
#

Hi @steel jacinth. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Yes, there are specific file size and number limits for the Assistants API.

  • You can attach a maximum of 20 files per Assistant, and each file can be at most 512 MB in size.
  • The total size of all the files uploaded by your organization should not exceed 100 GB.
  • Each file can only contain 2,000,000 tokens. Assistant or Message creation will fail if any attached files exceed the token limit.
  • To manage files, you can use the AssistantFile (https://platform.openai.com/docs/api-reference/assistants/file-object) object to create, delete, or view associations between Assistant and File objects. Note that deleting an AssistantFile doesn’t delete the original File object, it simply deletes the association between that File and the Assistant. To delete a File, use the File delete (https://platform.openai.com/docs/api-reference/files/delete) endpoint instead.

These details are mentioned in the OpenAI Platform Documentation (https://platform.openai.com/docs/assistants/how-it-works).

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: