Nodes/Kinburg-Nodes/Token Counter (GGUF)
ComfyUI Node

Token Counter (GGUF)

A ComfyUI node in Kinburg-Nodes/LLM with 3 inputs and 3 outputs.

By Kinburg·Created 2 months ago·Updated 3 days ago· 1
Token Counter (GGUF)
  • config
  • token_count
  • char_count
  • info
text
unload_after_runconfig default
CategoryKinburg-Nodes/LLM

Inputs (3)

NameTypeDefaultDescription
configKINBURG_LLM_CONFIGA 'Local LLM Settings (GGUF)' node — only its model is used (for the tokenizer).
textSTRINGText to tokenize (type here or wire a STRING in).
unload_after_runoptCOMBOconfig defaultFree the model from VRAM after THIS node runs, without touching the shared config. 'config default' follows the Settings node; 'unload after run' frees VRAM (a different model runs next); 'keep loaded' stays warm (the same model counts and then works).

Outputs (3)

NameTypeDescription
token_countINT
char_countINT
infoSTRING