# Inference API - Response of Higher Length

**URL:** <https://discuss.huggingface.co/t/inference-api-response-of-higher-length/5688>\
**Category:** Beginners\
**Created:** [April 22, 2021, 2:58pm UTC](https://discuss.huggingface.co/t/inference-api-response-of-higher-length/5688 "2021-04-22T14:58:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cristivlad](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/cristivlad/32/1542_2.png) [@cristivlad](https://discuss.huggingface.co/u/cristivlad)\
**Post date:** [April 22, 2021, 2:58pm UTC](https://discuss.huggingface.co/t/inference-api-response-of-higher-length/5688/1 "2021-04-22T14:58:50Z")

</div>

How can increase the max\_length of the reponse from the inference api for values higher than 500? Is this limit set for all models or only just for some?
