Estimation question
Estimate Lovable's gross margin given its credit model and underlying LLM costs.
- Lovable
- 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 unit economics for a usage-based pricing model, requiring reasoning about both revenue and cost sides.
How to approach it
- State the goal: estimate gross margin percentage for Lovable given its credit pricing and underlying LLM API costs.
- Assume a credit price point, for example a user pays roughly 20 dollars for a bundle of credits covering a set number of typical generation actions.
- Estimate the LLM cost per generation action using an assumption similar to other estimates, say 10 to 20 cents of API cost per meaningful code-generation step.
- Assume an average paying user consumes, say, 100 generation actions per month within their plan, costing roughly 10 to 20 dollars in underlying API spend.
- Compare cost to revenue: if a 20 dollar plan costs around 15 dollars in API spend, gross margin before other infrastructure costs would be roughly 25 percent, clearly flagged as a rough estimate.
- Note that heavier users could push margin negative, so the real business likely relies on a mix of light and heavy users averaging out, plus non-LLM costs like hosting.
What a strong answer includes
- States every assumption clearly (credit price, cost per action, usage volume) so the estimate is auditable.
- Reasons in both directions, revenue per plan and cost per plan, rather than guessing margin directly.
- Flags that margin is highly sensitive to the heaviest users, which is the real risk in usage-based AI pricing.
- Notes other cost components (hosting, support, non-LLM infrastructure) that would further reduce the naive margin estimate.
- Arrives at a plausible directional range instead of false precision.
Common mistakes
- Giving a single precise margin number with no stated assumptions.
- Ignoring that heavy users could make specific accounts unprofitable even if the average looks fine.
Likely follow-up questions
- How would margin change if 10 percent of users are very heavy?
- What would you do if margin turned out to be negative on average?
- How would you improve margin without raising prices?
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 Lovable
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