External Publication
Visit Post

Does gpt 5.4 not support "stop" sequences with the chat.completions api?

OpenAI Developer Community April 1, 2026
Source

Actually, there is a stop parameter:

OpenAI API Reference

Create chat completion

Up to 4 sequences where the API will stop generating further tokens. The returned text will not contain the stop sequence.

What behavior are you seeing?

Discussion in the ATmosphere

Loading comments...