Skip to content
Book a conversation

System message

Understand system messages, documented instruction priority, and why message roles must be checked for the particular interface and model.

Luiz GardelinUpdated Read in Markdown
All terms

A conversation about your organization.

Before recommending any tool, we talk with your teams and map how the work really happens.

Arrange a conversation
On this pageIntroduction

Also used as: system prompt, system instruction.

A system message is a way to provide instructions that guide a model's behavior in interfaces offering that role. In OpenAI's Chat Completions reference, the role named system contains developer-provided instructions intended to guide the model even when user messages are present. This is a definition for a particular interface, rather than an identical rule for every provider. Source: OpenAI, Chat Completions reference.

Message role and priority

A message's content and its role are different things. An instruction may specify a task's purpose, format, or limits; the role determines how it is presented in the interaction. Writing “system instruction” inside a user's request does not technically assign the corresponding role to that message.

OpenAI's Responses reference documents that instructions with the system or developer role take precedence over user instructions. That passage does not establish the relative priority of system and developer. Source: OpenAI, Responses reference.

Supported roles also vary. The reasoning best practices documentation states that, starting with o1-2024-12-17, those models use developer rather than system messages. The documentation for the interface and model in use must therefore be checked. Source: OpenAI, reasoning best practices.

Hypothetical example and operational limit

A team builds an assistant to organize internal requests. Behavioral instructions could require the result to separate the activity, owner, and deadline, explicitly identifying missing information. Each person's particular request would arrive as a user message, using the role accepted by the chosen interface.

The team should test whether fields remain correct when requests are incomplete or contain conflicting instructions. Documented priority is an intended behavior rule; it does not prove that every response will follow the instructions.

A system message should therefore be treated as part of prompt engineering. It does not replace output validation or application controls governing information access and action execution. Responsibilities in the process need to exist outside the text sent to the model as well.

Sources

  1. OpenAI API reference: Create chat completion OpenAI

    Definition and hierarchy are limited to the documented OpenAI interfaces. No system/developer ordering or guaranteed compliance is inferred.

  2. OpenAI API reference: Responses OpenAI
  3. OpenAI: Reasoning best practices OpenAI

Written by

Luiz Gardelin

Founder and lead consultant at The Company Brain

Luiz Gardelin is the founder and lead consultant at The Company Brain, an AI organizational transformation consultancy based in Brazil. He also founded Webinhood and Tropk.ai.

See all content by this author

A conversation about your organization.

Before recommending any tool, we talk with your teams and map how the work really happens.

Arrange a conversation

Related terms

Continue reading

All resources