klyn.llm.LLMChatSession.contextUsagePercent
property
public readonly property contextUsagePercent as Int:
Description

Last known context usage percentage, capped to 100.

session = LLMChatSession(provider).withContextWindow(1000)
print(session.contextUsagePercent)