# 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.

Canonical: https://promptlyfound.com/glossary/zero-shot-prompting
Updated: 2026-12-01

## Short answer

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.

## Key findings

- On the TriviaQA benchmark, GPT-3 scored 64.3% with no examples, 68.0% with one example and 71.2% with few-shot prompts. [1]
- 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. [5]
- 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%. [6]
- OpenAI says reasoning models often do not need few-shot examples, and recommends writing prompts without examples first. [4]

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](https://arxiv.org/abs/2005.14165), 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](https://arxiv.org/abs/2109.01652), 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?](https://promptlyfound.com/glossary/fine-tuning) covers this kind of further training.

The wording of a zero-shot prompt also matters. [Large Language Models are Zero-Shot Reasoners](https://arxiv.org/abs/2205.11916), 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](https://developers.openai.com/api/docs/guides/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](https://aistudio.google.com/docs/prompting-strategies) 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](https://developers.google.com/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?](https://promptlyfound.com/glossary/few-shot-prompting) covers that method, and [How to test AI search visibility with prompts](https://promptlyfound.com/measurement/ai-visibility-prompts) covers the plain questions that visibility tests send.

## Sources

1. Language Models are Few-Shot Learners. arXiv, 2020-05-28. https://arxiv.org/abs/2005.14165
2. Machine Learning Glossary. Google for Developers. https://developers.google.com/machine-learning/glossary
3. Prompt design strategies. Gemini API documentation. https://aistudio.google.com/docs/prompting-strategies
4. Reasoning best practices. OpenAI API documentation. https://developers.openai.com/api/docs/guides/reasoning-best-practices
5. Finetuned Language Models Are Zero-Shot Learners. arXiv, 2021-09-03. https://arxiv.org/abs/2109.01652
6. Large Language Models are Zero-Shot Reasoners. arXiv, 2022-05-24. https://arxiv.org/abs/2205.11916

---

This is a plain-text copy of https://promptlyfound.com/glossary/zero-shot-prompting from Promptly Found. The web page is the canonical version and includes the charts.
