#Would you like a VSCode Extension that tells you how many tokens string prompts take?

1 messages · Page 1 of 1 (latest)

glass crag
#

I'm thinking about building a VSCode Extension that would annotate strings in code (thinking how to filter the relevant ones) to show how many tokens will be used when the string is used as prompt and how much will it cost you to make the API call.

Would anybody also find this useful for estimating and working with prompts?