7/17
Part 3 of 7 · Counting tokensLearn and do

A request needs room in every bucket

One question spends from three buckets at once: a request, its input tokens and its output tokens. Check all three, then take from all three.

Predict

The request bucket has room, so the limiter takes a request from it. Then the output bucket turns out to be short, and the question is denied. What went wrong?

Pick an answer above to see the rest