ComfyUI Node
Token Counter (GGUF)
A ComfyUI node in Kinburg-Nodes/LLM with 3 inputs and 3 outputs.
Token Counter (GGUF)
- config
- token_count
- char_count
- info
◄text►
◄unload_after_runconfig default►
CategoryKinburg-Nodes/LLM
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| config | KINBURG_LLM_CONFIG | A 'Local LLM Settings (GGUF)' node — only its model is used (for the tokenizer). | |
| text | STRING | Text to tokenize (type here or wire a STRING in). | |
| unload_after_runopt | COMBO | config default | Free 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)
| Name | Type | Description |
|---|---|---|
| token_count | INT | — |
| char_count | INT | — |
| info | STRING | — |