Method KvCacheBytes
KvCacheBytes(int)
KV bytes for a context, clamped by SlidingWindow when the model declares one.
public long KvCacheBytes(int contextTokens)
Parameters
contextTokensintThe context length in tokens.
Returns
- long
The KV cache size in bytes at that context.