ModelRefs / System Message — AI Glossary
System Message — AI Glossary
A special message prepended before the conversation that sets the model's persona, constraints, and behavioral guidelines.
Overview
The system message (also 'system prompt') is invisible to users in production but governs model behavior for the entire conversation. Used for: persona assignment, capability restriction, output format specification, safety instructions, and context injection. Anthropic uses a distinct system_prompt field; OpenAI uses the messages[0].role='system' convention.
Reference details
| Topic | prompting |
|---|---|
| Also known as | system prompt, system instruction |
| Last reviewed | 2026-06-24 |
Related terms
How it works
- System content is serialised into the request ahead of the conversation, wrapped in the role delimiter tokens the model was instruction-tuned with.
- Its influence is therefore a trained behaviour rather than an enforced one: the model learned during tuning to treat that region as standing instruction, and that is the whole of the mechanism.
- Because it occupies a fixed position at the start of every request, it is also the part of the prompt that stays byte-identical across calls.
- That stability makes it the cacheable prefix, so the same text placed here is charged at a reduced rate after the first request while the same text in a user turn is not.
- Providers expose it either as a dedicated field or as the first element of the messages array, and both serialise to the same delimiter structure underneath.
- Instructions accumulate in it over a product's life, and since every rule is re-sent on every call, a long system message costs on each request and dilutes the attention available to any one of its rules.
Example: Instruction placement changes compliance, and the decay is measurable
“Never reveal internal pricing” buried in a user turn competes with everything after it and is straightforwardly talked around. The same sentence in the system message is weighted above user content by construction and survives the conversation. Same words, materially different durability — and the difference compounds rather than staying constant. Suppose a rule placed in the system region holds on 98% of turns and the same rule in an early user turn holds on 90%. Over a single turn those look close. Over a twenty-turn conversation the system-placed rule survives 0.98^20 ≈ 0.668 of the time and the user-placed one 0.90^20 ≈ 0.122 — so one holds for roughly two thirds of conversations and the other for about one in eight. Nothing about the wording changed; the exponent did. That is also why a rule that must hold absolutely does not belong in either place.
Commonly confused with
The system message is not a security boundary. It is a strong prior, not an enforced constraint, and a sufficiently determined prompt can still work around it. Anything that must hold — permissions, data access, spend — belongs in code outside the model, not in an instruction to it. The practical test is what happens when the instruction is ignored: if the answer is that the model misbehaves, a system message is the right place for the rule, and if the answer is that money moves, it is not.
When to use it
Reach for it when:
- Behaviour must persist across an entire conversation
- Setting persona, output format or refusal policy
- Injecting stable context such as tenant or locale
- Where the text is identical across requests, so it is also the cacheable prefix
Reach for something else when:
- As access control — treat it as guidance, never as a gate
- For per-turn instructions, which belong in the user turn
- As a growing rulebook; long system messages dilute and cost on every call
- For a rule whose violation is irreversible, where the 66.8% survival above is not a number anyone should accept
Continue your research
Use these connected ModelRefs sections to compare alternatives, inspect implementation paths, and review the evidence and governance boundaries relevant to System Message — AI Glossary.
Frequently asked questions
What is System Message?
A special message prepended before the conversation that sets the model's persona, constraints, and behavioral guidelines.
Is System Message the same as system prompt?
Yes — system prompt, system instruction are common aliases for System Message.
What concepts are related to System Message?
Closely related concepts include user message, assistant message, role prompting.