OpenAI Developer Community
Can I set max_tokens for chatgpt turbo?
API
ruby_coder
March 2, 2023, 11:25pm
17
That is my experience as well.
max_tokens
causes a STOP based on reason “length”.
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Max_tokens seems to do nothing for me 3.5 Turbo
API
14
3539
December 18, 2023
Is there a way to set a character limit (not a token limit) to OpenAI's Responses API?
API
responses-api
7
389
August 24, 2025
Creating Concise AI Replies in Short Interactions without max_tokens
Prompting
prompt
,
prompt-engineering
,
api-output-length
10
2677
March 12, 2024
MAX TOKENS is 4,096 tokens for gpt-3.5-turbo should fit the the messages sent and the answer generated?
API
api
10
6268
December 18, 2023
Struggling with max_tokens and getting responses within a given limit, please help!
API
chatgpt
5
22860
October 28, 2023