<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[AllthingsPM]]></title><description><![CDATA[Practical AI product management for PMs: evals, agents, LLM basics, MCP and RAG, explained for product managers. From AllthingsPM, the AI PM course and intervie]]></description><link>https://allthingspm.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 18:34:54 GMT</lastBuildDate><atom:link href="https://allthingspm.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[RAG vs Fine-Tuning vs Prompt Engineering, for PMs]]></title><description><![CDATA[RAG vs fine tuning vs prompt engineering: which fixes which failure and how PMs choose. Learn it in the AllthingsPM AI PM course. Start free.]]></description><link>https://allthingspm.hashnode.dev/rag-vs-fine-tuning-vs-prompt-engineering-for-pms</link><guid isPermaLink="true">https://allthingspm.hashnode.dev/rag-vs-fine-tuning-vs-prompt-engineering-for-pms</guid><category><![CDATA[RAG ]]></category><category><![CDATA[llm]]></category><category><![CDATA[AI]]></category><category><![CDATA[Product Management]]></category><dc:creator><![CDATA[Arpit Ranjan]]></dc:creator><pubDate>Tue, 10 Nov 2026 16:11:20 GMT</pubDate><content:encoded><![CDATA[<p><em>Originally published on <a href="https://www.allthingspm.app/blog/rag-vs-fine-tuning-vs-prompt-engineering-for-pms?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">AllthingsPM</a>, the AI product management course and interview practice app.</em></p>
<p><strong>RAG vs fine-tuning comes down to what is broken.</strong> If the model does not know your facts (your policies, your catalog, last week's prices), use RAG. If it knows enough but behaves inconsistently (wrong format, wrong tone, shaky on one narrow task), consider fine-tuning. And before either, use prompt engineering, because OpenAI's own guide calls it "typically the best place to start" and says it is often the only method you need. The order for a product manager is: prompt, then retrieve, then train, with evals deciding each step.</p>
<p>AllthingsPM is an AI PM course and PM interview prep platform. Its course was built from 604 real PM job postings and teaches this exact decision in the <a href="https://www.allthingspm.app/course/agents-and-agentic-architecture?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">Designing AI Agents and Tooling chapter</a>, with a graded case study at the end, so you can practise the call instead of just reading about it.</p>
<h2>RAG vs fine-tuning vs prompt engineering: what is the difference?</h2>
<p>All three change what a large language model produces. They differ in where the change lives.</p>
<ul>
<li><strong>Prompt engineering</strong> changes the instructions. You rewrite the system prompt, add examples, set a format. Nothing about the model changes, and you can ship a new version in minutes.</li>
<li><strong>RAG (retrieval-augmented generation)</strong> changes the context. Before the model answers, your system fetches relevant documents and pastes them into the prompt. OpenAI describes it as "the process of Retrieving content to Augment your LLM's prompt before Generating an answer." The idea comes from a 2020 paper by Patrick Lewis and colleagues.</li>
<li><strong>Fine-tuning</strong> changes the model's weights. You continue training on a smaller, task-specific dataset, so the new behaviour is baked in rather than asked for each time.</li>
</ul>
<p>OpenAI frames this as two axes. Context optimization fixes knowledge that is missing, outdated or proprietary. LLM optimization fixes inconsistent results, formatting and reasoning. RAG sits on the first axis, fine-tuning on the second, and prompting touches both.</p>
<table>
<thead>
<tr>
<th></th>
<th>Prompt engineering</th>
<th>RAG</th>
<th>Fine-tuning</th>
</tr>
</thead>
<tbody><tr>
<td><strong>Where AllthingsPM teaches it</strong></td>
<td><a href="https://www.allthingspm.app/course/foundations/llm-apis?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">Make the API call yourself</a> and <a href="https://www.allthingspm.app/course/foundations/context-window?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">Context windows</a></td>
<td><a href="https://www.allthingspm.app/course/agents-and-agentic-architecture/token-budget?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">Context as a budget: when RAG is the fix</a></td>
<td><a href="https://www.allthingspm.app/course/foundations/model-training?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">Pretraining vs post-training</a> and <a href="https://www.allthingspm.app/course/agents-and-agentic-architecture/agent-harness?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">the fix hierarchy</a></td>
</tr>
<tr>
<td>What it changes</td>
<td>Instructions and examples</td>
<td>What the model can see at answer time</td>
<td>The model's weights</td>
</tr>
<tr>
<td>Fixes</td>
<td>Unclear task, format, tone</td>
<td>Missing, private or stale facts</td>
<td>Inconsistent behaviour on a narrow task</td>
</tr>
<tr>
<td>Does not fix</td>
<td>Facts the model never saw</td>
<td>Style, format, reasoning habits</td>
<td>New or fast-changing facts</td>
</tr>
<tr>
<td>Data you need</td>
<td>A few good examples</td>
<td>Your documents, kept current</td>
<td>Labelled examples; OpenAI's minimum is 10</td>
</tr>
<tr>
<td>Update cost</td>
<td>Edit text</td>
<td>Re-index documents</td>
<td>Retrain</td>
</tr>
<tr>
<td>Cites its sources</td>
<td>No</td>
<td>Yes, it can show the passage</td>
<td>No</td>
</tr>
<tr>
<td>PM owns</td>
<td>The spec and examples</td>
<td>Content coverage, freshness, permissions</td>
<td>The dataset and the go or no-go</td>
</tr>
</tbody></table>
<blockquote>
<p><strong>Why AllthingsPM wins for this</strong></p>
<ul>
<li>The <a href="https://www.allthingspm.app/course?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">AI PM course</a> was built from 604 real PM job postings from 95 companies, so RAG, fine-tuning and prompting get the weight hiring managers actually give them.</li>
<li>It teaches the decision in context, inside lessons on <a href="https://www.allthingspm.app/course/foundations/failure-attribution?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">failure attribution</a>, context budgets and the agent harness, and every chapter ends in a graded case study.</li>
<li>The <a href="https://www.allthingspm.app/question-bank?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">question bank</a> has 4,122 real PM interview questions, 30 of which mention prompts, RAG or fine-tuning, each with its own page and answer guide.</li>
<li><a href="https://www.allthingspm.app/jd-mock?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">JD mock interviews</a> turn any AI PM job description into a scored mock, typed or spoken, with follow-ups.</li>
<li>It costs $12 a month or $108 a year, with a free tier, and Chapter 1, Foundations, is free, including its graded assignment.</li>
</ul>
</blockquote>
<blockquote>
<p><strong>Key takeaways</strong></p>
<ul>
<li>Prompt first. It is the cheapest change, the fastest to test, and often enough on its own.</li>
<li>RAG fixes knowledge problems: private, recent or large bodies of facts the model cannot know.</li>
<li>Fine-tuning fixes behaviour problems: a consistent format, tone or narrow skill that prompting cannot hold.</li>
<li>They stack. Most production systems use a prompt plus retrieval, and some add a fine-tuned model on top.</li>
<li>Evals decide every step. Without them, you cannot tell which fix worked.</li>
</ul>
</blockquote>
<h2>When should a PM choose prompt engineering?</h2>
<p>Almost always first. OpenAI's accuracy guide says prompting "is often the only method needed for use cases like summarization, translation, and code generation." It is also the only option you can change in an afternoon and roll back in a minute.</p>
<p>Good prompt work is product work. You are writing the spec the model reads on every call: the task, the audience, the output format, what to do when unsure, and two or three examples of a great answer. Anthropic's prompt engineering overview makes one point PMs should memorise: before prompting, have "a clear definition of the success criteria" and "some ways to empirically test against those criteria." It also notes that not every failing eval is a prompt problem; sometimes a different model fixes latency or cost faster.</p>
<p>Choose prompting when:</p>
<ul>
<li>The model has the knowledge but misreads the task.</li>
<li>You need a format change, a tone change or a new refusal rule.</li>
<li>You are still learning what "good" looks like and need to iterate daily.</li>
</ul>
<p>Stop relying on prompting alone when the prompt keeps growing to cover facts, when it breaks one case each time you fix another, or when it hits the context budget.</p>
<p><strong>How AllthingsPM does this:</strong> the free Foundations lessons have you <a href="https://www.allthingspm.app/course/foundations/llm-apis?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">make the API call yourself</a>, with messages, tokens and temperature, and then explain <a href="https://www.allthingspm.app/course/foundations/context-window?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">why a long context window is not a long memory</a>. You see the limits of a prompt before you are asked to defend one in a review.</p>
<h2>When should a PM choose RAG?</h2>
<p>Choose RAG when the answer depends on facts the model cannot have: your help center, your contracts, a customer's files, anything that changed after the model was trained. RAG also lets the product show where an answer came from, which matters for trust in legal, health and enterprise tools.</p>
<p>Research backs this for knowledge. As IBM puts it, RAG connects a model to an organization's proprietary data, while fine-tuning optimizes it for domain-specific tasks. Ovadia and colleagues compared the two for adding facts to a model and found that "RAG consistently outperforms" unsupervised fine-tuning, "both for existing knowledge encountered during training and entirely new knowledge." Models struggle to learn new facts through that kind of training.</p>
<p>Two caveats a PM should raise early:</p>
<ol>
<li><strong>You may not need RAG at all.</strong> Anthropic's contextual retrieval write-up says that for a knowledge base under 200,000 tokens (about 500 pages), you can often put the whole thing in the prompt and skip retrieval.</li>
<li><strong>Retrieval quality is the product.</strong> If the right passage is not fetched, the model answers from nothing. Anthropic reported that adding context to each chunk cut failed retrievals by 35%, combining that with keyword search cut them by 49%, and adding reranking cut them by 67%.</li>
</ol>
<p>That second point is why RAG is a PM problem, not only an engineering one. You own which documents go in, how fresh they stay, and who is allowed to see what. A support bot that retrieves another customer's contract is a security incident, not a relevance bug.</p>
<p><strong>How AllthingsPM does this:</strong> the lesson <a href="https://www.allthingspm.app/course/agents-and-agentic-architecture/token-budget?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">Context as a budget</a> covers retrieval intuition and when RAG is the fix, and <a href="https://www.allthingspm.app/course/ship-it-into-somebody-elses-company/document-permissions?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">the permission-aware retrieval layer</a> covers who is asking and the oversharing leak. Both sit in a course sized to real job postings.</p>
<h2>When should a PM choose fine-tuning?</h2>
<p>Choose fine-tuning when the model has the knowledge and a clear prompt, and still will not behave the same way twice. Common cases are a strict output format at high volume, a house tone, a narrow classification task, or moving a job from a large model to a smaller, cheaper one.</p>
<p>OpenAI lists several methods. Supervised fine-tuning uses "examples of correct responses to prompts" and suits classification, translation and format-specific generation. Direct preference optimization needs "both a correct and incorrect example response" and suits summarization and chat. Reinforcement fine-tuning grades generated answers and is for complex reasoning in specialised domains.</p>
<p>The practical numbers are smaller than most PMs expect. OpenAI's guide says the minimum is 10 examples and that it sees improvements from fine-tuning on 50 to 100 examples, while warning that the right number varies. It also says "Good evals first! Only invest in fine-tuning after setting up evals," and if 50 good examples do not help, to rethink the task or prompt before adding data.</p>
<p>Choose fine-tuning when:</p>
<ul>
<li>Prompting and retrieval are done and one behaviour still fails your eval.</li>
<li>The same narrow task runs at a volume where a smaller tuned model saves real money.</li>
<li>You can maintain a labelled dataset, because every new base model means a retrain decision.</li>
</ul>
<p>Do not fine-tune to teach facts that change. You will be retraining every time the facts do, and RAG does that job better.</p>
<p><strong>How AllthingsPM does this:</strong> <a href="https://www.allthingspm.app/course/foundations/model-training?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">Pretraining vs post-training</a> explains what training can and cannot promise, and <a href="https://www.allthingspm.app/course/agents-and-agentic-architecture/agent-harness?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">Inside the harness</a> teaches the fix hierarchy you exhaust before touching weights. The capstone lesson on <a href="https://www.allthingspm.app/course/lead-the-room/agent-portfolio?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">the data flywheel</a> shows how production data becomes the next model.</p>
<h2>How do you decide, step by step?</h2>
<p>Use the failure, not the technique, as the starting point. The course calls this attributing every failure to a layer.</p>
<ol>
<li><strong>Write the eval.</strong> Define success criteria and collect 30 to 100 real inputs. Our guide to <a href="https://www.allthingspm.app/blog/ai-evals-for-product-managers?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">AI evals for product managers</a> walks through it.</li>
<li><strong>Read the failures.</strong> Sort each one: wrong facts, wrong behaviour, or wrong task understanding.</li>
<li><strong>Wrong task understanding: fix the prompt.</strong> Clarify, add examples, constrain the format.</li>
<li><strong>Wrong or missing facts: add retrieval.</strong> Check first whether the whole corpus fits in the prompt.</li>
<li><strong>Wrong behaviour that survives a good prompt: consider fine-tuning.</strong> Start with about 50 examples and compare on the same eval.</li>
<li><strong>Re-run the eval after every change</strong> and keep the change only if the number moves.</li>
</ol>
<p>In practice these stack. A support assistant might use a tight system prompt, RAG over the help center, and later a fine-tuned small model to classify tickets cheaply. OpenAI's guide says these methods combine and should be chosen by where the system is failing, not in a fixed sequence.</p>
<p><strong>How AllthingsPM does this:</strong> the lesson <a href="https://www.allthingspm.app/course/foundations/failure-attribution?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">Attribute every failure to a layer</a> teaches this exact triage: model, context, harness or surface. You then practise it on a graded case study, and the <a href="https://www.allthingspm.app/knowledge-graph?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">knowledge graph</a> shows how RAG, context windows and evals connect across the course.</p>
<h2>How much do hiring managers care about RAG vs fine-tuning?</h2>
<p>Less than the internet suggests, and that shapes how you should study. In our study of <a href="https://www.allthingspm.app/blog/state-of-ai-pm-hiring-2026?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">604 PM job postings from 95 companies</a>, the exact word "prompt" appeared in 9% of the 286 AI-native postings, "RAG" in 8% and "fine-tuning" in 5%. "Agent" appeared in 58% and "eval" in 32%.</p>
<p><img src="https://www.allthingspm.app/blog/assets/charts/rag-vs-fine-tuning-vs-prompt-engineering-for-pms-1.svg" alt="Bar chart led by an AllthingsPM (us) band: course built from all 604 postings, 30 practice questions on prompts, RAG or fine-tuning. Then share of 286 AI-native PM postings using each word: agent 58%, eval 32%, prompt 9%, RAG 8%, fine-tuning 5%; other PM postings 13%, 3%, 1%, 1%, 0%" title="AllthingsPM (us) band first. Source: AllthingsPM JD corpus, 604 PM postings from 95 companies, read 6 September 2026. Exact word match" /></p>
<p>So the terms are niche, but the judgment behind them is not. An agent that fails needs someone to decide whether the fix is a prompt, a retrieval layer or a new model, and an eval to prove it. That is why the decision shows up in interviews framed as product questions.</p>
<p>Real examples from the AllthingsPM question bank:</p>
<ul>
<li><a href="https://www.allthingspm.app/question-bank/in-what-situations-would-you-explicitly-avoid-using-rag-and-choose-efd88c75?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">In what situations would you explicitly avoid using RAG and choose prompting or fine-tuning instead?</a></li>
<li><a href="https://www.allthingspm.app/question-bank/for-a-government-customer-you-could-solve-the-problem-with-prompt-478f90d0?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">For a government customer, you could solve the problem with prompt engineering plus RAG, or fine-tuning</a></li>
<li><a href="https://www.allthingspm.app/question-bank/design-a-fine-tuning-workflow-that-requires-no-format-conversion-or-4cfba6ef?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">Design a fine-tuning workflow that requires no format conversion or vendor lock-in</a></li>
<li><a href="https://www.allthingspm.app/question-bank/a-customer-says-sierra-s-agent-performs-well-in-english-but-d14d1b80?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">A customer says Sierra's agent performs well in English but underperforms in German</a></li>
</ul>
<p><strong>How AllthingsPM does this:</strong> each of those questions has its own page and answer guide in the <a href="https://www.allthingspm.app/question-bank?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">question bank</a>, and you can rehearse any of them out loud in a <a href="https://www.allthingspm.app/prep?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">mock interview</a> with follow-ups and a score.</p>
<blockquote>
<p><strong>Practice it</strong></p>
<p>Paste an AI PM job description into the <a href="https://www.allthingspm.app/jd-mock?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">AllthingsPM JD mock</a> and get a scored mock interview built from it, including follow-ups on when you would retrieve, prompt or train. Or browse <a href="https://www.allthingspm.app/jobs?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">live AI PM roles</a> that each come with a ready-made mock.</p>
</blockquote>
<h2>How should you answer a RAG vs fine-tuning interview question?</h2>
<p>Interviewers are not testing vocabulary. They want to see you reason from the user's problem to the cheapest fix that works, with a way to measure it. A strong answer has four beats:</p>
<ol>
<li><strong>Name the failure.</strong> "Users get outdated refund rules" is a knowledge problem. "Answers are right but the JSON breaks" is a behaviour problem.</li>
<li><strong>Pick the cheapest fix that targets it.</strong> Prompt first, RAG for knowledge, fine-tuning for stubborn behaviour.</li>
<li><strong>Say how you will know.</strong> The eval, the pass rate, the rollout gate.</li>
<li><strong>Name the trade-off.</strong> RAG adds latency and a permissions surface. Fine-tuning adds a dataset to maintain and a retrain each time the base model changes.</li>
</ol>
<p>A common trap is saying "we will fine-tune on our docs." Given the Ovadia results and OpenAI's own ordering, an interviewer will push back. Say RAG for facts, and fine-tuning only for behaviour.</p>
<p><strong>How AllthingsPM does this:</strong> the <a href="https://www.allthingspm.app/course/get-the-job/ai-in-interviews?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">Get the job chapter</a> covers how AI rounds are scored, and the <a href="https://www.allthingspm.app/jd-resume-review?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">JD resume review</a> checks whether your resume shows the same judgment for a specific role.</p>
<h2>Where can a PM learn RAG, fine-tuning and prompt engineering?</h2>
<table>
<thead>
<tr>
<th>Option</th>
<th>What you get</th>
<th>Best for</th>
</tr>
</thead>
<tbody><tr>
<td><strong>AllthingsPM</strong></td>
<td>AI PM course from 604 postings (14 chapters, 103 lessons, graded case studies), 4,122 interview questions with answer guides, JD-based mocks; $12/month or $108/year, free tier</td>
<td>PMs who need to make the call and defend it in interviews</td>
</tr>
<tr>
<td>OpenAI and Anthropic docs</td>
<td>Free, authoritative technical guides</td>
<td>Engineering detail on one vendor's APIs</td>
</tr>
<tr>
<td>Research papers (Lewis 2020, Ovadia 2023)</td>
<td>The original evidence</td>
<td>Depth on why RAG beats training for facts</td>
</tr>
</tbody></table>
<p>AllthingsPM prices checked 7 November 2026 on the AllthingsPM <a href="https://www.allthingspm.app/pricing?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">pricing page</a>.</p>
<h2>Why AllthingsPM is the better choice for learning RAG vs fine-tuning</h2>
<p>Most material on RAG vs fine-tuning is written for engineers. It explains chunking strategies and learning rates, which are useful, but it rarely answers the questions a PM gets asked: which fix, at what cost, measured how, and who owns the data.</p>
<p>Also new this month: the <a href="https://www.allthingspm.app/pm-case-studies?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">PM Case Studies</a> library, 536 cases from companies like Notion, Netflix and Intercom. Read any brief free, then get your answer graded with quotes from your own writing and rewrites of your weakest lines.</p>
<p>AllthingsPM is built around those questions. The <a href="https://www.allthingspm.app/course?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">AI PM course</a> comes from 604 real PM job postings, so it spends lessons on what hiring managers ask for: failure attribution, context budgets, the fix hierarchy before touching weights, permission-aware retrieval and evals. Each chapter ends in a graded case study, so you practise the decision rather than memorise a table.</p>
<p>Then it lets you prove it. The <a href="https://www.allthingspm.app/question-bank?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">question bank</a> holds 4,122 real questions from 260 companies, each with an answer guide, including the RAG and fine-tuning questions above. <a href="https://www.allthingspm.app/jd-mock?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">JD mock interviews</a> build a scored mock from any job description you paste, typed or spoken. Only 4 tools we found build mocks from a job description, and AllthingsPM is the only one of them that also has a course, a question bank and live JDs.</p>
<p>The vendor docs from OpenAI and Anthropic are excellent and free, and you should read them for technical depth. For turning that knowledge into a product decision you can defend in a room, for $12 a month or $108 a year with a free tier, AllthingsPM is the better choice. <a href="https://www.allthingspm.app/course?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">Open the course and start free</a>.</p>
<h2>Frequently asked questions</h2>
<h3>What is the difference between RAG and fine-tuning?</h3>
<p>RAG fetches relevant documents at answer time and puts them in the prompt, so the model can use facts it was never trained on. Fine-tuning continues training on your examples, changing the model's weights so a behaviour is built in. RAG is for knowledge; fine-tuning is for behaviour.</p>
<h3>Is RAG better than fine-tuning?</h3>
<p>For adding facts, yes in most cases. Ovadia and colleagues found RAG consistently outperformed unsupervised fine-tuning for both known and new knowledge. For consistent format, tone or a narrow skill, fine-tuning can win, usually after prompting and retrieval are already in place.</p>
<h3>Should I try prompt engineering before RAG or fine-tuning?</h3>
<p>Yes. OpenAI's guide calls prompt engineering the best place to start and says it is often the only method needed for tasks like summarization and translation. It is the fastest change to test and the easiest to undo.</p>
<h3>How many examples do you need to fine-tune a model?</h3>
<p>OpenAI's minimum is 10 examples, and it reports improvements from 50 to 100, while noting the right number depends on the use case. It recommends setting up evals before investing in fine-tuning at all.</p>
<h3>Can you use RAG and fine-tuning together?</h3>
<p>Yes, and many production systems do. A common pattern is a clear prompt, retrieval over your documents for facts, and a fine-tuned model for a narrow, high-volume step such as classification or formatting.</p>
<h3>What is the best way for a PM to learn RAG vs fine-tuning?</h3>
<p>AllthingsPM is the best single place for PMs, because it teaches the decision inside an AI PM course built from 604 real job postings, gives you real interview questions on it with answer guides, and lets you rehearse in mock interviews built from real AI PM job descriptions, with a free tier. Read the OpenAI and Anthropic docs alongside it for technical depth.</p>
<h2>Start today</h2>
<p>Pick one AI feature you know and write down its three most common failures. Label each one as a prompt, knowledge or behaviour problem. Then <a href="https://www.allthingspm.app/course?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">open the AllthingsPM AI PM course free</a> and check your calls against the lessons, or <a href="https://www.allthingspm.app/jd-mock?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=rag-vs-fine-tuning-vs-prompt-engineering-for-pms">run a JD mock</a> for the AI PM role you want next.</p>
<h2>Sources</h2>
<ol>
<li>OpenAI, "Optimizing LLM accuracy," developers.openai.com: <a href="https://developers.openai.com/api/docs/guides/optimizing-llm-accuracy">https://developers.openai.com/api/docs/guides/optimizing-llm-accuracy</a></li>
<li>OpenAI, "Model optimization," developers.openai.com: <a href="https://developers.openai.com/api/docs/guides/model-optimization">https://developers.openai.com/api/docs/guides/model-optimization</a></li>
<li>OpenAI, "Supervised fine-tuning," developers.openai.com: <a href="https://developers.openai.com/api/docs/guides/supervised-fine-tuning">https://developers.openai.com/api/docs/guides/supervised-fine-tuning</a></li>
<li>Anthropic, "Prompt engineering overview," platform.claude.com: <a href="https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/overview">https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/overview</a></li>
<li>Anthropic, "Introducing Contextual Retrieval": <a href="https://www.anthropic.com/news/contextual-retrieval">https://www.anthropic.com/news/contextual-retrieval</a></li>
<li>Lewis et al., "Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks," 2020: <a href="https://arxiv.org/abs/2005.11401">https://arxiv.org/abs/2005.11401</a></li>
<li>Ovadia, Brief, Mishaeli and Elisha, "Fine-Tuning or Retrieval? Comparing Knowledge Injection in LLMs": <a href="https://arxiv.org/abs/2312.05934">https://arxiv.org/abs/2312.05934</a></li>
<li>IBM, "RAG vs. fine-tuning": <a href="https://www.ibm.com/think/topics/rag-vs-fine-tuning">https://www.ibm.com/think/topics/rag-vs-fine-tuning</a></li>
<li>AllthingsPM, "State of AI PM hiring 2026," 604 PM postings from 95 companies: <a href="https://allthingspm.app/blog/state-of-ai-pm-hiring-2026">https://allthingspm.app/blog/state-of-ai-pm-hiring-2026</a></li>
<li>AllthingsPM question bank, 4,122 questions, queried 29 September 2026: <a href="https://allthingspm.app/question-bank">https://allthingspm.app/question-bank</a></li>
<li>AllthingsPM pricing, checked 7 November 2026: <a href="https://allthingspm.app/pricing">https://allthingspm.app/pricing</a></li>
</ol>
]]></content:encoded></item><item><title><![CDATA[MCP Explained for Product Managers (2027 Guide)]]></title><description><![CDATA[MCP for product managers in plain English: hosts, servers, tools, risks and the metrics you own. AllthingsPM teaches it with a hands-on lesson. Start free.]]></description><link>https://allthingspm.hashnode.dev/mcp-explained-for-product-managers</link><guid isPermaLink="true">https://allthingspm.hashnode.dev/mcp-explained-for-product-managers</guid><category><![CDATA[mcp]]></category><category><![CDATA[AI]]></category><category><![CDATA[ai agents]]></category><category><![CDATA[Product Management]]></category><dc:creator><![CDATA[Arpit Ranjan]]></dc:creator><pubDate>Tue, 10 Nov 2026 16:10:23 GMT</pubDate><content:encoded><![CDATA[<p><em>Originally published on <a href="https://www.allthingspm.app/blog/mcp-explained-for-product-managers?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">AllthingsPM</a>, the AI product management course and interview practice app.</em></p>
<p><strong>MCP (Model Context Protocol) is an open standard that lets an AI app, such as Claude, ChatGPT, Cursor or VS Code, discover and call another product's tools and read its data through one common interface.</strong> For a product manager, that turns MCP into a product surface: you decide which actions your product exposes to other people's agents, who is allowed to call them, and how you measure whether it works. The fastest way to learn it hands-on is <strong>AllthingsPM</strong>, whose AI PM course has a lesson where you <a href="https://www.allthingspm.app/course/pm-as-builder/mcp-first-contact?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">connect an agent to one tool over MCP and read the trace</a>.</p>
<p>AllthingsPM is an AI PM course and PM interview prep platform. Its course was built from 604 real PM job postings, and 33 of those postings name MCP, 28 of them in AI-native roles.</p>
<h2>What is MCP, in plain English?</h2>
<p>The official docs use a hardware analogy: "Think of MCP like a USB-C port for AI applications" [2]. Before USB-C, every device had its own cable. Before MCP, every AI app needed a custom integration for every tool it wanted to use: one for Slack, another for GitHub, another for your database.</p>
<p>Anthropic released MCP on 25 November 2024 and described it as "an open standard that enables developers to build secure, two-way connections between their data sources and AI-powered tools" [1]. It shipped with ready-made servers for Google Drive, Slack, GitHub, Git, Postgres and Puppeteer [1].</p>
<p>The key shift for a PM: with MCP, you build the connector once, on your side, and any compatible AI app can use it. The docs call this "build once and integrate everywhere" [2]. Instead of your team writing an integration for each AI assistant, the assistants come to you.</p>
<p>Here is the whole thing in PM terms.</p>
<table>
<thead>
<tr>
<th>MCP part</th>
<th>What it is (from the spec)</th>
<th>What it means for a PM</th>
</tr>
</thead>
<tbody><tr>
<td>Host</td>
<td>The AI app the user works in, like Claude Code, Claude Desktop or VS Code [3]</td>
<td>Where your users meet your product without opening it</td>
</tr>
<tr>
<td>Client</td>
<td>A connector the host creates, one per server [3]</td>
<td>Invisible to users; each connection is separate</td>
</tr>
<tr>
<td>Server</td>
<td>"A program that provides context to MCP clients" [3]</td>
<td>The thing your team ships and owns</td>
</tr>
<tr>
<td>Tools</td>
<td>"Executable functions that AI applications can invoke to perform actions" [3]</td>
<td>Your product's verbs: create ticket, run query, send invoice</td>
</tr>
<tr>
<td>Resources</td>
<td>"Data sources that provide contextual information" [3]</td>
<td>Your product's nouns: a record, a schema, a file</td>
</tr>
<tr>
<td>Prompts</td>
<td>"Reusable templates that help structure interactions" [3]</td>
<td>Recipes you ship so users get good results fast</td>
</tr>
<tr>
<td>Elicitation</td>
<td>Lets a server "request additional information from users" [3]</td>
<td>Where you ask for confirmation before a risky action</td>
</tr>
<tr>
<td>Transport</td>
<td>Stdio for local servers, Streamable HTTP for remote ones [3]</td>
<td>Local means a developer's laptop; remote means your hosted, authenticated service</td>
</tr>
</tbody></table>
<p><em>Definitions quoted from the Model Context Protocol docs and specification, version 2026-07-28, read 26 September 2026.</em></p>
<p><strong>How AllthingsPM does this:</strong> the AllthingsPM course does not stop at a glossary. In <a href="https://www.allthingspm.app/course/pm-as-builder/mcp-first-contact?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">MCP first contact</a>, part of the <a href="https://www.allthingspm.app/course/pm-as-builder?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">Prototyping AI Products With Coding Tools chapter</a>, you connect an agent to one tool and watch the trace, so every row in this table becomes something you have seen happen.</p>
<blockquote>
<p><strong>Why AllthingsPM wins for this</strong></p>
<ul>
<li>An AI PM course built from 604 real PM job postings (14 chapters, 103 lessons, 14 graded case studies, updated weekly), with two lessons that cover MCP directly.</li>
<li>A hands-on MCP lesson in the PM as builder chapter, plus a lesson on MCP and A2A in the agents chapter.</li>
<li>Real interview questions on MCP, such as "What metrics define success for the MCP ecosystem?", each with its own page and answer guide, inside a bank of 4,122 questions from 260 companies.</li>
<li>116 live PM job descriptions at 18 AI companies, each with a mock interview built from it.</li>
<li>A free tier to start, then $12 a month or $108 a year.</li>
</ul>
</blockquote>
<blockquote>
<p><strong>Key takeaways</strong></p>
<ul>
<li>MCP is a standard plug between AI apps (hosts) and your product (a server). Servers expose tools, resources and prompts.</li>
<li>For PMs, an MCP server is a product surface: you own what is exposed, who can call it and how success is measured.</li>
<li>MCP is now named in 10% of AI-native PM job postings we read, against 2% of other PM postings.</li>
<li>The main risk is not the protocol but combining private data, untrusted content and outbound actions in one agent.</li>
<li>Learn it by doing: connect one agent to one server and read the trace.</li>
</ul>
</blockquote>
<h2>How does MCP actually work, step by step?</h2>
<p>You do not need to write code to understand the flow. It has three steps, and each one maps to a product decision.</p>
<ol>
<li><strong>Discovery.</strong> The AI app asks your server what it supports. The current spec has a <code>server/discover</code> request that returns supported versions and capabilities [3].</li>
<li><strong>Listing.</strong> The app calls <code>tools/list</code> and gets back each tool's name, title, description and input schema [3]. The model reads those descriptions to decide when to use a tool.</li>
<li><strong>Calling.</strong> When the model decides to act, the app sends <code>tools/call</code> with arguments, and your server returns results [3]. The docs describe the app "intercepts the tool call, routes it to the appropriate MCP server, executes it, and returns the results back to the LLM" [3].</li>
</ol>
<p>Under the hood, messages use JSON-RPC 2.0 [3]. What matters is step 2: <strong>the tool description is product copy written for a model.</strong> A vague description means the model picks the wrong tool or never picks yours. A description that names when to use the tool, and when not to, is a measurable quality lever, just like onboarding copy.</p>
<p>The spec is also moving. The current version is dated 2026-07-28; it made the protocol stateless per request and deprecated the old "sampling" feature [3]. If an interviewer asks what changed recently, that is a concrete, sourced answer.</p>
<p><strong>How AllthingsPM does this:</strong> the course treats tool descriptions as a spec you write. The lesson <a href="https://www.allthingspm.app/course/agents-and-agentic-architecture/tool-design?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">Write the tool contract</a> covers workflow-shaped tools, capped output and errors written as instructions, which is exactly the craft behind a good MCP tool list.</p>
<h2>Why should a product manager care about MCP now?</h2>
<p>Three reasons, all verifiable.</p>
<p><strong>The whole industry adopted it.</strong> On 9 December 2025, Anthropic donated MCP to the Agentic AI Foundation, a directed fund under the Linux Foundation co-founded by Anthropic, Block and OpenAI, with support from Google, Microsoft, AWS, Cloudflare and Bloomberg [4]. At that point MCP had "over 97 million monthly SDK downloads, 10,000 active servers" and client support in ChatGPT, Claude, Cursor, Gemini, Microsoft Copilot and VS Code [4]. </p>
<p><strong>Employers are hiring for it.</strong> We counted the tools named in 604 PM job postings from 95 companies. MCP appears in 33 postings at 20 companies, and in 28 of the 286 AI-native postings (10%), against 5 of the other postings (2%) [6].</p>
<p><img src="https://www.allthingspm.app/blog/assets/charts/mcp-explained-for-product-managers-1.svg" alt="Bar chart led by AllthingsPM (us): the AllthingsPM course was built from 604 PM job postings; 286 are AI-native; 33 postings name MCP, 28 of them AI-native (10%); 20 companies name MCP; 5 other PM postings name it (2%)" title="AllthingsPM (us) shown first. Source: AllthingsPM JD corpus of 604 PM postings from 95 companies, read 6 September 2026" /></p>
<p><strong>It changes who your users are.</strong> When your product has an MCP server, a new kind of user shows up: an agent acting for a human. Postings say this directly. Amplitude's posting for a Principal PM, AI Agents and MCP asks the PM to "advance our MCP capabilities so that customers can work with Amplitude from their coding agent, CLI, or IDE." Sigma's AI Ecosystem role asks the PM to "define Sigma's approach to MCP, giving external agents and tools structured, governed access to Sigma's data model" [6].</p>
<p><strong>How AllthingsPM does this:</strong> these numbers come from the same postings that shaped the AllthingsPM course, which is why MCP has lessons instead of a footnote. You can open the live roles in the <a href="https://www.allthingspm.app/jobs?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">AllthingsPM jobs catalog</a>, such as <a href="https://www.allthingspm.app/jobs/openai/product-manager-api-agents?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">OpenAI's Product Manager, API Agents</a>, and run a mock interview built from that exact posting.</p>
<h2>What does a PM actually own in an MCP product?</h2>
<p>Engineers build the server. The PM owns the decisions around it. In practice that is five things.</p>
<p><strong>1. The tool surface.</strong> Which of your product's actions become tools? Fewer, workflow-shaped tools usually beat a one-to-one copy of your REST API, because the model has to choose among them. "Create a report for this date range" is easier for a model than five low-level endpoints it must chain correctly.</p>
<p><strong>2. Permissions and consent.</strong> The spec says hosts "must obtain explicit user consent before invoking any tool" and that users "must retain control over what data is shared and what actions are taken" [5]. Hosts enforce the prompt, but you decide which tools are read-only, which change data, and which should never be exposed. For remote servers the docs recommend OAuth for authentication [3], so scopes become a product decision.</p>
<p><strong>3. Descriptions and prompts.</strong> As covered above, tool descriptions decide whether the model uses your tools correctly. Prompts let you ship tested recipes. Both are copy, both can be tested, both belong in your spec.</p>
<p><strong>4. Metrics.</strong> An MCP server needs its own funnel. Useful measures include time to first successful call, tool call success rate, error rate by tool, how many distinct hosts connect, and retained weekly active connections. Glean's interview question in our bank starts from exactly this: a dashboard with strong time to first call but weak integration success rate [7].</p>
<p><strong>5. The ecosystem.</strong> If your company runs a platform, you may also own discovery, listing quality and developer experience for third party servers, which is what questions like "How would you grow MCP adoption among third-party tool developers?" test [7].</p>
<p><strong>How AllthingsPM does this:</strong> the lesson <a href="https://www.allthingspm.app/course/agents-and-agentic-architecture/agent-autonomy?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">The agent spec you own</a> covers scope, roles, tool contracts, risk levels and escalation, and <a href="https://www.allthingspm.app/course/agents-and-agentic-architecture/mcp?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">Reachable from someone else's agent</a> covers MCP, A2A and self-improving loops. Together they give you the PM half of an MCP launch.</p>
<h2>What are the risks of MCP, and how should a PM think about them?</h2>
<p>MCP is a pipe. The risk comes from what flows through it and what the agent can do next.</p>
<p>Simon Willison's "lethal trifecta" is the clearest frame: an agent becomes dangerous when it combines "access to your private data", "exposure to untrusted content" and "the ability to externally communicate" [8]. He points out that mixing MCP tools from different sources can put all three in one session, and uses a GitHub MCP exploit as an example, where a tool read public issues, reached private repository data and could open a pull request that leaked it [8].</p>
<p>The spec itself is direct about this. It says tools "represent arbitrary code execution and must be treated with appropriate caution," that tool descriptions "should be considered untrusted, unless obtained from a trusted server," and that "MCP itself cannot enforce these security principles at the protocol level" [5]. In other words, safety is a product design job.</p>
<p>Practical PM moves:</p>
<ul>
<li><strong>Split read and write.</strong> Put destructive actions behind separate tools with clear names, so hosts can ask for approval on those alone.</li>
<li><strong>Ask before irreversible actions.</strong> Use elicitation to request confirmation from the user mid-task [3].</li>
<li><strong>Scope tokens narrowly.</strong> Ask for the smallest OAuth scope each tool needs.</li>
<li><strong>Write the blast radius down.</strong> Before launch, list what the worst single tool call could do.</li>
</ul>
<p><strong>How AllthingsPM does this:</strong> the AllthingsPM course has a full lesson on <a href="https://www.allthingspm.app/course/trust/prompt-injection?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">agent security: the lethal trifecta, prompt injection, tool misuse and permission escalation</a>, and another on <a href="https://www.allthingspm.app/course/ai-ux-and-human-oversight/approval-gates?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">the approval gate</a>: where to put it and what payload to show so a human can approve with confidence.</p>
<h2>How is MCP different from an API, a plugin or A2A?</h2>
<p>This is the confusion PMs hit most.</p>
<ul>
<li><strong>API vs MCP.</strong> An API is your product's interface for developers who read your docs and write code. An MCP server usually wraps parts of that API in a form a model can discover and call without custom code per app. Many MCP servers are thin layers on existing APIs.</li>
<li><strong>Plugins vs MCP.</strong> Earlier plugin systems were tied to one AI app. MCP is an open standard supported across many hosts [2], so one server works in Claude, ChatGPT, Cursor and VS Code.</li>
<li><strong>A2A vs MCP.</strong> MCP connects an agent to tools and data. Agent-to-agent protocols connect one agent to another agent. Our course covers both in one lesson because PMs are asked to choose between them.</li>
</ul>
<p><strong>How AllthingsPM does this:</strong> our post on <a href="https://www.allthingspm.app/blog/ai-pm-job-postings-top-tools?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">the tools AI PM job postings name most</a> shows how often postings pair MCP with APIs, SQL and AI coding tools, and the AllthingsPM <a href="https://www.allthingspm.app/knowledge-graph?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">knowledge graph</a> shows how MCP connects to agents, tools and evals across the course.</p>
<h2>How do you learn MCP yourself this week?</h2>
<p>You learn MCP fastest by using it, not by reading about it. Here is a plan that fits in a week of evenings.</p>
<ol>
<li><strong>Day 1: use one.</strong> Pick a host you already have, such as Claude Desktop, Cursor or VS Code, and connect one ready-made server, for example the filesystem or GitHub server [3].</li>
<li><strong>Day 2: read the tool list.</strong> Look at the names and descriptions the server exposes. Ask yourself which you would rename and why.</li>
<li><strong>Day 3: read a trace.</strong> Ask the agent to do a task and look at which tools it called, with what arguments, and what came back.</li>
<li><strong>Day 4: break it.</strong> Give an ambiguous instruction and watch the model pick the wrong tool. Write a better description.</li>
<li><strong>Day 5: write the PM spec.</strong> For a product you know, list five tools you would expose, their risk level, what needs approval and three metrics.</li>
</ol>
<blockquote>
<p><strong>Connect your first MCP server</strong></p>
<p>Open the AllthingsPM lesson <a href="https://www.allthingspm.app/course/pm-as-builder/mcp-first-contact?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">MCP first contact: connect an agent to one tool and watch the trace</a> and do it step by step.</p>
</blockquote>
<p><strong>How AllthingsPM does this:</strong> the week above mirrors the <a href="https://www.allthingspm.app/course/pm-as-builder?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">Prototyping AI Products With Coding Tools chapter</a>, which also covers <a href="https://www.allthingspm.app/course/pm-as-builder/build-and-iterate-in-claude-code?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">building in Claude Code, Cursor and Codex</a> and <a href="https://www.allthingspm.app/course/pm-as-builder/read-the-code-you-did-not-write?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">reading the agent loop and its config</a>. Each chapter ends with graded work, so you finish with proof, not notes.</p>
<h2>How does MCP come up in PM interviews?</h2>
<p>At AI companies and platform companies, MCP shows up in product sense, strategy and metrics rounds. Real examples from our question bank:</p>
<ul>
<li><a href="https://www.allthingspm.app/question-bank/what-metrics-define-success-for-the-model-context-protocol-mcp-ecosystem-ea7f0032?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">What metrics define success for the Model Context Protocol (MCP) ecosystem?</a></li>
<li><a href="https://www.allthingspm.app/question-bank/how-would-you-grow-mcp-adoption-among-third-party-tool-developers-3f800f42?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">How would you grow MCP adoption among third-party tool developers?</a></li>
<li><a href="https://www.allthingspm.app/question-bank/you-own-figma-s-external-developer-platform-across-the-mcp-server-rest-6b633df5?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">You own Figma's external developer platform across the MCP Server, REST API, and first-party integrations</a></li>
</ul>
<p>A strong answer names the user (a developer, an admin, or an agent acting for a human), picks a north star such as weekly active successful connections, adds guardrails such as error rate and security incidents, and says what you would cut. Weak answers describe the protocol and never reach a decision.</p>
<p><strong>How AllthingsPM does this:</strong> each of these questions has its own page and answer guide on AllthingsPM, and any of them can start a scored <a href="https://www.allthingspm.app/prep?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">AI mock interview</a>. For a specific role, paste the posting into the <a href="https://www.allthingspm.app/jd-mock?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">JD mock</a> and the interviewer builds the loop around it, follow-ups included. Company pages such as <a href="https://www.allthingspm.app/question-bank/companies/anthropic?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">Anthropic's questions</a> group the rest.</p>
<h2>Why AllthingsPM is the better choice for learning MCP as a PM</h2>
<p>The official MCP documentation is a free, authoritative reference written for engineers. Read it. But a PM needs to decide what to expose, argue about risk, set metrics and explain it all in an interview.</p>
<p>Also new in October 2026: the <a href="https://www.allthingspm.app/pm-case-studies?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">PM Case Studies</a> library, 536 cases from companies like Notion, Netflix and Intercom. Read any brief free, then get your answer graded with quotes from your own writing and rewrites of your weakest lines.</p>
<p>That is the gap AllthingsPM fills. The AllthingsPM AI PM course was built from 604 real PM job postings, and because MCP shows up in 10% of AI-native postings we read, it gets real lessons: a hands-on one in the builder chapter where you connect an agent to a tool and read the trace, and a strategy one in the agents chapter on MCP and A2A. The trust chapter covers the lethal trifecta and prompt injection, and the AI UX chapter covers approval gates. That is the full PM job around an MCP launch, in order.</p>
<p>Then it connects learning to getting hired. The same account holds 4,122 real interview questions from 260 companies, including MCP questions from Figma and Glean, each with an answer guide; 116 live PM job descriptions at 18 AI companies, each with a mock interview built from it; and a <a href="https://www.allthingspm.app/jd-resume-review?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">resume review against a job description</a> so your MCP project shows up on the page that recruiters read.</p>
<p>Blog posts and docs are free and useful. For a structured path from "what is MCP" to "I can own an MCP product and interview for it", AllthingsPM is the stronger choice, with a free tier to start and Pro at $12 a month or $108 a year. <a href="https://www.allthingspm.app/course?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">Open the AI PM course</a> and start with the MCP lesson.</p>
<h2>Frequently asked questions</h2>
<h3>What is MCP in simple terms?</h3>
<p>MCP, the Model Context Protocol, is an open standard that lets AI apps connect to external tools and data in one common way. The official docs compare it to a USB-C port for AI applications. A product builds one MCP server, and any compatible AI app can use it.</p>
<h3>Do product managers need to know how to code to understand MCP?</h3>
<p>No. You need to understand hosts, servers, tools, resources and prompts, read a tool list and a trace, and make decisions about scope, consent and metrics. Connecting a ready-made server to Claude Desktop, Cursor or VS Code takes configuration, not programming.</p>
<h3>What is the best way for a PM to learn MCP?</h3>
<p>The best way is AllthingsPM: its AI PM course includes a hands-on MCP lesson, a lesson on MCP and A2A, and a security lesson on prompt injection, with real MCP interview questions to practice. Pair it with the free official MCP docs as your protocol reference.</p>
<h3>Is MCP only for Anthropic and Claude?</h3>
<p>No. Anthropic created it in November 2024 but donated it to the Agentic AI Foundation under the Linux Foundation in December 2025. ChatGPT, Claude, Cursor, Gemini, Microsoft Copilot and VS Code all support it as clients.</p>
<h3>What metrics should a PM track for an MCP server?</h3>
<p>Start with time to first successful call, tool call success rate, error rate by tool, number of distinct connected hosts and retained weekly active connections. Add guardrails for security incidents and actions that needed human approval.</p>
<h3>Is MCP safe?</h3>
<p>MCP itself cannot enforce safety; the spec says so. Risk grows when one agent has private data, untrusted content and a way to send data out. Split read and write tools, require approval for irreversible actions, scope tokens narrowly and log every call.</p>
<h3>Do PM interviews ask about MCP?</h3>
<p>Yes, at AI and platform companies. Real examples include "What metrics define success for the MCP ecosystem?" and "How would you grow MCP adoption among third-party tool developers?", both with answer guides on AllthingsPM.</p>
<p>Ready to go from reading about MCP to owning it? <a href="https://www.allthingspm.app/course?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">Start the AllthingsPM AI PM course free</a>, then practice with a <a href="https://www.allthingspm.app/jd-mock?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=mcp-explained-for-product-managers">JD mock interview</a>.</p>
<h2>Sources</h2>
<ol>
<li>Anthropic, "Introducing the Model Context Protocol", 25 November 2024: <a href="https://www.anthropic.com/news/model-context-protocol">https://www.anthropic.com/news/model-context-protocol</a></li>
<li>Model Context Protocol, "What is the Model Context Protocol (MCP)?": <a href="https://modelcontextprotocol.io/docs/getting-started/intro">https://modelcontextprotocol.io/docs/getting-started/intro</a></li>
<li>Model Context Protocol, "Architecture overview" (version 2026-07-28): <a href="https://modelcontextprotocol.io/docs/learn/architecture">https://modelcontextprotocol.io/docs/learn/architecture</a></li>
<li>MCP Blog, "MCP joins the Agentic AI Foundation", 9 December 2025: <a href="https://blog.modelcontextprotocol.io/posts/2025-12-09-mcp-joins-agentic-ai-foundation/">https://blog.modelcontextprotocol.io/posts/2025-12-09-mcp-joins-agentic-ai-foundation/</a></li>
<li>Model Context Protocol, Specification (version 2026-07-28), Security and Trust and Safety: <a href="https://modelcontextprotocol.io/specification/latest">https://modelcontextprotocol.io/specification/latest</a></li>
<li>AllthingsPM, "The Tools AI PM Job Posts Name Most: SQL, APIs, MCP, Claude Code", corpus of 604 PM postings read 6 September 2026: <a href="https://allthingspm.app/blog/ai-pm-job-postings-top-tools">https://allthingspm.app/blog/ai-pm-job-postings-top-tools</a></li>
<li>AllthingsPM question bank, MCP questions: <a href="https://allthingspm.app/question-bank">https://allthingspm.app/question-bank</a></li>
<li>Simon Willison, "The lethal trifecta for AI agents", 16 June 2025: <a href="https://simonwillison.net/2025/Jun/16/the-lethal-trifecta/">https://simonwillison.net/2025/Jun/16/the-lethal-trifecta/</a></li>
<li>Linux Foundation, "Linux Foundation Announces the Formation of the Agentic AI Foundation (AAIF)": <a href="https://www.linuxfoundation.org/press/linux-foundation-announces-the-formation-of-the-agentic-ai-foundation">https://www.linuxfoundation.org/press/linux-foundation-announces-the-formation-of-the-agentic-ai-foundation</a></li>
</ol>
]]></content:encoded></item><item><title><![CDATA[Make Your First LLM API Call as a PM (2027 Guide)]]></title><description><![CDATA[Make your first OpenAI API call as a PM: key, curl request, tokens, cost and errors, step by step. AllthingsPM teaches it free in its AI PM course. Start…]]></description><link>https://allthingspm.hashnode.dev/make-your-first-llm-api-call-as-a-pm</link><guid isPermaLink="true">https://allthingspm.hashnode.dev/make-your-first-llm-api-call-as-a-pm</guid><category><![CDATA[llm]]></category><category><![CDATA[AI]]></category><category><![CDATA[openai]]></category><category><![CDATA[Product Management]]></category><dc:creator><![CDATA[Arpit Ranjan]]></dc:creator><pubDate>Tue, 10 Nov 2026 16:09:33 GMT</pubDate><content:encoded><![CDATA[<p><em>Originally published on <a href="https://www.allthingspm.app/blog/make-your-first-llm-api-call-as-a-pm?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">AllthingsPM</a>, the AI product management course and interview practice app.</em></p>
<p>You can make your first OpenAI API call as a product manager in about fifteen minutes, with no app and no framework: create an API key, store it as an environment variable, paste one <code>curl</code> command that posts to <code>https://api.openai.com/v1/responses</code>, and then read the <code>usage</code> numbers in the reply to see what the call cost. That single call teaches you more about tokens, latency and price than a week of reading.</p>
<p>AllthingsPM is an AI PM course and PM interview prep platform. Its free lesson <a href="https://www.allthingspm.app/course/foundations/llm-apis?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">Make the API call yourself</a> walks you through exactly this exercise, inside a course built from 604 real PM job postings, so the skill connects straight to what hiring managers ask for.</p>
<h2>How do you make your first OpenAI API call, step by step?</h2>
<p>Here is the whole path. Each step is one small action, and none of them needs you to write a program.</p>
<table>
<thead>
<tr>
<th>Step</th>
<th>What you do</th>
<th>What it teaches you</th>
</tr>
</thead>
<tbody><tr>
<td>0. Learn it in AllthingsPM</td>
<td>Open the free lesson <a href="https://www.allthingspm.app/course/foundations/llm-apis?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">Make the API call yourself</a></td>
<td>Messages, tokens, temperature, streaming and the usage block, in PM terms</td>
</tr>
<tr>
<td>1. Get a key</td>
<td>Create an API key in your OpenAI account</td>
<td>Keys are billed credentials, not passwords you share</td>
</tr>
<tr>
<td>2. Store the key</td>
<td><code>export OPENAI_API_KEY="..."</code> in your terminal</td>
<td>Why keys live in the environment, never in code</td>
</tr>
<tr>
<td>3. Send one request</td>
<td>Paste the <code>curl</code> command below</td>
<td>The request shape: model plus input</td>
</tr>
<tr>
<td>4. Read the response</td>
<td>Find the text and the <code>usage</code> numbers</td>
<td>Output is a list of items; tokens are the unit of cost</td>
</tr>
<tr>
<td>5. Change one thing</td>
<td>Add instructions, swap the model</td>
<td>How behaviour and price move with each knob</td>
</tr>
<tr>
<td>6. Price a feature</td>
<td>Multiply tokens by the price per million</td>
<td>Unit economics you can defend in a review</td>
</tr>
</tbody></table>
<h3>Step 1 and 2: get a key and keep it out of your code</h3>
<p>Create a key in your OpenAI developer account and add a small amount of credit or a spend limit. Then set it in your terminal. OpenAI's quickstart gives this for macOS and Linux [1]:</p>
<pre><code class="language-bash">export OPENAI_API_KEY="your_api_key_here"
</code></pre>
<p>On Windows PowerShell the quickstart uses <code>setx OPENAI_API_KEY "your_api_key_here"</code> [1]. OpenAI's SDKs read the key from the environment automatically [1].</p>
<p>Treat this key like a company card. OpenAI's own guidance is to keep keys server side, never put them in browser or mobile code, never commit them to a repository (even a private one), and revoke and replace a key you think has leaked [5]. The first time you paste a key into a shared doc "just for a second" is the time it leaks.</p>
<h3>Step 3: send one request with curl</h3>
<p>This is the exact first call from OpenAI's quickstart [1]:</p>
<pre><code class="language-bash">curl "https://api.openai.com/v1/responses" \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $OPENAI_API_KEY" \
    -d '{
        "model": "gpt-6-astra",
        "input": "Write a one-sentence bedtime story about a unicorn."
    }'
