Project5 minutes to read

What a prompt is in AI, and why it's more than your question

A prompt is everything an AI model reads before it answers. See what goes into it, explained with a note handed to a cook in a kitchen.

Picture a cook in a kitchen with a hatch in the wall. The cook never sees the dining room. They don't know who you are, what you ordered last time, or what you said to the waiter a minute ago. Everything they know about your meal is written on a slip of paper pushed through that hatch.

That slip of paper is the best picture we know of a prompt. Keep it in mind, because the rest of this post is about what's written on it.

The short meaning

In AI, a prompt is the whole text a language model receives before it starts writing. You type a line. The program you're using wraps that line in more text, and the model reads all of it as one long piece. Then it carries on from the end, one piece of a word at a time. Those pieces are called tokens.

So your question and the prompt are two different things. Your question is the line you typed. The prompt is the whole note the cook gets. Your line is usually the last thing on it, and often the shortest.

What's written on the note

Open up the note behind an ordinary chat and you'd usually find these things, roughly in this order.

  • House rules. Most chat programs put instructions at the top that you never see. They might say how to behave, what tone to take, or what the program is for. This part is often called the system prompt.
  • Everything said so far. Every question you asked and every answer you got in this chat, copied out again.
  • Anything you attached. If you pasted a document or the program read a file for you, its text goes onto the note too.
  • Labels for who spoke. Small markers that say "this bit is the person" and "this bit is the assistant". The pattern of these markers is called a chat template, and each family of models expects its own.
  • Your latest line. At the bottom.

The note then stops at the exact spot where the assistant's reply should begin. The cook picks up the pen and writes from there.

Why the cook needs the whole conversation every time

Here's the part that surprises most people. The model keeps no memory from one answer to the next. Each note is read fresh, by a cook who has never seen you before.

A chat feels like a conversation because the program does the remembering. Every time you send a new line, it copies the entire chat so far onto a new note and hands that over. The cook reads the lot, from the house rules to your last word, and only then starts writing.

This also explains why a very long chat can seem to forget how it began. The hatch is only so wide. A model can read a limited amount of text at once, called its context window. When a conversation outgrows it, the program has to leave the oldest parts off the note or squeeze them into a shorter summary. The cook isn't being careless. That part of the order simply never reached the kitchen.

What a prompt isn't

A prompt isn't an order that a machine carries out to the letter. Write "something light" on a note to a cook and they still have to guess what you meant. A model does the same kind of guessing. It writes what usually follows text like yours, based on everything it saw while it was trained.

A prompt isn't training, either. The cook learned to cook long before your note arrived, and nothing you write changes their recipe book. The model's learned numbers (its weights) stay exactly as they were. When the chat ends, the note is set aside, and the next note starts from nothing.

And a prompt isn't a spell. There are no secret words that make a model cleverer. A note that says clearly what you want, with the background the cook needs, gets a better meal than a short one stuffed with tricks. How to write that clear note is a subject for another post.

Why the whole note matters to you

Once you see the prompt as the whole note, some odd things start to make sense.

The same question can get different answers in two different chats. Your line was the same, but the notes weren't. One had a long conversation above it, the other had none, and the house rules may have differed too.

A correction early in a chat keeps shaping answers much later. It's still on the note, every time.

Pasting a long document makes you wait before the first word appears. The cook has to read the whole note before writing anything, and a longer note takes longer to read. Once the writing starts, it's a different story. In DeepNile's Lab we once wrote down that each step of writing gets longer as a conversation grows. When we timed steps at the start and at the end of a long conversation, it didn't. That correction sits in the Lab's list of things we got wrong, at deepnile.org/lab.org.

If you run an open model on your own computer, many tools will let you look at the full text that goes in, template markers and all. It's worth one look. Seeing your short question sitting at the bottom of a much longer note changes how you think about the replies.

The note on a network of home computers

DeepNile is a network of ordinary computers in people's homes that run large open AI models together. When this was written, in November 2026, the program was not released yet and the network was not open, so what follows is how it's planned to work.

A big open model needs more fast memory than one home graphics card has, so the program will cut the model into parts and put each part on a different computer. Back in the kitchen, it's as if the cooking were split between several cooks along a line. The note is read through all the parts in order, and for every piece of the answer, the work goes through every computer that holds one.

That makes it worth knowing what's on the note before you send it. The program will try your own computers first, then your friends', and only then other members'. Our privacy notice says this about the text of your questions and answers: "On your own devices and your friends' devices, it stays among them." And for the public network: "On the public Network, other members' computers process the text of your questions. That is how a shared network works. Do not send anything sensitive there. Use your own devices for private work."

Remember that the text of your questions means the whole note, which includes the earlier conversation and anything you attached, and the notice treats files the same way, in its own words: "handled like the text of your questions."

The full account of how a question travels from your keyboard through the parts of a model and back is on How DeepNile works.

More about the Project

All posts about the Project