klyn.llm.OpenAIProvider.estimateMessageTokens
method
public override estimateMessageTokens(message as LLMThreadMessage) as Int
Description

Estimates one serialized chat message without file or network IO.

Example

tokens = provider.estimateMessageTokens(message)