</code></pre>
<p>Read it like a PM, not an engineer. There are only four parts:</p>
<ul>
<li><strong>The endpoint</strong> (<code>/v1/responses</code>): the door you knock on.</li>
<li><strong>Two headers</strong>: "I am sending JSON" and "here is my key."</li>
<li><strong>The model</strong>: which brain you are paying for.</li>
<li><strong>The input</strong>: what you are asking.</li>
</ul>
<p>That is the whole contract. Every AI feature your team ships, however fancy, is some version of this request with more in the input.</p>
<h3>Step 4: read the response, especially the usage block</h3>
<p>The reply is JSON. OpenAI's text generation guide warns that the model's output lives in an <code>output</code> array that can hold several kinds of items, including tool calls and reasoning data, so "it is not safe to assume" the text sits at the first position [2]. The official SDKs add a convenience property, <code>output_text</code>, that joins all the text into one string [2].</p>
<p>Now find the <code>usage</code> object. It reports how many input tokens you sent and how many output tokens the model produced. That is your bill. Anthropic's Messages API returns the same idea with <code>input_tokens</code> and <code>output_tokens</code>, plus cache fields when prompt caching is on [4].</p>
<p>A token is a chunk of text. OpenAI's rule of thumb for English is that one token is about 4 characters or three quarters of a word, and 100 tokens is about 75 words [6]. Other languages can tokenize differently [6], which matters the day your product launches in a new market.</p>
<p><img src="https://www.allthingspm.app/blog/assets/charts/make-your-first-llm-api-call-as-a-pm-1.svg" alt="Bar chart from the AllthingsPM JD corpus: AllthingsPM read 389 AI company PM postings; 164 mention hands-on, 124 mention API or APIs, 87 prototype, 45 prompt, 42 evals, 41 SQL and 19 Python" title="Source: AllthingsPM JD corpus, 389 PM postings from 86 AI companies, read 22 September 2026" /></p>
<p>Why bother? Look at the chart. In the AllthingsPM JD corpus of 389 PM postings from 86 AI companies, 124 (32%) mention APIs and 164 (42%) ask for hands-on work, while only 19 (5%) mention Python. Hiring managers want PMs who can touch the product, not PMs who can write production code. One API call is the cheapest proof you can touch it.</p>
<p><strong>How AllthingsPM does this.</strong> The free lesson <a href="https://www.allthingspm.app/course/foundations/llm-apis?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">Make the API call yourself</a> sits in the Foundations chapter of the <a href="https://www.allthingspm.app/course?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">AllthingsPM AI PM course</a> and covers messages, tokens, temperature, streaming and the usage block. It is followed by lessons on <a href="https://www.allthingspm.app/course/foundations/context-window?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">context windows</a> and on <a href="https://www.allthingspm.app/course/foundations/failure-attribution?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">attributing failures to a layer</a>, so your first call becomes the base for everything after it.</p>
<blockquote>
<p><strong>Why AllthingsPM wins for this</strong></p>
<ul>
<li>A free lesson that teaches the first LLM API call in PM terms: messages, tokens, temperature, streaming and the usage block.</li>
<li>An AI PM course built from 604 real PM job postings: 14 chapters, 103 lessons and 14 graded case studies, updated weekly.</li>
<li>116 live PM job descriptions at 18 AI companies, including OpenAI API roles, each with a mock interview built from it.</li>
<li>4,122 real interview questions from 260 companies, each with its own page and answer guide.</li>
<li>Free tier to start; Pro is $12 a month or $108 a year.</li>
</ul>
</blockquote>
<blockquote>
<p><strong>Key takeaways</strong></p>
<ul>
<li>Your first call is four parts: endpoint, headers, model and input. Nothing else is required.</li>
<li>Keep the key in an environment variable and out of any code, doc or repo.</li>
<li>The <code>usage</code> block is your unit economics: tokens in, tokens out, times the price per million.</li>
<li>32% of the 389 AI PM postings in the AllthingsPM JD corpus mention APIs; only 5% mention Python.</li>
</ul>
</blockquote>
<h2>What should you change after the first call works?</h2>
<p>Change one thing at a time and watch what moves. This is product discovery on the model itself.</p>
<p><strong>Add instructions.</strong> The Responses API accepts an <code>instructions</code> parameter that gives the model "high-level instructions on how it should behave," including tone, goals and examples [2]. Messages also carry roles: <code>developer</code> messages are prioritized ahead of <code>user</code> messages [2]. In product terms, <code>instructions</code> is your system prompt, the part the user never sees but that shapes every answer.</p>
<p>Try this version:</p>
<pre><code class="language-bash">curl "https://api.openai.com/v1/responses" \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $OPENAI_API_KEY" \
    -d '{
        "model": "gpt-6-luna",
        "instructions": "You are a support agent for a meal kit app. Answer in two sentences. If you are not sure, say so.",
        "input": "My box arrived warm. Is the chicken safe to eat?"
    }'
