What is the purpose of stop sequences in a Claude API request?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Stop sequences are 'halt if you see this string' — handy for custom delimiters and formats.
Full explanation below image
Full Explanation
stop_sequences end generation upon emitting listed strings. They are not billing, region, or ban controls.