2/17
Part 1 of 7 · Two limitsLearn

An LLM product sits between its provider's limits and its own

An LLM product needs two limiters: the provider limits you, and you limit your customers.

The outdoor shop's assistant is the running example: 120,000 questions a day with a peak of 5 a second. Each request carries 1,800 shared tokens of instructions and catalog, a 60-token question, and an answer of about 250 tokens.

Anthropic's docs measure the Messages API's limits in requests per minute (RPM), input tokens per minute (ITPM) and output tokens per minute (OTPM). OpenAI's add per-day limits too. OpenAI says its limits are set for the organization and the project, not the user, and the same holds for Anthropic's.

Predict

One of the shop's customers runs a script that asks the assistant 30 questions a second. Who gets the provider's 429 errors?

Pick an answer above to see the rest
Predict

With the prefix cached, which limit stops the shop first?

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