Skip to content
Exchange

Tokens on one page

1 file1 KB

A look inside

The first lines of what-a-token-is.md. The whole file is in your library once you get it.

# Tokens on one page

A free card from MenFem's Building with agents, lesson S1: What a token is.
The lesson, with the picture and the examples: https://menfem.com/courses/building-with-agents/what-a-token-is

This is what you keep: what a token is, where they add up, and the habit that keeps a chat light.

1. A token is a short piece of text. A common word is often one token; a rare word or a name is several.
2. Different models cut the same words into different numbers of tokens.
3. The context window is the working memory, counted in tokens. It has a limit, and a crowded one works worse.
4. Every message carries the whole chat before it, so a long chat gets heavier with each turn.
5. The answer counts too. On the API, a token it writes costs more than a token you send.
6. Paste the part you need, not the whole file.

**The rule:** One job, one chat: start a fresh chat when the job changes, and carry over only a short summary.

## Used once

From the lesson, on a made-up shop: "You ask Claude for three subject lines for Friday's sale email."

Answer: Light. A short ask and a short answer. A few hundred tokens at most.

## Your turn
…and 10 more lines.

What is inside

  • what-a-token-is.md1 KB

How to use it

Open it beside the job and go down the 6 lines in order, then check your answer against the rule at the bottom. It is the card from Building with agents, lesson S1 (What a token is), with one worked example from the lesson and a space for your own case.

Run before it was listed

Tested 2026-11-29: Generated from the lesson's own keep card and checked line by line against it; used once on the lesson's made-up example, which is printed in the file.