Skip to content
Exchange

The cost diagram

1 file1 KB

A look inside

The first lines of where-inference-cost-goes.md. The whole file is in your library once you get it.

# The cost diagram

A free card from MenFem's Inference 101, lesson 2: Where the cost goes.
The lesson, with the picture and the examples: https://menfem.com/courses/inference-101/where-inference-cost-goes

This is what you keep: where the money goes on one card, and where to look first when the bill is too high.

1. A GPU costs money every hour it is on, busy or idle.
2. Writing each token means reading the whole model from memory. Memory speed, not maths, sets the pace.
3. Serving many users at once shares each read. That is why big providers are cheap per token.
4. Each user's conversation takes room in memory, which caps how many can share.
5. On Anthropic's and OpenAI's price lists (November 2026), an output token costs five times an input token.

**The rule:** Before you cut the prompt, check the answer: output is usually the dearer half of the bill.

## Used once

From the lesson, on a made-up shop: "You rent your own GPU for the shop's chat. At 3am it answers two messages, and you still pay for the full hour."

Answer: The chip, by the hour. A rented chip is paid by the hour, not by the answer. An idle hour costs the same as a busy one.

## Your turn

Write one case from your own work here, then go down the card line by line.
…and 8 more lines.

What is inside

  • where-inference-cost-goes.md1 KB

How to use it

Open it beside the job and go down the 5 lines in order, then check your answer against the rule at the bottom. It is the card from Inference 101, lesson 2 (Where the cost goes), 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.