Hey there,
I made a pdf-tokenizer for GPT since I was looking for one and couldn’t really find any, it takes in a single pdf and calculates text tokens and image tokens separately, ultimately displaying the total tokens to the user who can then use it to calculate input costs depending on which model the user wants to use.
Feel free to drop any suggestions.
Thanks,
Ayesh.