Tested 26 October 2026, with billing enabled, prepaid funds available, and AI Studio showing Paid Tier 2.
The official video guide (https://ai.google.dev/gemini-api/docs/video-understanding) lists Files API maximum file size as “20GB (paid) / 2GB (free)”. However https://ai.google.dev/gemini-api/docs/files#usage_information and https://ai.google.dev/gemini-api/docs/file-input-methods#input-method-comparison state 2 GB per file and 20 GB total per project.
Using Node @google/genai 2.17.1, standard resumable client.files.upload, MIME video/mp4:
- A lawful 4,951,975-byte H.264/AAC video uploaded, became ACTIVE, and worked with gemini-3.5-flash-lite.
- A 1,990,000,000-byte MP4 uploaded, became ACTIVE, and worked with the same model.
- A 5,000,000,000-byte MP4 failed with HTTP 413:
{"error":{"code":413,"message":"Media is too large. Limit: 2147483648","status":"FAILED_PRECONDITION"}}
The large test fixtures use the same short, valid MP4 plus a valid MP4 free box to isolate object-size acceptance; they are not 5 GB of actual encoded footage. Successful test Files were deleted afterward.
Authenticated Service Usage quota metadata for this funded project reports file_storage_bytes effectiveLimit 21474836480 (20 GiB total) and create_file_requests 3000/minute. No per-file quota entry was returned.
Please clarify:
- Is the current paid per-file limit 20 GB or 2 GiB? Does the documented 20 GB require a different API version, upload method, rollout or account setting?
- Is the aggregate 20 GiB project limit adjustable, and how should production applications request an increase?
- Please reconcile the three documentation pages with the actual server limit and distinguish decimal GB from binary GiB.
No credentials, private project identifiers, billing IDs, user media or billing screenshots are included in this report.