Hi, we’re actively working on a fix for this, it is coming soon. In the meantime there is a thread that may help Solved: [GoogleGenerativeAI Error]: The input token count (xxxxx) exceeds the maximum number of tokens allowed (1048575). Unofficial Solution