Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Payload size limit

bp117
New Member

Hi Team,

I have a question related how big the payload can be while sending to the Gemini 2.0 0r 2.5 flash models. Documentation says we can send only 20mb as payload . but when i tried a 100mb video file through api by passing it as base 64 string it worked without any complaints or errors, so want to understand if the documentation is wrong or is there something missing ? Please clarify.