# System Prompt

- **Canonical URL:** https://getaimath.com/dictionary/system-prompt/
- **Topics:** [LLM Fundamentals](https://getaimath.com/dictionary/category/llm-fundamentals/)
- **Last updated:** 2026-11-25

## What is System Prompt?

**In one sentence:** A system prompt is a set of hidden instructions given to an AI model before the conversation starts, to shape how it behaves.

It works like a job description for the AI. It can set the tone, the rules, the role and what to avoid, such as "You are a friendly math tutor for kids. Never give the final answer right away." Users usually do not see it, but it affects every reply.

![How ChatGPT & Claude Talk: Super-Powered Autocomplete — Simple cartoon diagram showing a sentence chopped into Lego word blocks (tokens), an AI brain weighing the odds of the next word ("mat" 75%, "couch" 18%, "roof" 5%), and snapping "mat" onto the end of the sentence.](https://getaimath.com/diagrams/llm-fundamentals.png)
*Napkin Diagram (LLM Fundamentals): Language models don’t plan whole essays at once—they play a super-smart game of "guess the very next word" over and over.*

## What is an example of System Prompt?

A customer-support bot's system prompt might tell it to only discuss the company's products and to always be polite.

## Why does System Prompt matter?

System prompts are how apps turn a general model into a specific assistant.

## Related Concepts

- [Output Tokens](https://getaimath.com/dictionary/output-tokens/): Output tokens are the tokens the model generates in its reply.
- [User Prompt](https://getaimath.com/dictionary/user-prompt/): A user prompt is the message a person types to an AI model, like a question or a request.
- [Input Tokens](https://getaimath.com/dictionary/input-tokens/): Input tokens are the tokens you send to a model, including your prompt, instructions and any documents.
- [Assistant Message](https://getaimath.com/dictionary/assistant-message/): An assistant message is a reply written by the AI model in a conversation.
- [Context Length](https://getaimath.com/dictionary/context-length/): Context length is the number of tokens a model can handle at once, or how many tokens are currently being used.
- [Prompt Engineering](https://getaimath.com/dictionary/prompt-engineering/): Prompt engineering is the skill of writing and arranging instructions so an AI model gives the best possible answers.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/system-prompt/)
