public LLMContextUsage(tokens as Int, estimated as Boolean, estimatedToolTokens as Int = 0)
Captures accounting without retaining mutable messages.
| Parameter | Description |
|---|---|
tokens | Occupied tokens; negative values become zero. |
estimated | Whether tokenization is approximate. |
estimatedToolTokens | Approximate tool-schema contribution. |
usage = LLMContextUsage(4000, true, 600)