The Fast Track AI Subscribe

Home / Blog

Prompts

Prompt engineering: what it is, the techniques that work and the prompt engineer job today

In 2022, researchers from the University of Tokyo and Google added one sentence to their prompts, "Let's think step by step." On an arithmetic benchmark, the model's accuracy jumped from 17.7% to 78.7% (Kojima et al.). That is what prompt engineering is about: designing, testing and refining the instructions you give a generative AI model so it produces reliable results, without changing the model itself. It is not just good writing. It is a testing discipline, with success criteria and measurements. This guide covers the techniques with evidence behind them, the method AI vendors recommend, the shift to context engineering, and what happened to the prompt engineer job.

Updated on 8 min read

Prompt engineering at a glance

QuestionShort answer
What is it?Designing and refining the instructions (prompts) given to an AI model, then measuring the results.
What changesOnly the text sent to the model. The model itself is not retrained.
Core techniquesZero-shot, few-shot, chain of thought, roles, structure, prompt chaining.
How it differs from a good promptSuccess criteria set in advance and repeated tests on many cases.
The job in 2026Rare as a standalone title, now an expected skill in many roles.

Definition: from prompt to prompt engineering

An AI prompt is the instruction you give a generative AI tool. Prompt engineering is the practice of making that instruction effective and consistent. OpenAI's documentation defines it as "the process of writing effective instructions for a model."

The difference is scale. For a one-off question in ChatGPT, a clear prompt is enough. An app that handles thousands of customer requests a day needs a prompt that gets it right almost every time, including when users write vague or messy requests. That calls for an engineering loop: write, test on a set of examples, measure, fix.

Prompt engineering is not fine-tuning, which retrains the model on your data. It is cheaper, takes minutes to apply and works with any LLM you can reach through a chat interface or an API.

Prompt engineering techniques with evidence behind them

The Prompt Report, a survey by 31 researchers first published in 2024 and updated in 2025, catalogs 58 text prompting techniques. Most are variations on a handful of ideas, summarized here with their sources.

TechniqueHow it worksWhat we know
Zero-shotAsk directly, with no examplesOften enough for simple, common tasks
Few-shotShow a few input and output examplesGPT-3 learned new tasks from a few examples (2020)
Chain of thoughtHave the model reason step by step before answeringClear gains in math and logic, small elsewhere (2024)
Self-consistencyGenerate several reasoning paths, keep the majority answer+17.9 points on a math word problem benchmark (2022)
StructureSeparate instructions, context and data with tagsReduces misinterpretation, according to Anthropic
Prompt chainingSplit a task into a sequence of promptsLets you check every intermediate step

What reasoning models change

Recent models think before they answer. OpenAI says its reasoning models generally do better with high-level guidance, while its GPT models benefit from very precise instructions. On its latest models, Anthropic advises relying on built-in thinking rather than asking the model to write out its reasoning. Tricks from 2022 do not carry over as is: test on the model you actually use.

The prompt engineering method in 6 steps

Anthropic's prompt engineering overview sets three prerequisites: clear success criteria, a way to test against them, and a first draft prompt. The method that follows:

  1. Set a measurable target: not "sort emails well" but "90% of emails sorted into the right category across 200 examples." Anthropic asks for specific, measurable, achievable and relevant criteria.
  2. Build a test set: real cases plus edge cases (off-topic requests, very long inputs, ambiguous or sarcastic messages).
  3. Write a first prompt: role, task, context, output format, examples. The Fast Track AI's free AI prompt generator can give you a starting point.
  4. Measure: run the prompt on the whole test set and record the score. Automate grading where you can (exact match, code, or a model acting as grader).
  5. Change one thing at a time: one example, one sentence, the order of sections. Keep whichever version raises the score.
  6. Pin and monitor: OpenAI recommends pinning production apps to a specific model snapshot and keeping your evals, since a model update can shift results.

For everyday use in ChatGPT or Gemini, steps 1 and 2 shrink to comparing a few attempts. Our guide on how to write prompts covers that lighter version.

From prompt engineering to context engineering

With AI agents that take a series of actions, the prompt is only part of what the model reads: conversation history, documents and tool results pile up too. In September 2025, Anthropic described context engineering as "the natural progression" of prompt engineering: curating the full set of information the model sees at each step.

The idea: the longer the context, the worse the model gets at recalling a given detail. So Anthropic recommends the smallest possible set of high-signal information. The other shift is automatic optimization. In a VMware study reported by IEEE Spectrum in 2024, prompts generated and tested by software beat the best hand-written prompts in nearly every case.

Prompt engineer: a job or a skill?

In 2023, right after ChatGPT launched, prompt engineer was billed as the job of the future, with salaries of up to $200,000 according to Korn Ferry. Two years later, the firm noted the role had gone cold: in a Microsoft survey of 31,000 workers in 31 countries, it ranked second from the bottom among new roles companies planned to add.

Microsoft's 2025 Work Trend Index points instead to AI trainers, AI data specialists and AI security specialists, and treats prompting as a skill every employee needs. The skill has not vanished; it has spread. People who make it the core of their work now go by titles like AI engineer or LLM engineer, and combine:

The limits of prompt engineering

A better prompt does not fix everything. Look elsewhere in these cases:

Key takeaways

Frequently asked questions

What is prompt engineering?

It is the practice of designing, testing and refining the instructions given to a generative AI model so it produces accurate, consistent answers. The model is not changed: only the text you send it. It applies to chat tools and to apps built on AI APIs.

What does a prompt engineer do?

A prompt engineer writes the instructions for an AI application, builds test sets, measures results and revises prompts until they meet set criteria. The work involves product and engineering teams. Today, it is often done by AI engineers or domain experts rather than a dedicated hire.

Is prompt engineering still a career?

As a standalone job, it is shrinking: according to Korn Ferry, a 2025 Microsoft survey ranked it near the bottom of new roles companies plan to create. The skill, however, has spread across many jobs and continues in context engineering, which manages everything AI agents are given to read.

How much does a prompt engineer make?

There is no official government statistic for this job title. In 2023, some US roles were advertised at up to $200,000 a year, according to Korn Ferry, but such listings have become rare. Salary sites give widely different estimates, so check current job postings in your area.

How do I learn prompt engineering?

Start with the free guides from OpenAI, Anthropic and Google, and Anthropic's interactive tutorial on GitHub. Then practice on a real task from your job: set a target, prepare about twenty examples and compare several versions of your prompt.

What is the difference between prompt engineering and fine-tuning?

Prompt engineering only changes the instructions sent to the model, so it is fast and cheap. Fine-tuning retrains the model on your own examples. It takes longer and costs more, but helps keep a very specific style or format at scale.

Related articles

Reference guideAI prompt: what a prompt is, how AI reads it and how to write a good one

The essentials of AI, every Wednesday.

Free, once a week, on Wednesday. A 5-minute read.