Adds back Grok 2 and shows rate limits
Thank you, very useful. Could you add a countdown? The JSON includes a "remaining seconds" property.
You're welcome. The countdown is already included, it looks like this: (2h).
No, that's just the total time, aka windowSize.
e.g. grok 3:
windowSizeSeconds = 7200
There is also
waitTimeSeconds = 1014
showing how long is left of those 2h.
Interesting. I'm not getting this in my end, I only have windowSizeSeconds.
fetch("/rest/rate-limits", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
requestKind: "DEFAULT",
modelName: "grok-3"
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
{
"windowSizeSeconds": 7200,
"remainingQueries": 24,
"totalQueries": 25
}
Do you have SuperGrok?
Thank you, very useful. Could you add a countdown? The JSON includes a "remaining seconds" property.