OverpayingForAIPricing desk

Lesson 5 of 8 · 10 min read · Beginner

Prompting basics: how to get a useful answer the first time

The anatomy of a prompt that works in ChatGPT, three before-and-after examples, and why better prompts are also cheaper prompts.

In this lesson you will

  • Use the five parts of a good prompt: role, task, context, constraints, format
  • Turn a vague request into a specific one using three worked examples
  • Explain why clearer prompts reduce both retries and token spend

Prompting is not a trick. It is writing a clear brief for a very fast, very literal colleague who has no memory of your last conversation. The colleague will do exactly what you ask, so the quality of the answer is mostly the quality of the ask.

Anatomy of a prompt that works first timeFive parts. Most bad answers are missing two of them.RoleWho the model should be
“You are a pricing analyst…”
TaskThe one thing you want
“Rank these 4 plans by cost per 1K tokens.”
ContextFacts it cannot guess
paste the plan table, your usage
FormatShape of the answer
“a table, then a 2-line verdict”
ConstraintsWhat to avoid
“no marketing language; cite the source”
Cost angleA precise prompt costs a few hundred tokens more and saves the two or three retries that cost thousands.Asking for a short format (“3 bullets”) cuts output tokens — the expensive kind — by half or more.
Figure 1.Five parts of a working prompt. You will not need all five every time, but a missing part is usually why an answer disappoints.

The five parts

  • Role — who the model should be. "You are an experienced HR manager" changes vocabulary and judgement.
  • Task — the verb. Summarise, rewrite, compare, list, draft, critique. One task per prompt when possible.
  • Context — the material and the situation. Paste the document. Say who the audience is.
  • Constraints — length, tone, what to avoid, what must be included.
  • Format — bullets, table, JSON, a subject line plus body, three options. Say it explicitly.

Worked example 1: the email

Before: "Write an email to my landlord about the broken heater." You get a generic, slightly too polite email with placeholders.

After: "You are a tenant writing to a landlord. Draft an email requesting repair of a heater that has not worked since Monday. Context: this is the second request; the first was ignored. Constraints: firm but polite, under 120 words, mention that the lease requires repairs within 14 days. Format: subject line, then body." You get an email you can send with one edit.

Worked example 2: the summary

Before: "Summarise this." followed by a 20-page PDF. You get a summary of whatever the model decided mattered, at whatever length it chose.

After: "Summarise the attached report for a finance director who has five minutes. Format: three bullets on findings, two on risks, one on the recommended decision. Quote the exact figures where they appear; do not estimate." The last sentence is the important one: it tells the model to prefer the source over its own guess.

Worked example 3: the code fix

Before: "My Python script does not work." The model asks what the error is, and you have spent a turn.

After: "Here is a Python function and the full traceback. Explain the cause in two sentences, then give the corrected function only. Do not change the function signature." Paste both. One turn, one answer, and the constraint prevents the model from rewriting things you did not ask about.

Two habits for ChatGPT specifically

First, iterate in the same chat. "Shorter." "More formal." "Now as a table." Follow-ups are cheap and the model already has the context. Second, when you want the model to think harder, say so: "Consider three approaches before answering" or switch to a reasoning-capable model in the picker. Do not pay for a heavy model just to rewrite an email.

Knowledge check

Which prompt is most likely to produce a usable answer on the first try?

Lesson FAQ

Do I need to be polite to ChatGPT?

No. Politeness costs tokens and changes nothing. Clarity is what matters.

Should I use one long prompt or several short ones?

Start with one clear prompt, then refine with short follow-ups in the same chat. Splitting a big job into steps usually gives better results than one giant instruction.

Are there prompt templates I should buy?

No. The five-part structure in this lesson covers almost every case. Paid prompt packs are a common way beginners overpay.

Finished reading?

Mark it done to track your progress through the course.

Compare, calculate, decide — for ChatGPT

If our calculators helped you cut down on hidden AI wallet leaks, consider buying us a coffee. A tiny fraction of your savings keeps our pricing indexes updated daily.

Not sure which AI is cheapest for your use case? Find out in 30 seconds — no signup required.

AI cost intelligence

Stop overpaying for AI tools

Join the OverpayingForAI list for pricing updates, cheaper alternatives, and practical buying guidance.

Now tracking 50+ AI tools, models, platforms, subscriptions, coding tools, and automation products.

We use your email only for OverpayingForAI updates. Unsubscribe anytime.