Function: estimateTokens()
estimateTokens(
text):number
Defined in: provider-sdk/src/tokenizer.ts:16
Rough token estimate for a single piece of text (script-aware; exact profiles registered for a model always win).
Parameters
text
string
Returns
number