Fraud Decision API Latency in Production: No Vendor Publishes a Checkout p99 Under 50 ms
Stripe, Forter, SEON and Parsec publish medians, "typically" figures or model-only times. At 5 million calls a month, only a model that you run next to checkout fits a 50 ms p99 in the blocking path.
No fraud or decision vendor publishes a production p99 under 50 ms for the whole decision, measured from the caller's region. The setups that can fit a 50 ms p99 in the checkout path are models that you run yourself, in the same region as checkout, with features already cached. Hosted vendors such as Stripe Radar, Forter, SEON and Parsec's TOD publish medians, "typically" claims or model-only times, and most of those figures are already above 50 ms. A hosted decision API belongs in parallel with authorization or before capture, behind a 40 ms timeout that falls back to rules.
A 50 ms budget at 5 million calls a month depends on the slowest 50,000 checkouts, not on the average.
Throughput is not the difficult part of this workload. Five million calls a month works out to about 1.9 requests per second on average. Checkout traffic is uneven, so a sensible planning assumption is a peak of 20 to 40 requests per second, and 400 per second during a 10x burst on that peak.
The difficult part is the tail. At 5 million calls, the slowest 1% is 50,000 checkouts a month, and the slowest 0.1% is 5,000. A vendor median does not describe how long those customers wait. Feedzai's own explainer on fraud latency, published September 30, 2024, makes the same point with a hypothetical case: an average of 20 ms can hide a 99th percentile of 500 ms. It recommends tracking the 99.9th percentile or higher.
A 50 ms budget therefore has to be met at p99, and ideally at p99.9. It also has to be measured where the checkout service sits, because that is where the customer waits.
Published vendor figures are medians, typical values or database reads rather than a caller-side p99.
Every published hosted figure measures something smaller than the full decision, or it describes a median. The distinction matters because a median of 40 ms and a p99 of 300 ms can describe the same system.
| Source | Published figure | What the figure covers |
|---|---|---|
| Stripe Radar, March 29, 2023 | "less than 100 milliseconds" | Whole decision, no percentile |
| Forter llms.txt | "typically" under 100 ms; 99% under 1 second | Hosted API, typical and p99 |
| Forter brief, 2021 | under 400 ms at the 95th percentile | Hosted decision, p95 |
| SEON Lightning Track, Dec. 15, 2025 | saves 300 to 400 ms | Faster mode of a hosted API |
| Parsec TOD, Sept. 29, 2026 | 69 ms median, 121 ms p95 | Model forward pass only |
Stripe's engineering blog states that Radar makes its decision "in less than 100 milliseconds." It gives no percentile. Forter's llms.txt states that its REST decision "typically returns in under 100ms" and that "99% of decisions" arrive "in under 1 second." Forter also recommends that clients "set a ~2 s timeout and retry once." A client timeout of two seconds shows the tail that Forter expects its customers to plan for. Forter's 2021 solution brief gave under 400 ms at the 95th percentile.
SEON's documentation describes Lightning Track as an optional mode for "highly time-sensitive use cases." It returns results before the transaction is fully stored, and it cuts 300 to 400 ms. Its own examples go from 3.1 seconds to 2.7 seconds, and from 1.2 seconds to under 1 second. A mode that saves 300 ms on a call of more than one second does not reach 50 ms.
The smallest numbers come from database vendors, and they describe one component. Aerospike's February 3, 2026 post on Forter reports that p99 latency "fell from 13.3 milliseconds to 1.3 milliseconds" after Forter replaced its cache and database. The context is a session state store, and the post does not say that the figure covers the full decision. Aerospike's Riskified story claims "P99 at sub-10ms latency" for data handling, with no workload or period given. Uvik, a contractor, reports that Signifyd's order decision p99 "moved from 800 milliseconds to 90" through its own work. Signifyd has not published that figure, and 90 ms would still miss the budget.
Amazon Fraud Detector is no longer an option for new buyers. AWS stopped accepting new customers on November 7, 2025 and now points them to AutoGluon models deployed on SageMaker AI.
Network transit and feature lookups use up most of the budget before the model runs.
A decision call has three parts. The request travels to the model and back, the service looks up features such as card velocity or account history, and the model runs a forward pass. Vendor figures often cover only one of these three parts.
Network transit comes first. Microsoft publishes median round-trip times between Azure regions, from probes that run every minute over a 30-day window. Its July 30, 2026 tables list 8 ms between East US and East US 2, and 28 ms from East US to Central US. East US to West US is 69 ms, and East US to North Europe is 71 ms. A cross-continent call uses more than the whole budget before any work starts. Microsoft publishes only the median, so the network p99 for those routes is not public.
Feature lookups come second, and they have the widest spread. Databricks' May 19, 2026 fraud pipeline reached a median under 40 ms, but its p99 ranged from 215 to 392 ms. That is a well-engineered system that meets 50 ms at the median and misses it by a factor of four or more at p99. Aerospike's account of Forter's older stack shows why: "a read might return in 2 or 750 milliseconds." A fast store, such as the one behind Forter's 1.3 ms figure, removes that spread. On a slow store, the lookup alone can exceed the whole budget.
A same-region budget, built only from published figures, looks like this:
- A network round trip of about 8 ms between nearby regions, at the median, before any tail.
- A feature lookup of a few milliseconds at p99 on a tuned in-memory store, or hundreds of milliseconds on a slow one.
- A model forward pass that Parsec puts at 69 ms at the median for TOD on an H100, before any network or lookup time.
No vendor has published a caller-side breakdown of these three stages for a full decision. No primary source gives a measured p99 for scoring a tree model such as XGBoost under load, or a p99 time to first token for a small LLM API. The split for any one system has to be measured in that system.
Cold starts and autoscaling events push the tail past the budget unless capacity stays warm.
A low average rate makes cold starts more likely, not less. At about two requests per second, an autoscaled endpoint may scale down between peaks. The next burst then waits while new capacity starts.
AWS describes this directly for SageMaker Serverless Inference. An idle endpoint "can take some time" to start compute, and a cold start can also happen when concurrent requests exceed current capacity. The delay depends on model size, download time and container start-up. AWS's fix is Provisioned Concurrency, which keeps capacity warm "and ready to respond in milliseconds." Serverless Inference does not support GPUs, so a GPU model needs a provisioned real-time endpoint instead.
For a checkout path, the practical rule is to keep a fixed minimum of warm replicas sized for the peak. Scale-up events should then add capacity for bursts without sending live checkouts to replicas that are still starting.
Parsec's TOD misses a blocking 50 ms budget on its own published model time.
Parsec offers TOD as a "universal decision model" that ranks the next action from a list of allowed actions. It is built to sit in front of an assistant, with a confidence gate that passes unclear turns to a larger model. Parsec's TOD page gives a median model forward pass of 69 ms and a p95 of 121 ms on one H100 80GB in bf16, excluding look-ups. That median already exceeds 50 ms before network and feature time. The open release on GitHub reports slower model times on an A100-40G. Parsec has not published caller-side percentiles for any deployment. TOD fits an off-path step, such as a decision before capture or a review queue, rather than the blocking authorization call.
A local model with a 40 ms timeout and a rules fallback fits the blocking path.
The pattern that meets a 50 ms p99 keeps every slow part out of the request. It runs a compact model in the checkout service's own region, reads precomputed features from an in-memory store, and never waits past a hard deadline.
The in-path design has four parts:
- Set a hard timeout of about 40 ms on the model call, so that 10 ms of the budget remains for the response.
- Fall back to rules on timeout, such as amount limits, velocity limits and block lists, so that a slow call never blocks a checkout.
- Defer low-confidence cases to a step-up check, such as 3-D Secure, or to review before capture.
- Use calibrated confidence so that the fast model approves or declines only the clear cases.
Calibration is what makes the split work. A model whose 0.95 score means a 95% chance of fraud can take the confident cases at full speed. The uncertain middle can go to a slower model or a person after authorization.
The fallback rate sets the cost of the timeout. If the 40 ms timeout fires on 1% of calls, rules decide 50,000 checkouts a month instead of the model. At 0.1%, rules decide 5,000. The timeout rate should be logged from the first day, because it shows how often the model misses the budget.
Hosted vendors fit a 50 ms checkout when they run in parallel with authorization or before capture.
A hosted vendor with a 100 ms median and a one-second p99 can still be useful. It cannot be the thing that checkout waits for. There are three placements that keep it off the blocking path:
- Call the vendor in parallel with authorization, and use its answer only if it arrives before the authorization response.
- Call the vendor after authorization and before capture, and cancel or hold the payment if the score is high.
- Call the vendor before fulfilment, for goods that ship later, where a delay of seconds costs nothing.
Stripe Radar is a special case. Stripe's blog places Radar's decision inside the payment flow, between "purchase" and confirmation. A merchant that already processes on Stripe adds no separate network hop. Stripe does not publish a p99 for it, so its extra latency should be measured from the merchant's side.
A vendor contract should require p99 and p99.9 from your own region and a shadow test of two to four weeks.
A vendor's figure is only useful if it is measured the way the checkout experiences it. That means timing from the caller, in the caller's region, at the caller's load.
A sound test method has five parts:
- Run the client in the same region as checkout, and test each region pair that production uses.
- Time each call with a monotonic clock on the client, such as
time.perf_counter_ns()in Python, from request start to the last byte of the response. - Send load at a fixed open-loop rate of 2, 40 and 400 requests per second, so that slow responses do not slow the sender.
- Collect at least 100,000 calls per setting, which gives about 100 calls beyond the p99.9 mark.
- Record network, lookup and model time separately with server-side timing headers, so that a miss can be traced to its stage.
A minimal client looks like this:
import time, statistics, requests
def run(url, payload, n, rate):
out, gap = [], 1.0 / rate
for i in range(n):
t0 = time.perf_counter_ns()
requests.post(url, json=payload, timeout=2)
out.append((time.perf_counter_ns() - t0) / 1e6)
time.sleep(max(0, gap - out[-1] / 1000))
q = statistics.quantiles(out, n=1000)
return {"p50": q[499], "p95": q[949], "p99": q[989], "p99.9": q[998]}
This simple loop sends one request at a time, so it only approximates open-loop load at low rates. A test at 400 requests per second needs a concurrent load tool.
Before signing with any vendor, ask for three things. Ask for p99 and p99.9 measured from your cloud region, not a global median. Ask for that number in the SLA, with service credits when it is missed. Then run the vendor in shadow mode on real traffic for two to four weeks, logging its latency next to your local model's, before it carries any decision.
Sources
- Stripe, How we built it: Stripe Radar: https://stripe.dev/blog/how-we-built-it-stripe-radar
- Forter, llms.txt: https://forter.com/llms.txt
- Forter, Solution Brief: Trusted Conversions (2021): https://www.forter.com/wp-content/uploads/2022/06/Forter_Solution_Brief_Trusted-Conversions.pdf
- SEON, Lightning track: https://docs.seon.io/knowledge-base/transactions-scoring/lightning-track
- Aerospike, Forter real-time fraud decision engine: https://www.aerospike.com/blog/forter-real-time-fraud-decision-engine
- Aerospike, Riskified customer story: https://aerospike.com/resources/customer-stories/riskified/
- Uvik, Signifyd case study: https://uvik.net/?p=7358
- AWS, Amazon Fraud Detector availability change: https://docs.aws.amazon.com/frauddetector/latest/ug/frauddetector-availability-change.html
- AWS, SageMaker Serverless Inference: https://docs.aws.amazon.com/sagemaker/latest/dg/serverless-endpoints.html
- Feedzai, Latency in machine learning: https://www.feedzai.com/blog/latency-in-machine-learning-what-fraud-prevention-leaders-need-to-know/
- Databricks, Real-time fraud detection with Spark Real-Time Mode and Lakebase: https://www.databricks.com/blog/how-build-real-time-fraud-detection-using-spark-real-time-mode-and-lakebase
- Microsoft, Azure network round-trip latency statistics: https://learn.microsoft.com/en-us/azure/networking/azure-network-latency
- Parsec, TOD: https://parseclab.ai/tod/
- Parsec, TOD repository: https://github.com/daseinlabs/tod
- Parsec, TOD model card: https://huggingface.co/parsecai/tod