Gemini accepts up to 10 files in the same prompt. Each video can be up to 2 GB, and every other supported file type can be up to 100 MB. As of December 2026, Google's help page also caps total video length at 5 minutes and total audio length at 10 minutes, and raises those caps to 1 hour and 3 hours on Google AI Pro or Google AI Ultra.
These numbers are for the Gemini web app (gemini.google.com) on a personal Google Account, with notes for work and school accounts and for developers. Google says they can change, so each figure names its help page. Where Google is silent, this page says so.
The Gemini Upload Limits in One Table
Plan differences are named for only four things: video length, audio length, the context window (how much content Gemini can read at one time) and the overall usage allowance. Google also says a paid plan can attach more files, without a number.
| Limit | No Google AI plan | Google AI Pro or Ultra | What the help page says |
|---|---|---|---|
| Files per prompt | Up to 10 | Up to 10 (Google says upgrading allows more files, without a number) | "Subject to availability"; each file inside an uploaded folder counts toward the 10 |
| Size per file | 100 MB, video up to 2 GB | Same (no plan difference stated) | Applies to all supported file types except video |
| Total video length | 5 minutes | 1 hour | Upgrade extends total attachment length |
| Total audio length | 10 minutes | 3 hours | Upgrade extends total attachment length |
| Code folder or GitHub repository | 1 per chat, up to 5,000 files and 100 MB | Same (no plan difference stated) | Also stated on the GitHub import page |
| ZIP file | Up to 10 files and 100 MB, no video or audio inside | Same (no plan difference stated) | Listed under ZIP files on the upload page |
| Context window | 32k tokens (AI Plus: 128k) | 1 million tokens | Limits page; 1M tokens is about 1,500 pages of text or 30,000 lines of code |
| Usage allowance | Standard limits (AI Plus: 2x) | AI Pro: 4x standard; AI Ultra: 5x or 20x AI Pro | Refreshes every 5 hours until a weekly limit |
Gemini's File Count and File Size Caps Per Prompt
The ceiling is 10 files per prompt, marked "subject to availability", so it can be lower at busy times. A folder is no loophole: each file inside it counts toward the 10.
Size is a separate cap. Video can reach 2 GB; everything else stops at 100 MB. A 300 MB document fails, whatever its type.
Supported file types are described only loosely. The help page says Gemini Apps "support most file types" and lists documents, spreadsheets, notebooks, photos and videos as examples. It does not publish a full list of extensions. If a format fails, test it by converting to PDF, plain text or a common image type.
Video and Audio Length Limits by Plan
Without a Google AI plan, total video length is 5 minutes and total audio length is 10 minutes. With Google AI Pro or Google AI Ultra, the help page extends total attachment length to 1 hour for video and 3 hours for audio. Google AI Plus is not named on that page for these two limits, so its video and audio allowance is not stated there.
"Total" is the key word. The caps cover the combined length of everything you attach, not each clip. Three 3-minute videos add up to 9 minutes and break the 5-minute cap without a Google AI plan, though each clip is short and far below 2 GB.
Two caps apply to every video. A 4-minute 4K clip can pass the length test and still fail the 2 GB size test, while a 90-minute phone recording can be small and still exceed the length cap. Check both numbers.
ZIP Files, Code Folders and GitHub Repositories
A ZIP file can hold up to 10 files, can be up to 100 MB, and cannot include video or audio files. A chat can take one code folder or one GitHub repository, with up to 5,000 files and a maximum of 100 MB.
The exact menu path on the web app is Add files, then More Uploads, then Import Code, then Upload folder. To add a repository, use the same Import Code menu and enter the repository or branch URL. Google's GitHub page lists these conditions: you must be 18 or over, signed in on a computer, and have Keep Activity on. A work or school account needs a qualifying edition of Google Workspace, and the Workspace administrator must enable access to apps in Gemini.
Two details catch people out. Changes to the repository after import are not synced, so Gemini keeps working from its snapshot. And a private repository needs the GitHub account with access linked to your Google Account. A Workspace announcement adds that code folder upload is limited to the Gemini web app, and that the GitHub app is not available to Workspace users who access Gemini as an additional Google service.
Gemini Upload Error Messages and What Each One Means
Google's help page lists three messages. Each has a different cause, so match the wording before you change anything.
"Delete data to upload file"
This is a storage error, not a size error. Gemini Apps keeps a storage allowance for saved history, including chats and attached files, and that allowance is separate from Google Drive or Workspace storage. Past the limit, you cannot attach files until you clear space. Google notes that chats with videos, photos, or files from Google Drive or Gemini Notebook use more of this storage.
On a personal account, open gemini.google.com, click Settings, then History, and delete the history you no longer need. Google says clearing can take several minutes to show up. On a work or school account, only a Workspace administrator can delete Gemini history, so the fix is to ask that administrator.
"You've reached your limit for chats with files"
This is a rolling usage limit on how much you can attach and analyze in a period. It resets after some time, but the help page does not state how long, and it does not publish the number of chats. Your options are to wait or upgrade to a Google AI plan for higher limits.
"Your uploads may be too large for the best results"
This warns about content volume and blocks nothing. Gemini may still answer, but it can miss connections or details spread across large files. Google suggests uploading smaller files with less content, or moving to Google AI Pro or Ultra for the 1 million token context window.
On a work or school account, you may instead see a message that you exceeded the context window for attaching and analyzing files. It means the same thing: too much material for Gemini to hold at once. A separate tip covers another message: if Gemini reports that it failed to analyze your file correctly, re-attach the file.
Quick triage in order. 1) "Delete data" means clear history under Settings, then History. 2) "Limit for chats with files" means wait or upgrade. 3) "Too large for the best results" means split the files. 4) A silent failure on one file means re-attach it, then convert it to PDF or text if it fails again.
How to See Your Gemini Usage Limits (Settings, Then Usage Limits)
Google states that Gemini Apps usage limits may change, and that they can change without notice, including because of capacity constraints. For people without a Google AI plan, limits for features that need more computing power can be tightened before limits for paid users. Treat any number on any page, including this one, as a snapshot.
Usage refreshes every 5 hours until you reach a weekly limit. To see where you stand on the web, open gemini.google.com, select Settings at the bottom left, then Usage Limits. On the phone app, tap Menu at the top left, then Settings at the bottom right, then Usage Limits. Gemini also notifies you when you are close to a limit and tells you when it will refresh.
The help page names two ways to get more room after a limit: upgrade for higher limits, or, on a Pro or Ultra plan, buy AI credits. It also says that a subscriber who hits a limit can continue a conversation with Flash-Lite. Large files cost usage too. The page rates large file analysis as medium relative usage, and it advises starting a new chat for a new topic because Gemini otherwise re-reads the whole earlier conversation.
A checklist before you attach anything big
- Count the files, including everything inside any folder: 10 is the ceiling.
- Check each file: 100 MB for documents, spreadsheets and images, 2 GB for video.
- Add up video and audio length: 5 and 10 minutes without a Google AI plan, 1 hour and 3 hours on Pro or Ultra.
- Remove video and audio from any ZIP, since ZIP files cannot include them.
- Check the context window for your plan: 32k, 128k or 1 million tokens.
- On a work or school account, confirm with your administrator that apps in Gemini are enabled and that history storage has room.
The Gemini API Has a Different Set of Limits
Developers calling Gemini through the API face other rules. Google's Files API page says to use it when the total request is larger than 100 MB, and that the limit for PDF files is 50 MB. It stores up to 20 GB of files per project, with a maximum of 2 GB per file, and files are stored for 48 hours.
For documents, the API page lists up to 50 MB per file, 1,000 pages per PDF, and 2,000 pages or slides per Office or OpenDocument file, with up to 50,000 cells per spreadsheet sheet. These figures differ from the Gemini app's 100 MB, so do not mix the two sets of numbers.
MemX Upload: Add Files Once Instead of Re-Attaching Them Each Prompt
Gemini's limits apply to what you attach to one prompt, so a pile of 40 receipts, warranties and statements means re-attaching small batches each time. MemX Upload is a different design: you add a photo, PDF or document once, MemX reads it, and later you ask a question in plain English instead of attaching files again. Its feature page says MemX reads dates, amounts and names.
The limits are tighter than Gemini's. MemX Upload accepts photos in common formats, PDFs, text and Markdown, Word documents, and audio such as MP3, M4A and WAV, with each file up to 20 MB. Video is not on that list, and its feature page does not list code folders or GitHub repositories. If you need Gemini's 100 MB documents, 2 GB videos or repository analysis, Gemini is the right tool.
Uploads queue on your phone when there is no signal and finish once you are back online, though asking questions still needs a connection. On privacy, MemX describes itself as private by architecture: files are encrypted at rest with a key per account, and every read is logged. That describes how the system is built, nothing more.
01How many files can you upload to Gemini at once?
Up to 10 files in the same prompt, according to Google's help page, which adds "subject to availability". Files inside an uploaded folder each count toward the 10. Google says a paid plan can attach more files but does not publish the number.
02What is the Gemini file size limit?
Each video can be up to 2 GB, and all other supported file types can be up to 100 MB. A ZIP file can also be up to 100 MB. These figures come from Google's Gemini Apps help page.
03How long can a video or audio file be in Gemini?
Total video length is up to 5 minutes and total audio length up to 10 minutes without a plan. Google AI Pro or Google AI Ultra extends these to 1 hour for video and 3 hours for audio.
04Why does Gemini say "Delete data to upload file"?
You have reached the storage limit for Gemini history, which includes attached files and is separate from Google Drive storage. Delete history under Settings, then History, and wait a few minutes. Work and school accounts need an administrator to delete it.
05Can I upload a ZIP file or a code folder to Gemini?
Yes. A ZIP file can hold up to 10 files and 100 MB, with no video or audio inside. A chat can take one code folder or GitHub repository of up to 5,000 files and 100 MB.
