A short course 3 modules · ~16 min total

# Token Economics

Before you reach for a compression tool, understand the thing it compresses. This is a short, modular course — three focused lessons that take you from what a token is, through why agent loops get expensive, to how you compress them without changing a single decision the model makes.

The one-sentence version. An LLM charges by the token; an agent re-sends its whole history every turn, so cost grows with the square of the conversation; compression removes tokens the answer doesn't depend on; and the only honest compression is the kind you can prove didn't change the model's decision. This course builds that idea, piece by piece.

## The three modules

~4 min 1

### Fundamentals

What a token actually is, why structured text costs double, and where an agent quietly burns thousands of them before it reads your task.

- BPE & the anatomy of a token
- Prose vs. code vs. JSON density
- The agent-request token budget

Start module 1 → ~7 min 2

### Cost & Compression

Why multi-turn cost is quadratic, how caching rewrites the math, and every family of compression invented to fight back — with honest risk framing.

- The O(n²) multi-turn tax + a live calculator
- The compression family tree
- Why training a model helps — and how it fails

Start module 2 → ~5 min 3

### Distil & Proof

How to prove compression didn't hurt, how Distil applies everything in certified tiers, a practical playbook, and where the field is heading.

- Decision-equivalence & non-inferiority
- The certified tier ladder
- A best-practice playbook + SOTA

Start module 3 →

## What you'll be able to do

- Read a token bill — know exactly which parts of an agent request you're paying for, and which are waste.
- Predict multi-turn cost — understand the quadratic, and why prompt caching is the single biggest lever.
- Choose a technique — match the right compression family to your risk tolerance, instead of guessing.
- Demand proof — tell genuine, certified savings from "it still looks fine."

New here? Take the modules in order — each builds on the last. Already know tokens cold? Jump straight to Module 2 for the cost mechanics and the compression toolbox, or Module 3 for proof and the tier ladder. For implementation depth, the course cross-links to Concepts and Techniques.
← Back Install & Quickstart Begin →Module 1 · Fundamentals