Special token
A reserved token that marks structure rather than text, such as the end of a document or the start of a user's turn.
Also: control token
Besides ordinary word pieces, a vocabulary includes tokens with a job to do. One marks the end of a text, telling the model to stop writing. Others mark where a system prompt, a user message or the assistant's reply begins, which is how a chat template turns a conversation into a single stream. Some models add special tokens for tool calls, images or hidden reasoning. Because users can sometimes type text that looks like these markers, handling them carefully is part of defending against prompt injection.