Finance / Crypto exchange
Coinbase: Additional fraud risk review for crypto purchases in partner apps
- Company
- Coinbase
- Country
- United States
- Adoption stage
- In operation
- Source published
- Date basis
- The date the source was published. It can differ from the date adoption started.
- How the source was checked
- Read the full source text
The work problem
According to a Coinbase engineering blog post, Coinbase Onramp lets users buy crypto inside partner apps and also supports guest checkout for people without a Coinbase account. The same post explained that the existing machine learning models and rules engine screen guest checkouts quickly and cheaply, but find it hard to recognize attacks whose signals are spread across several transactions. The post said that predefined features such as transaction counts or spending totals cannot capture combinations of timing, payment method and destination, and that confirmed fraud outcomes arrive late, which makes it hard to evaluate and adjust for new patterns.
Technology and data
According to the same post, when the Onramp service sends a transaction to the Risk Service, the existing models and rules check it first, and an LLM risk review agent then reviews only selected transactions once more. The post explained that the models and the agent run in the same Ray Serve deployment, and that the agent can block transactions the existing checks allowed but cannot release transactions an earlier stage blocked. The post said the agent receives transaction details, a summary of recent transaction history, fraud review guidelines written in natural language and calibration examples, and outputs only a risk tier, while application code applies the decision rules and handles exceptions and the model does not execute any payment action. According to the post, the first deployment used Claude Opus, and median LLM call latency (P50) was about 1.5 seconds for an input of about 7,000 tokens. The post added that changing the guidelines does not require retraining the model, but every change must be validated against real transaction outcomes. According to part 3 of the same series, Coinbase later post-trained the open-weight model Qwen3.5-9B on its proprietary Onramp fraud data. Training used reinforcement learning with verifiable rewards (RLVR), which scores the model's risk classifications against known historical fraud outcomes with a deterministic rule, together with GRPO and LoRA, and ran with SkyRL on Anyscale on a single NVIDIA RTX PRO 6000 96GB GPU for a total cost of under 100 dollars. The post-trained model serves production traffic with Ray Serve LLM and vLLM on L40S GPUs, autoscaling between 2 and 8 replicas based on request load. The model outputs only a compact risk classification, and the agent harness, not the model, still turns that classification into a decision. The same part explained that self-hosting keeps transaction context out of external model APIs.
Results
According to the same post, an online experiment compared a control group using only the existing models and rules with a treatment group that added agent review on 50% of traffic, and the treatment group had 30% fewer fraud transactions and a 22% lower fraud amount. The post said the treatment group had a lower fraud count and fraud rate, while total transactions, users and gross revenue were higher. The post explained that the fraud savings estimated from the experiment were about 3 times the inference cost calculated at the model provider's public pricing. According to part 2 of the series, Coinbase built a fixed benchmark of 16,140 transactions from 7,293 users (813 confirmed fraudulent) drawn from 9 weeks of production data before the part 1 agent was rolled out, and on this benchmark the newer versions of Opus, Sonnet and GPT all had lower recall, F1 and dollar-weighted recall than their earlier versions. According to part 3, the post-trained Qwen3.5-9B scored 7.5% higher precision, 12.0% higher recall, 9.6% higher F1 and 35.4% higher dollar-weighted recall than the Opus 4.5 agent on the company's fraud benchmark, and the figure caption states these values are percentage-point differences rather than relative improvements. On production traffic, median (P50) end-to-end LLM request latency was 0.683 seconds, 55% lower than 1.515 seconds for Opus 4.5, and P99 was 1.036 seconds versus 3.312 seconds.
Limits and open questions
Part 1 did not disclose the experiment period, the share of transactions sent to agent review, or absolute fraud counts and amounts, and it showed the increases in transactions and revenue only in charts without figures in the text. Part 3 did not disclose the share of transactions handled by the post-trained model or when it went into production, and the detection results in parts 2 and 3 come from replaying past transactions, which differs from the fraud reduction measured in live operation.
Sources
- Part 1/3 Owning Intelligence Series: How Coinbase Built, Evaluated, and Post-Trained a Fraud Agentcoinbase.com, Accessed
- Part 2/3 Owning Intelligence Series: How Coinbase Built, Evaluated, and Post-Trained a Fraud Agentcoinbase.com, Accessed
- Part 3/3 Owning Intelligence Series: How Coinbase Built, Evaluated, and Post-Trained a Fraud Agentcoinbase.com, Accessed
Compiled from public sources. These are not results from ATF Works customers.