Mismatch image token count. 11x difference?

Hi, I am using gemini flash 2 with image input. While count_tokens return 262, the actual number of token used from the response is 2838! The size of the image is (1250, 356)
Can anyone explain this to me.

Hi @Hoang_Dinh_Thanh,

Welcome to forum, Yes its a genuine bug, team is working on this issue to be fixed.

Thank you

is there any update on this problem?

Hi @Hoang_Dinh_Thanh,

Sorry for the delay but still the fix is in WIP.

Thank you