ComfyUI Node
Text Token Count
Counts tokens for a string using a CLIP tokenizer if available, otherwise estimates.
Text Token Count
- clip
- token_count
◄text►
◄threshold700►
Categoryillumorae
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | — | |
| threshold | INT | 7000–99999 | — |
| clipopt | CLIP | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| token_count | STRING | — |