Context EngineeringLesson 38 of 87

Module 4 · Position, order and what the model actually reads

What examples cost, and what they buy

In this lesson

  • 9 min read
  • 6 reading sections
  • Knowledge check
  • Lesson 8 of 9 in this chapter

This chapter’s goalPredict and measure how position changes whether material in the window gets used: run a position probe on your own model and corpus, place instructions, examples and evidence deliberately, mark boundaries the model cannot confuse, and choose an evidence order that matches the task rather than the retriever’s ranking.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 7Free · no account needed
Lesson steps

Examples are the most expensive instruction format

A well-chosen example teaches something a paragraph cannot: the exact shape of an output, a boundary case, a tone. It also costs 150 to 400 tokens, on every request, forever.

So the question is never “do examples help” (they usually do) but “do these four examples buy more than 1,000 tokens of something else would”. That is a measurable question and almost nobody measures it.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Data, SQL and Getting to the Answer exam.

Stuck on something?Ask Sayali, your AI tutor

How to cite: Addaly (2026) ‘What examples cost, and what they buy’, in Context Engineering. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/context-engineering/few-shot-examples-inside-a-budget (Accessed: 29 November 2026).