Asked about Counting tokens and what they cost

Why is output usually more expensive than input?

An answer that works

Generating tokens is sequential work: the model produces one token at a time, each conditioned on all the previous ones. Reading input is done in one parallel pass. The pricing reflects the difference in compute.

Reading an answer is not being able to give one. The section that teaches this is Counting tokens and what they cost, 2 hours of Tokenization.

Learn this properly