Halloween Sale
Unlock all premium questions for over 30% off
AI Token Billing Calculator
Medium
Question
A chat-based AI platform bills its users for the tokens they consume, and you are writing the billing component. Billing works from session records. A session is logged once, and its record names the user_id, the input_tokens, the output_tokens and the plan.
...
Asked at:Stripe
More Stripe interview questions
- Credit Card Fraud Screeningmedium
- Implement Dataset Join Functionmedium
- Factory Network Cost Optimizationhard
- Order Payment Reconcilermedium
- Wallet Transaction Ledgerhard
- Employee Record Matcherhard
- Data Center Load Scorerhard
- Content Validation Pipelinemedium
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.