The Price of a Call
Token problems: 6 of 20
Token problems: the workbook
The Price of a Call
What does a model API call cost? Every call is billed by the token: count the 100-token blocks in the call, then multiply by the price per block. Real APIs quote per million tokens, but these problems use cents per 100 to keep the arithmetic easy to follow by hand. An agent that calls the model on every user turn pays this cost each time.
Problem
An AI agent processes a call of 600 tokens. The model is priced at 2 cents per 100 tokens. What does this call cost?
Count the 100-token blocks
Multiply by the price per block
Practice 1
An AI agent processes a call of 2,000 tokens. The model is priced at 3 cents per 100 tokens. What does this call cost?
Count the 100-token blocks
Multiply by the price per block
Practice 2
An AI agent processes a call of 800 tokens. The model is priced at 5 cents per 100 tokens. What does this call cost?







