Prompts & AI use

User Prompt

AI-assisted editorial review:

A user prompt is the question or instruction that a person types into a conversation with a large language model (LLM) such as ChatGPT or Claude, turn by turn. In chat APIs it is sent as a message with the "user" role, separate from the system or developer instructions that the application sets in advance.[3][4]

What does User Prompt mean in simple terms?

The user prompt is the line or paragraph you type into the chat box. If the system prompt is the manual a company hands a new employee, the user prompt is the task a manager gives that employee on a given day. For example, the application may set "always answer politely" in advance, and the user then sends "Summarize this document in three lines." The model combines both to write its answer. OpenAI compares the two to a function and its arguments: developer messages hold the rules and business logic, and user messages supply the input those rules are applied to.[3] This is why the same model can give answers of very different quality depending on how you ask.

How can User Prompt be explained with an analogy?

It is not the job description but the work request that lands on your desk each day.

Where is User Prompt used?

Case 1

OpenAI — Role-separated messages become the API standard

When OpenAI opened the GPT-3.5 Turbo API in March 2023, it explained that earlier GPT models consumed unstructured text, while the ChatGPT models consume a sequence of messages with metadata.[1] Under the hood, the format (ChatML) marks each message as system, user or assistant, and OpenAI noted that showing the source of each piece of text helps the model tell which instructions come from the developer and which from the user.[2] Today OpenAI's docs describe developer messages as instructions from the application developer, prioritized ahead of user messages from the end user.[3]
Result: Each turn in a conversation is labelled by role, so user input can be handled separately from the developer's standing rules.[2][3]

Case 2

Anthropic Claude — A separate field for system instructions

In Anthropic's Messages API, standing instructions go in a top-level system field, and the messages list holds the user and assistant turns. Because the API is stateless, the application resends the full conversation history with each request.[4] On supported Claude models, an application can also add a system message partway through a conversation. Anthropic explains the difference in priority: a user message is treated as coming from the end user, a system message as coming from the application operator, and when they conflict, the system instructions take precedence.[5]
Result: Operator rules and the end user's requests travel in different channels with different authority.[4][5]

Case 3

OpenAI research — Training a priority order between roles

In April 2024, OpenAI researchers published "The Instruction Hierarchy." They argued that a key weakness behind prompt injection is that LLMs often treat a developer's system prompt with the same priority as text from untrusted users and third parties. They trained GPT-3.5 to ignore lower-priority instructions when they conflict with higher-priority ones.[6] The model became much more robust, including against attack types not seen in training, with minimal loss in standard capabilities.[6]
Result: Defense against system prompt extraction improved by 63%, and robustness to some held-out attacks by up to 34% (OpenAI's own evaluation).[6]

Case 4

Internal chatbot — Policy in the system prompt, questions as user prompts (illustrative)

A company building an internal assistant puts fixed policies in the system prompt, such as "answer only from internal documents, reply politely, and cite the source." Every question an employee types arrives as a user prompt. When the company wants to change the tone of all answers, it edits the system side once instead of asking every employee to change how they write. Because the user prompt is still written by people, the team also screens it for attempts to override the rules.[9]
Result: A clear split between standing policy and day-to-day requests makes the assistant easier to manage (illustrative, no measured figures).

Try it today

  1. Send a question to ChatGPT or Claude as one line, then send the same question split into four lines: role, context, request and output format. Compare the answers.
  2. In OpenAI's API playground, send the same user message once without and once with a developer (system) instruction, and compare the results.[3]
  3. In the Claude Console, put "Reply only in English, in no more than three sentences" in the system field, ask a question in another language as the user message, and see which instruction wins.[4][5]
  4. Pick five tasks you do often and save them as user prompt templates, leaving blanks such as {document} or {audience} so you can reuse them.
  5. If you run an internal chatbot or side project, list on one page which instructions belong in the system prompt and which should come from users.

Limits and direction

The user prompt is an externally controlled input in an LLM application. Microsoft calls one class of risk "user prompt attacks": a user tries to bypass system instructions or safety training, for example by telling the assistant to ignore its rules, by role-play, or by encoding.[9] When an application puts retrieved documents, emails or web pages into the conversation, instructions hidden in that content can steer the model; researchers call this indirect prompt injection and showed it working against real systems.[8] Anthropic warns against placing raw tool output or retrieved documents in a system message, because that gives the text operator-level authority.[5] Vague user prompts cause a different problem. In a large simulation study, top models performed on average 39% worse when an underspecified task was spread over several turns than when it was fully stated in one turn; they often made early assumptions and did not recover.[10]

Providers are responding in two ways. One is training models to respect a priority order, with system or developer instructions above user messages and user messages above tool outputs.[6][7] OpenAI's Model Spec says the model should honor user requests unless they conflict with developer, system or root-level instructions, and that root rules cannot be overridden by anyone.[7] The other is separating channels in the API itself: a dedicated system field, and, on supported Claude models, system messages that can be added mid-conversation.[4][5] As RAG and agents spread, a single turn can hold the user's question alongside retrieved text and tool results, so it matters more to keep track of which part came from whom.[8][9]

Which concepts are related to User Prompt?

  • Similar concept
    Prompt VersionA related idea from the same prompt-engineering area: tracking how a prompt changes over time.
  • Similar concept
    Prompt LibraryA related idea from the same prompt-engineering area: storing reusable prompts, including user prompt templates.
  • Similar concept
    Persona PromptingA related idea from the same prompt-engineering area: assigning the model a role, often in the system or user prompt.

Which sources explain User Prompt?

  1. OpenAI — Introducing APIs for GPT-3.5 Turbo and Whisper (2023-03-01, updated 2024-04-24) — https://openai.com/index/introducing-chatgpt-and-whisper-apis/
  2. OpenAI (openai-python) — Chat Markup Language (ChatML) preview (2023) — https://github.com/openai/openai-python/blob/120d225b91a8453e15240a49fb1c6794d8119326/chatml.md
  3. OpenAI API docs — Text generation: Message roles and instruction following — https://developers.openai.com/api/docs/guides/text
  4. Anthropic — Using the Messages API — https://platform.claude.com/docs/en/build-with-claude/working-with-messages
  5. Anthropic — Mid-conversation system messages and tool changes — https://platform.claude.com/docs/en/build-with-claude/mid-conversation-system-messages
  6. Wallace et al. (OpenAI), arXiv — The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructions (2024-04-19) — https://arxiv.org/abs/2404.13208
  7. OpenAI — Model Spec (2025-12-18) — https://model-spec.openai.com/2025-12-18.html
  8. Greshake et al., arXiv — Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection (2023-02-23, v2 2023-05-05) — https://arxiv.org/abs/2302.12173
  9. Microsoft Learn — Prompt Shields in Azure AI Content Safety (updated 2026-09-18) — https://learn.microsoft.com/en-us/azure/ai-services/content-safety/concepts/jailbreak-detection
  10. Laban et al., arXiv — LLMs Get Lost In Multi-Turn Conversation (2025-05-09) — https://arxiv.org/abs/2505.06120