Home/Language & LLMs/Prompt Engineering
Language & LLMs

Prompt Engineering

The craft of writing instructions that get the best, most reliable output from an AI model.

Reviewed July 10, 2026Stable
Reading level: Curious
Pick your depth ↓

When not to use it

  • As a substitute for evaluation. Prompt tweaks feel productive and prove nothing without a test set. "It looks better" is how teams ship regressions.
  • When the real problem is data or model choice. No prompt rescues a model that has never seen your domain, or a task that needs a database lookup.
  • At scale, as a permanent fix. Prompts that carry heavy instructions on every call cost money on every call. At volume, fine-tuning or a smaller model is cheaper.

Reach for something else instead

  • Few-shot examples usually beat elaborate instructions. Show, don't explain.
  • Structured output constraints (schemas, grammars) are more reliable than asking politely for JSON.
  • Fine-tuning once a prompt has grown to hundreds of tokens of rules you repeat every request.

Further reading

  • Brown et al. (2020), Language Models are Few-Shot Learners — where few-shot in-context learning was demonstrated at scale and named. Its own paper credits GPT-2 (Radford et al., 2019) with showing zero-shot task transfer first.
  • Wei et al. (2022), Chain-of-Thought Prompting Elicits Reasoning in Large Language Models.
  • Zhao et al. (2021), Calibrate Before Use — few-shot results swing wildly on example order, which is why prompt tweaks need measurement, not vibes.

Primary sources, listed so you can check the claims on this page rather than take them on trust.

Where people go wrong

  • Cargo-culting phrases like "you are an expert" or "think step by step" without measuring whether they help for your task on your model.
  • Over-instructing. Long prompts full of edge cases often perform worse than short ones with good examples.
  • Assuming a prompt transfers between models. It frequently doesn't, and the failure is quiet.

At a glance

FieldLanguage & LLMs
Core ideainstructions shape output
Key techniquesexamples, step-by-step, explicit format
Try beforefine-tuning
DifficultyBeginner
Flashcards for this concept · study, save or share them →
Question
Answer
1 / 4

Often compared with

Prompt Engineering vs. Fine-tuning — steering with instructions vs. changing the model itself.

Where this sits

24 concepts come first. Understanding it opens up 16 more.

11Levelsteps in
24Needs firstconcepts
16Opens up5% of 310
4Areascrosses fields
Learn these firstLarge Language Model
LEARN FIRST Large Language Model Prompt Engineering In-Context Learning Jailbreaking System Prompt Prompt Caching UNLOCKS
Prompt Engineering sits after Large Language Model, and leads to 5 concepts (4 shown).

Computed from the prerequisite graph, not assigned. How this works