</code></pre>
<p>Run it five times. Do the answers differ? Does it ever say something your legal team would hate? You have just done your first informal eval, and you learned why "the model said something weird once" is not a bug report.</p>
<p><strong>Swap the model.</strong> Change <code>gpt-6-luna</code> to <code>gpt-6-sol</code>, then to <code>gpt-6-astra</code>, and compare quality, speed and the usage numbers. The price gap between tiers is large, as the next section shows.</p>
<p><strong>Try the same thing on Claude.</strong> Anthropic's Messages API posts to <code>/v1/messages</code> with an <code>x-api-key</code> header, and requires three fields: <code>model</code>, <code>max_tokens</code> and <code>messages</code> [4]. That <code>max_tokens</code> requirement is a useful lesson: you cap output length, and so output cost, on every call.</p>
<p><strong>Know the temperature caveat.</strong> Temperature used to be the classic "creativity" knob. On Anthropic's API it is now deprecated: models released after Claude Opus 4.6 accept only the default of 1.0 and reject other values with a 400 error [4]. If a tutorial tells you to set temperature to 0 for consistency, check the docs for your model first.</p>
<p><strong>How AllthingsPM does this.</strong> The course turns these experiments into skills you can show. <a href="https://www.allthingspm.app/course/agents-and-agentic-architecture/structured-outputs?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">Structured outputs</a> explains why a JSON format is a decoding constraint rather than a polite request, and <a href="https://www.allthingspm.app/course/agents-and-agentic-architecture/token-budget?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">Context as a budget</a> treats the system prompt as a product surface. When you are ready to measure quality properly, the <a href="https://www.allthingspm.app/course/evals?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">Designing Evals for AI Products chapter</a> picks up where your five manual runs stopped.</p>
<h2>How much does an LLM API call cost?</h2>
<p>Price is per million tokens, with separate rates for input and output. These are OpenAI's standard prices, checked 28 September 2026 on OpenAI's pricing page [3]:</p>
<table>
<thead>
<tr>
<th>Model</th>
<th>Input per 1M tokens</th>
<th>Output per 1M tokens</th>
</tr>
</thead>
<tbody><tr>
<td>gpt-6-astra</td>
<td>$10.00</td>
<td>$50.00</td>
</tr>
<tr>
<td>gpt-6-sol</td>
<td>$2.00</td>
<td>$10.00</td>
</tr>
<tr>
<td>gpt-6-luna</td>
<td>$0.10</td>
<td>$0.50</td>
</tr>
<tr>
<td>gpt-5.4-mini</td>
<td>$0.75</td>
<td>$4.50</td>
</tr>
<tr>
<td>gpt-5.4-nano</td>
<td>$0.20</td>
<td>$1.25</td>
</tr>
</tbody></table>
<p><em>Prices checked 28 September 2026 on OpenAI's own pricing page.</em></p>
<p>Work one example. Say your first call used 30 input tokens and 100 output tokens (your real numbers are in <code>usage</code>). On gpt-6-luna that costs 30 x $0.10 / 1,000,000 plus 100 x $0.50 / 1,000,000, which is about $0.00005. On gpt-6-astra the same call costs about $0.0053, roughly a hundred times more.</p>
<p>Now price a feature. Imagine a support assistant handling 10,000 conversations a day, each with 1,000 input tokens and 300 output tokens, on gpt-6-sol. Input is 10 million tokens a day, or $20. Output is 3 million tokens a day, or $30. That is $50 a day, about $1,500 a month, before retries, longer histories or tool calls. The same math is the core of estimation questions such as <a href="https://www.allthingspm.app/question-bank/estimate-cursor-s-monthly-llm-api-cost-per-pro-user-fd3ca333?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">estimate Cursor's monthly LLM API cost per Pro user</a>, which appears in the AllthingsPM question bank.</p>
<p>Two things surprise new AI PMs here. Output tokens usually cost several times more than input tokens, so long answers are the expensive part. And input grows silently: every turn of a chat resends the history, so turn ten costs more than turn one.</p>
<p><strong>How AllthingsPM does this.</strong> The lesson <a href="https://www.allthingspm.app/course/prove-it-paid-off/model-routing?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">Cost per successful task, the latency SLO, and the gross margin you defend</a> teaches you to price by successful task rather than by call, and to route easy requests to cheaper models. You can then rehearse the numbers out loud in an <a href="https://www.allthingspm.app/prep?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">AI mock interview</a> and get scored follow-ups.</p>
<h2>What errors will you hit, and what do they mean?</h2>
<p>Your first call will probably fail once. That is normal, and the error codes are informative. From OpenAI's error code guide [7]:</p>
<ul>
<li><strong>401, invalid authentication.</strong> The key is wrong, missing or revoked. Check it, or generate a new one.</li>
<li><strong>429, rate limit.</strong> You are sending requests too fast. Slow down and respect the <code>Retry-After</code> header.</li>
<li><strong>429, quota or spend limit.</strong> Same code, different cause: you are out of credit or hit your cap. Retrying will not help until billing changes.</li>
<li><strong>500, server error.</strong> The problem is on OpenAI's side. Wait, retry and check the status page.</li>
</ul>
<p>Notice the product lesson inside the 429s. One code, two root causes, two completely different fixes. Every AI feature needs an error state for "slow down" and a different one for "we are out of budget," and a PM who has seen both will ask for both in the spec.</p>
<p><strong>How AllthingsPM does this.</strong> The lesson <a href="https://www.allthingspm.app/course/foundations/failure-attribution?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">Attribute every failure to a layer</a> teaches you to decide whether a failure came from the model, the context, the harness or the surface. The <a href="https://www.allthingspm.app/course/trust/prompt-injection?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">Trust chapter</a> then covers what happens when failures are deliberate, such as prompt injection.</p>
<h2>Why does a PM need to make API calls at all?</h2>
<p>Because AI products are built on this contract, and the decisions that matter are product decisions dressed as technical ones. Which model tier? How long can answers be? What goes in the instructions? What do we show when the provider returns a 429? You cannot weigh those trade-offs from a slide.</p>
<p>The job postings say so directly. In the AllthingsPM corpus, API mentions (124 postings) far outnumber Python mentions (19), and OpenAI itself lists roles such as <a href="https://www.allthingspm.app/jobs/openai/product-manager-api-agents?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">Product Manager, API Agents</a> and <a href="https://www.allthingspm.app/jobs/openai/product-manager-api-infrastructure?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">Product Manager, API Infrastructure</a>, where the API is the product. For those roles, having made the call yourself is table stakes. For the rest, it is the difference between reviewing an AI spec and co-writing it.</p>
<p>It also changes how you talk with engineers. "The usage block shows 4,000 input tokens per turn, can we trim the history?" is a better conversation than "it feels slow and pricey." If you want the conceptual picture behind the call, read <a href="https://www.allthingspm.app/blog/how-llms-work-for-pms?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">LLM basics for product managers</a>; if you are wondering how far to take the coding, see <a href="https://www.allthingspm.app/blog/do-ai-pms-need-to-code-what-the-job-descriptions-say?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">do AI PMs need to code</a>.</p>
<p><strong>How AllthingsPM does this.</strong> Every AllthingsPM job page carries a mock interview built from that exact job description, so you can read the OpenAI API Agents posting and then practice being interviewed for it. The <a href="https://www.allthingspm.app/jd-mock?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">JD mock</a> does the same for any posting you paste in.</p>
<blockquote>
<p><strong>Practice it</strong></p>
<p>Read the role, then get interviewed for it: <a href="https://www.allthingspm.app/jobs/openai/product-manager-api-agents?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">run a mock interview on OpenAI's Product Manager, API Agents job description</a>.</p>
</blockquote>
<h2>What should you build after your first call?</h2>
<p>Keep it small and useful. A few good second projects:</p>
<ol>
<li><strong>A prompt comparison sheet.</strong> Run the same ten real user questions through two models and two instruction versions. Record answers, tokens and cost in a spreadsheet. This is the seed of an eval set.</li>
<li><strong>A structured extractor.</strong> Ask the model to turn messy feedback into JSON fields such as sentiment, feature and severity. You will quickly learn why format constraints matter.</li>
<li><strong>A cost model for one feature.</strong> Take your team's next AI idea and price it with real token counts from <code>usage</code>, at two model tiers.</li>
</ol>
<p>Each of these fits in an afternoon and gives you an artifact for your portfolio. Browse the <a href="https://www.allthingspm.app/pm-portfolios?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">AllthingsPM PM portfolios</a> for examples of how PMs present this kind of work, and see <a href="https://www.allthingspm.app/blog/ai-evals-for-product-managers?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">AI evals for product managers</a> for turning the comparison sheet into a real eval.</p>
<p><strong>How AllthingsPM does this.</strong> The <a href="https://www.allthingspm.app/course/pm-as-builder?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">Prototyping AI Products With Coding Tools chapter</a> moves from single calls to prototypes, starting with <a href="https://www.allthingspm.app/course/pm-as-builder/prototyping-tools?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">prototyping by what it must prove</a> and <a href="https://www.allthingspm.app/course/pm-as-builder/mcp-first-contact?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">connecting an agent to one tool over MCP</a>. Each chapter ends in a graded integration case you can keep.</p>
<h2>Why AllthingsPM is the better choice for learning the OpenAI API as a PM</h2>
<p>OpenAI's documentation is the right reference for exact syntax, and you should keep it open [1][2]. But documentation is written for developers building apps. It will not tell you which of those parameters a hiring manager will ask about, how to turn a usage block into a margin argument, or what to do with the answer in an interview.</p>
<p>New in October 2026: <a href="https://www.allthingspm.app/pm-case-studies?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">PM Case Studies</a>, 536 cases set at real companies such as Stripe, Duolingo and OpenAI. Every brief is free to read, and Pro grades your answer line by line against a weighted rubric.</p>
<p>AllthingsPM is built for that gap. The free <a href="https://www.allthingspm.app/course/foundations/llm-apis?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">Make the API call yourself</a> lesson teaches the call in PM terms, and it sits inside an AI PM course built from 604 real PM job postings: 14 chapters, 103 lessons and 14 graded case studies, updated weekly. The skills are sequenced the way the jobs use them: the call, then context windows, structured outputs, evals, cost per task and trust.</p>
<p>The course is only part of it. On the same account you get 116 live PM job descriptions at 18 AI companies, each with its own mock interview, 4,122 real questions from 260 companies with answer guides in the <a href="https://www.allthingspm.app/question-bank?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">question bank</a>, and <a href="https://www.allthingspm.app/jd-resume-review?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">resume review against a job description</a>. General AI courses and developer tutorials each cover one piece; AllthingsPM connects the skill to the job and the interview.</p>
<p>The free tier lets you start today, and Pro is $12 a month or $108 a year. Verdict: learn the syntax from OpenAI's docs, and learn what it means for your product and your career with AllthingsPM. <a href="https://www.allthingspm.app/course/foundations/llm-apis?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">Open the free lesson now</a>.</p>
<h2>Frequently asked questions</h2>
<h3>What is the best way for a product manager to learn the OpenAI API?</h3>
<p>AllthingsPM is the best starting point for PMs: its free lesson <a href="https://www.allthingspm.app/course/foundations/llm-apis?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">Make the API call yourself</a> teaches messages, tokens, temperature, streaming and the usage block in PM terms, inside an AI PM course built from 604 job postings. Keep OpenAI's quickstart open for exact syntax.</p>
<h3>Do I need to know how to code to call the OpenAI API?</h3>
<p>No. Your first call is one <code>curl</code> command pasted into a terminal, with an API key stored as an environment variable. In the AllthingsPM JD corpus, only 19 of 389 AI PM postings mention Python, while 124 mention APIs.</p>
<h3>How much will my first API calls cost?</h3>
<p>Very little. A short call of 30 input and 100 output tokens costs about $0.00005 on gpt-6-luna at OpenAI's prices checked 28 September 2026. Set a spend limit on your account before you start experimenting.</p>
<h3>What is a token?</h3>
<p>A token is the unit models read and bill by. OpenAI's rule of thumb for English is about 4 characters or three quarters of a word per token, so 100 tokens is roughly 75 words. Other languages can use more tokens for the same meaning.</p>
<h3>What is the difference between the OpenAI and Anthropic APIs for a first call?</h3>
<p>OpenAI's Responses API takes a model and an input and authenticates with a Bearer token. Anthropic's Messages API uses an <code>x-api-key</code> header and requires <code>model</code>, <code>max_tokens</code> and <code>messages</code>. Both return usage counts for input and output tokens.</p>
<h3>Why did my API call return a 429 error?</h3>
<p>A 429 means either you are sending requests too fast (slow down and follow <code>Retry-After</code>) or you have run out of quota or hit a spend cap (add credit or raise the limit). Retrying does not fix the quota case.</p>
<h2>Start free</h2>
<p>Make the call, read the usage block, and price one feature. Then keep going: <a href="https://www.allthingspm.app/course/foundations/llm-apis?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">open the free AllthingsPM lesson on LLM APIs</a> and continue through the <a href="https://www.allthingspm.app/course?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=make-your-first-llm-api-call-as-a-pm">AI PM course</a>, free to start.</p>
<h2>Sources</h2>
<ol>
<li>OpenAI, "Developer quickstart," <a href="https://developers.openai.com/api/docs/quickstart">https://developers.openai.com/api/docs/quickstart</a> (checked 28 September 2026)</li>
<li>OpenAI, "Text generation," <a href="https://developers.openai.com/api/docs/guides/text">https://developers.openai.com/api/docs/guides/text</a> (checked 28 September 2026)</li>
<li>OpenAI, "Pricing," <a href="https://developers.openai.com/api/docs/pricing">https://developers.openai.com/api/docs/pricing</a> (checked 28 September 2026)</li>
<li>Anthropic, "Messages API," <a href="https://platform.claude.com/docs/en/api/messages">https://platform.claude.com/docs/en/api/messages</a> (checked 28 September 2026)</li>
<li>OpenAI Help Center, "Best practices for API key safety," <a href="https://help.openai.com/en/articles/5112595-best-practices-for-api-key-safety">https://help.openai.com/en/articles/5112595-best-practices-for-api-key-safety</a></li>
<li>OpenAI Help Center, "What are tokens and how to count them," <a href="https://help.openai.com/en/articles/4936856-what-are-tokens-and-how-to-count-them">https://help.openai.com/en/articles/4936856-what-are-tokens-and-how-to-count-them</a></li>
<li>OpenAI, "Error codes," <a href="https://developers.openai.com/api/docs/guides/error-codes">https://developers.openai.com/api/docs/guides/error-codes</a> (checked 28 September 2026)</li>
<li>AllthingsPM JD corpus, 389 PM postings from 86 AI companies, read 22 September 2026</li>
</ol>
]]></content:encoded></item><item><title><![CDATA[How LLMs Work, for PMs: Tokens, Context Windows, Temperature]]></title><description><![CDATA[LLM basics for product managers: tokens, context windows and temperature, and the product calls each drives. Learn it free in the AllthingsPM AI PM course.]]></description><link>https://allthingspm.hashnode.dev/how-llms-work-for-pms</link><guid isPermaLink="true">https://allthingspm.hashnode.dev/how-llms-work-for-pms</guid><category><![CDATA[llm]]></category><category><![CDATA[AI]]></category><category><![CDATA[Product Management]]></category><category><![CDATA[generative ai]]></category><dc:creator><![CDATA[Arpit Ranjan]]></dc:creator><pubDate>Tue, 10 Nov 2026 16:08:41 GMT</pubDate><content:encoded><![CDATA[<p><em>Originally published on <a href="https://www.allthingspm.app/blog/how-llms-work-for-pms?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">AllthingsPM</a>, the AI product management course and interview practice app.</em></p>
<p>A large language model does three things a product manager must understand. It breaks text into <strong>tokens</strong> and predicts the next token, one at a time. It can only read what fits in its <strong>context window</strong>, and it reads the middle of that window worse than the ends. And it picks each token by sampling, which a <strong>temperature</strong> setting makes more or less random. Those three facts decide your feature's cost, its latency, its quality and how you test it.</p>
<p>AllthingsPM is an AI PM course and PM interview prep platform. Its free Foundations lessons teach exactly these mechanics through product decisions, not math, and its question bank holds 101 real interview questions that test them, each with an answer guide.</p>
<h2>What are the LLM basics every product manager needs?</h2>
<p>Here is the whole guide on one page. The rest of the post explains each row and the decision it forces.</p>
<table>
<thead>
<tr>
<th>Concept</th>
<th>What it is, in one line</th>
<th>The product decision it drives</th>
<th>Learn it on AllthingsPM</th>
</tr>
</thead>
<tbody><tr>
<td>Tokens</td>
<td>The chunks of text a model reads and writes; about 4 characters or 0.75 English words each</td>
<td>Unit cost, latency, length limits, pricing for non-English users</td>
<td><a href="https://www.allthingspm.app/course/foundations/tokens?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">One token at a time</a></td>
</tr>
<tr>
<td>Next-token prediction</td>
<td>The model writes by guessing the next token, over and over</td>
<td>Why it can sound right and be wrong; why you need evals</td>
<td><a href="https://www.allthingspm.app/course/foundations/tokens?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">One token at a time</a></td>
</tr>
<tr>
<td>Context window</td>
<td>Everything the model can see in one request, including its own answer</td>
<td>What to put in the prompt, when to use retrieval, how long a chat can run</td>
<td><a href="https://www.allthingspm.app/course/foundations/context-window?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">Context windows and attention</a></td>
</tr>
<tr>
<td>Context rot</td>
<td>Accuracy and recall fall as the context grows</td>
<td>Curate context; do not paste everything</td>
<td><a href="https://www.allthingspm.app/course/agents-and-agentic-architecture/token-budget?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">Context as a budget</a></td>
</tr>
<tr>
<td>Temperature</td>
<td>A dial on how random each token choice is</td>
<td>Creative vs predictable output; whether you can promise consistency</td>
<td><a href="https://www.allthingspm.app/course/foundations/llm-apis?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">Make the API call yourself</a></td>
</tr>
<tr>
<td>Nondeterminism</td>
<td>Same input, different output, even at temperature 0</td>
<td>Test many runs, not one; score with rubrics</td>
<td><a href="https://www.allthingspm.app/course/pm-as-builder/prototype-qa?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">One output is an example</a></td>
</tr>
<tr>
<td>Input vs output price</td>
<td>Providers charge per million tokens, and output costs more</td>
<td>Cost per task, model choice, gross margin</td>
<td><a href="https://www.allthingspm.app/course/prove-it-paid-off/model-routing?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">Cost per successful task</a></td>
</tr>
</tbody></table>
<p><em>Figures from Anthropic's and Google's API documentation, checked 28 September 2026. See Sources.</em></p>
<blockquote>
<p><strong>Why AllthingsPM wins for this</strong></p>
<ul>
<li>Free Foundations lessons on <a href="https://www.allthingspm.app/course/foundations/tokens?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">tokens</a>, <a href="https://www.allthingspm.app/course/foundations/context-window?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">context windows</a> and <a href="https://www.allthingspm.app/course/foundations/llm-apis?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">the API call itself</a>, written for PMs rather than engineers.</li>
<li>An AI PM course built from 604 real PM job postings: 14 chapters, 103 lessons and 14 graded case studies, updated weekly.</li>
<li>4,122 real interview questions from 260 companies, each with its own page and answer guide; 101 of them test LLM mechanics.</li>
<li>Mock interviews built from any job description, in text or voice, with follow-ups and a score.</li>
<li>A free tier, then $12 a month or $108 a year for everything.</li>
</ul>
</blockquote>
<blockquote>
<p><strong>Key takeaways</strong></p>
<ul>
<li>A token is roughly 4 characters or 0.75 English words, and you pay for every one, in and out.</li>
<li>A bigger context window is not a better memory: models read the middle of long inputs worst.</li>
<li>Temperature controls randomness, but even temperature 0 is not fully deterministic, and some new models no longer let you set it.</li>
<li>Output tokens usually cost several times more than input tokens, so long answers drive the bill.</li>
<li>Test an LLM feature on many inputs and many runs, never on one good demo.</li>
</ul>
</blockquote>
<h2>What is a token, and why should a PM care?</h2>
<p>A token is the unit a model reads and writes. It is often a word fragment, not a whole word. Anthropic's pricing FAQ gives the rule of thumb: one token is about 4 characters or 0.75 words in English, and "the exact count varies by language and content type." Google's Gemini docs say the same thing another way: 100 tokens is about 60 to 80 English words.</p>
<p>Tokens matter to a PM for four reasons.</p>
<p><strong>Cost.</strong> Every API provider bills per million tokens. On Anthropic's price list, Claude Sonnet 5 costs $2 per million input tokens and $10 per million output tokens, and Claude Haiku 4.5 costs $1 and $5. Your unit economics start here.</p>
<p><strong>Length limits.</strong> Context windows and output caps are counted in tokens, not words or pages. A spec that says "support documents up to 50 pages" needs a token estimate behind it.</p>
<p><strong>Language and modality.</strong> The same meaning can cost a different number of tokens in another language. Images, audio and video also become tokens: Gemini counts audio at 32 tokens per second and a small image at 258 tokens.</p>
<p><strong>Model upgrades.</strong> Tokenizers change between model versions. Anthropic notes that Claude 4.7 and later models use a newer tokenizer that "produces approximately 30% more tokens for the same text." Swap models and your cost per request can move even if the price per token did not.</p>
<h3>Why does next-token prediction matter?</h3>
<p>The model writes by predicting one likely next token, adding it, and predicting again. It is not looking up a fact. That is why a confident, fluent answer can still be wrong, and why "it worked in my demo" proves little. A PM who understands this writes requirements about verification (citations, confidence, a manual path) instead of assuming accuracy.</p>
<p><strong>How AllthingsPM does this.</strong> The free lesson <a href="https://www.allthingspm.app/course/foundations/tokens?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">One token at a time</a> walks through next-token prediction, tokenization and what each modality costs, then asks you to apply it to a product you carry through the course. The follow-on lesson on <a href="https://www.allthingspm.app/course/foundations/model-training?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">pretraining, post-training and reasoning models</a> explains where the model's knowledge comes from and why you cannot promise determinism.</p>
<h2>What is a context window?</h2>
<p>The context window is everything the model can see when it answers. Anthropic's docs define it as "all the text a language model can reference when generating a response, including the response itself," and call it the model's "working memory," which is different from the training data.</p>
<p>Three things surprise most PMs.</p>
<p><strong>Everything counts.</strong> The system prompt, every earlier message, tool definitions, tool results, images, documents and the model's own output all use the same budget. Thinking tokens on reasoning models count too, and are billed as output.</p>
<p><strong>Windows are large now.</strong> Anthropic lists a 1 million token window for its current Opus and Sonnet 5 models, and 200,000 tokens for some older ones such as Claude Sonnet 4.5. By the 0.75 words per token rule, a million tokens is roughly 750,000 English words.</p>
<p><strong>Chat memory is an illusion built from the window.</strong> Each turn, the whole conversation so far is sent again as input. That is why long chats get slower and more expensive, and why products eventually trim or summarise old turns. Anthropic offers server-side "compaction" for exactly this.</p>
<h3>Is a bigger context window always better?</h3>
<p>No. Anthropic's own documentation says "more context isn't automatically better. As token count grows, accuracy and recall degrade, a phenomenon known as context rot."</p>
<p>Two studies back this up. The 2023 paper "Lost in the Middle" by Liu and colleagues found that performance "is often highest when relevant information occurs at the beginning or end of the input context, and significantly degrades when models must access relevant information in the middle of long contexts." Chroma's 2025 "Context Rot" report tested 18 models from Anthropic, OpenAI, Google and Alibaba and concluded that "performance grows increasingly unreliable as input length grows." It also found that "even a single distractor reduces performance."</p>
<p>The product lesson: curate the context. Retrieve the few passages that answer the question instead of pasting the whole knowledge base. Put the critical instruction at the start or the end. Remove stale tool output. This is the skill people now call context engineering.</p>
<p><strong>How AllthingsPM does this.</strong> The free lesson <a href="https://www.allthingspm.app/course/foundations/context-window?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">Context windows and attention</a> is subtitled "why a long window is not a long memory." In the agents chapter, <a href="https://www.allthingspm.app/course/agents-and-agentic-architecture/token-budget?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">Context as a budget</a> covers retrieval intuition, when RAG is the right fix, and the system prompt as a product surface. You can see how these ideas connect on the <a href="https://www.allthingspm.app/knowledge-graph?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">AI PM knowledge graph</a>.</p>
<h2>What does temperature do?</h2>
<p>At each step the model has a probability for every possible next token. Temperature changes how it picks. Low temperature favours the most likely token, giving focused and repeatable text. High temperature spreads the choice, giving more varied and creative text.</p>
<p>Anthropic's API reference shows the range as 0.0 to 1.0 with a default of 1.0, and advises "temperature closer to 0.0 for analytical / multiple choice, and closer to 1.0 for creative and generative tasks."</p>
<p>Two facts change how you write a spec.</p>
<p><strong>Temperature 0 is not a guarantee.</strong> The same reference says that "even with temperature of 0.0, the results will not be fully deterministic." Thinking Machines Lab tested this: they sampled 1,000 completions of one prompt at temperature 0 from a Qwen model and got 80 unique completions. They trace the cause to server load changing batch sizes, not to the model itself.</p>
<p><strong>Some models no longer expose the dial.</strong> Anthropic's reference marks temperature as deprecated: models released after Claude Opus 4.6 accept only 1.0 and reject other values. So "set temperature to 0 for consistency" is not always an option. Consistency has to come from the prompt, structured outputs and evals.</p>
<h3>What should a PM do about randomness?</h3>
<p>Treat one output as an anecdote. Run the same input several times and many inputs once each. Score results against a written rubric, not a gut feeling. Where the business needs the same answer every time (prices, eligibility, compliance text), do not generate it at all: look it up and let the model phrase it.</p>
<p><strong>How AllthingsPM does this.</strong> The free lesson <a href="https://www.allthingspm.app/course/foundations/llm-apis?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">Make the API call yourself</a> has you send a real request and read messages, tokens, temperature, streaming and the usage block. Later, <a href="https://www.allthingspm.app/course/pm-as-builder/prototype-qa?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">One output is an example; ten inputs by five runs is evidence</a> turns randomness into a testing habit, and <a href="https://www.allthingspm.app/course/evals/scoring-rubrics?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">Write the criterion</a> shows how to score it. Our guide to <a href="https://www.allthingspm.app/blog/ai-evals-for-product-managers?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">AI evals for product managers</a> goes deeper.</p>
<h2>How do tokens turn into cost and latency?</h2>
<p>Here is a worked example using Anthropic's published prices. Say a support assistant sends 3,000 input tokens per call (system prompt, retrieved help articles, the customer's question) and gets 500 output tokens back, on Claude Sonnet 5 at $2 and $10 per million.</p>
<ul>
<li>Input: 3,000 x $2 / 1,000,000 = $0.006</li>
<li>Output: 500 x $10 / 1,000,000 = $0.005</li>
<li>Total: $0.011 per call, or $1,100 for 100,000 calls</li>
</ul>
<p>Notice the shape. The answer is one sixth the size of the input but costs almost as much, because output is priced five times higher. Output also drives latency, since tokens are generated one after another. Shorter answers are cheaper and faster.</p>
<p>The same page lists the levers PMs actually pull: pick a smaller model for simple tasks, cache repeated prompt prefixes (a cache hit costs 10% of the base input price on most models), and use the Batch API for work that can wait, at a 50% discount. Anthropic's own example puts 10,000 support conversations on Haiku 4.5 at about $37.</p>
<p>Latency and cost are also what interviewers probe. In the AllthingsPM question bank, latency is the most common LLM mechanics topic, with 32 questions.</p>
<p><img src="https://www.allthingspm.app/blog/assets/charts/how-llms-work-for-pms-1.svg" alt="Bar chart led by an AllthingsPM (us) row: 101 of 4,122 interview questions test LLM mechanics, then by topic: latency 32, prompts 26, LLMs by name 25, RAG and retrieval 21, inference and API cost 9, fine-tuning 5, hallucination 4, tokens 3, temperature and nondeterminism 3" title="AllthingsPM question bank: 101 of 4,122 questions touch LLM mechanics, September 2026. Topic matches on question text; one question can match several topics" /></p>
<p><strong>How AllthingsPM does this.</strong> <a href="https://www.allthingspm.app/course/prove-it-paid-off/model-routing?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">Cost per successful task, the latency SLO, and the gross margin you defend</a> teaches model routing as a business decision. Then practise it on real estimation questions such as <a href="https://www.allthingspm.app/question-bank/estimate-cursor-s-monthly-llm-api-cost-per-pro-user-fd3ca333?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">Estimate Cursor's monthly LLM API cost per Pro user</a> or <a href="https://www.allthingspm.app/question-bank/what-metrics-best-communicate-groq-s-value-tokens-sec-latency-cost-f115e485?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">What metrics best communicate Groq's value (tokens/sec, latency, cost)?</a>.</p>
<h2>How do these basics show up in PM interviews?</h2>
<p>AI PM interviews rarely ask you to define a token. They ask you to make a decision that only makes sense if you understand one. Typical shapes from the AllthingsPM bank:</p>
<ul>
<li><strong>Estimation:</strong> <a href="https://www.allthingspm.app/question-bank/estimate-the-llm-inference-cost-per-active-windsurf-developer-27dd0f89?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">Estimate the LLM inference cost per active Windsurf developer</a>. You need tokens per request, requests per day and a price per million.</li>
<li><strong>Quality:</strong> <a href="https://www.allthingspm.app/question-bank/how-should-openai-handle-hallucinations-in-chatgpt-for-high-stakes-use-20b57ef1?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">How should OpenAI handle hallucinations in ChatGPT for high-stakes use cases</a>. You need next-token prediction and grounding.</li>
<li><strong>Measurement:</strong> <a href="https://www.allthingspm.app/question-bank/what-evaluation-metrics-can-be-used-to-judge-llm-generation-quality-in-f195db2f?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">What evaluation metrics can be used to judge LLM generation quality in your AI products?</a>. You need nondeterminism and rubrics.</li>
<li><strong>Customisation:</strong> <a href="https://www.allthingspm.app/question-bank/what-are-the-latest-techniques-available-to-customize-fine-tune-llms-2b0330a8?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">What are the latest techniques available to customize or fine-tune LLMs?</a>. You need to know when context beats training.</li>
</ul>
<p>A strong answer names the mechanic, then the trade-off, then the metric. For the hallucination question: the model predicts plausible tokens, so ground it in retrieved sources, show claim-level citations, and measure the unsupported-claim rate on a frozen test set.</p>
<p><strong>How AllthingsPM does this.</strong> Every question above has its own page and answer guide, and any one can start a scored mock. To rehearse for a specific role, paste the job description into the <a href="https://www.allthingspm.app/jd-mock?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">JD mock interview</a> and it builds the interview from that posting, in text or voice, with follow-ups. The <a href="https://www.allthingspm.app/question-bank/companies/openai?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">OpenAI company hub</a> and the other company pages group questions by employer.</p>
<blockquote>
<p><strong>Practise LLM mechanics out loud</strong></p>
<p>Open <a href="https://www.allthingspm.app/question-bank?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">the AllthingsPM question bank</a>, search "latency" or "LLM", and run a scored mock on any question. Or start with the free lesson <a href="https://www.allthingspm.app/course/foundations/tokens?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">One token at a time</a>.</p>
</blockquote>
<h2>Do PMs need to learn the math behind LLMs?</h2>
<p>No. You do not need attention equations or gradient descent to ship a good AI feature. You need to predict behaviour: what it will cost, where it will fail, and how you will know. The concepts in this post cover most of those calls.</p>
<p>What you do need is hands-on contact. Send one API request, read the usage block, change the temperature, paste a long document and watch the answer degrade. Ten minutes of that beats a week of reading. Our post on <a href="https://www.allthingspm.app/blog/do-ai-pms-need-to-code-what-the-job-descriptions-say?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">whether AI PMs need to code</a> looks at what job descriptions actually ask for, and <a href="https://www.allthingspm.app/blog/ai-product-manager-skills?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">the AI PM skills required</a> post ranks the rest.</p>
<p><strong>How AllthingsPM does this.</strong> The Foundations chapter pairs each concept with a PM decision, and closes with an integration case: <a href="https://www.allthingspm.app/course/foundations/integration-case?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">predict what your product's model will be bad at, and prove one prediction wrong</a>. The lesson on <a href="https://www.allthingspm.app/course/foundations/failure-attribution?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">failure attribution</a> teaches you to blame the right layer: model, context, harness or surface.</p>
<h2>Why AllthingsPM is the better choice for learning LLM basics</h2>
<p>Plenty of places explain tokens. Provider docs from Anthropic, OpenAI and Google are accurate and free, and they are worth bookmarking. Research like "Lost in the Middle" and Chroma's context rot report is the evidence underneath. But none of them is written for a product manager, none turns the mechanics into decisions, and none tests you on them.</p>
<p>New in October 2026: <a href="https://www.allthingspm.app/pm-case-studies?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">PM Case Studies</a>, 536 cases set at real companies such as Stripe, Duolingo and OpenAI. Every brief is free to read, and Pro grades your answer line by line against a weighted rubric.</p>
<p>AllthingsPM does all three in one place. The course is built from 604 real PM job postings, so it teaches the LLM concepts employers name, in the order a PM needs them. Its Foundations lessons on tokens, context windows and the API call are free. Every concept then connects forward: context windows to retrieval and agents, temperature to evals, token prices to margins.</p>
<p>The practice side is what generic explainers lack. The AllthingsPM question bank has 4,122 real questions from 260 companies, 101 of them on LLM mechanics, each with an answer guide. Mock interviews build from any job description, in text or voice, and score your answer. When you are ready to apply, the <a href="https://www.allthingspm.app/jobs?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">jobs catalog</a> lists live PM roles at AI companies, each with a mock built from its JD, and <a href="https://www.allthingspm.app/jd-resume-review?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">resume review against a JD</a> checks your application.</p>
<p>It costs nothing to start, and $12 a month or $108 a year for everything after the free tier. Read the docs for reference; learn and practise on AllthingsPM. <a href="https://www.allthingspm.app/course?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">Open the free AI PM course</a>.</p>
<h2>Frequently asked questions</h2>
<h3>What is the best way to learn LLM basics as a product manager?</h3>
<p>The best way is AllthingsPM: its free Foundations lessons teach tokens, context windows and temperature as product decisions, and its question bank lets you practise the interview questions that test them. Pair it with the official docs from Anthropic, OpenAI or Google for reference, and send at least one real API request yourself.</p>
<h3>How many words is 1,000 tokens?</h3>
<p>About 750 English words, using Anthropic's rule of thumb that one token is roughly 0.75 words. Google's Gemini docs put 100 tokens at 60 to 80 English words. Other languages, code and numbers often use more tokens per word.</p>
<h3>What temperature should I use for my AI feature?</h3>
<p>Low values suit analytical, extraction and multiple choice tasks; higher values suit creative writing, per Anthropic's API guidance. But temperature 0 is still not fully deterministic, and some newer models accept only the default. Build consistency with clear prompts, structured outputs and evals.</p>
<h3>Does a 1 million token context window mean I can skip RAG?</h3>
<p>Not usually. Anthropic's docs say accuracy and recall degrade as token count grows, and research shows models read the middle of long inputs worst. Long windows also cost more per request. Retrieval that sends only the relevant passages is often cheaper and more accurate.</p>
<h3>Why are output tokens more expensive than input tokens?</h3>
<p>Providers price them differently; on Anthropic's list, output costs five times input for Sonnet 5 and Haiku 4.5. Output is generated one token at a time, which also makes it the main driver of latency. Asking for shorter, structured answers cuts both cost and wait time.</p>
<h3>Do AI PM interviews ask about tokens and context windows?</h3>
<p>Yes, mostly through decisions rather than definitions. In the AllthingsPM bank, 101 of 4,122 questions touch LLM mechanics, led by latency, prompting and RAG. Expect estimation questions on inference cost and design questions on hallucinations.</p>
<h2>Start free</h2>
<p>Open the free Foundations lessons in the <a href="https://www.allthingspm.app/course?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">AllthingsPM AI PM course</a>, starting with <a href="https://www.allthingspm.app/course/foundations/tokens?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">One token at a time</a>. Then pick an LLM question in the <a href="https://www.allthingspm.app/question-bank?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=how-llms-work-for-pms">question bank</a> and answer it out loud in a scored mock.</p>
<h2>Sources</h2>
<ol>
<li>Anthropic, "Pricing" (token rule of thumb, per-model prices, tokenizer note, caching and batch discounts, support example), <a href="https://platform.claude.com/docs/en/about-claude/pricing">https://platform.claude.com/docs/en/about-claude/pricing</a>, checked 28 September 2026</li>
<li>Anthropic, "Context windows" (definition, what counts, window sizes by model, context rot, compaction), <a href="https://platform.claude.com/docs/en/build-with-claude/context-windows">https://platform.claude.com/docs/en/build-with-claude/context-windows</a>, checked 28 September 2026</li>
<li>Anthropic, "Messages API reference" (temperature range, default, determinism note and deprecation), <a href="https://platform.claude.com/docs/en/api/messages">https://platform.claude.com/docs/en/api/messages</a>, checked 28 September 2026</li>
<li>Google, "Understand and count tokens," Gemini API docs, <a href="https://ai.google.dev/gemini-api/docs/tokens">https://ai.google.dev/gemini-api/docs/tokens</a>, checked 28 September 2026</li>
<li>Liu, N. F., Lin, K., Hewitt, J., Paranjape, A., Bevilacqua, M., Petroni, F. and Liang, P., "Lost in the Middle: How Language Models Use Long Contexts," arXiv:2307.03172, <a href="https://arxiv.org/abs/2307.03172">https://arxiv.org/abs/2307.03172</a></li>
<li>Chroma, "Context Rot: How Increasing Input Tokens Impacts LLM Performance," <a href="https://www.trychroma.com/research/context-rot">https://www.trychroma.com/research/context-rot</a></li>
<li>He, H. and Thinking Machines Lab, "Defeating Nondeterminism in LLM Inference," <a href="https://thinkingmachines.ai/blog/defeating-nondeterminism-in-llm-inference/">https://thinkingmachines.ai/blog/defeating-nondeterminism-in-llm-inference/</a></li>
<li>AllthingsPM question bank, 4,122 questions; topic counts from question text, 28 September 2026, <a href="https://allthingspm.app/question-bank">https://allthingspm.app/question-bank</a></li>
<li>AllthingsPM AI PM course, Foundations chapter, <a href="https://allthingspm.app/course">https://allthingspm.app/course</a></li>
</ol>
]]></content:encoded></item><item><title><![CDATA[Building a Golden Dataset for Your AI Feature: A PM Guide (2027)]]></title><description><![CDATA[How to build a golden dataset for LLM evaluation: sourcing, sizing, labeling and upkeep. AllthingsPM's AI PM course teaches it hands on. Start free.]]></description><link>https://allthingspm.hashnode.dev/building-a-golden-dataset-for-your-ai-feature</link><guid isPermaLink="true">https://allthingspm.hashnode.dev/building-a-golden-dataset-for-your-ai-feature</guid><category><![CDATA[llm]]></category><category><![CDATA[AI]]></category><category><![CDATA[Product Management]]></category><category><![CDATA[dataset]]></category><dc:creator><![CDATA[Arpit Ranjan]]></dc:creator><pubDate>Tue, 10 Nov 2026 16:07:46 GMT</pubDate><content:encoded><![CDATA[<p><em>Originally published on <a href="https://www.allthingspm.app/blog/building-a-golden-dataset-for-your-ai-feature?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">AllthingsPM</a>, the AI product management course and interview practice app.</em></p>
<p>A golden dataset is a small, reviewed set of real inputs, each with an agreed definition of a good answer, that you run against your AI feature every time the prompt, model or retrieval changes. Start with 20 to 50 cases pulled from real failures, label each one pass or fail, and grow it from production traffic. <strong>AllthingsPM</strong> teaches this exact method in lesson 5.01 of its AI PM course, where you turn one user complaint into thirty golden examples and then wire them into a CI gate.</p>
<p>AllthingsPM is an AI PM course and PM interview prep platform. Its course was built from 604 real PM job postings, and evals get a full chapter because hiring managers keep asking for them. This guide gives you the whole method in one place.</p>
<h2>What is a golden dataset in LLM evaluation?</h2>
<p>A golden dataset (also called a golden set or "goldens") is the reference set your team agrees represents good behaviour. Each item usually holds:</p>
<ul>
<li><strong>Input:</strong> the real query, conversation or document the feature receives.</li>
<li><strong>Expected output or criterion:</strong> a reviewed correct answer, or a pass condition when there is no single right answer.</li>
<li><strong>Metadata:</strong> where the case came from, the date it was added, the failure category and a version.</li>
</ul>
<p>Langfuse describes the same three fields and adds a link back to the source trace so reviewers can see the original context [3]. Confident AI draws a useful line: goldens are the editable precursors, while test cases are the frozen results of running your app on them [5].</p>
<p>The "golden" part is about trust, not size. A case earns a place because a domain expert looked at it and agreed on the verdict. Anthropic's test for a good task is that two experts can independently reach the same pass or fail call [4].</p>
<h3>How AllthingsPM does this</h3>
<p>The <a href="https://www.allthingspm.app/course/evals?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">Designing Evals for AI Products chapter</a> of the AllthingsPM course opens with this definition and then makes you apply it. In <a href="https://www.allthingspm.app/course/evals/golden-datasets?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">Turn one complaint into thirty golden examples</a> you write the prompt, response and answer triples yourself, so the concept sticks as a working artifact rather than a vocabulary word.</p>
<h2>Why does a PM own the golden dataset?</h2>
<p>Because the golden dataset is the product spec written as tests. Engineers can build the harness, but only the person who owns "what good looks like" can decide which cases matter and what counts as a pass.</p>
<p>OpenAI's evaluation guidance says to combine production data, expert-written answers and historical logs, and to use human expert labellers [2]. Every one of those inputs sits with the PM: user feedback, domain experts, support tickets and the launch bar. Hamel Husain goes further and argues that the person with product context should annotate the first traces personally [1].</p>
<p>It also shows up in hiring. Our catalog includes roles such as the <a href="https://www.allthingspm.app/jobs/abridge/product-lead-ai-ml-evals?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">Product Lead, AI/ML (Evals) at Abridge</a>, and the AllthingsPM question bank carries interview prompts like <a href="https://www.allthingspm.app/question-bank/abridge-explicitly-uses-llm-judges-rule-based-evaluators-human-0afd4b7c?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">how Abridge combines LLM judges, rule-based evaluators and human annotation</a>.</p>
<h3>How AllthingsPM does this</h3>
<p>The course treats evals as the PM's acceptance artifact. <a href="https://www.allthingspm.app/course/evals/eval-driven-development?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">Eval-driven development</a> has you write the failing eval before the fix, and the chapter ends in a graded <a href="https://www.allthingspm.app/course/evals/integration-case-6?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">integration case</a> where you build the eval suite for your own carried product from your own failure backlog.</p>
<h2>How do you build a golden dataset step by step?</h2>
<p>Here is the seven-step method, in the order most teams should follow it.</p>
<table>
<thead>
<tr>
<th>Step</th>
<th>What you do</th>
<th>Output</th>
<th>AllthingsPM lesson</th>
</tr>
</thead>
<tbody><tr>
<td>1. Read traces</td>
<td>Review about 100 real traces before building anything</td>
<td>Raw notes on what goes wrong</td>
<td><a href="https://www.allthingspm.app/course/evals/trace-sampling?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">Read one hundred real traces</a></td>
</tr>
<tr>
<td>2. Name failures</td>
<td>Group notes into a failure taxonomy and rank it</td>
<td>A ranked failure backlog</td>
<td><a href="https://www.allthingspm.app/course/evals/failure-taxonomy?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">Failure taxonomy</a></td>
</tr>
<tr>
<td>3. Pull real cases</td>
<td>Pull 20 to 50 inputs that show the top failures</td>
<td>First golden set</td>
<td><a href="https://www.allthingspm.app/course/evals/golden-datasets?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">Golden datasets</a></td>
</tr>
<tr>
<td>4. Seed the gaps</td>
<td>Add edge, adversarial and rare cases traffic will not give you</td>
<td>Balanced coverage</td>
<td><a href="https://www.allthingspm.app/course/data-fluency/from-raw-data-to-a-golden-sample?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">From raw data to a golden sample</a></td>
</tr>
<tr>
<td>5. Write criteria</td>
<td>One binary pass or fail criterion per failure mode</td>
<td>A rubric per case</td>
<td><a href="https://www.allthingspm.app/course/evals/scoring-rubrics?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">Scoring rubrics</a></td>
</tr>
<tr>
<td>6. Pick graders</td>
<td>Code check first, LLM judge only when needed, validated</td>
<td>A grader per criterion</td>
<td><a href="https://www.allthingspm.app/course/evals/grading-methods?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">Grading methods</a></td>
</tr>
<tr>
<td>7. Gate and grow</td>
<td>Run on every change, add every incident as a case</td>
<td>A living regression suite</td>
<td><a href="https://www.allthingspm.app/course/evals/eval-driven-development?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">Eval-driven development</a></td>
</tr>
</tbody></table>
<h3>Step 1: Read real traces before you write a single case</h3>
<p>Hamel Husain's advice is to start with 100 diverse traces and annotate at least the first 30 yourself, then keep going until new traces stop revealing new failure modes [1]. This is the step teams most want to skip, and the one that decides whether the set measures anything real.</p>
<h3>Step 2: Name the failures</h3>
<p>Group your notes into a short taxonomy: wrong facts, ignored instructions, bad tone, missing citation, unsafe output, tool misuse. Rank the categories by how often they happen and how much they hurt. That ranking tells you where the first golden cases go.</p>
<h3>Step 3: Pull real cases, not invented ones</h3>
<p>Anthropic recommends starting with 20 to 50 simple tasks drawn from real failures, and sourcing them from bug trackers and support queues so the suite reflects what users actually hit [4]. Langfuse puts production traces first in its priority order for the same reason [3]. Invented cases tend to test what the team already imagined; real ones test what the product actually does.</p>
<h3>Step 4: Seed the cases traffic will never give you</h3>
<p>Production data under-represents rare, high-severity paths. OpenAI's guidance is to include typical, edge and adversarial cases [2]. For the cold start, Hamel suggests defining dimensions (for example user type, intent, difficulty), hand-writing 20 tuples that pick one value from each, and only then asking an LLM to expand them into natural queries [1]. He also warns that synthetic data cannot tell you how common a failure is in production [1]. Treat it as coverage, not as a sample.</p>
<p>Balance matters too. Anthropic advises testing both when a behaviour should happen and when it should not, so you do not optimise one side into a new failure [4].</p>
<h3>Step 5: Write binary criteria</h3>
<p>For each failure mode, write one pass or fail criterion. Hamel argues binary labels force clearer thinking and more consistent labeling than 1 to 5 scales, where the gap between adjacent points is subjective [1]. If two reviewers disagree on a case, the criterion is not finished yet.</p>
<p>Where a single correct answer exists, store it. Anthropic also recommends a reference solution for each task, which proves the task is solvable and checks that your graders work [4].</p>
<h3>Step 6: Choose the cheapest grader that can see the failure</h3>
<p>A regex or schema check is cheaper and steadier than a model. Use an LLM judge only for judgments code cannot make, then validate it. Hamel's method splits labeled examples into train, dev and test sets and measures the judge's true positive rate and true negative rate against human labels, with 100 to 200 labeled examples per failure mode [1]. OpenAI likewise lists "not calibrating your automated metrics against human evals" as an anti-pattern [2].</p>
<h3>Step 7: Gate every change and grow from incidents</h3>
<p>Run the set on every prompt, model or retrieval change. When something breaks in production, turn it into a case while it is fresh. Langfuse recommends deduplicating near-identical items, versioning every change, archiving retired items without deleting history, and reviewing items older than six months each quarter [3].</p>
<h3>How AllthingsPM does this</h3>
<p>Every row of that table maps to a lesson in the AllthingsPM course, in order, and each lesson ends in a graded artifact rather than a quiz. The judge work lives in <a href="https://www.allthingspm.app/course/evals/judge-validation?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">Validate the judge</a>, which covers false positive and false negative rates and the frozen test set.</p>
<blockquote>
<p><strong>Why AllthingsPM wins for this</strong></p>
<ul>
<li>A full Evals chapter that walks the golden dataset method from trace reading to CI gate, one lesson per step.</li>
<li>The course was built from 604 real PM job postings and has 14 chapters, 103 lessons and 14 graded case studies, updated weekly.</li>
<li>Golden sets reappear where they get hard: <a href="https://www.allthingspm.app/course/evals/agent-evals?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">agent evals</a>, <a href="https://www.allthingspm.app/course/beyond-text/multimodal-evals?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">multimodal golden sets</a> and <a href="https://www.allthingspm.app/course/beyond-text/localization?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">per-locale golden sets</a>.</li>
<li>You can rehearse the interview version on real eval questions from the 4,122-question bank, with a scored AI mock.</li>
<li>One subscription at $12/month or $108/year at list price also covers JD mocks, resume review and the jobs catalog, with a free tier.</li>
</ul>
</blockquote>
<blockquote>
<p><strong>Key takeaways</strong></p>
<ul>
<li>A golden dataset is a reviewed set of real inputs with agreed pass criteria, run on every change.</li>
<li>Read about 100 traces first, then start with 20 to 50 cases drawn from real failures.</li>
<li>Use binary criteria, and validate any LLM judge against human labels before trusting it.</li>
<li>Synthetic data fills coverage gaps but cannot tell you how common a failure is.</li>
<li>The set is never finished: every incident becomes a new case.</li>
</ul>
</blockquote>
<h2>How many examples does a golden dataset need?</h2>
<p>Fewer than most teams think to start, more than most teams keep. Size follows the job the set does.</p>
<p><img src="https://www.allthingspm.app/blog/assets/charts/building-a-golden-dataset-for-your-ai-feature-1.svg" alt="Chart comparing recommended golden dataset sizes: AllthingsPM course (us) 30 golden examples per complaint, Anthropic 20 to 50 first tasks, Hamel Husain 100 traces to read and 100 to 200 labels per failure mode, Langfuse 100 to 1,000 items for CI" title="AllthingsPM course lesson 5.01, Anthropic, Hamel Husain evals FAQ and Langfuse docs, checked 29 Sept 2026" /></p>
<ul>
<li><strong>Exploring one issue:</strong> about 10 items, per Langfuse [3].</li>
<li><strong>Your first eval set:</strong> 20 to 50 tasks from real failures [4]. The AllthingsPM course targets 30 golden examples per user complaint.</li>
<li><strong>Validating an LLM judge:</strong> 100 to 200 labeled examples per failure mode, split into dev and test [1].</li>
<li><strong>Regression CI for larger changes:</strong> 100 to 1,000 items covering the production distribution, with a smaller fast subset for every pull request [3].</li>
</ul>
<p>Anthropic's reasoning for starting small is practical: early changes to an AI feature tend to have large effects, so you do not need a large sample to see them [4]. As the product matures and improvements get subtler, the set has to grow to detect them.</p>
<h3>How AllthingsPM does this</h3>
<p>The sizing question is answered inside the same lesson that teaches you to build the set, <a href="https://www.allthingspm.app/course/evals/golden-datasets?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">Turn one complaint into thirty golden examples, and know how many you need</a>. You leave with a number you can defend in a review, not a rule of thumb.</p>
<h2>What mistakes break a golden dataset?</h2>
<p>Most broken golden sets fail in one of six ways:</p>
<ol>
<li><strong>Built from imagination.</strong> Cases the team invented in a meeting miss the failures users actually hit. Start from traces [1][4].</li>
<li><strong>Only happy paths.</strong> A set with no edge or adversarial cases passes right up to the incident [2].</li>
<li><strong>Fuzzy criteria.</strong> If two experts would disagree, the case is noise [4].</li>
<li><strong>An unvalidated judge.</strong> A judge that agrees with itself tells you nothing. Measure it against human labels [1].</li>
<li><strong>Contamination.</strong> Cases that leak into prompts or few-shot examples inflate the score. Keep a frozen test split separate from anything the prompt sees.</li>
<li><strong>Never refreshed.</strong> Products change and old cases go stale. Version, archive and review on a schedule [3].</li>
</ol>
<p>There is also a privacy angle PMs often miss. A golden set is a permanent copy of production data. The AllthingsPM course notes that it survives a deletion request unless you plan for it, so redact and log access the same way you would for traces.</p>
<h3>How AllthingsPM does this</h3>
<p><a href="https://www.allthingspm.app/course/evals/failure-taxonomy?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">Name the failure from one taxonomy</a> and <a href="https://www.allthingspm.app/course/evals/judge-validation?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">Validate the judge</a> target mistakes 3 and 4 directly, and the data fluency chapter covers pulling a clean golden sample from raw logs. The course's <a href="https://www.allthingspm.app/knowledge-graph?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">knowledge graph</a> shows how golden datasets connect to judges, rubrics and regression tests across chapters.</p>
<h2>How does a golden dataset change for agents, RAG and multimodal features?</h2>
<p>The method holds, but the item changes shape.</p>
<ul>
<li><strong>Agents:</strong> grade the final state of the environment, not the exact path. Anthropic's pass@k metric measures the chance an agent succeeds in k attempts, and 50% pass@1 means it solves half the tasks on the first try [4].</li>
<li><strong>RAG:</strong> store the expected source documents alongside the answer, so you can tell a retrieval miss from a generation miss.</li>
<li><strong>Multimodal and non-English:</strong> a translated English set is blind to locale-specific failures. Build a native set per language or modality.</li>
</ul>
<h3>How AllthingsPM does this</h3>
<p>Each of these gets its own lesson: <a href="https://www.allthingspm.app/course/evals/agent-evals?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">Evaluate an agent, not an answer</a>, <a href="https://www.allthingspm.app/course/beyond-text/multimodal-evals?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">Build a multimodal golden set</a>, and <a href="https://www.allthingspm.app/course/beyond-text/localization?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">Ship a language, not a translation</a>, which retests the judge outside English.</p>
<blockquote>
<p><strong>Practice it</strong></p>
<p>Open the <a href="https://www.allthingspm.app/course/evals?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">AllthingsPM Evals chapter</a>, then rehearse the interview version with a <a href="https://www.allthingspm.app/prep?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">scored AI mock interview</a> on an eval question.</p>
</blockquote>
<h2>How do you talk about golden datasets in an AI PM interview?</h2>
<p>Interviewers at AI companies ask eval design questions because they separate PMs who have shipped AI from PMs who have read about it. A strong answer follows the seven steps above out loud: traces first, a ranked failure taxonomy, 20 to 50 real cases, binary criteria, a validated judge and a CI gate.</p>
<p>Practice on real prompts. The <a href="https://www.allthingspm.app/question-bank?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">AllthingsPM question bank</a> includes eval questions such as <a href="https://www.allthingspm.app/question-bank/design-an-evaluation-framework-for-figma-s-ai-powered-design-code-b59db8c6?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">designing an evaluation framework for Figma's AI Design to Code workflows</a>. If you are targeting a specific role, a <a href="https://www.allthingspm.app/jd-mock?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">JD mock interview</a> builds the questions from that exact job description.</p>
<h3>How AllthingsPM does this</h3>
<p>Every question in the bank has its own page and an answer guide, and you can answer by text or voice in a scored mock with follow-ups. For more on the topic, read <a href="https://www.allthingspm.app/blog/ai-evals-for-product-managers?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">AI evals for product managers</a>, grab the <a href="https://www.allthingspm.app/blog/ai-eval-plan-template?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">LLM evaluation template</a>, or skim <a href="https://www.allthingspm.app/blog/podcast-episodes-about-ai-evals-summarized?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">the podcast episodes about AI evals, summarized</a>.</p>
<h2>Why AllthingsPM is the better choice for learning golden datasets</h2>
<p>You can learn pieces of this from vendor docs and blog posts. Langfuse and Confident AI have clear documentation on dataset tooling, and Hamel Husain's FAQ is one of the best free references on eval practice. Their docs teach how to use a tool or a technique; they do not walk a PM through owning the whole loop on a real product, and they do not prepare you to explain it in an interview.</p>
<p>New in October 2026: <a href="https://www.allthingspm.app/pm-case-studies?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">PM Case Studies</a>, 536 cases set at real companies such as Stripe, Duolingo and OpenAI. Every brief is free to read, and Pro grades your answer line by line against a weighted rubric.</p>
<p>AllthingsPM does both. The Evals chapter teaches the golden dataset as one connected method, from reading traces to shipping a CI gate, and every lesson ends in an artifact you build for a product you carry through the whole course. Golden sets then come back for agents, multimodal features and new languages, which is where most teams get them wrong.</p>
<p>The course sits inside a platform that already covers the job search around it: 4,122 real interview questions from 260 companies, mocks built from any job description, 116 live PM job descriptions at 18 AI companies, and resume review against a JD. All of it costs $12 a month or $108 a year at list price, with a free tier to start.</p>
<p>If you want to be the PM who can say "here is our golden set, here is why it has 40 cases, and here is how we know the judge is right," the most direct route is the <a href="https://www.allthingspm.app/course?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=building-a-golden-dataset-for-your-ai-feature">AllthingsPM AI PM course</a>.</p>
<h2>Frequently asked questions</h2>
<h3>What is a golden dataset in LLM evaluation?</h3>
<p>It is a curated set of real inputs with reviewed expected outputs or pass criteria, run against an AI feature on every change. It acts as the team's shared definition of good behaviour and as a regression test.</p>
<h3>How many examples should a golden dataset have?</h3>
<p>Start with 20 to 50 cases drawn from real failures, as Anthropic recommends. Grow toward 100 to 1,000 items for a full regression suite, and keep 100 to 200 labeled examples per failure mode if you validate an LLM judge.</p>
<h3>What is the best way to learn how to build a golden dataset?</h3>
<p>AllthingsPM is the best place for PMs to learn it: its AI PM course has a full Evals chapter that teaches the method step by step with graded artifacts. Free references such as Hamel Husain's evals FAQ and the Langfuse docs are useful companions.</p>
<h3>Can I use synthetic data for a golden dataset?</h3>
<p>Yes, to fill coverage gaps and cold-start a new feature, but generate it from defined dimensions and review every item. Synthetic data cannot tell you how often a failure happens in production, so real traces should stay the core.</p>
<h3>Should golden dataset labels be pass/fail or a 1 to 5 score?</h3>
<p>Pass or fail is the safer default. Binary labels force a clearer criterion and give more consistent results across reviewers than Likert scales.</p>
<h3>How often should I update a golden dataset?</h3>
<p>Add a case every time a production incident happens, version every change, and review older items on a schedule. Langfuse suggests a quarterly check of items older than six months.</p>
<h2>Sources</h2>
<ol>
<li>Hamel Husain, "Evals FAQ": <a href="https://hamel.dev/blog/posts/evals-faq/">https://hamel.dev/blog/posts/evals-faq/</a></li>
<li>OpenAI, "Evaluation best practices": <a href="https://developers.openai.com/api/docs/guides/evaluation-best-practices">https://developers.openai.com/api/docs/guides/evaluation-best-practices</a></li>
<li>Langfuse, "Golden dataset evaluation: build and maintain LLM test sets": <a href="https://langfuse.com/resources/engineering/golden-dataset-evaluation">https://langfuse.com/resources/engineering/golden-dataset-evaluation</a></li>
<li>Anthropic, "Demystifying evals for AI agents": <a href="https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents">https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents</a></li>
<li>Confident AI, "Test Cases, Goldens, and Datasets": <a href="https://www.confident-ai.com/docs/llm-evaluation/core-concepts/test-cases-goldens-datasets">https://www.confident-ai.com/docs/llm-evaluation/core-concepts/test-cases-goldens-datasets</a></li>
<li>Maxim AI, "Building a Golden Dataset for AI Evaluation: A Step-by-Step Guide": <a href="https://www.getmaxim.ai/articles/building-a-golden-dataset-for-ai-evaluation-a-step-by-step-guide/">https://www.getmaxim.ai/articles/building-a-golden-dataset-for-ai-evaluation-a-step-by-step-guide/</a></li>
<li>AllthingsPM AI PM course, Evals chapter: <a href="https://allthingspm.app/course/evals">https://allthingspm.app/course/evals</a></li>
</ol>
]]></content:encoded></item><item><title><![CDATA[AI Evals for Product Managers: The Complete Guide]]></title><description><![CDATA[AI evals for product managers: read real outputs, name failures, build a golden dataset, validate an LLM judge. Practise it with AllthingsPM.]]></description><link>https://allthingspm.hashnode.dev/ai-evals-for-product-managers</link><guid isPermaLink="true">https://allthingspm.hashnode.dev/ai-evals-for-product-managers</guid><category><![CDATA[llm]]></category><category><![CDATA[AI]]></category><category><![CDATA[Product Management]]></category><category><![CDATA[Evaluation]]></category><dc:creator><![CDATA[Arpit Ranjan]]></dc:creator><pubDate>Tue, 10 Nov 2026 16:06:53 GMT</pubDate><content:encoded><![CDATA[<p><em>Originally published on <a href="https://www.allthingspm.app/blog/ai-evals-for-product-managers?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">AllthingsPM</a>, the AI product management course and interview practice app.</em></p>
<p>An AI eval is a repeatable test that tells you whether an AI feature does its job well enough to ship, and whether a change made it better or worse. For a product manager, the core loop is short: <strong>read about 100 real outputs, name the failures from one taxonomy, turn them into a golden dataset, grade each failure with the cheapest grader that can see it (code first, then an LLM judge you have validated, then humans), and set a pass rate that blocks launch.</strong> Hamel Husain and Shreya Shankar say they spend 60 to 80 percent of their development time on error analysis and evaluation, and in our study of 604 PM job postings, 53% of AI-native roles asked for evals and measurement.</p>
<p>This guide walks through each step with a worked example, then covers agent evals, cost and how the topic shows up in PM interviews.</p>
<h2>What is an AI eval, in plain terms?</h2>
<p>An eval has three parts: a <strong>set of inputs</strong> (test cases), a <strong>definition of good</strong> for each one (a criterion), and a <strong>grader</strong> that decides pass or fail. Anthropic's engineering team defines a task as "a single test with defined inputs and success criteria" and recommends running several trials, because the same model gives different answers on different runs.</p>
<p>Without evals, the only signal is what OpenAI calls "vibe-based evals": someone tries five prompts, the answers look fine, and the change ships. A prompt edit that fixes tone can quietly break citation accuracy on a tenth of inputs. An eval suite turns that hidden regression into a number that moves.</p>
<h2>Why do product managers own evals now?</h2>
<p>Because an eval is a product decision written as a test. Kevin Weil, then OpenAI's chief product officer, said on Lenny's Podcast in April 2025 that writing evals would become a core skill for product managers.</p>
<p>Hiring data backs this up. In our study of <a href="https://www.allthingspm.app/blog/state-of-ai-pm-hiring-2026?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">604 PM job postings from 95 companies</a>, 53% of the 286 AI-native roles asked for evals and measurement, and the word "eval" appeared in 32% of AI-native postings against 3% of other PM postings. Some roles are entirely about evals: Abridge's <a href="https://www.allthingspm.app/jobs/abridge/product-lead-ai-ml-evals?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">Product Lead, AI/ML (Evals)</a> asks the PM to "define the eval gates from early build through GA."</p>
<h2>The eval lifecycle at a glance</h2>
<table>
<thead>
<tr>
<th>Step</th>
<th>What the PM does</th>
<th>Output</th>
<th>Lesson</th>
</tr>
</thead>
<tbody><tr>
<td>1. Read traces</td>
<td>Review about 100 real outputs, note each failure</td>
<td>Open notes</td>
<td><a href="https://www.allthingspm.app/course/evals/trace-sampling?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">Read one hundred real traces</a></td>
</tr>
<tr>
<td>2. Name failures</td>
<td>Group notes into one taxonomy, count frequency and severity</td>
<td>Ranked failure list</td>
<td><a href="https://www.allthingspm.app/course/evals/failure-taxonomy?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">Name the failure from one taxonomy</a></td>
</tr>
<tr>
<td>3. Build the golden set</td>
<td>Turn important failures into labelled cases</td>
<td>Golden dataset</td>
<td><a href="https://www.allthingspm.app/course/evals/golden-datasets?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">Turn one complaint into thirty golden examples</a></td>
</tr>
<tr>
<td>4. Choose graders</td>
<td>Cheapest grader that can catch each failure</td>
<td>Grader per criterion</td>
<td><a href="https://www.allthingspm.app/course/evals/grading-methods?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">Pay for the cheapest evaluator</a></td>
</tr>
<tr>
<td>5. Write criteria</td>
<td>Binary by default; validate any LLM judge</td>
<td>Rubric and judge prompt</td>
<td><a href="https://www.allthingspm.app/course/evals/scoring-rubrics?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">Write the criterion</a></td>
</tr>
<tr>
<td>6. Gate and iterate</td>
<td>Failing eval before the fix, suite in CI</td>
<td>Launch gate</td>
<td><a href="https://www.allthingspm.app/course/evals/eval-driven-development?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">Eval-driven development</a></td>
</tr>
<tr>
<td>7. Watch production</td>
<td>Online signals feed new cases</td>
<td>Next month's evals</td>
<td><a href="https://www.allthingspm.app/course/ai-ux-and-human-oversight/empty-states-and-feedback?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">The thumbs-down that becomes an eval row</a></td>
</tr>
</tbody></table>
<p>The lesson links go to the matching parts of the <a href="https://www.allthingspm.app/course/evals?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">Designing Evals for AI Products chapter</a> in the AllthingsPM AI PM course, if you want to practise each step on real outputs.</p>
<h2>Step 1: Read real traces before anything else</h2>
<p>Husain and Shankar's advice is to start with error analysis, not with writing evals. Their FAQ suggests "a working pool of roughly 100 diverse traces," with at least 30 read by hand. For each, write a short free-form note on the first thing that went wrong. This is <strong>open coding</strong>: no categories yet, just observations.</p>
<h2>Step 2: Build a failure taxonomy</h2>
<p>Group your notes into categories (<strong>axial coding</strong>, which the FAQ calls "the most important step"), then count:</p>
<table>
<thead>
<tr>
<th>Failure</th>
<th>Share of 100 traces</th>
<th>Severity</th>
<th>Fix first?</th>
</tr>
</thead>
<tbody><tr>
<td>Invented a refund amount</td>
<td>6</td>
<td>Critical (money, trust)</td>
<td>Yes</td>
</tr>
<tr>
<td>Wrong policy cited</td>
<td>11</td>
<td>High</td>
<td>Yes</td>
</tr>
<tr>
<td>Ignored the actual question</td>
<td>9</td>
<td>High</td>
<td>Yes</td>
</tr>
<tr>
<td>Too long</td>
<td>17</td>
<td>Low</td>
<td>Later</td>
</tr>
<tr>
<td>Wrong tone for an angry customer</td>
<td>4</td>
<td>Medium</td>
<td>Later</td>
</tr>
</tbody></table>
<p><em>Illustrative numbers for a support-reply assistant, not real data.</em></p>
<p>The most common failure is not the most important. "Too long" shows up most, but an invented refund amount costs money and trust, so it gets a hard floor and gets fixed first. Before fixing anything, attribute each failure to a layer (prompt, retrieval, model or tool), as covered in the <a href="https://www.allthingspm.app/course/foundations/failure-attribution?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">failure attribution lesson</a>.</p>
<h2>Step 3: How big should a golden dataset be?</h2>
<p>A golden dataset is a fixed set of inputs, each labelled with what a correct output must and must not do.</p>
<p>Anthropic recommends starting with "20-50 simple tasks drawn from real failures." To compare versions or set a launch bar, you need more. At a 90% pass rate, the 95% margin of error is about plus or minus 6 points with 100 cases and about 3 points with 400, so a move from 88% to 91% on 100 cases is noise.</p>
<h2>Step 4: Code, LLM judge or human?</h2>
<p>The rule: <strong>use the cheapest grader that can reliably see the failure.</strong></p>
<table>
<thead>
<tr>
<th>Grader</th>
<th>Good for</th>
<th>Strengths</th>
<th>Weaknesses</th>
</tr>
</thead>
<tbody><tr>
<td>Code assertions</td>
<td>Format, lookups, forbidden content, tool calls, final state</td>
<td>"Fast, cheap, objective, reproducible" (Anthropic)</td>
<td>Brittle when many answers are valid</td>
</tr>
<tr>
<td>LLM-as-judge</td>
<td>Tone, relevance, faithfulness, policy following</td>
<td>Flexible and scalable</td>
<td>Non-deterministic, must be calibrated</td>
</tr>
<tr>
<td>Human review</td>
<td>Subjective or high-stakes quality, validating judges</td>
<td>"Gold standard quality"</td>
<td>"Expensive, slow, requires expert access"</td>
</tr>
</tbody></table>
<p>For agents, Anthropic advises: "Grade what the agent produced, not the path it took."</p>
<h2>Step 5: Write criteria, and validate the judge</h2>
<p><strong>Binary by default.</strong> The FAQ argues that "binary evaluations force clearer thinking and more consistent labeling." If you need nuance, write two binary criteria rather than one five-point scale.</p>
<p><strong>One criterion per judge.</strong> "Is the reply good?" fails. "Does the reply state a refund amount that is not in the order record? PASS or FAIL" works.</p>
<p><strong>One decider.</strong> The FAQ recommends "a single domain expert as a 'benevolent dictator'" to settle labelling disagreements. That is often the PM.</p>
<p><strong>Validate the judge like a classifier.</strong> Hand-label outputs, tune the judge on a development split, then measure it on a held-out test split: its <strong>true positive rate</strong> (human-marked fails it catches) and <strong>true negative rate</strong> (human-marked passes it passes). Zheng and colleagues (NeurIPS 2023) found strong judges reached "over 80% agreement" with human preferences, but also documented position, verbosity and self-enhancement bias.</p>
<h3>A worked judge prompt</h3>
<p>Here is a single-criterion judge for the support assistant above, written the way a PM would hand it to an engineer:</p>
<ol>
<li><strong>Context given to the judge:</strong> the customer message, the order record, and the assistant's reply.</li>
<li><strong>Question:</strong> "Does the reply state any refund amount, date or policy term that does not appear in the order record or the policy excerpt? Answer PASS if every stated fact is supported, FAIL otherwise."</li>
<li><strong>Output:</strong> one word, PASS or FAIL, followed by one sentence naming the unsupported fact.</li>
<li><strong>Validation:</strong> 100 hand-labelled replies split 50 for tuning and 50 held out. Ship the judge only if it catches most human-marked fails on the held-out half without flagging many human-marked passes.</li>
</ol>
<p>It is written in product language, not code, which is why the PM is usually the right owner.</p>
<h2>Offline vs online evals</h2>
<p><strong>Offline evals</strong> run the golden set against a build before users see it and decide whether it ships. <strong>Online evals</strong> measure live traffic: thumbs down, edits, discards, retries, escalations, and judges run on sampled traces.</p>
<p>Every week, pull a sample of production traces with negative signals, read them, and promote the new failure patterns into the golden set. An eval score alone is never the success metric. Pair "90% pass on answers the question" with a business outcome such as resolution rate or fewer escalations, so you know the eval measures something users care about.</p>
<h2>Eval-driven development and the launch gate</h2>
<p><strong>Write the failing eval before the fix.</strong> Reproduce the reported problem as cases, confirm they fail, change the prompt, retrieval or model, and confirm they pass without breaking the regression set. Run the suite in CI.</p>
<p>Then pre-commit a launch gate, written before you see results:</p>
<ul>
<li><strong>Hard floors</strong> on critical failures, near zero. Abridge calls these "non-negotiable floors like critical-error rates."</li>
<li><strong>Quality targets</strong> on the main criteria, for example 90% pass on "answers the actual question."</li>
<li><strong>No regression</strong> against the current version.</li>
</ul>
<p>When offline scores and users disagree, trust users and read traces. One real interview question describes exactly this: <a href="https://www.allthingspm.app/question-bank/offline-evals-show-strong-swe-bench-style-gains-but-internal-dogfooders-aa26dcf9?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">offline evals show strong SWE-bench-style gains, but internal dogfooders say the model feels worse</a>.</p>
<h3>A PM's eval checklist before launch</h3>
<ul>
<li>At least 100 real or realistic traces read and coded.</li>
<li>One failure taxonomy, ranked by frequency and severity.</li>
<li>A golden set with cases for every critical failure, plus a regression set.</li>
<li>A grader chosen per criterion, and every LLM judge validated on held-out labels.</li>
<li>A launch gate written down before the results came in.</li>
<li>An online signal (thumbs down, edits, escalations) wired to feed next month's cases.</li>
</ul>
<h2>How are agent evals different?</h2>
<p><strong>Check the final state:</strong> did the refund actually get issued? Anthropic defines the outcome as "the final state in the environment at the end of the trial."</p>
<p><strong>Measure reliability:</strong> pass@k is "at least one correct solution in k attempts," while pass^k is "the probability that all k trials succeed." Users get one attempt, so pass^k is the product metric. The τ-bench paper found even GPT-4o succeeded on fewer than 50% of tasks, with pass^8 below 25% in its retail domain.</p>
<h2>How much do evals cost?</h2>
<p>Human time is the biggest cost: a few focused days to set up, then about 30 minutes a week, per Husain and Shankar on Lenny's Podcast. Judge compute is small by comparison. At Anthropic's September 2026 prices, Claude Haiku 4.5 costs $1 per million input tokens and $5 per million output tokens, with 50% off through the Batch API.</p>
<h2>Do eval questions come up in PM interviews?</h2>
<p>Constantly, at AI companies. In the AllthingsPM <a href="https://www.allthingspm.app/question-bank?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">question bank</a> of 4,122 real PM interview questions, 95 ask directly about evals, golden sets, LLM judges or hallucination, and each has its own page with an answer guide.</p>
<p><img src="https://www.allthingspm.app/blog/assets/charts/ai-evals-for-product-managers-1.svg" alt="Bar chart led by an AllthingsPM (us) row: 95 eval questions to practise in the AllthingsPM question bank, then by company: Scale AI 19, Anthropic 16, Sierra 13, OpenAI 11, Abridge 7, Decagon 5, Ramp 4, Figma 3, Suno 3" title="Source: AllthingsPM question bank, 4,122 questions, September 2026. Matches on eval, evaluation, golden set, LLM judge and hallucination" /></p>
<p>Two to practise:</p>
<ul>
<li><a href="https://www.allthingspm.app/question-bank/how-would-you-design-an-evaluation-framework-to-know-whether-a-new-853a6fdb?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">How would you design an evaluation framework to know whether a new Claude model is genuinely better at coding?</a> (Anthropic)</li>
<li><a href="https://www.allthingspm.app/question-bank/design-an-evaluation-framework-for-north-agents-that-measures-290da793?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">Design an evaluation framework for North agents</a> (Cohere)</li>
</ul>
<p>The company pages for <a href="https://www.allthingspm.app/question-bank/companies/scale-ai?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">Scale AI</a>, <a href="https://www.allthingspm.app/question-bank/companies/anthropic?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">Anthropic</a> and <a href="https://www.allthingspm.app/question-bank/companies/openai?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">OpenAI</a> list the rest. A strong answer follows the lifecycle above: clarify what the feature is for, name the likely failures, describe the golden set and graders, set a launch gate, and explain how production signals feed back.</p>
<p>To rehearse out loud, paste an evals job description into a <a href="https://www.allthingspm.app/jd-mock?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">JD mock interview</a>, or start from a live posting such as <a href="https://www.allthingspm.app/jobs/anthropic/product-manager-safeguards-generalist?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">Product Manager, Safeguards (Generalist) at Anthropic</a>. The AI interviewer asks follow-ups and scores each answer, typed or spoken. For a broader measurement primer, our <a href="https://www.allthingspm.app/book-summaries/how-to-measure-anything?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">How to Measure Anything summary</a> is a quick read.</p>
<h2>Where to learn AI evals</h2>
<table>
<thead>
<tr>
<th>Option</th>
<th>Teaches the eval method</th>
<th>Real eval interview questions</th>
<th>Mock built from an evals JD</th>
<th>Price (Nov 2026)</th>
</tr>
</thead>
<tbody><tr>
<td>AllthingsPM</td>
<td>Yes, graded course chapter</td>
<td>95, each with an answer guide</td>
<td>Yes, text or voice</td>
<td>$12/month or $108/year list; Chapter 1 free</td>
</tr>
<tr>
<td>Husain and Shankar's free FAQ</td>
<td>Yes, deep and engineering-led</td>
<td>Not the focus</td>
<td>No</td>
<td>Free</td>
</tr>
<tr>
<td>Husain and Shankar's AI Evals for Engineers &amp; PMs (Maven)</td>
<td>Yes, 8 weeks, 33 live sessions</td>
<td>Not the focus</td>
<td>No</td>
<td>$4,500 per cohort; next Jan 30 to Mar 27, 2027</td>
</tr>
<tr>
<td>Generic AI chat tool</td>
<td>Explains on request</td>
<td>No curated bank</td>
<td>No scoring against a JD</td>
<td>Varies</td>
</tr>
</tbody></table>
<p>If you are an engineer building eval infrastructure, Husain and Shankar's course goes deepest. If you are a PM who needs the method plus interview practice, the AllthingsPM <a href="https://www.allthingspm.app/course?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">AI PM course</a> covers both: it is built from 604 real PM job postings, updated weekly, and its evals chapter ends in an <a href="https://www.allthingspm.app/course/evals/integration-case-6?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">integration case</a> where you build the eval suite for your own feature.</p>
<h2>Frequently asked questions</h2>
<h3>What are AI evals for product managers?</h3>
<p>AI evals are repeatable tests that measure whether an AI feature produces good enough outputs, using test inputs, a definition of good for each, and a grader. For PMs, they replace "it seems to work" with a pass rate you can gate a launch on. The PM usually owns the definition of good and the launch threshold.</p>
<h3>Do product managers write evals or do engineers?</h3>
<p>Both. The PM typically reads traces, writes the failure taxonomy and criteria, and sets the launch gate; engineers often wire up code checks and CI.</p>
<h3>How many examples do I need in a golden dataset?</h3>
<p>Start with 20 to 50 cases from real failures, as Anthropic recommends. To compare versions or set a launch bar, you need more: at a 90% pass rate, 100 cases gives a margin of error of about 6 points and 400 cases about 3 points.</p>
<h3>What is LLM-as-a-judge, and can I trust it?</h3>
<p>It is using a language model to grade another model's output against a written criterion. Strong judges reached over 80% agreement with human preferences in a NeurIPS 2023 study, but show position, verbosity and self-enhancement biases. Trust one only after measuring its true positive and true negative rates on held-out human labels.</p>
<h3>How do I prepare for eval questions in PM interviews?</h3>
<p>Expect to design an eval framework out loud, including golden set, graders and ship thresholds. Practise with real questions from AI companies, then rehearse against a real evals job description so the follow-ups feel familiar.</p>
<h2>Next step</h2>
<p>Open the <a href="https://www.allthingspm.app/course/evals?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">Designing Evals for AI Products chapter</a>, read your first 100 traces on a feature you know, then try one <a href="https://www.allthingspm.app/jd-mock?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">JD mock</a> for an evals role to hear how your answer holds up.</p>
<h2>Sources</h2>
<ol>
<li>Hamel Husain, "Your AI Product Needs Evals", 29 March 2024: <a href="https://hamel.dev/blog/posts/evals/">https://hamel.dev/blog/posts/evals/</a></li>
<li>Hamel Husain and Shreya Shankar, "AI Evals: Everything You Need to Know" (evals FAQ), accessed September 2026: <a href="https://hamel.dev/blog/posts/evals-faq/">https://hamel.dev/blog/posts/evals-faq/</a></li>
<li>Lenny's Podcast, "Why AI evals are the hottest new skill for product builders", Hamel Husain and Shreya Shankar, 25 September 2025: <a href="https://www.lennysnewsletter.com/p/why-ai-evals-are-the-hottest-new-skill">https://www.lennysnewsletter.com/p/why-ai-evals-are-the-hottest-new-skill</a></li>
<li>Lenny's Newsletter, "OpenAI's CPO on how AI changes must-have skills, moats, coding, startup playbooks, more" (Kevin Weil), 10 April 2025: <a href="https://www.lennysnewsletter.com/p/kevin-weil-open-ai">https://www.lennysnewsletter.com/p/kevin-weil-open-ai</a> and Lenny Rachitsky on X quoting the episode: <a href="https://x.com/lennysan/status/1909636749103599729">https://x.com/lennysan/status/1909636749103599729</a></li>
<li>Anthropic Engineering, "Demystifying evals for AI agents", Mikaela Grace, Jeremy Hadfield, Rodrigo Olivares and Jiri De Jonghe, 9 January 2026: <a href="https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents">https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents</a></li>
<li>OpenAI, "Evaluation best practices", API documentation, accessed September 2026: <a href="https://developers.openai.com/api/docs/guides/evaluation-best-practices">https://developers.openai.com/api/docs/guides/evaluation-best-practices</a></li>
<li>Lianmin Zheng et al., "Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena", NeurIPS 2023 Datasets and Benchmarks: <a href="https://arxiv.org/abs/2306.05685">https://arxiv.org/abs/2306.05685</a></li>
<li>Shreya Shankar, J.D. Zamfirescu-Pereira, Björn Hartmann, Aditya Parameswaran and Ian Arawjo, "Who Validates the Validators? Aligning LLM-Assisted Evaluation of LLM Outputs with Human Preferences", 2024: <a href="https://arxiv.org/abs/2404.12272">https://arxiv.org/abs/2404.12272</a></li>
<li>Shunyu Yao, Noah Shinn, Pedram Razavi and Karthik Narasimhan, "τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains", 2024: <a href="https://arxiv.org/abs/2406.12045">https://arxiv.org/abs/2406.12045</a></li>
<li>Anthropic, Claude API pricing (model and Batch API prices), checked September 2026: <a href="https://platform.claude.com/docs/en/about-claude/pricing">https://platform.claude.com/docs/en/about-claude/pricing</a></li>
<li>Abridge, "Product Lead, AI/ML (Evals)" job posting: <a href="https://jobs.ashbyhq.com/abridge/9c7ba6c3-7744-48b8-a5b3-dab55c22e4b3">https://jobs.ashbyhq.com/abridge/9c7ba6c3-7744-48b8-a5b3-dab55c22e4b3</a> (also in our <a href="https://www.allthingspm.app/jobs/abridge/product-lead-ai-ml-evals?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-evals-for-product-managers">jobs catalog</a>)</li>
<li>AllthingsPM, "State of AI PM Hiring 2026": 604 PM postings from 95 companies, read 6 September 2026: <a href="https://www.allthingspm.app/blog/state-of-ai-pm-hiring-2026">https://www.allthingspm.app/blog/state-of-ai-pm-hiring-2026</a></li>
<li>AllthingsPM question bank: 95 of 4,122 questions match eval, evaluation, golden set, LLM judge or hallucination, September 2026 (chart above): <a href="https://www.allthingspm.app/question-bank">https://www.allthingspm.app/question-bank</a></li>
<li>Maven, "AI Evals for Engineers &amp; PMs" (Hamel Husain and Shreya Shankar), price, format and cohorts checked November 2026: <a href="https://maven.com/parlance-labs/evals">https://maven.com/parlance-labs/evals</a></li>
<li>Douglas W. Hubbard, How to Measure Anything (summary): <a href="https://www.allthingspm.app/book-summaries/how-to-measure-anything">https://www.allthingspm.app/book-summaries/how-to-measure-anything</a></li>
</ol>
]]></content:encoded></item><item><title><![CDATA[AI Eval Plan Template: A Free LLM Evaluation Template for PMs]]></title><description><![CDATA[Free LLM evaluation template: criteria, golden set, graders, judge checks and a release gate. Learn each step in the AllthingsPM AI PM course. Start free.]]></description><link>https://allthingspm.hashnode.dev/ai-eval-plan-template</link><guid isPermaLink="true">https://allthingspm.hashnode.dev/ai-eval-plan-template</guid><category><![CDATA[llm]]></category><category><![CDATA[AI]]></category><category><![CDATA[Product Management]]></category><category><![CDATA[Evaluation]]></category><dc:creator><![CDATA[Arpit Ranjan]]></dc:creator><pubDate>Tue, 10 Nov 2026 16:06:02 GMT</pubDate><content:encoded><![CDATA[<p><em>Originally published on <a href="https://www.allthingspm.app/blog/ai-eval-plan-template?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">AllthingsPM</a>, the AI product management course and interview practice app.</em></p>
<p><strong>Short answer:</strong> an LLM evaluation template is a one-page plan with eight parts: the <strong>feature and the decision</strong> the eval supports, <strong>success criteria</strong> written as numbers, a <strong>failure taxonomy</strong> from real traces, a <strong>golden dataset</strong> of 20 to 100 examples, a <strong>grader</strong> for each criterion (code, LLM judge or human), a <strong>judge validation</strong> step, <strong>thresholds and a release gate</strong>, and a <strong>cadence</strong> for rerunning it. The full fill-in template is below, ready to copy.</p>
<p><strong>AllthingsPM</strong> is an AI PM course and PM interview prep platform. Its course, built from 604 real PM job postings, has a full chapter on <a href="https://www.allthingspm.app/course/evals?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">evals</a> that teaches every part of this template, from reading traces to the CI gate, and ends in a graded case study where you build the suite for your own feature.</p>
<p>Evals are not a niche skill any more. In the job posting corpus behind the AllthingsPM course, 124 of the 389 PM postings in the working file mention evals or evaluation. If you are a PM on an AI feature, someone will ask you for this plan.</p>
<h2>What is in the AI eval plan template?</h2>
<p>Copy this block into a doc or a spreadsheet. Fill it from the top down, and do not skip section 3: the failure taxonomy is what makes every later section honest.</p>
<pre><code class="language-text">AI EVAL PLAN TEMPLATE (AllthingsPM)

