# HF Inference Endpoints Difference between Max Input Length per Query and Max Token Length per Query

**URL:** <https://discuss.huggingface.co/t/hf-inference-endpoints-difference-between-max-input-length-per-query-and-max-token-length-per-query/101636>\
**Category:** Inference Endpoints on the Hub\
**Created:** [August 9, 2024, 9:49am UTC](https://discuss.huggingface.co/t/hf-inference-endpoints-difference-between-max-input-length-per-query-and-max-token-length-per-query/101636 "2024-08-09T09:49:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fast-digital-office](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/fast-digital-office/32/30346_2.png) [@fast-digital-office](https://discuss.huggingface.co/u/fast-digital-office)\
**Post date:** [August 9, 2024, 9:49am UTC](https://discuss.huggingface.co/t/hf-inference-endpoints-difference-between-max-input-length-per-query-and-max-token-length-per-query/101636/1 "2024-08-09T09:49:34Z")

</div>

Can anyone explain the difference?

---

<div class="post-metadata">

**Author:** ![fast-digital-office](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/fast-digital-office/32/30346_2.png) [@fast-digital-office](https://discuss.huggingface.co/u/fast-digital-office)\
**Post date:** [September 23, 2024, 1:12pm UTC](https://discuss.huggingface.co/t/hf-inference-endpoints-difference-between-max-input-length-per-query-and-max-token-length-per-query/101636/2 "2024-09-23T13:12:30Z")

</div>

Found it – these are explained in more detail in the TGI documentation [here](https://huggingface.co/docs/text-generation-inference/en/reference/launcher)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/hellohellohello/original/2X/d/de4155eb4aa4108ecb32a1389d7cc37ae69f88b7.png) [@system](https://discuss.huggingface.co/u/system)\
**Post date:** [September 24, 2024, 1:12am UTC](https://discuss.huggingface.co/t/hf-inference-endpoints-difference-between-max-input-length-per-query-and-max-token-length-per-query/101636/3 "2024-09-24T01:12:38Z")

</div>

Closed on September 24, 2024, 1:12am UTC

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.
