Clay Icon

How to Track Input and Output Tokens for GPT in Google Sheets

·
·

Is there anyway to tell how many input and output tokens you use on a coloumn for GPT - i’ve got one sitting in my sheet that is chewing alot of GPT4 inputs, costing alot, but can’t figure out where… 🙂

  • Avatar of Clay Team
    Clay Team
    APP
    ·
    ·

    Hey hey! Can you drop the URL for your table here? (if applicable) 🫶 Don't worry, only admins will be able to open your table 😉

  • Avatar of Clay Team
    Clay Team
    APP
    ·
    ·

    Hey Liam, will ask if it would be possible to add a token counter for this... Took a look at the table and I'd say the most likely column using varying amounts of tokens is the column called " AI: Find Business Location" since it's taking input from Scrape Website and the results/input lengths seem to vary quite a bit there. In case it helps calculate a few of the longer prompts here's OpenAI's token calculator: https://platform.openai.com/tokenizer