Estimation question
Estimate the LLM inference cost per active Windsurf developer.
- Windsurf
- Estimation
- Hard
Practice this question out loud. An AI interviewer asks it, follows up like a real interviewer would, and scores your answer. Type or speak.
Start a mock interview on this question · Mock interview from a job description
What this question tests
Estimation of per-user AI infrastructure cost, requiring a reasonable model of a developer's daily interaction volume.
How to approach it
- State the goal: estimate the monthly LLM inference cost to serve one active Windsurf developer.
- Assume daily usage: around 20 working days a month, with roughly 40 meaningful AI interactions per day across autocomplete and Cascade-style agentic requests.
- Assume an average interaction size, say 3,000 input tokens (code context) and 400 output tokens, since agentic flows can pull in more surrounding code than simple autocomplete.
- Compute monthly totals: 40 times 20 equals 800 interactions; total input tokens around 2.4 million, output tokens around 0.32 million.
- Apply an illustrative blended price, say 3 dollars per million input tokens and 15 dollars per million output tokens, clearly marked as an assumption.
- Multiply: (2.4M/1M times $3) plus (0.32M/1M times $15) equals about $7.20 plus $4.80, roughly $12 a month per active developer, before accounting for the more expensive but less frequent full agentic runs.
What a strong answer includes
- Separates lightweight interactions (autocomplete) from heavier agentic runs conceptually, even in a simplified blended estimate.
- States all assumptions (interaction count, token sizes, pricing) clearly and separately.
- Sanity-checks the result against a plausible subscription price to reason about margin.
- Notes that a small share of power users running many Cascade-style multi-step tasks would push their individual cost well above this average.
- Shows the arithmetic step by step rather than asserting a final number.
Common mistakes
- Treating all interactions as equally expensive, ignoring that agentic multi-step flows cost more than simple autocomplete.
- Not stating the usage assumptions clearly.
Likely follow-up questions
- How would this differ for a developer who heavily uses Cascade versus one who mostly uses autocomplete?
- How would you reduce this cost without hurting suggestion quality?
- How sensitive is this number to model pricing changes?
More estimation questions
- YouTube Red is a premium service without ads. Assume that 1.5% of initial YouTube user base signs up for the service. What is the lifetime revenue Google generates from those users?Google · Estimation · Hard
- How would you design a service like Instagram? Estimate server and storage requirement for peak traffic.Google · Estimation · Hard
- How much storage is required to store all of the images on Google Maps?Google · Estimation · Hard
- A company has launched a new drug that eliminates the need for sleep. How would you price this drug?Google · Estimation · Hard
- How much storage space is required to host all the images of Google Street View?Google · Estimation · Hard
- Imagine you created a new type of product that would replace the mobile phone. How would you determine how many units to manufacture?Google · Estimation · Hard
More questions from Windsurf
Learn the skill behind it
Chapters of the AI PM course that teach what this question tests.
- Chapter 2: Data fluency: SQL, logs, and reading the truth yourself
- Chapter 9: Prove it paid off: outcomes, economics, and pricing
- Chapter 14: Get the job: the AI PM interview loop