Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

gemini-1.5-pro-001 is not 2M context window. Is it fake?

Yuwoe_0-1719237616790.png

Yuwoe_2-1719237843401.png

 

Current Token: 1,576,564 tokens

Yuwoe_1-1719237741460.png

I use this file for testing, is the 2M context window in vertex-ai is fake?

drive.google.com/file/d/1MNyzZu8Q8dlMV6TZQvPqXkittKoAIwiY/view?usp=sharing

 

Solved Solved
1 5 5,120
1 ACCEPTED SOLUTION

Hey @mongoose, You may be hitting other individual validation limits on images/audio/video per the documented limits. So rather than the total token count throwing the error, its an individual token limit on a media type that is throwing the error. I agree that the error messages can be more useful, and I think that is coming in the future.

View solution in original post

5 REPLIES 5