Skip to content

What is System Prompt?

A system prompt is the initial set of instructions given to an AI model that defines its overall behavior, role, rules, and tone for the conversation.

It acts as the hidden foundation that guides how the model interprets and responds to all later user messages, without being visible to the end user.

Unlike user prompts, which change with each query, the system prompt stays constant and sets constraints such as style, safety rules, or persona.

Developers use it to customize model behavior for specific applications while keeping the underlying model weights unchanged.

Example

A system prompt might say: 'You are a friendly math tutor who explains concepts simply and never gives direct answers without showing steps.' This makes the AI respond consistently in that role.

Why it matters

System prompts let companies and developers control AI behavior reliably at scale, enabling safe, branded, and task-specific applications without retraining models.

Frequently asked questions

A system prompt sets permanent rules and persona at the start, while user messages are individual queries that follow those rules.