# Usage limit based on compute time

**URL:** <https://discuss.konghq.com/t/usage-limit-based-on-compute-time/213>\
**Category:** Feature Requests & Feedback\
**Created:** [December 15, 2017, 5:33am UTC](https://discuss.konghq.com/t/usage-limit-based-on-compute-time/213 "2017-12-15T05:33:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![arvi](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@arvi](https://discuss.konghq.com/u/arvi)\
**Post date:** [December 15, 2017, 5:33am UTC](https://discuss.konghq.com/t/usage-limit-based-on-compute-time/213/1 "2017-12-15T05:33:23Z")

</div>

Do you have plans to support API usage limiting based on query prosessing compute time etc. usage?

---

<div class="post-metadata">

**Author:** ![Tieske](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/tieske/32/54_2.png) [@Tieske](https://discuss.konghq.com/u/Tieske)\
**Post date:** [December 15, 2017, 8:32am UTC](https://discuss.konghq.com/t/usage-limit-based-on-compute-time/213/2 "2017-12-15T08:32:05Z")

</div>

Can you provide more details of how you think this should work exactly?

---

<div class="post-metadata">

**Author:** ![arvi](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@arvi](https://discuss.konghq.com/u/arvi)\
**Post date:** [December 16, 2017, 8:31am UTC](https://discuss.konghq.com/t/usage-limit-based-on-compute-time/213/3 "2017-12-16T08:31:00Z")

</div>

API requests may have huge differences how much those load/stress upstream server. If server could return numeric load value (HTTP header), API gateway could limit following requests based on previous load and load limits.

---

<div class="post-metadata">

**Author:** ![Tieske](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/tieske/32/54_2.png) [@Tieske](https://discuss.konghq.com/u/Tieske)\
**Post date:** [December 16, 2017, 9:58am UTC](https://discuss.konghq.com/t/usage-limit-based-on-compute-time/213/4 "2017-12-16T09:58:35Z")

</div>

Response rate-limiting? see: [https://getkong.org/plugins/response-rate-limiting/](https://getkong.org/plugins/response-rate-limiting/)

---

<div class="post-metadata">

**Author:** ![arvi](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@arvi](https://discuss.konghq.com/u/arvi)\
**Post date:** [December 16, 2017, 10:30am UTC](https://discuss.konghq.com/t/usage-limit-based-on-compute-time/213/5 "2017-12-16T10:30:30Z")

</div>

That’s it. Thank you!
