Same LLM, Different Tone: How System Prompts Shape Model Behavior

    This article explains why the same large language model can sound different across products. It covers how models generate text, why their self-identification and knowledge cutoff statements depend on context, what a system prompt does (persona, capability boundaries, safety rules, and output style), and where the system prompt sits in a request.

    Why the Same LLM Sounds Different

    Similar technology can feel very different across products. Some answers are restrained and rigorous, some are gentle, and some proactively point out their limits. Many people attribute these differences to training data or the model’s “personality.” In engineering practice, however, one of the most direct factors is the system prompt.

    1. What the Model Actually Does

    A large language model’s basic task is to predict the probability distribution of the next token based on existing text, then generate a complete response one step at a time. It has no independent database query capability and no built-in clock. It can only use two kinds of information: statistical patterns formed during training, and all the text in the current context window.

    This determines where many behaviors come from. If a piece of information appears in the context, the model can use it. If it does not, the model can only rely on patterns learned during training.

    2. Why Models Can Give the Wrong Identity

    Suppose a user asks who the model is. Without any additional setting, the model answers with the most common self-introduction pattern in its training corpus. Large volumes of discussions, articles, and chat logs on the internet repeatedly mention certain product names, so the high-frequency answer templates the model learns may point to those names.

    This reflects a statistical distribution, not a technical origin. Treating it as evidence that the model admits where it came from ignores the generation mechanism itself. Determining whether two models have a training relationship requires more direct evidence, such as a statement about training data sources, technical documentation, or a reproducible experimental design. A single self-introduction cannot establish that.

    For engineering teams, the solution is straightforward: write the identity setting explicitly in the input so that the model’s self-description matches the product’s actual situation.

    3. Why Models Mention a Training Cutoff

    The model also does not know what today’s date is. When it says its knowledge is only updated to a certain point in time, this usually means the system prompt contains a relevant instruction. A typical example looks like this:

    1. Current date: YYYY-MM-DD
    2. Your training data ends at a certain point in time. If the user asks about events after that point, state that you cannot confirm them. Do not make up an answer.

    In this case, the model does not independently judge its own knowledge boundary. It follows the instruction in its context. Providing the current date also helps the model distinguish more reasonably between what it knows and what falls outside its time range.

    4. What a System Prompt Is

    A system prompt is a block of instructions that the model receives before the user’s messages. The model’s deployer or product team writes it. Users usually cannot see it, but it affects every turn of the conversation.

    Functionally, a system prompt typically handles four responsibilities.

    1. Persona and Tone

    The system prompt defines the model’s expression style, such as patient, concise, professional, or warm. Tone settings affect word choice, sentence length, and how the model responds to a user’s emotions. The more specific the description, the more consistent the result. “Be friendly” is vague. “First confirm the user’s question, then give advice step by step” is easier to follow.

    2. Capability Boundaries

    The system prompt states what the model can and cannot do. For example, it can limit answers to a specific business domain, or require the model to state its limitations when information is insufficient. Boundary statements reduce the chance of out-of-scope answers, but they cannot replace access control, which the next sections explain.

    3. Safety Rules

    The system prompt specifies how to handle violating, harmful, or sensitive requests. For example, it may instruct the model to decline, offer safe alternatives, or suggest the user consult a professional. Safety rules should clearly separate refusal conditions from scenarios where help is appropriate, so the model does not over-refuse.

    4. Output Style

    The system prompt controls the structure and level of detail in responses. For example, it can require the conclusion first, followed by supporting evidence, or step-by-step reasoning on complex questions before the final answer. Style should match the product context. Customer service scenarios usually call for short, direct answers, while teaching scenarios need fuller explanations.

    System prompts also often include the current date, descriptions of available tools, and output format requirements. This information gives the model its runtime context and helps it answer within the right frame.

    5. Where the System Prompt Sits in a Request

    From an engineering perspective, a conversation request usually consists of several messages. The system message comes first, followed by alternating user and assistant messages. The following is a general example:

    1. messages = [
    2. {
    3. "role": "system",
    4. "content": (
    5. "You are an e-commerce customer service assistant with a patient, concise tone. "
    6. "Only answer questions related to orders, shipping, and after-sales service. "
    7. "When you are uncertain, explain the situation and suggest the user contact human customer service."
    8. ),
    9. },
    10. {"role": "user", "content": "My package has not updated for three days. What should I do?"},
    11. ]
    12. # Submit messages together with the model parameters to the inference API, which returns the assistant's reply.

    When generating each token, the model considers the complete message sequence.