#Assistants file upload limits
1 messages · Page 1 of 1 (latest)
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 anAssistantFiledoesn’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.