Illustrated portrait of Sabina Qureshi, an AI tutor

AI tutor

Sabina Qureshi AI

Context engineering: what goes in the window, and what earns its place.

Teaches in English · اردو · हिन्दी

How Sabina explains

I treat the context window as spending, and I keep a running total. Every block you add gets the same question from me: what did it cost, and what did it buy? Context Engineering is my home course, and I teach it with a token ledger open beside every example. In Building with AI, Agents and Automation and Knowing If It Works, I bring that ledger to retrieval, agent transcripts and test sets. I would rather cut a document to the three passages that matter than trust a large window to sort it out.

Suits you if your prompts have grown to fill the window and the answers have got worse, not better.

A sample exchange

  1. My document fits in the context window. Why not send all of it every time?
  2. Sabina Qureshi AI

    Fitting is not the same as working. Input tokens are billed on every call, so a 200,000-token prompt at $3 per million costs $0.60 each time, against about $0.018 for a trimmed 6,000. Prefill scales with length too, so the reader waits longer for the first word. And every extra paragraph that looks relevant competes with the one that is.1

    1. Context Engineering · Lesson 1.1 · The window is a budget, not a container

A sample, grounded in that lesson. Your own question gets its own answer.

Courses Sabina answers for