CreativeBaker87CreativeBaker87
CreativeBaker87PLUS
Edited Oct 19, 2025

Q: RAG maximum upload size or file size limit and storage

Hi, I've come across RAG mentioned a couple of times, here in the questions, and followed the guide you provided on how to train RAG agents (https://release0.com/blog/how-to-create-an-agent-with-rag-in-under-5minutes-in-release0). However, I haven't been able to find any information about the maximum upload size or file size limit when uploading documents (manuscripts/PDFs/Docs) to use as a knowledge base for the RAG agent. Could you please clarify what the max upload limit is for this process? And second where and how those/ our "RAG files" are stored. Thanks!

Founder Team
release0

release0

Oct 19, 2025

A: Hi @CreativeBaker87,

In Release0, when you upload documents to use in a RAG (Retrieval-Augmented Generation) agent, those files are not stored or processed directly by us. Instead, they’re handled by the LLM provider you choose through your BYOK (Bring Your Own Key) setup, for example OpenAI, DeepSeek, Perplexity, Anthropic, OpenRouter, etc.

That means:
• The storage location and file size limits depend entirely on the model and plan you’re using with your own provider.
• Release0 acts as the orchestrator, it manages your RAG workflow, query routing, and retrieval logic, but your actual documents are processed through the LLM provider you connect.

So, if you’re using:
• OpenAI → the limits follow your OpenAI account (e.g., 512 MB per file for the /files endpoint).
• DeepSeek or others → limits depend on their individual API specifications.

Because we’re BYOK-oriented, you’re free to pick whichever provider gives you the best cost, performance, and file capacity for your use case.

So for reference:
OpenAI API: Up to 512 MB per file. All text/doc files capped at ~2 million tokens each. Total storage/quota, Up to 100 GB total per org by default.

Perplexity AI (Sonar / File Connectors): Free tier: approx 40 MB per file. Pro/Enterprise: up to ~1 GB per file. Index quotas: e.g., Enterprise can handle ~500 files for internal docs.
DeepSeek: There is not one simple public number. Some sources suggest ~10 MB per file for certain plans. Total limits vary by plan, and documentation is less explicit.

Groq: Files can be up to 25 MB per file , with a maximum of 10 files per request.

Share
Helpful?
Log in to join the conversation

Thank you very much for this fast and very detailed explanation to answer the question. Really appreciate your support!