0. FEATURE AND DECISION
   Feature / surface: ______________________________
   Who uses it, for what job: ______________________
   Decision this eval supports:
   [ ] ship or not   [ ] pick a model   [ ] pick a prompt   [ ] catch regressions
   Owner (one quality lead who has the final say): __________

1. SUCCESS CRITERIA (specific, measurable, achievable, relevant)
   C1 Task success: ______ % of cases pass on ______________
   C2 Grounding / faithfulness: ______ % of claims supported by context
   C3 Safety / policy: ______ % of outputs pass the policy check
   C4 Tone and format: ______ % match the style spec
   C5 Latency: p95 under ______ ms      C6 Cost: under $______ per request

2. TRACE REVIEW (before any tooling)
   Traces read so far: ______ (read at least 30; aim for about 100)
   Where they came from: [ ] production logs  [ ] dogfood  [ ] synthetic
   Open notes file: ____________________

3. FAILURE TAXONOMY (named from what you saw, ranked)
   F1 __________________  frequency ____ %  severity [ ] low [ ] high
   F2 __________________  frequency ____ %  severity [ ] low [ ] high
   F3 __________________  frequency ____ %  severity [ ] low [ ] high
   F4 __________________  frequency ____ %  severity [ ] low [ ] high

4. GOLDEN DATASET
   Size to start: ______ (20 to 50 for a first cut; grow toward 100+)
   Slices:  happy path ____  edge cases ____  adversarial ____
            multilingual ____  past incidents ____
   Each row: input | context | expected behaviour | failure mode it tests
   Labelled by: ______________   Refresh cadence: ______________

