Measure Whether Effort-Based Agent Pricing Hurts Activation

Last updated: November 29, 2026

Quick Overview

Replit wants to move Agent billing from a flat price per checkpoint to pricing based on the actual compute effort of each request. Design an experiment to decide whether to launch it, and say which metrics would change your decision.

Replit
Analytics & Experimentation
Data Scientist
Replit
November 29, 2026
Data Scientist
Onsite
Analytics & Experimentation
Medium

0

0

0 solved


Replit wants to move Agent billing from a flat price per checkpoint to pricing based on the actual compute effort of each request. Design an experiment to decide whether to launch it, and say which metrics would change your decision.

Usage-based AI pricing is a live question for Replit because cost per Agent request varies enormously between a typo fix and building a whole app. The interviewer checks experiment unit choice, guardrails, novelty and long-run effects, and how you weigh revenue against user trust.

What the Interviewer Expects
  • Randomizes at the account (or team) level, not per request
  • Defines a primary metric that balances revenue and activation
  • Sets guardrails such as complaint rate, refunds, and churn
  • Estimates sample size and a long enough duration to pass novelty
  • Segments by request size and plan to see who wins and loses
  • Considers fairness and communication constraints of pricing tests
Key Topics to Cover
A/B testing
pricing experiments
guardrail metrics
power analysis
heterogeneous effects
How to Approach This
  1. Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
  2. Run experiments long enough to account for novelty effects and weekly seasonality.
  3. Use funnel analysis to identify where users drop off for maximum optimization impact.
  4. Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
  5. Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
  • Billing changes are visible and shared on social media. How does that threaten the test?
  • How would you use the historic logs to simulate the change before testing?
  • Results show revenue up 8% but new-user app completion down 4%. What do you recommend?
  • How would you detect users changing behavior, such as splitting big requests into small ones?
Sharpen Your Skills on Codemia

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

Browse Analytics Questions
Sample Answer
Clarify

Who is in scope (new paid users, existing subscribers, or both)? Is the goal margin, fairness, or growth? Existing subscribers changing price mid-cycle raises trust issues, so I would start with new s...

Approach

Before any live test, replay last month's request logs under the new formula: distribution of per-request price, share of users who would pay more versus less, and gross margin. Then run an account-le...


Submit Your Answer
Markdown supported

Related Questions