Zero-shot prompting is asking AI to perform a task without providing any examples of the desired output. The model relies entirely on its training to understand and complete the request. It's the simplest prompting approach and works well for common, well-understood tasks.
Zero-shot prompting is the most common way people interact with AI. No examples, no special formatting — just describe what you want.
Zero-shot struggles with:
Even without examples, you can improve results:
Be specific:
Provide context:
State constraints:
| Zero-Shot | Few-Shot |
|---|---|
| Faster to write | More setup time |
| Less context used | Uses more tokens |
| May miss specifics | More precise output |
| Good for common tasks | Good for custom patterns |
Start with zero-shot. Add examples only when results aren't meeting your needs.