Who it is forA platform or ML engineer who must give a budget and hardware estimate for a new LLM feature before it is approved.
The problemTeams often launch LLM features without estimating token volume, GPU needs, or cost per request, then face surprise bills.
The outcomeA rough estimate of tokens per day, GPUs needed, and monthly cost, with the assumptions written down.
What you need first
- A web browser to open the README at https://github.com/amitshekhariitbhu/ai-system-design
- Basic familiarity with software system design concepts such as caching, load balancing, and queues
- A practice problem to design, such as a document Q&A assistant or a customer support agent
Steps
- Open the Back-of-the-envelope Estimation for AI section and read Token Estimation, GPU Estimation, and Cost Estimation.
- Read Tokens, Latency, and Throughput to understand TTFT, TPS, throughput, and cost per token.
- Write down your expected requests per day and average input and output tokens per request.
- Apply the formulas from the estimation sections to get tokens per day and GPUs needed.
- Read Cost Optimization and list which of the seven options you will test first.
Prompt for your agent
Using the repo amitshekhariitbhu/ai-system-design, follow the Back-of-the-envelope Estimation for AI section to estimate tokens, GPUs, and cost for <target>. Output a short table of the inputs, formulas, and results. Verify that every formula used appears in the README and that each assumption is stated.
Caveat. The estimates depend on your own traffic and model numbers, which the README does not supply, so treat the output as a starting point rather than a quote.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for amitshekhariitbhu/ai-system-design and "Estimate tokens, GPUs, and cost for an LLM feature"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer