rateLimitInfo property

GroqRateLimitInformation? get rateLimitInfo

Returns the rate limit information

final rateLimitInfo = chat.rateLimitInfo;
print(rateLimitInfo.remainingTokens); //prints the remaining tokens for this day

Returns null if the rate limit information is not available

Implementation

GroqRateLimitInformation? get rateLimitInfo => _rateLimitInfo;