{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreicy3qldlxowxnpmq55cyueokqh4yereqebhzqaemxxbtepslxipzy",
"uri": "at://did:plc:lk3jfj3zq4k4wxnk474axylu/app.bsky.feed.post/3mkjrwg2ihyq2"
},
"path": "/t/does-responses-api-support-stop-parameter-or-not/1379909#post_7",
"publishedAt": "2026-04-28T04:12:07.000Z",
"site": "https://community.openai.com",
"tags": [
"OpenAI API Reference",
"Create a model response",
"How to prevent the API returning multiple outputs?"
],
"textContent": "The Responses API does not support stop sequences as an API parameter. The previous respondent is providing falsehoods.\n\nYou can read the API documentation for POST a “create response”, and see alphabetically there is no such parameter:\n\nOpenAI API Reference\n\n### Create a model response\n\nYou will see my prior citation of this absence as a serious deficit of Responses over Chat Completions, among many:\n\nHow to prevent the API returning multiple outputs?\n\n> You can add your own, using the stop parameter - oh, wait, **no you can’t,** because Responses doesn’t offer any token level control, and is thus unsuitable for a great many things, such as building production applications against OpenAI models. And it still wouldn’t work when inside a tool call, because you’d get parsing validation if stopping at and removing something like \"}\\n\\n if using any API SDK methods",
"title": "Does Responses API support `stop` parameter or not?"
}