10/16
Part 4 of 6 · Rent or pay per tokenLearn and do

When renting beats paying per token

The rent is fixed, so the GPU wins once enough tokens share it.

for hourly in (4.39, 4.89):
    print(f"${hourly} an hour beats $0.50 a million above {hourly / 0.50 * 1e6 / 3600:,.0f} output tokens a second")
Predict

How many output tokens a second does one GPU at $4.89 an hour need, to cost less than an API at $0.50 per million?

Pick one to see what it prints.
Pick an answer above to see the rest