Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

▶ VideoPlay it as a journeyTutor comes with a plan

Claude, the case study

Everything
Everything · Open board

The whole platform on one sheet. This lesson tells the story of why a single reply from an assistant is expensive, and what a company builds around that one fact. By the end you will know why the same question can cost a hundred times more or less depending only on how it was served.

Before you start. You need to know that a program can be handed some text and hand back some text. You also need to know that a chip must fetch a number out of memory before it can do anything with it, and that fetching takes time.

Lesson 78 of 115 in System Design

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • November 2022: a million people in five days, and a screen saying come back later
  • The book you have to read to write one word: the weights
  • The way out is an audience: the batch
  • What each listener leaves on the desk: the KV cache
  • The model has no memory of you: the context window
  • What the rest of the drawing is protecting
  • $0.20 or $15 a million: the price is a decision, not a fact
  • 01 · The Request Path
  • 02 · Orchestrator & Context Window
  • 03 · RAG & The Agent Loop
  • 04 · Inference Fleet Internals
  • 05 · Safety & Guardrails
  • 06 · Training & Eval Pipeline
  • 07 · Reliability, Cost & Multi-Region

Terms it explains: weights, one word, all 14 gigabytes, batch, KV cache, context window, token.

Review System Design