Nodes/ComfyUI_illumorae/Text Token Count
ComfyUI Node

Text Token Count

Counts tokens for a string using a CLIP tokenizer if available, otherwise estimates.

By CorvaeOboro·Created 7 months ago·Updated 8 days ago· 1
Text Token Count
  • clip
  • token_count
text
threshold700
Categoryillumorae

Inputs (3)

NameTypeDefaultDescription
textSTRING
thresholdINT7000–99999
clipoptCLIP

Outputs (1)

NameTypeDescription
token_countSTRING