Skip to main content
abdulrahimb9853
Known Participant
Feb 28, 2025 2:36 AM UTC
Solved

Token Use

Hi Appian Community,

Quick question: Is there any way for Appian Gen-AI to tell us how many tokens are used for a particular task, from input to output?

I believe there isn’t, but just in case, I wanted to ask. The purpose of this is to analyze token usage so developers can be better informed.

Thank you!

karumurua531442
Participating Frequently
Feb 28, 2025 2:45 AM UTC

Hi [mention:c156a43eea0d473194ad62f647367f54:e9ed411860ed4f2ba0265705b8793d05] AFAIK there is no way  to count how many tokens used. A model breaks down data into meaningful parts  tokens before it begins processing that data. Language processing models break down paragraphs of text into their smallest units, but these units aren't always equivalent to words. Instead, a token could be part of a word. Therefore, the number of tokens won't always equal the number of words in the text analyzed.

4 replies

karumurua531442
Participating Frequently
Feb 28, 2025 2:45 AM UTC

Hi [mention:c156a43eea0d473194ad62f647367f54:e9ed411860ed4f2ba0265705b8793d05] AFAIK there is no way  to count how many tokens used. A model breaks down data into meaningful parts  tokens before it begins processing that data. Language processing models break down paragraphs of text into their smallest units, but these units aren't always equivalent to words. Instead, a token could be part of a word. Therefore, the number of tokens won't always equal the number of words in the text analyzed.

abdulrahimb9853
Known Participant
Feb 28, 2025 6:29 AM UTC

I see, thank you for the reply.

Rahim
konduruc733182
Inspiring
Feb 28, 2025 4:14 AM UTC

Simple answer to your question is NO, there is no proven method to monitor or analyze the token consumption data.

abdulrahimb9853
Known Participant
Feb 28, 2025 6:29 AM UTC

Alright, thank you for the reply. 

Rahim