5. GRADERS (cheapest one that can see the failure)
   Criterion | Grader type               | Output
   C1        | [ ] code [ ] LLM judge [ ] human | pass / fail
   C2        | [ ] code [ ] LLM judge [ ] human | pass / fail
   C3        | [ ] code [ ] LLM judge [ ] human | pass / fail
   C4        | [ ] code [ ] LLM judge [ ] human | pass / fail
   Judge model: ______________   Judge prompt version: ______

6. JUDGE VALIDATION
   Human-labelled set for the judge: ______ examples (train / dev / test)
   Agreement with humans on test split: ______ % (target 75 to 90%)
   True positive rate ______   True negative rate ______
   Known biases checked: [ ] position [ ] verbosity [ ] self-preference

7. THRESHOLDS AND RELEASE GATE
   Ship if: C1 &gt;= ____ %, C2 &gt;= ____ %, C3 = ____ %, no F-high regressions
   Block if: ______________________________
   Runs per case: ____ (agents: report pass^k, not only pass@k)
   Where it runs: [ ] every prompt change  [ ] CI  [ ] nightly

8. ONLINE SIGNALS AND CADENCE
   Production signals: thumbs-down rate ____  escalations ____  edits ____
   Business outcome it should move: ______________
   Every thumbs-down becomes: [ ] a new golden row  [ ] a taxonomy update
   Review meeting: ______________   Next plan review date: __________
