Skip to content

Lesson 6 of 8 · 6 min read

Sizing an Agent System: Tokens, Concurrency and Cost on One Page

An agent system can be sized from a few assumptions. Input tokens per task are the stable prefix times the steps plus a history term that grows with the square of the steps. Peak arrival rate times run duration gives concurrent runs (Little's law), which sizes workers, sandboxes and connections. Peak rate times tokens per task gives tokens per minute to compare with rate limits. Cost per successful task divides cost by the success rate. Long runs dominate, so size with the distribution of steps, not the average.

Premium lessonReviewed By the AIAgentInterviews editorial team
Get full Premium access · $25

All 19 topics with every worked answer, all lessons and courses, the full practice bank, and anything new that appears during your access.

6 months · One payment · No auto-renewal

Practise it as an interviewer asks it

From the blog

Related lessons