Back to glossary
AI GLOSSARY
Stop Token
Large Language Model (LLM) Terms
A special token that signals to a language model that it should stop generating output. Stop tokens define the end of a response and prevent the model from continuing indefinitely. Developers can also specify custom stop sequences to terminate generation when particular strings appear, useful for enforcing output formats or preventing runaway completions.