</code></pre>
<p><img src="https://www.allthingspm.app/blog/assets/charts/ai-eval-plan-template-1.svg" alt="Bar chart of starting eval set sizes: AllthingsPM course first at 30 golden examples per complaint, Hamel Husain and Shreya Shankar at 30 to 100 traces, Anthropic at 20 to 50 agent tasks" title="Starting eval set sizes. AllthingsPM course lesson on golden datasets; Hamel Husain and Shreya Shankar, AI Evals FAQ; Anthropic, Demystifying evals for AI agents. Checked 28 September 2026" /></p>
<p>The published guidance agrees on the part people get wrong: you do not need thousands of examples to start. Anthropic says 20 to 50 tasks drawn from real failures "is a great start" [1], and Hamel Husain and Shreya Shankar suggest reading at least 30 traces and working from a pool of about 100 [2]. The AllthingsPM course teaches the same size in its lesson on turning <a href="https://www.allthingspm.app/course/evals/golden-datasets?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">one complaint into thirty golden examples</a>.</p>
<blockquote>
<p><strong>Why AllthingsPM wins for this</strong></p>
<ul>
<li>A full course chapter on <a href="https://www.allthingspm.app/course/evals?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">evals</a> with eight lessons, from trace sampling to agent evals and a CI gate, each mapping to a section of this template.</li>
<li>The course is built from 604 real PM job postings, so it teaches evals the way hiring teams describe the work.</li>
<li>14 graded case studies, including one where you build the eval suite for your own feature from your own trace backlog.</li>
<li>Real eval interview questions from AI companies in the <a href="https://www.allthingspm.app/question-bank?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">question bank</a>, each with its own page and a scored AI mock.</li>
<li>Free tier to start; Pro is $12 a month or $108 a year for everything, course and mocks in one account.</li>
</ul>
</blockquote>
<blockquote>
<p><strong>Key takeaways</strong></p>
<ul>
<li>An LLM evaluation template has eight parts: decision, criteria, traces, taxonomy, golden set, graders, judge validation, and a release gate with a cadence.</li>
<li>Read real traces before you write a single metric; the failure taxonomy decides what you measure.</li>
<li>Start with 20 to 50 examples from real failures and binary pass or fail grades.</li>
<li>Validate any LLM judge against human labels before you trust its number.</li>
<li>Tie the eval to a business outcome, or it becomes a dashboard nobody acts on.</li>
</ul>
</blockquote>
<h2>How do you fill in each section of the eval plan?</h2>
<h3>Section 0: name the decision first</h3>
<p>An eval exists to make a decision easier. "Should we ship the new summariser prompt?" is a decision. "Measure quality" is not. Write the decision down, and name one quality owner. Husain and Shankar recommend a single domain expert as the final voice on quality, a "benevolent dictator", to avoid labelling fights and decision paralysis [2].</p>
<p><strong>How AllthingsPM does this:</strong> the course's <a href="https://www.allthingspm.app/course/the-ai-prd/roadmap-around-an-evaluable-slice?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">roadmap around an evaluable slice</a> lesson teaches you to scope the feature so that a decision like this is possible before you write the PRD.</p>
<h3>Section 1: write success criteria as numbers</h3>
<p>Anthropic's guide asks for criteria that are specific, measurable, achievable and relevant, and lists common dimensions: task fidelity, consistency, relevance and coherence, tone and style, privacy preservation, context utilisation, latency and price [3]. Its worked example sets several targets at once, such as an F1 of at least 0.85 and 99.5% non-toxic outputs on a held-out test set [3]. Copy that shape: several numbers, each tied to one dimension.</p>
<h3>Section 2: read traces before buying tools</h3>
<p>Husain and Shankar call error analysis "the most important activity in evals" [2]. They report spending 60 to 80% of development time on error analysis and evaluation [2]. Read at least 30 traces yourself, write open notes on what went wrong, and keep going until new traces stop showing new failures [2].</p>
<p><strong>How AllthingsPM does this:</strong> the first lesson in the evals chapter is literally <a href="https://www.allthingspm.app/course/evals/trace-sampling?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">read one hundred real traces before you buy any eval tooling</a>.</p>
<h3>Section 3: turn notes into a failure taxonomy</h3>
<p>Group your notes into a short list of named failure modes, then rank them by frequency and severity. This list is your backlog. Every later section points back to it: each golden row tests a failure mode, and each grader checks one.</p>
<p><strong>How AllthingsPM does this:</strong> the course lesson <a href="https://www.allthingspm.app/course/evals/failure-taxonomy?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">name the failure from one taxonomy, and rank the backlog</a> walks through this ranking, and <a href="https://www.allthingspm.app/course/foundations/failure-attribution?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">attribute every failure to a layer</a> teaches you to say whether the model, the context, the harness or the surface is at fault.</p>
<h3>Section 4: build the golden dataset</h3>
<p>A golden dataset is a fixed set of inputs, with context and the expected behaviour, that you rerun on every change. Slice it: happy path, edge cases, adversarial inputs, other languages and past incidents. OpenAI's guidance warns against "vibe-based evals" and datasets that do not reflect production, and asks you to test beyond the happy path, including multilingual and conflicting prompts [4].</p>
<p><strong>How AllthingsPM does this:</strong> two lessons cover this directly, <a href="https://www.allthingspm.app/course/evals/golden-datasets?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">turn one complaint into thirty golden examples</a> and <a href="https://www.allthingspm.app/course/data-fluency/from-raw-data-to-a-golden-sample?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">from raw data to a golden sample</a>. If your product takes images or documents, the <a href="https://www.allthingspm.app/course/beyond-text/multimodal-evals?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">multimodal golden set</a> lesson covers what text evals miss.</p>
<h3>Section 5: pick the cheapest grader that can see the failure</h3>
<p>Anthropic lists three grader types: code-based (fast, objective, reproducible), model-based (flexible, catches nuance) and human (the gold standard, used for calibration) [1]. Use code where a rule works: valid JSON, a required field, a banned phrase, a correct tool call. Use an LLM judge for tone, helpfulness and grounding. Use humans to calibrate the judge.</p>
<p>Grade pass or fail. Husain and Shankar say binary evaluations "force clearer thinking and more consistent labeling" than 1 to 5 scales [2], and Arize says binary outputs "tend to produce more stable and reliable evaluations" [5].</p>
<p><strong>How AllthingsPM does this:</strong> <a href="https://www.allthingspm.app/course/evals/grading-methods?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">pay for the cheapest evaluator that can see the failure</a> and <a href="https://www.allthingspm.app/course/evals/scoring-rubrics?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">write the criterion: binary by default</a> are the two course lessons behind this section.</p>
<h3>Section 6: validate the judge</h3>
<p>An LLM judge is a model, and models are wrong in patterned ways. Eugene Yan's review of the research lists position bias, verbosity bias (judges prefer longer answers) and self-enhancement bias (judges rate their own model higher) [6]. He also notes that pairwise comparison tends to be more stable than direct scoring for subjective judgments [6].</p>
<p>So label a set by hand, split it into train, dev and test, and measure how often the judge agrees with humans, including its true positive and true negative rates [2]. Arize suggests that 75 to 90% agreement with human labels means the judge is ready to scale, and warns: "If your judge is passing everything, your eval probably isn't hard enough" [5].</p>
<h3>Section 7: set thresholds and a release gate</h3>
<p>Write the gate before you see the results, or you will move it. For agents, run each case several times. Anthropic separates pass@k (at least one of k tries succeeds) from pass^k (all k tries succeed) and says the second matters for customer-facing agents that must behave the same way every time [1]. It also advises grading the outcome, not the path the agent took [1].</p>
<p><strong>How AllthingsPM does this:</strong> <a href="https://www.allthingspm.app/course/evals/eval-driven-development?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">eval-driven development</a> teaches the failing eval before the fix and the CI gate, and <a href="https://www.allthingspm.app/course/evals/agent-evals?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">evaluate an agent, not an answer</a> covers final-state checks and pass^k reliability.</p>
<h3>Section 8: connect to production and the business</h3>
<p>OpenAI calls evaluation "a continuous process" and recommends evaluating early and often [4]. In practice, every thumbs-down, escalation and user edit is a candidate golden row. Then name the business outcome the eval should move, such as deflection or task success, so the number means something to your leadership.</p>
<p><strong>How AllthingsPM does this:</strong> the course lesson on <a href="https://www.allthingspm.app/course/ai-ux-and-human-oversight/empty-states-and-feedback?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">the thumbs-down that becomes an eval row</a> covers the feedback loop, and <a href="https://www.allthingspm.app/course/prove-it-paid-off/activation-and-retention?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">business outcomes, not eval scores</a> covers the link to adoption, deflection and ROI.</p>
<h2>What does a finished eval plan look like?</h2>
<p>Here is the template filled in for an illustrative feature: an AI assistant that drafts replies to support tickets from a help-centre knowledge base. The targets are examples to show the shape, not benchmarks.</p>
<table>
<thead>
<tr>
<th>Section</th>
<th>Filled in</th>
</tr>
</thead>
<tbody><tr>
<td>0. Decision</td>
<td>Ship the new drafting prompt to all agents, or keep the old one. Owner: support quality lead</td>
</tr>
<tr>
<td>1. Criteria</td>
<td>C1 draft accepted with light edits in 80% of cases; C2 every policy claim cites a help-centre article; C3 zero drafts promise refunds outside policy; C5 p95 under 4 seconds</td>
</tr>
<tr>
<td>2. Traces</td>
<td>100 recent tickets with the old prompt's drafts, read by the owner</td>
</tr>
<tr>
<td>3. Taxonomy</td>
<td>F1 invents a policy (high); F2 answers the wrong question (high); F3 too long (low); F4 wrong language (low)</td>
</tr>
<tr>
<td>4. Golden set</td>
<td>40 rows: 15 happy path, 10 edge cases, 5 adversarial, 5 non-English, 5 past incidents</td>
</tr>
<tr>
<td>5. Graders</td>
<td>Code: language match, length cap, citation present. LLM judge: grounded in cited article (pass/fail). Human: weekly sample of 20</td>
</tr>
<tr>
<td>6. Judge check</td>
<td>60 hand-labelled rows split train/dev/test; judge agreement on test split recorded before rollout</td>
</tr>
<tr>
<td>7. Gate</td>
<td>Ship if C1 and C2 targets met, zero F1 failures, no drop versus old prompt on any slice</td>
</tr>
<tr>
<td>8. Online</td>
<td>Agent edits and rejections logged; each rejected draft reviewed for a new golden row; outcome tracked: tickets resolved without escalation</td>
</tr>
</tbody></table>
<p>Every row traces back to a failure someone actually saw.</p>
<blockquote>
<p><strong>Practise an eval question out loud</strong></p>
<p>Eval design now shows up in AI PM interviews. Try <a href="https://www.allthingspm.app/question-bank/offline-evals-show-strong-swe-bench-style-gains-but-internal-dogfooders-aa26dcf9?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">a real question about offline evals that disagree with dogfooders</a>, or open the <a href="https://www.allthingspm.app/jobs/abridge/product-lead-ai-ml-evals?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">Product Lead, AI/ML (Evals) role at Abridge</a> and run a mock built from its job description.</p>
</blockquote>
<h2>What mistakes make an eval plan useless?</h2>
<ul>
<li><strong>Metrics before traces.</strong> Generic vendor metrics miss the failures your product actually has.</li>
<li><strong>Likert scales.</strong> A 3 versus a 4 means different things to different graders. Binary pass or fail per criterion is easier to label and to act on [2].</li>
<li><strong>Trusting an unvalidated judge.</strong> Without an agreement check against humans, a judge score is an opinion with a decimal point [5].</li>
<li><strong>One run per case for agents.</strong> An agent that passes once may fail the next time. Report pass^k where consistency matters [1].</li>
<li><strong>No link to outcomes.</strong> A rising score with flat outcomes measures the wrong thing.</li>
</ul>
<p><strong>How AllthingsPM does this:</strong> the chapter's graded <a href="https://www.allthingspm.app/course/evals/integration-case-6?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">integration case</a> makes you build the suite for a feature you carry through the course, from your own trace backlog, so each of these mistakes shows up in your own work and gets graded.</p>
<h2>How do you use this template in an AI PM interview?</h2>
<p>Interviewers at AI companies ask eval questions as design problems: "Offline evals improved but users say the model got worse. What do you do?" The template gives you a structure to answer out loud: name the decision, say you would read traces, build a taxonomy, check whether the golden set reflects production, check the judge, and tie it to an outcome.</p>
<p>You can practise with real questions such as <a href="https://www.allthingspm.app/question-bank/a-customer-says-sierra-s-agent-performs-well-in-english-but-d14d1b80?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">a customer saying an agent underperforms in German</a> or <a href="https://www.allthingspm.app/question-bank/a-frontier-lab-says-its-model-scores-well-on-public-benchmarks-but-256022af?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">a model that wins benchmarks but fails on long tasks</a>. Each question page on AllthingsPM has an answer guide and starts a scored <a href="https://www.allthingspm.app/prep?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">AI mock interview</a> that asks follow-ups. For a specific role, paste the job description into the <a href="https://www.allthingspm.app/jd-mock?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">JD mock</a>.</p>
<p>For background reading, see our <a href="https://www.allthingspm.app/blog/ai-evals-for-product-managers?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">AI evals guide for product managers</a>, <a href="https://www.allthingspm.app/blog/podcast-episodes-about-ai-evals-summarized?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">Lenny's Podcast evals episodes, summarised</a> and <a href="https://www.allthingspm.app/blog/evaluation-awareness?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">evaluation awareness</a>.</p>
<h2>Why AllthingsPM is the better choice for learning AI eval plans</h2>
<p>AllthingsPM puts all three in one account. The <a href="https://www.allthingspm.app/course?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">AI PM course</a> was built from 604 real PM job postings and has 14 chapters, 103 lessons and 14 graded case studies; its evals chapter maps one lesson to each section of this template, from <a href="https://www.allthingspm.app/course/evals/trace-sampling?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">trace sampling</a> to <a href="https://www.allthingspm.app/course/evals/agent-evals?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">agent evals</a>. The <a href="https://www.allthingspm.app/question-bank?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">question bank</a> holds 4,122 real questions from 260 companies, including eval design questions from AI labs, and each one starts a scored AI mock. The <a href="https://www.allthingspm.app/jobs?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">jobs catalog</a> lists 116 live PM job descriptions at 18 AI companies, each with a mock built from it, so you can rehearse for an evals role like Abridge's.</p>
<p>Also new: the <a href="https://www.allthingspm.app/pm-case-studies?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">PM Case Studies</a> library, 536 cases from companies like Notion, Netflix and Intercom. Read any brief free, then get your answer graded with quotes from your own writing and rewrites of your weakest lines.</p>
<p>The rivals have real strengths. Anthropic and OpenAI write the clearest docs on their own platforms, and Hamel Husain and Shreya Shankar's FAQ is the deepest free reading on error analysis. Use them as references. To learn the whole plan, practise it and prove it, AllthingsPM is the better choice: there is a free tier, and Pro is $12 a month or $108 a year.</p>
<p><a href="https://www.allthingspm.app/course/evals?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">Open the Designing Evals for AI Products chapter of the AllthingsPM course</a> and fill in the template on your own feature as you go.</p>
<h2>Frequently asked questions</h2>
<h3>What is an LLM evaluation template?</h3>
<p>It is a written plan for how you will judge an AI feature's outputs: the decision the eval supports, success criteria as numbers, a golden dataset, graders for each criterion, a check that any LLM judge agrees with humans, and a release gate. The eight-part template above is free to copy.</p>
<h3>What is the best LLM evaluation template for product managers?</h3>
<p>AllthingsPM's AI eval plan template, above, because it ties every section to a decision and a business outcome and each section has a matching lesson in the AllthingsPM course. Anthropic's success criteria guide and Arize's judge templates are good references for single sections.</p>
<h3>How many examples do I need in a golden dataset?</h3>
<p>Fewer than most people think to start. Anthropic says 20 to 50 tasks drawn from real failures is a great start [1], and Husain and Shankar suggest reading at least 30 traces and working from a pool of about 100 [2]. Grow the set as production failures come in.</p>
<h3>Should I use an LLM as a judge?</h3>
<p>Yes, for criteria code cannot check, such as tone or grounding, but validate it first. Label examples by hand, measure agreement on a held-out split, and watch for position, verbosity and self-preference biases [2][6]. Arize treats 75 to 90% agreement with humans as ready to scale [5].</p>
<h3>Should evals use pass or fail, or a 1 to 5 score?</h3>
<p>Pass or fail per criterion. Binary grades force clearer decisions, label more consistently and need fewer samples to detect a change than Likert scales [2][5].</p>
<h3>Where can I learn to build eval plans as a PM?</h3>
<p>The AllthingsPM AI PM course has a full evals chapter with lessons on traces, taxonomies, golden sets, graders, rubrics, eval-driven development and agent evals, plus a graded case study. Start free at <a href="https://www.allthingspm.app/course/evals?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=ai-eval-plan-template">AllthingsPM/course/evals</a>.</p>
<h2>Sources</h2>
<ol>
<li>Anthropic, "Demystifying evals for AI agents": <a href="https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents">https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents</a></li>
<li>Hamel Husain and Shreya Shankar, "Frequently Asked Questions (And Answers) About AI Evals": <a href="https://hamel.dev/blog/posts/evals-faq/">https://hamel.dev/blog/posts/evals-faq/</a></li>
<li>Anthropic, "Define your success criteria": <a href="https://platform.claude.com/docs/en/docs/test-and-evaluate/define-success">https://platform.claude.com/docs/en/docs/test-and-evaluate/define-success</a></li>
<li>OpenAI, "Evaluation best practices": <a href="https://developers.openai.com/api/docs/guides/evaluation-best-practices">https://developers.openai.com/api/docs/guides/evaluation-best-practices</a></li>
<li>Arize, "LLM as a Judge: Primer and Pre-Built Evaluators": <a href="https://arize.com/guides/llm-as-a-judge/">https://arize.com/guides/llm-as-a-judge/</a></li>
<li>Eugene Yan, "Evaluating the Effectiveness of LLM-Evaluators (aka LLM-as-Judge)": <a href="https://eugeneyan.com/writing/llm-evaluators/">https://eugeneyan.com/writing/llm-evaluators/</a></li>
<li>AllthingsPM AI PM course, chapter 8, Evals: <a href="https://allthingspm.app/course/evals">https://allthingspm.app/course/evals</a></li>
<li>AllthingsPM course job posting corpus, September 2026: count of postings in the working file that mention evals or evaluation</li>
</ol>
]]></content:encoded></item><item><title><![CDATA[Agents vs Workflows: A Decision Guide for PMs]]></title><description><![CDATA[AI agents vs workflows, explained for PMs: a one-question test, five workflow shapes, cost and risk. AllthingsPM teaches it in its AI PM course. Start…]]></description><link>https://allthingspm.hashnode.dev/agents-vs-workflows</link><guid isPermaLink="true">https://allthingspm.hashnode.dev/agents-vs-workflows</guid><category><![CDATA[AI]]></category><category><![CDATA[ai agents]]></category><category><![CDATA[Product Management]]></category><category><![CDATA[llm]]></category><dc:creator><![CDATA[Arpit Ranjan]]></dc:creator><pubDate>Tue, 10 Nov 2026 16:04:24 GMT</pubDate><content:encoded><![CDATA[<p><em>Originally published on <a href="https://www.allthingspm.app/blog/agents-vs-workflows?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">AllthingsPM</a>, the AI product management course and interview practice app.</em></p>
<p><strong>Use a workflow when you can write down the steps before the model runs. Use an agent only when the next step depends on what the model discovers along the way.</strong> Workflows are cheaper, faster and easier to test; agents handle open-ended work at a higher cost in tokens, latency and risk. Most good AI products are workflows with one small agent inside. The quickest way to learn to make this call is <strong>AllthingsPM</strong>, whose AI PM course opens its agents chapter with a lesson on exactly this decision: <a href="https://www.allthingspm.app/course/agents-and-agentic-architecture/workflows-vs-agents?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">if you can write the path, it is a workflow</a>.</p>
<p>AllthingsPM is an AI PM course and PM interview prep platform. Its course was built from 604 real PM job postings, and the decision in this guide is one employers now test directly.</p>
<h2>What is the difference between an AI agent and a workflow?</h2>
<p>The cleanest definitions come from Anthropic's engineering team. Workflows are "systems where LLMs and tools are orchestrated through predefined code paths." Agents are "systems where LLMs dynamically direct their own processes and tool usage, maintaining control over how they accomplish tasks" [1].</p>
<p>In PM terms: in a workflow, your team decides the order of steps. The model fills in each step (summarize this, classify that, draft a reply), but it never picks what happens next. In an agent, the model runs in a loop. It looks at the goal, chooses a tool, reads the result, and decides what to do next, until it judges the task done or hits a limit.</p>
<p>OpenAI draws the same line from the other side. Its guide says apps that "integrate LLMs but don't use them to control workflow execution" are not agents, and names simple chatbots, single-turn LLMs and sentiment classifiers as examples [2]. An agent "leverages an LLM to manage workflow execution and make decisions" and "dynamically selects the appropriate tools depending on the workflow's current state" [2].</p>
<p>Here is the whole comparison on one page.</p>
<table>
<thead>
<tr>
<th>Question</th>
<th>Workflow</th>
<th>Agent</th>
</tr>
</thead>
<tbody><tr>
<td>Who decides the next step?</td>
<td>Your code, written in advance</td>
<td>The model, at run time</td>
</tr>
<tr>
<td>Can you draw the flowchart before it runs?</td>
<td>Yes</td>
<td>No, it depends on what the model finds</td>
</tr>
<tr>
<td>Cost per run</td>
<td>Roughly fixed and predictable</td>
<td>Varies; agents use about 4x the tokens of chat [3]</td>
</tr>
<tr>
<td>Latency</td>
<td>Known upper bound</td>
<td>Open-ended until a stop condition fires</td>
</tr>
<tr>
<td>How you test it</td>
<td>Check each step's output</td>
<td>Check the final state, over many repeated runs [5]</td>
</tr>
<tr>
<td>Typical failure</td>
<td>A step gives a weak output</td>
<td>The loop wanders, repeats, or takes a wrong action</td>
</tr>
<tr>
<td>Best for</td>
<td>Known, repeatable, low-ambiguity tasks</td>
<td>Open-ended tasks where the number of steps cannot be predicted [1]</td>
</tr>
<tr>
<td>Example</td>
<td>Summarize a ticket, tag it, route it to a queue</td>
<td>Investigate a bug across logs, code and docs, then propose a fix</td>
</tr>
</tbody></table>
<p><em>Definitions from Anthropic [1] and OpenAI [2]; token figure from Anthropic's multi-agent research post [3].</em></p>
<blockquote>
<p><strong>Why AllthingsPM wins for this</strong></p>
<ul>
<li>A full course chapter, "Agents and agentic architecture", with lessons on workflows vs agents, agent anatomy, tool contracts, the harness, multi-agent cost and MCP.</li>
<li>The course was built from 604 real PM job postings and is updated weekly, so it teaches what employers actually ask for.</li>
<li>4,122 real interview questions from 260 companies, each with its own page and answer guide, including agent questions from Sierra and Anthropic.</li>
<li>116 live PM job descriptions at 18 AI companies, including Decagon's agent PM roles, each with a mock interview built from it.</li>
<li>Free tier to start; Pro is $12 a month or $108 a year.</li>
</ul>
</blockquote>
<blockquote>
<p><strong>Key takeaways</strong></p>
<ul>
<li>The one-question test: if you can write the path before the model runs, build a workflow.</li>
<li>Agents earn their cost on open-ended tasks, judgment calls, sprawling rulesets and messy unstructured input.</li>
<li>Agents cost more: about 4x the tokens of chat, and multi-agent systems about 15x [3].</li>
<li>Start with a workflow, add one agent where the path truly branches, and give it stop conditions and human handoffs.</li>
<li>246 of 677 PM postings in the AllthingsPM JD corpus name agents, so interviewers will ask you to make this call.</li>
</ul>
</blockquote>
<h2>What is the one-question test for agents vs workflows?</h2>
<p>Ask: <strong>can I write the path down before the model runs?</strong></p>
<p>If yes, it is a workflow, even if the steps are long and the model does most of the work inside each step. Anthropic's first piece of advice is to "find the simplest solution possible, and only increase complexity when needed" [1]. A written path is simpler to build, to price and to debug.</p>
<p>If no, because the right next step depends on what the model reads in a log file, a customer's reply or a search result, you may need an agent. Anthropic reserves agents for "open-ended problems where it's difficult or impossible to predict the required number of steps" [1].</p>
<p>OpenAI gives three signals that a task is worth an agent [2]:</p>
<ol>
<li><strong>Complex decision-making:</strong> "nuanced judgment, exceptions, or context-sensitive decisions", such as refund approval in customer service.</li>
<li><strong>Difficult-to-maintain rules:</strong> rulesets that have become "unwieldy", such as vendor security reviews.</li>
<li><strong>Heavy reliance on unstructured data:</strong> interpreting natural language or documents, such as processing a home insurance claim.</li>
</ol>
<p>OpenAI's advice is to "validate that your use case can meet these criteria clearly" before committing to an agent [2]. If none of the three applies, you are paying agent prices for workflow work.</p>
<p><strong>How AllthingsPM does this:</strong> the course lesson <a href="https://www.allthingspm.app/course/agents-and-agentic-architecture/workflows-vs-agents?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">Workflow or agent: if you can write the path, it is a workflow</a> walks you through this exact test on real product cases. It builds on a discovery lesson that asks the question even earlier, <a href="https://www.allthingspm.app/course/discovery-and-strategy-for-ai-products/assumption-testing?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">is an agent even the right answer?</a>, so you learn to challenge the "let's build an agent" request before a line of code exists.</p>
<h2>What are the five workflow shapes every PM should know?</h2>
<p>Before reaching for an agent, check whether one of these five patterns from Anthropic already fits [1]. Each is a workflow because your code, not the model, decides the order.</p>
<table>
<thead>
<tr>
<th>Shape</th>
<th>What it does</th>
<th>PM example</th>
</tr>
</thead>
<tbody><tr>
<td>Prompt chaining</td>
<td>Splits a task into fixed steps, each model call using the last one's output</td>
<td>Draft a release note, then check it against a style guide, then translate it</td>
</tr>
<tr>
<td>Routing</td>
<td>Classifies the input and sends it to a specialized path</td>
<td>Send billing tickets, bug reports and refund requests to different handlers</td>
</tr>
<tr>
<td>Parallelization</td>
<td>Runs several model calls at once and combines them</td>
<td>Score one answer on accuracy, tone and safety at the same time</td>
</tr>
<tr>
<td>Orchestrator-workers</td>
<td>A central model breaks a task into subtasks and hands them out</td>
<td>Plan edits across many files, then assign each file to a worker call</td>
</tr>
<tr>
<td>Evaluator-optimizer</td>
<td>One call generates, another critiques, in a loop</td>
<td>Write a summary, grade it against a rubric, revise until it passes</td>
</tr>
</tbody></table>
<p>The last two sit close to the agent line. An orchestrator decides the subtasks at run time, which is why Anthropic notes it suits tasks where "you can't predict the subtasks needed" [1]. Reaching for it is a sign you are one step from an agent.</p>
<p><strong>How AllthingsPM does this:</strong> the same lesson covers the five shapes, and the next one, <a href="https://www.allthingspm.app/course/agents-and-agentic-architecture/the-anatomy-of-an-agent?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">the anatomy of an agent</a>, shows what you add when you cross the line: tools, planning, state, termination and escalation. The <a href="https://www.allthingspm.app/knowledge-graph?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">AllthingsPM knowledge graph</a> shows how these concepts connect to evals, tool design and trust across the course.</p>
<h2>Why are PMs being asked to make this call now?</h2>
<p>Because employers write it into job descriptions. We counted mentions in the 677 PM job postings from 103 companies in the AllthingsPM JD corpus. 246 of them (36%) name agents or agentic work, and 230 (34%) name workflows. Among AI-native postings, 199 of 335 (59%) name agents, against 47 of 342 (14%) for other PM roles [6].</p>
<p><img src="https://www.allthingspm.app/blog/assets/charts/agents-vs-workflows-1.svg" alt="Bar chart led by AllthingsPM (us): the AllthingsPM JD corpus holds 677 PM job postings; 246 name agents or agentic work (36%); 230 name workflows (34%); 199 of 335 AI-native postings name agents (59%); 114 name both (17%); 47 of 342 other PM postings name agents (14%)" title="AllthingsPM (us) shown first. Source: AllthingsPM JD corpus of 677 PM postings from 103 companies, read 22 September 2026" /></p>
<p>Some companies now hire for the role by name. Decagon, for example, lists a <a href="https://www.allthingspm.app/jobs/decagon/senior-agent-product-manager?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">Senior Agent Product Manager</a> and a <a href="https://www.allthingspm.app/jobs/decagon/product-manager-enterprise-agent-platform?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">Product Manager, Enterprise Agent Platform</a>.</p>
<p>There is also a cost to getting it wrong. In June 2025 Gartner predicted that over 40% of agentic AI projects will be canceled by the end of 2027, due to escalating costs, unclear business value or inadequate risk controls [4]. Gartner also warned about "agent washing", rebranding assistants, RPA and chatbots as agents, and estimated only about 130 of the thousands of agentic AI vendors are real [4]. A PM who can say "this is a workflow, and here is why" saves the team from being one of those projects.</p>
<p><strong>How AllthingsPM does this:</strong> the course is built from these same postings, so the agents chapter exists because the demand is real, not because the topic is fashionable. Open any AI company role in the <a href="https://www.allthingspm.app/jobs?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">AllthingsPM jobs catalog</a> to see the agent language in context, then start a mock interview built from that posting.</p>
<h2>What does an agent really cost compared with a workflow?</h2>
<p>Anthropic states the trade plainly: "Agentic systems often trade latency and cost for better task performance, and you should consider when this tradeoff makes sense" [1].</p>
<p>The numbers from its own research system are useful anchors. Agents "typically use about 4x more tokens than chat interactions", and "multi-agent systems use about 15x more tokens than chats" [3]. The payoff can be real: a multi-agent setup with Claude Opus 4 leading Claude Sonnet 4 subagents "outperformed single-agent Claude Opus 4 by 90.2%" on Anthropic's internal research eval [3]. And token usage alone explained 80% of the performance variance on the BrowseComp evaluation [3].</p>
<p>So the PM question is not "is the agent better?" It is "is the gain worth four to fifteen times the tokens on this task, at this volume, for this user?" For a deep research report a user waits minutes for, maybe yes. For tagging ten thousand tickets a day, almost never.</p>
<p>OpenAI's guide reaches the same place for team design: "maximize a single agent's capabilities first," because more agents "can introduce additional complexity and overhead, so often a single agent with tools is sufficient" [2].</p>
<p><strong>How AllthingsPM does this:</strong> the lesson <a href="https://www.allthingspm.app/course/agents-and-agentic-architecture/multi-agent-cost?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">when multi-agent is worth it</a> works through this cost math, with the agentic search and Deep Research patterns as cases. You leave able to write the cost line in a spec instead of discovering it on the invoice.</p>
<h2>How do you test an agent differently from a workflow?</h2>
<p>A workflow is tested step by step: did the classifier pick the right queue, did the summary keep the key facts. An agent has to be judged on the end state and on consistency, because the same request can take a different path each time.</p>
<p>The tau-bench paper made this concrete. It found that even state-of-the-art function-calling agents such as GPT-4o succeeded on fewer than 50% of its tasks, and were inconsistent: pass^8 was below 25% in the retail domain [5]. Pass^k measures whether the agent succeeds on all k repeated tries of the same task [5].</p>
<p>For a PM, that changes the launch bar. You need a reliability number (how often does it finish correctly across repeated runs), a list of actions it may take without asking, and a defined handoff. OpenAI recommends escalating to a human when an agent exceeds failure thresholds, such as failing to understand intent after multiple attempts, and for high-risk actions like "canceling user orders, authorizing large refunds, or making payments" [2].</p>
<p><strong>How AllthingsPM does this:</strong> the evals chapter has a lesson on <a href="https://www.allthingspm.app/course/evals/agent-evals?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">evaluating an agent, not an answer</a>, using final-state assertions and pass-k reliability. The trust chapter covers <a href="https://www.allthingspm.app/course/trust/what-an-agent-may-do-without-asking?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">what an agent may do without asking</a>, weighing reversibility against reliability, which is the memo your security and legal teams will want. Our guide to <a href="https://www.allthingspm.app/blog/ai-evals-for-product-managers?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">AI evals for product managers</a> goes deeper on the eval side.</p>
<h2>What does the hybrid pattern look like in a real product?</h2>
<p>Most shipped products mix the two. The workflow is the spine; the agent is a narrow step inside it where the path genuinely branches.</p>
<p>Take customer support. A workflow receives the ticket, routes it by type (routing), and pulls the customer's account (a fixed tool call). Only the hard branch, say a disputed refund with a long history, goes to an agent that can read past tickets, check policy and propose a resolution. Any refund above a set amount goes to a human, following OpenAI's high-risk rule [2].</p>
<p>The practical sequence for a PM:</p>
<ol>
<li>Write the path. Mark every step you can specify in advance.</li>
<li>Circle the steps where the next move depends on what the model finds. Those, and only those, are agent candidates.</li>
<li>For each, check OpenAI's three signals: judgment, unwieldy rules, unstructured input [2].</li>
<li>Give the agent a tool list, a step or budget cap, and a stop condition.</li>
<li>Define the human handoff and the actions that always need approval.</li>
<li>Measure final-state success over repeated runs before launch [5].</li>
</ol>
<p><strong>How AllthingsPM does this:</strong> the chapter ends with an integration case, <a href="https://www.allthingspm.app/course/agents-and-agentic-architecture/integration-case-5?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">the agent version of your carried feature</a>, where you design the architecture and tool contracts for a feature you carry through the whole course. The lesson on <a href="https://www.allthingspm.app/course/agents-and-agentic-architecture/tool-design?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">writing the tool contract</a> covers the step most teams skip: workflow-shaped tools with capped output and errors written as instructions.</p>
<blockquote>
<p><strong>Make the call yourself</strong></p>
<p>Open the AllthingsPM lesson <a href="https://www.allthingspm.app/course/agents-and-agentic-architecture/workflows-vs-agents?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">Workflow or agent: if you can write the path, it is a workflow</a>, then read the rest of <a href="https://www.allthingspm.app/course/agents-and-agentic-architecture?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">chapter 6, Designing AI Agents and Tooling</a>.</p>
</blockquote>
<h2>How does agents vs workflows come up in PM interviews?</h2>
<p>At AI companies it shows up in product sense, strategy and execution rounds, usually disguised as a product question. Real examples from the AllthingsPM question bank:</p>
<ul>
<li><a href="https://www.allthingspm.app/question-bank/a-new-german-enterprise-customer-wants-sierra-to-automate-support-with-71bec724?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">Sierra: a new German enterprise customer wants to automate support with an AI agent</a></li>
<li><a href="https://www.allthingspm.app/question-bank/after-launching-an-enterprise-ai-agent-what-primary-success-metric-and-4e5fb513?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">After launching an enterprise AI agent, what primary success metric and guardrail metrics would you track?</a></li>
<li><a href="https://www.allthingspm.app/question-bank/across-many-agentic-coding-tasks-claude-code-shows-a-recurring-failure-ecd5cb76?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">Anthropic: Claude Code shows a recurring failure mode across many agentic coding tasks, such as looping</a></li>
</ul>
<p>A strong answer names the decision out loud: which steps are fixed (workflow), which branch (agent), what the agent may do alone, where a human steps in, and how you will measure reliability.</p>
<p><strong>How AllthingsPM does this:</strong> every question above has its own page and answer guide, and any of them can start a scored <a href="https://www.allthingspm.app/prep?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">AI mock interview</a> in text or voice, with follow-ups. For a specific role, paste the posting into the <a href="https://www.allthingspm.app/jd-mock?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">JD mock</a> and the interviewer builds the loop around it. Our list of <a href="https://www.allthingspm.app/blog/ai-pm-interview-questions?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">AI PM interview questions</a> gathers more.</p>
<h2>Why AllthingsPM is the better choice for learning agents vs workflows</h2>
<p>You can read the vendor guides for free, and you should: Anthropic's and OpenAI's posts [1][2] are the clearest primary sources on this topic. What they do not do is teach you to make the call as a PM, test you on it, or connect it to the jobs you are applying for.</p>
<p>Also new: the <a href="https://www.allthingspm.app/pm-case-studies?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">PM Case Studies</a> library, 536 cases from companies like Notion, Netflix and Intercom. Read any brief free, then get your answer graded with quotes from your own writing and rewrites of your weakest lines.</p>
<p>AllthingsPM does all three in one account. The AI PM course was built from 604 real PM job postings and is updated weekly. Its agents chapter takes you from the workflow-or-agent test through agent anatomy, tool contracts, the harness, multi-agent cost and MCP, and ends with an integration case where you design an agent for your own feature. Lessons in other chapters cover how to evaluate agents and what they may do without asking.</p>
<p>Then it connects learning to getting hired. The same account holds 4,122 real interview questions from 260 companies, each with an answer guide; 116 live PM job descriptions at 18 AI companies, each with a mock interview built from it; and a <a href="https://www.allthingspm.app/jd-resume-review?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">resume review against a job description</a> so your agent project shows up on the page recruiters read.</p>
<p>General PM courses and interview sites have their strengths, such as brand recognition, live cohorts and large peer communities. For learning this specific AI PM skill and proving it in an interview, at $12 a month or $108 a year with a free tier to start, AllthingsPM is the stronger choice. <a href="https://www.allthingspm.app/course?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">Start the AI PM course free</a>.</p>
<h2>Frequently asked questions</h2>
<h3>What is the difference between AI agents and workflows?</h3>
<p>A workflow runs LLMs and tools through code paths you define in advance; an agent lets the model decide its own next step and which tools to use [1]. If you can draw the flowchart before it runs, it is a workflow.</p>
<h3>When should a PM choose an agent over a workflow?</h3>
<p>When the number of steps cannot be predicted and the task needs judgment, unwieldy rules or unstructured input, the three signals in OpenAI's guide [2]. Otherwise a workflow is cheaper, faster and easier to test.</p>
<h3>Are agents more expensive than workflows?</h3>
<p>Usually. Anthropic reports agents use about 4x the tokens of chat interactions and multi-agent systems about 15x [3]. That spend can buy better results on hard tasks, so weigh it per use case.</p>
<h3>Is an agentic workflow the same as an agent?</h3>
<p>Not quite. An agentic workflow is usually a fixed path with one or more agent steps inside it. That hybrid is what most shipped products use: predictable spine, flexible branch.</p>
<h3>What is the best way to learn agents vs workflows as a PM?</h3>
<p>AllthingsPM is the best place to start: its AI PM course has a full chapter on agents and agentic architecture, opening with the workflow-or-agent decision, plus agent eval and trust lessons and real interview questions to practice on. Pair it with Anthropic's "Building effective agents" post [1].</p>
<h3>Do PM interviews ask about agents vs workflows?</h3>
<p>Yes, at AI companies. 59% of AI-native postings in the AllthingsPM JD corpus name agents [6], and questions about automating enterprise support with an AI agent appear in the AllthingsPM question bank.</p>
<p>Ready to make the call with confidence? <a href="https://www.allthingspm.app/course?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">Start the AllthingsPM AI PM course free</a>, then practice it in a <a href="https://www.allthingspm.app/jd-mock?utm_source=hashnode&amp;utm_medium=article&amp;utm_campaign=agents-vs-workflows">JD mock interview</a>.</p>
<h2>Sources</h2>
<ol>
<li>Anthropic, "Building effective agents", 19 December 2024. <a href="https://www.anthropic.com/engineering/building-effective-agents">https://www.anthropic.com/engineering/building-effective-agents</a></li>
<li>OpenAI, "A practical guide to building agents". <a href="https://cdn.openai.com/business-guides-and-resources/a-practical-guide-to-building-agents.pdf">https://cdn.openai.com/business-guides-and-resources/a-practical-guide-to-building-agents.pdf</a></li>
<li>Anthropic, "How we built our multi-agent research system", 13 June 2025. <a href="https://www.anthropic.com/engineering/multi-agent-research-system">https://www.anthropic.com/engineering/multi-agent-research-system</a></li>
<li>Gartner, "Gartner Predicts Over 40% of Agentic AI Projects Will Be Canceled by End of 2027", 25 June 2025. <a href="https://www.gartner.com/en/newsroom/press-releases/2025-06-25-gartner-predicts-over-40-percent-of-agentic-ai-projects-will-be-canceled-by-end-of-2027">https://www.gartner.com/en/newsroom/press-releases/2025-06-25-gartner-predicts-over-40-percent-of-agentic-ai-projects-will-be-canceled-by-end-of-2027</a></li>
<li>Yao et al., "tau-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains", arXiv, 2024. <a href="https://arxiv.org/abs/2406.12045">https://arxiv.org/abs/2406.12045</a></li>
<li>AllthingsPM JD corpus: 677 PM job postings from 103 companies, read 22 September 2026. <a href="https://allthingspm.app/jobs">https://allthingspm.app/jobs</a></li>
<li>Prompt Engineering Guide, "AI Workflows vs. AI Agents". <a href="https://www.promptingguide.ai/agents/ai-workflows-vs-ai-agents">https://www.promptingguide.ai/agents/ai-workflows-vs-ai-agents</a></li>
</ol>
]]></content:encoded></item></channel></rss>