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 4,017
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

I tried 254k tokens (used the model to count the tokens) and it also doesn't respond properly. When the prompt's token count is reduced, the model starts responding.

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.

AndrewB
Community Manager
Community Manager

It looks like the model description in that UI is not exactly accurate. Until the future wide release, to get access to 1.5 Pro with a 2 million token context window join the Trusted Testers program in Vertex AI. The current public model info is documented here. 

Thank you for your support !

I have just submitted it. When can I expect a response? ❤️

Still not working.