Documentation / @agentick/shared / getContextUtilization
Function: getContextUtilization() ​
getContextUtilization(
modelId,usedTokens):number|undefined
Defined in: model-catalog.ts:919
Calculate context utilization percentage.
Parameters ​
modelId ​
string
The model ID
usedTokens ​
number
Number of tokens used
Returns ​
number | undefined
Utilization percentage (0-100), or undefined if model not found