Maximum supported page limit for pdf

The documentation clearly states that models support maximum of 3600 pages
Then when i try with every single model there, generate_content throws an error saying the limit is 1000 pages

400 INVALID_ARGUMENT. {'error': {'code': 400, 'message': 'The document contains 3353 pages which exceeds the supported page limit of 1000.', 'status': 'INVALID_ARGUMENT'}}

the file is uploaded normally.

1 Like

Hi @Ayoub_Kazar,

I repro the issue and getting the same error. I will check with the team whether actually it is 3600 pages or need to change the doc. I will get back to you on this.

Thanks

1 Like

Thank you for the response
Any updates ? :slight_smile:

1 Like

Current limit is 1K pages and 50 MB of pdf files. Docs will be updated soon.

Thanks