1 2 3 4 5 6
from skimtoken import estimate_tokens # Basic usage text = "Hello, world!" tokens = estimate_tokens(text) print(f"'{text}' → {tokens} tokens")