Token Efficiency: tokens and context management 101
Welcome! This is your page for the live session with Sam. It has every download you need, and the checklists and worksheets work right here on the page.
Live workshop workbook
How this page works
- Follow the parts below in order during the live session.
- Tick the checklists and fill in the answer boxes right on this page.
- Use your usual AI tool in another window. You only need to open links, start new sessions, upload (or paste) a text file, and paste one request.
- Do not upload private company information, personal data, credentials, or client material to your AI tool.
Token use depends on the task, model, harness, and workflow. Optimize for a correct result with less waste, not the lowest token count alone.
Your answers never leave this browser. The save bar below confirms when they are stored on this device.
- Run 1 score
- 0 of 8
- Run 2 score
- 0 of 8
- Plan
- 0 of 9 answered
Nothing saved yet. Your answers will stay on this device.
Part 1 of 9
What is a token?
A token is a piece of text that a model processes. A token may be a word, part of a word, punctuation, a number, or another text fragment.
Open a tokenizer that shows token boundaries, then paste the samples below and watch how the text is divided. Both links open in a new tab:
- OpenAI tokenizer shows each token as a colored block.
- Tiktokenizer lets you switch models and compare how each one splits the same text.
The cat sat on the mat.indivisibility2026-03-20https://example.com/products?id=4827{"status":"ready","count":17}שלום, מה נשמע?
Remember: a tokenizer result applies to the selected tokenizer only. Different models may divide the same text differently, and context limits and token prices count tokens, not words.
Your turn: predict, then test
Which of these uses the fewest tokens, and which the most? Commit to a prediction, then test all three in the tokenizer.
- A.Better late than never.
- B.3.14159265358979
- C.שלום, מה נשמע?
For example: A, C, B
Part 2 of 9
What actually enters the model request?
The harness is the app or agent around the model. It assembles instructions, history, files, and tools into the request. The visible text box is only part of what the model receives:
Chat app
- System instructions
- Conversation history
- Uploaded documents
- Your request
Direct API application
- Application instructions
- Structured data
- Reference material
- Your request
Coding harness
- Agent instructions
- Tool definitions
- Workspace rules
- File and search results
- Previous tool calls
- Your request
The full request, not only the visible text box, determines token use.
- Context:
- information the model can access during the current request.
- Memory:
- information stored for later use.
- Training:
- what the model learned before the current interaction.
This is why your neighbor's tool may answer differently: different harnesses add different instructions, use different models, and process uploads differently.
Part 3 of 9
Get set up for the lab
- Download lab file 1 (full context)
- Open your usual AI tool in another window.
- Note which model you are using, if your tool shows it.
- Read the eight-point scoring checklist in Part 4 below. You will score both runs with it.
For example: Claude app · Sonnet 5. Keep the same tool and model for both runs.
Can't upload lab file 1? Open the copy-and-paste version
Copy the entire file, then paste it into your chat before the request.
BRIGHTPATH REPORTS: LAUNCH PROJECT MATERIAL (WORKING FILE) Everything about the launch since March is in this file somewhere. Nobody has cleaned it up. ------------------------------------------------------------ EMAIL THREAD: MARCH KICKOFF ------------------------------------------------------------ From: Dana (Product Marketing) To: Launch team Subject: Launch brief inputs: kickoff summary Hi all, Writing down what we agreed at kickoff so nothing gets lost: - Launch date: October 1, 2026 - Launch markets: United States and United Kingdom - Price: $59 per user per month - Audience: enterprise retail chains - Pilot result: reporting time cut by 60 percent - Call to action: "Start your free trial" - The mobile app ships at launch, together with the web product Dana From: Omer (Sales) To: Launch team Subject: RE: Launch brief inputs: kickoff summary Love it. Retail buyers keep asking about the free trial, so let's put "Start your free trial" front and center. The 60 percent number is a great hook for the launch headline. Omer ------------------------------------------------------------ TEAM CHAT EXPORT: #launch-general (keeping this just in case) ------------------------------------------------------------ Noa: has anyone booked the offsite for September? Omer: not yet, the venue up north fell through Noa: ok, catering needs a final headcount two weeks ahead Tal: unrelated, but the espresso machine on floor 2 is broken again Omer: third time this month Noa: I will add it to the office ops list Tal: we should also pick a team shirt color before the offsite Omer: blue, it is always blue Noa: settled then Tal: can someone forward me the parking form? Noa: sent [38 more messages in this thread] ------------------------------------------------------------ STATUS UPDATE: JULY 22 (CURRENT, REPLACES THE KICKOFF NUMBERS) ------------------------------------------------------------ From: Dana (Product Marketing) Subject: Launch changes after the July board review Decisions from the board review. These replace the kickoff numbers: 1. The launch date moves to Thursday, November 12, 2026. 2. The United States is out for this year. Launch markets are the United Kingdom, Germany, and the Netherlands. United States entry is planned for 2027 and must not be promised in launch material. 3. The final price is $79 per user per month, billed annually. 4. The audience is operations managers at mid-size logistics companies (50 to 500 employees), not enterprise retail. 5. The free trial is cancelled. The call to action is: "Book a 30-minute demo at brightpath.example/demo". 6. Legal approved one performance claim only: "cuts weekly reporting time by up to 40 percent". The 60 percent pilot figure did not pass review. Do not use it. 7. The mobile app slips to Q1 2027. The launch is web only. Dana ------------------------------------------------------------ PASTED AGAIN FOR VISIBILITY (someone asked for the March kickoff notes) ------------------------------------------------------------ - Launch date: October 1, 2026 - Launch markets: United States and United Kingdom - Price: $59 per user per month - Audience: enterprise retail chains - Pilot result: reporting time cut by 60 percent - Call to action: "Start your free trial" - The mobile app ships at launch, together with the web product ------------------------------------------------------------ BRAND WRITING RULES (STABLE, APPLIES TO ALL MATERIAL) ------------------------------------------------------------ - Write in plain, direct language. No buzzwords. - Short sentences. Active voice. - Sentence case for headings. - Every claim must be specific and approved by legal. - Never overpromise: if a feature is not at launch, do not imply it is. ------------------------------------------------------------ REFERENCE: PRODUCT BACKGROUND AND SUPPORT FAQ (LONG) ------------------------------------------------------------ Brightpath Reports connects to the spreadsheets and order systems an operations team already uses and builds their weekly operations reports automatically. Setup takes under one day and needs no engineering work. Q: What does Brightpath Reports do with existing spreadsheets? A: It reads them where they are. Nothing is migrated or converted, and the team keeps working in the files they know. Q: Which order systems does it connect to? A: The common logistics order systems plus CSV import for anything else. A full connector list ships with the sales deck. Q: How long does setup take? A: Under one day for a standard team. Most of that is choosing which reports to automate first. Q: Does it need help from the customer's engineers? A: No. Setup is done by the operations team with a Brightpath onboarding specialist on a call. Q: How are reports delivered? A: On a schedule the team picks, usually Monday morning, by email and as a shared link. Q: Can a customer edit a generated report? A: Yes. Every report can be adjusted before it is sent, and the adjustment is remembered for the next run. Q: What about data security? A: Data stays in the customer's systems. Brightpath reads what it needs to build the report and stores only the report itself. Q: Is there an API? A: A read API for finished reports. Write access is on the roadmap. Q: What languages are supported? A: The product ships in English. Report content follows whatever language the source data uses. Q: Who supports the rollout? A: A named onboarding specialist for the first month, then standard support with a one-business-day response time. ------------------------------------------------------------ REQUIRED OUTPUT (THE ACTUAL TASK) ------------------------------------------------------------ Write a product launch brief with exactly these six sections: 1. Headline 2. Three key messages 3. Target audience 4. Pricing 5. Availability (markets and launch date) 6. Call to action Keep the brief under 300 words. Use only current, approved facts.
Part 4 of 9
Run 1: the cluttered file
- Start a fresh session in your AI tool.
- Upload 01-full-context.txt (or paste its text from Part 3).
- Enter exactly this request:
Create the requested product launch brief using the uploaded project material.
Part 5 of 9
Context surgery
Look back at the cluttered file. Every piece of it falls into one of four groups:
The compact brief packs the survivors into this shape:
Goal: Current state: Decisions: Constraints: Relevant facts: Superseded facts: Required output: Success criteria:
The best context is the smallest complete set of relevant information.
Can't upload lab file 2? Open the copy-and-paste version
Copy the entire file, then paste it into your chat before the request.
BRIGHTPATH REPORTS: COMPACT LAUNCH CONTEXT Goal: Produce the product launch brief for Brightpath Reports. Current state: Launch confirmed for Thursday, November 12, 2026. Web product only. Decisions: - Audience: operations managers at mid-size logistics companies (50 to 500 employees). - Price: $79 per user per month, billed annually. - Launch markets: United Kingdom, Germany, and the Netherlands. - Call to action: "Book a 30-minute demo at brightpath.example/demo". Constraints: - Use only the approved claim: "cuts weekly reporting time by up to 40 percent". - Do not present the mobile app as a launch feature. It ships Q1 2027. - Plain, direct language. Short sentences. Sentence case headings. Relevant facts: - Brightpath Reports builds a team's weekly operations reports automatically from the spreadsheets and order systems they already use. - Setup takes under one day and needs no engineering work. Superseded facts (do not use): - October 1 launch date, United States launch, $59 price, free trial, 60 percent claim, mobile app at launch. Required output: Write a product launch brief with exactly these six sections: 1. Headline 2. Three key messages 3. Target audience 4. Pricing 5. Availability (markets and launch date) 6. Call to action Keep the brief under 300 words. Use only current, approved facts. Success criteria: Every fact matches the decisions above, no superseded fact appears, and all six sections are present.
Part 6 of 9
Run 2: the compact file
- Start another fresh session.
- Keep the same tool and model you used for Run 1. Only the context should change.
- Upload 02-compact-context.txt (or paste its text from Part 5).
- Enter the same request as Run 1.
- Score the result with the same checklist:
Part 7 of 9
Compare your two runs
Compare your own Run 2 with your own Run 1. Do not compare token counts with other participants because models, tokenizers, and harnesses differ.
Correct checklist items
- Run 1
- 0 of 8
- Run 2
- 0 of 8
| Measure | Run 1 | Run 2 |
|---|---|---|
| Correct checklist items | 0 of 8 | 0 of 8 |
| Stale facts used | ||
| Constraints missed | ||
| Corrections required | ||
| Response time | ||
| Token use, if visible | ||
| Usable result |
Did the improved context produce a correct, useful result with less waste?
A lower token count with a worse result does not count as an improvement.
Part 8 of 9
Caching, model switching, and real cost
Providers may reuse processing for a repeated prompt prefix. Cached input can cost less and return faster. Cached tokens still occupy context, and changing early content can prevent reuse of everything after it. Keep the stable parts first:
- 1. Stable instructions
- 2. Stable tool definitions
- 3. Stable reference material
- 4. Current facts
- 5. Changing data
- 6. Current request
When you switch models, do it at a clear task boundary, and hand the new model a compact handoff instead of the whole cluttered transcript:
Goal: Verified facts: Decisions: Constraints: Open questions: Exact next action:
Per-token price is not the same as cost per completed task.
A cheap model that needs four attempts can cost more than a pricier model that succeeds once. A very capable model can also lose by using more reasoning than the task needs. Judge models by total tokens, attempts, result quality, correction time, and cost per successful task.
Part 9 of 9
Your context plan
Pick one recurring task from your own work, such as research, writing, document analysis, project planning, coding, marketing, or sales. Then write your rules for it:
Your answers stay on this device and are never sent to Agentic Israel. Download or copy them above if you want to keep them.
Agentic Israel · 2026