# OpenAI response cutting off early

**URL:** <https://community.glideapps.com/t/openai-response-cutting-off-early/64189>\
**Category:** Ask for Help\
**Created:** [July 20, 2023, 8:36pm UTC](https://community.glideapps.com/t/openai-response-cutting-off-early/64189 "2023-07-20T20:36:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkang](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@dkang](https://community.glideapps.com/u/dkang)\
**Post date:** [July 20, 2023, 8:36pm UTC](https://community.glideapps.com/t/openai-response-cutting-off-early/64189/1 "2023-07-20T20:36:37Z")

</div>

Hi! Wondering if anyone here has run into the issue with OpenAI/GPT 3.5 responses cutting off early (~200 words). This is happening to me across multiple surfaces on my platform (i.e. auto-reply generated from data input fields and chatbot-based features). When I ask the chatbot to complete its response, it will continue but will again cut off if the remaining response is still too long. Started happening about a week ago, and don’t believe it’s anything I changed on my end.

Using gpt-3.5-turbo-16k with temperature = 0.5 and frequency = 0.8, no maximum length.

Any ideas?

---

<div class="post-metadata">

**Author:** ![Joe\_Gabriele](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/joe_gabriele/32/57595_2.png) [@Joe\_Gabriele](https://community.glideapps.com/u/Joe_Gabriele)\
**Post date:** [July 20, 2023, 9:23pm UTC](https://community.glideapps.com/t/openai-response-cutting-off-early/64189/2 "2023-07-20T21:23:02Z")

</div>

Have you tried increasing the tokens to max?

---

<div class="post-metadata">

**Author:** ![dkang](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@dkang](https://community.glideapps.com/u/dkang)\
**Post date:** [July 20, 2023, 9:50pm UTC](https://community.glideapps.com/t/openai-response-cutting-off-early/64189/3 "2023-07-20T21:50:36Z")

</div>

Just tried this — looks like it’s working! Had max\_tokens set to 2048 when it was working and through to when it wasn’t, so didn’t think that was the issue. Hadn’t thought to just max it out.

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [July 21, 2023, 9:51pm UTC](https://community.glideapps.com/t/openai-response-cutting-off-early/64189/4 "2023-07-21T21:51:35Z")

</div>

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