Design a Dynamic Lead Pricing System for Pros

Last updated: November 29, 2026

Quick Overview

Design the ML system that sets the price a pro pays for each lead, based on the job's details, location and marketplace conditions, so pros earn a good return and the marketplace stays balanced.

Thumbtack
ML System Design
Machine Learning Engineer
Thumbtack
November 29, 2026
Machine Learning Engineer
System Design Round
ML System Design
Hard

0

0

0 solved


Design the ML system that sets the price a pro pays for each lead, based on the job's details, location and marketplace conditions, so pros earn a good return and the marketplace stays balanced.

Pay-per-lead pricing is central to Thumbtack's business: price too high and pros churn, too low and revenue and lead quality suffer. The interviewer checks objective framing, models of job value and hire probability, online serving with guardrails, and how to experiment without hurting trust.

What the Interviewer Expects
  • Frames the objective as balancing revenue with pro ROI and retention
  • Breaks price into predicted job value, hire probability and a market adjustment
  • Explains online serving latency and price stability constraints
  • Uses guardrails such as caps, floors and explainability
  • Designs experiments that respect interference and fairness to pros
  • Covers monitoring and feedback loops
Key Topics to Cover
Pricing models
Expected value modeling
Elasticity
Online serving
Guardrails
Marketplace experimentation
How to Approach This
  1. Start by mapping the business objective to a concrete ML objective and metric.
  2. Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
  3. Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
  4. Address the serving latency budget and whether batch or real-time inference is needed.
  5. Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
  • How do you prevent price swings that make pros distrust the system?
  • How would you incorporate pro budgets and spend pacing into pricing?
  • How would you price leads in a brand new category with no history?
  • How do you test a pricing change without pros comparing prices with each other?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice ML System Design Problems
Sample Answer
Requirements

For each (request, pro) lead, output a price at match time (under 50 ms within the matching path). Objectives: long-term revenue subject to pro ROI above a target (for example revenue earned from hire...

High-Level Design

Decompose the price as price=αmarket⋅V^(job)⋅p^(hire)price = \alpha_{market} \cdot \widehat{V}(job) \cdot \widehat{p}(hire), then clip. V^\widehat{V} is a regression model predicting job value from questionnaire answers and loca...


Submit Your Answer
Markdown supported

Related Questions