Error fetching input token count exceeds

I am running into this issue, and I have tried a few things like download and uploading into new project.

This is the Error:

[GoogleGenerativeAI Error]: Error fetching from https://monospace-pa.googleapis.com/v1/models/gemini-2.5-pro:streamGenerateContent?alt=sse: [400 Bad Request] The input token count (1263888) exceeds the maximum number of tokens allowed (1048576).

Please help me fix this issue

Hi @Blair ,
Have a look at this thread here: Temporary workaround for error due to exceeding input token count (unofficial)