Problem
Customers watch the tracking screen after ordering and treat the ETA shown there as the benchmark for "on time" or "late". A wrong ETA means more support chats and calls, and sometimes cancellations. The cart-time promise cannot react to what happens after the order is placed, so the estimate needs live signals from every stage.
Example from the article: an ETA of 37 minutes can drop to 25 minutes once a courier is assigned, for instance when a courier has just logged in for a shift.
Solution in brief
Swiggy built an ETA service from four models, one per order stage: ordered, assigned, arrived (wait) and picked up. Each model has its own feature set and builds on the cart-time SLA promise prediction. Predictions are refreshed at fixed intervals so that each model reads the latest signals. Part I covers the first three models.
Questions this case answers
- How to predict the remaining time of a multi-stage process that is re-estimated continuously, when the useful signals change from stage to stage
- How to show a delivery ETA that stays accurate while the order moves from placement to handover?
- How to split one order-time prediction into stage-specific models with different feature sets?
- How to account for restaurant kitchen stress and courier supply in a delivery time estimate?
Tools and methods
- Four stage models (ETA OR, FM, WT, LM) — one model per order leg
- Cart SLA prediction as a base — preparation and travel time predictions reused as inputs
- Network features — number of available couriers near the restaurant and their average distance
- Restaurant stress features — live orders and orders placed in the last 10 and 20 minutes
- Courier ping features — real-time speed, global speed, distance traveled
- Embeddings — hour, weekday, zone and restaurant representations
Google or a one-time email code. No password.