text
Just subscribed the PRO monthly, but still got rate limited when making the inference API call 
Just subscribed the PRO monthly, but still got rate limited when making the inference API call 
new_line
new_line
new_line
code_fence
```
  const api_url = "https://api-inference.huggingface.co/models/meta-llama/Meta-Llama-3-8B";
  const payload = JSON.stringify({
    "query": input,
  });

  const body = {
      "headers" : {"Authorization": `Bearer ${API_TOKEN}`},
      "wait_for_model": true,
      "use_gpu": false,
      "method" : "POST",
      "contentType" : "application/json",
      "payload" : payload
    };
  
  var xmlHttp = new XMLHttpRequest();
  xmlHttp.open("POST", api_url, false);
  xmlHttp.send(body);
  return xmlHttp.responseText;
```
  const api_url = "https://api-inference.huggingface.co/models/meta-llama/Meta-Llama-3-8B";
  const payload = JSON.stringify({
    "query": input,
  });

  const body = {
      "headers" : {"Authorization": `Bearer ${API_TOKEN}`},
      "wait_for_model": true,
      "use_gpu": false,
      "method" : "POST",
      "contentType" : "application/json",
      "payload" : payload
    };
  
  var xmlHttp = new XMLHttpRequest();
  xmlHttp.open("POST", api_url, false);
  xmlHttp.send(body);
  return xmlHttp.responseText;
new_line
text
Need some help
Need some help
Just subscribed the PRO monthly, but still got rate limited when making the inference API call 


```
  const api_url = "https://api-inference.huggingface.co/models/meta-llama/Meta-Llama-3-8B";
  const payload = JSON.stringify({
    "query": input,
  });

  const body = {
      "headers" : {"Authorization": `Bearer ${API_TOKEN}`},
      "wait_for_model": true,
      "use_gpu": false,
      "method" : "POST",
      "contentType" : "application/json",
      "payload" : payload
    };
  
  var xmlHttp = new XMLHttpRequest();
  xmlHttp.open("POST", api_url, false);
  xmlHttp.send(body);
  return xmlHttp.responseText;
```
Need some help
https://cdn-avatars.huggingface.co/v1/production/uploads/5f17f0a0925b9863e28ad517/X7QKoiXbUtEZSG9jyvfk3.jpeg
Victor Mustar
victor
user
/avatars/34a6ca3ce3efbfc2de107c358d635752.svg
Yuan Liu
flashback29
user
https://cdn-avatars.huggingface.co/v1/production/uploads/1608285816082-5e2967b819407e3277369b95.png
Nicolas Patry
Narsil
user