klyn.llm.OpenAIProvider.estimatedImageTokens
field
public estimatedImageTokens as Int = 1024
Description

Approximate tokens per image when provider usage is unavailable. Image tokenization varies by model; this is a heuristic, not a hard bound. Estimation never reads or Base64-encodes images. Local attachment names are ignored unless an application explicitly adds them to wire content.

Example

provider.estimatedImageTokens = 2048