# Rate Limiting and Sleep Mode

### Rate limiting

By default stack `create chat session` & `chat`  API has the following rate limit.

* An application can handle 40 requests per minute
* A user can make 4 requests per minute

These limits are added to make sure the application works smoothly for all users.

### Sleep Mode

To use the resources efficiently GenAI Stack apps automatically go into sleep mode if it's not used for the last 60 mins.

If the app is in sleep mode you will see the following UI:

<figure><img src="https://3489179498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjlRjmrZThWiLNO9xTu9d%2Fuploads%2FxY0sYJzkvOTcyy7Nd1pI%2FScreenshot%202024-04-09%20at%203.40.37%20PM.png?alt=media&#x26;token=cdce3dca-a9f1-42db-b002-0601a6d4576e" alt=""><figcaption><p>sleep mode</p></figcaption></figure>

Click on the W**ake Up** button to activate the app.

**Note**: If you want to use the GenAI Stack API contact us at `tech@aiplanet.com` to increase the rate limit & to remove the sleep mode.
