Skip to content
Ask Sera Search
Ask SeraAnswers from our guides, research and news Search
Learn
Guides
Research
Sectors
Platforms
News
Tools
About

What is zero-shot prompting?

Zero-shot prompting gives a model only an instruction for a task, with no examples. OpenAI suggests trying it first with reasoning models.

In short. Zero-shot prompting is giving a model only an instruction for a task, with no examples of the expected output. The 2020 GPT-3 paper called it the most convenient setting and also the most challenging one. Instruction tuning later made models much better at it. OpenAI suggests trying zero-shot prompts first with reasoning models, while Google recommends examples for Gemini.

On this page 6 sections

The evidence

  • Tested:

    On the TriviaQA benchmark, GPT-3 scored 64.3% with no examples, 68.0% with one example and 71.2% with few-shot prompts.1arXiv, May 28, 2020. Closed-book question answering

  • Observed:

    FLAN, a 137 billion parameter model tuned on more than 60 tasks written as instructions, beat zero-shot GPT-3 with 175 billion parameters on 20 of 25 tasks.5arXiv, Sep 3, 2021

  • Observed:

    Adding "Let's think step by step" before each answer raised the zero-shot accuracy of OpenAI's text-davinci-002 on MultiArith from 17.7% to 78.7%, and on GSM8K from 10.4% to 40.7%.6arXiv, May 24, 2022

  • Confirmed:

    OpenAI says reasoning models often do not need few-shot examples, and recommends writing prompts without examples first.4OpenAI API documentation. Checked Dec 1, 2026

Confirmed by the platformTestedObserved in data

A plain question typed into an AI assistant, with no examples of the answer, is a zero-shot prompt. Research on instruction tuning showed that training a model on tasks written as instructions makes it better at such prompts.

#How does zero-shot prompting work?

The prompt states the task and nothing else. Language Models are Few-Shot Learners, the 2020 GPT-3 paper, defines the zero-shot setting as one where no demonstrations are allowed and the model is only given a natural language instruction. The paper says this gives maximum convenience but is also the most challenging setting.1

The paper's own example shows the problem. A request to "make a table of world records for the 200m dash" leaves the format and contents of the table unclear. For some tasks, such as translation, the paper says zero-shot is closest to how people perform tasks, because a person would know what to do from the instruction alone.1 On TriviaQA, GPT-3 scored 64.3% zero-shot and 71.2% with a few examples.1

#Why did models get better at zero-shot prompting?

Training on instructions made the difference. Finetuned Language Models Are Zero-Shot Learners, a 2021 paper, tuned a 137 billion parameter model on more than 60 tasks written as natural language instructions. The result, FLAN, beat zero-shot GPT-3 on 20 of the 25 tasks tested.5 What is fine-tuning an LLM? covers this kind of further training.

The wording of a zero-shot prompt also matters. Large Language Models are Zero-Shot Reasoners, a 2022 paper, added "Let's think step by step" before each answer. With OpenAI's text-davinci-002, accuracy on the MultiArith math benchmark rose from 17.7% to 78.7%.6

#When should you use zero-shot prompting?

Providers disagree on the default. OpenAI's reasoning best practices say reasoning models often do not need examples, so prompts should start without them. Examples can follow if the output has complex requirements.4 Google's prompt design guide for Gemini recommends always including few-shot examples and says prompts without them are likely to be less effective.3

Google's machine learning glossary shows the trade-off. Its zero-shot prompt asks for the official currency of India. Rupee, INR, ₹ and The Indian rupee are all correct answers, though a user might prefer one format.2 An example in the prompt would fix the format. What is few-shot prompting? covers that method, and How to test AI search visibility with prompts covers the plain questions that visibility tests send.

Read next

Related terms

Questions

What is an example of a zero-shot prompt?

Google's machine learning glossary gives a prompt that asks for the official currency of India, with no example answer. The model might answer Rupee, INR, ₹ or The Indian rupee. All are correct, but the format is not fixed, which is what examples would add.

When should I use zero-shot instead of few-shot prompting?

It depends on the model. OpenAI suggests trying zero-shot prompts first with reasoning models and adding examples for complex output requirements. Google recommends always including examples in Gemini prompts, and says prompts without them are likely to be less effective.

What is zero-shot chain-of-thought?

It is a zero-shot prompt that asks the model to reason before it answers. A 2022 paper added "Let's think step by step" before each answer and raised accuracy on math benchmarks, for example from 17.7% to 78.7% on MultiArith. OpenAI says reasoning models reason internally, so this instruction is unnecessary for them.

About this page

Researched and reviewed by Promptly Found. Reviewed Dec 1, 2026. Next review due Mar 2027.

Notes

  1. 1
    Language Models are Few-Shot LearnersarXiv · May 28, 2020 · Checked Dec 1, 2026 · Paper
  2. 2
    Machine Learning GlossaryGoogle for Developers · Checked Dec 1, 2026 · Primary source
  3. 3
    Prompt design strategiesGemini API documentation · Checked Dec 1, 2026 · Primary source
  4. 4
    Reasoning best practicesOpenAI API documentation · Checked Dec 1, 2026 · Primary source
  5. 5
    Finetuned Language Models Are Zero-Shot LearnersarXiv · Sep 3, 2021 · Checked Dec 1, 2026 · Paper
  6. 6
    Large Language Models are Zero-Shot ReasonersarXiv · May 24, 2022 · Checked Dec 1, 2026 · Paper
Cite this page
Citation style

Promptly Found. (2026, December 1). What is zero-shot prompting? https://promptlyfound.com/glossary/zero-shot-prompting

Revisions 1
First published.