Zero-Shot Prompting
Zero-shot prompting is an instruction without an example. When that's enough, and when one example helps more than an even more precise wording.
What zero-shot prompting means
Zero-shot prompting means you give the model a task, no example and no template. The prompt consists of the instruction alone. "Zero shot" stands for zero demonstration examples, one-shot gives one, few-shot prompting several.
If you write "Summarize this text in three sentences" and don't attach a sample summary, that's zero-shot. The model has to understand what you want from the wording alone, and know from its training what a good summary looks like.
That's what the technique relies on. A model like GPT-5 or Claude has seen billions of texts during training, including countless translations, summaries and classifications. These patterns live in the model, not in the prompt. The trio of zero-shot, one-shot and few-shot was established by OpenAI's GPT-3 paper from 2020.
Why zero-shot is often the more pragmatic choice
A zero-shot prompt is written in one sentence. A good few-shot prompt first needs two or three fitting examples that you have to come up with or dig out.
Then there's the price. Every example counts as a token and gets sent again with every request. For one request that doesn't matter, at ten thousand a day it's a cost factor.
And if you can't find a really fitting reference case, a bad example confuses the model more than it helps. Zero-shot avoids that, because it doesn't need one at all.
Where it's enough and where it tips over
Zero-shot fits tasks the model has seen often during training: summarizing, translating, sentiment detection, sorting into a few fixed categories. For a sentiment analysis, "Classify the following text as positive, negative or neutral" is enough. The model recognizes "damaged" as a negative feature without you having shown it beforehand what a negative review looks like.
It tips over with very specific output formats. "Respond only in JSON, exactly in this schema" gets followed less reliably in zero-shot mode, because without a template the model has to decide for itself how strictly "exactly" is meant. The same goes for an unusual tone.
In between sits one-shot with a single example. If you want a product description with a particular structure, one sample description is usually enough for the model to pick up length and layout. Custom GPTs are also basically built on zero-shot: the system prompt usually contains no examples, just a very precise description of the task.
What helps before you switch to few-shot
Without an example there's no safety net. On specialized topics a model is then more prone to hallucinations, and the results vary more, because there's more room for interpretation. Four things catch that.
Precise verbs narrow the room for interpretation, so "analyze", "categorize" or "extract" instead of "take a look at this". A clear role assignment works similarly and activates a narrower slice of the model's knowledge. Adding "Think step by step" helps with logic tasks, because it forces the model to write out intermediate steps. This technique is called zero-shot chain-of-thought and was studied in the paper by Kojima et al. from 2022. And a clearly named output format gives you more consistent results than leaving it to the model.
That's why, for me, prompt engineering almost always starts with zero examples. Once you've gone through the basics of prompting, you quickly notice that most everyday prompts are zero-shot.
Back to the AI and Automation Glossary.
FAQ
- Do I need a particularly perfect wording for zero-shot prompting?
- Not perfect, but precise. Without an example the instruction carries the whole load, so it pays to use clear verbs and name the format you want. A vague instruction like "Write something about X" gets you a vague average, because the model has nothing else to go on to guess what you want. If you sharpen the instruction, you often get a usable result without a single example.
- Is a normal question to ChatGPT already zero-shot prompting?
- Usually, yes. As soon as you ask a question or set a task without first showing the model what the answer should look like, it's technically zero-shot. Most chats with a language model work this way, because most everyday questions don't need examples to be understood.
- When is it worth switching from zero-shot to few-shot?
- When the result still misses the format or the tone after several attempts with clearer wording. One example shows the model in a sentence what a page-long description can't. The switch pays off especially for fixed data formats like JSON or for a very specific writing style that the instruction alone doesn't pin down clearly.

Eric Hinzpeter
Eric Hinzpeter, Senior B2B Content Strategist. He builds AI agents and marketing automation for production use and writes up what comes out of it here.
Related terms
Few-Shot Prompting
Two to five examples show the model the pattern. The point where more examples stop helping and just eat up space in the context window.
Prompt Engineering
Why two people give the same model the same task and get completely different results: it's almost never the model, it's almost always the prompt.
Prompt
What a prompt is, why its wording decides the quality of the result, and how to build one from four basic building blocks.