On-Chain vs Off-Chain Orderbooks · Trading Architecture · 3/5
RFQ vs Order Book: One Dealer's Quote, a Book, and a Proven Book
In short: a perp venue can price your trade in three ways. One market maker quotes every order (Variational's Omni: one dealer, no trading fee, the spread is the price). An order book matches you against whoever rests orders, inside the chain's consensus (Hyperliquid). Or an order book is matched by one operator and proven with zero-knowledge proofs (Lighter). We saved all three for the same 40 markets every five minutes and priced $1k, $100k and $1M market orders on each. Over nine days with a weekend, the book with no fee (Lighter) was cheapest for crypto, and Hyperliquid's HIP-3 books for single stocks at $1M. The single dealer was clearly cheapest only on its swaps of indices and commodities, at every size. Its perps on the same underlyings lost on weekdays and only tied Hyperliquid at weekends.
The previous lessons compared a centralized exchange with Hyperliquid's on-chain book. Both are order books. This lesson adds the other shape that grew fast in 2026: a single dealer answering a request for quote (RFQ).
Three ways to get a price
| One dealer (RFQ) | On-chain book | Proven book | |
|---|---|---|---|
| Example | Variational Omni | Hyperliquid (incl. HIP-3) | Lighter |
| Who sets your price | One market maker (the OLP) | Everyone resting orders | Everyone resting orders |
| Who matches | The dealer quotes; no matching | Every validator, in consensus | One sequencer; proofs posted to Ethereum |
| Fee | None; the spread is the revenue | Taker fee (4.5 bp base on its own perps, 0.9 bp on HIP-3 in growth mode) | None on standard accounts |
| What you can see | The dealer's bid/ask at a few sizes | Every resting level (20 per side in the public API) | Every resting order (250 per side in the public API) |
Sources: Variational API, Variational fees, Hyperliquid order book, Lighter on L2BEAT, checked 2026-11-16.
Why one dealer can list 590 markets
A book needs makers in every market. A thin market has a wide, shallow book, and a new listing starts empty. One dealer can quote anything it can hedge or price: Variational listed 590 markets on 2026-11-16, including swaps on indices, currencies and commodities, some of which, like China A50, neither book listed that day. That's the strength of RFQ: coverage without a crowd of makers.
The cost is that there's one price. Nobody undercuts the dealer inside the venue, so the question becomes: is that one price fair next to the books?
How to compare them fairly
- Same instrument. Names lie: Variational's
US500-PERPtrades near 752 (ETF-sized), not the index near 7,540. We drop any venue whose mid is more than 1% from the median of the three. - Same size. The best bid and ask say little about $1M. We rebuild each saved book in an order-matching engine (rdk-clob,
Book::quote_market) and walk it for the full size. - Fees in. A venue with no fee and a wider spread can still be cheaper than a tight book with a fee.
- Only when everyone can fill. If a book's visible depth runs out before $1M, that round is left out, and we count how often it happens.
- Fresh quotes only. Variational may cache a quote for up to 600 s; we drop quotes older than 120 s.
Cost of a size = half the round trip, in basis points of the reference mid, plus the taker fee.
What we measured
We saved the three venues every five minutes from 2026-11-16 08:45 to 11-25 10:15 UTC: 2,207 rounds over 40 markets, a weekend included. The medians are in basis points, fee included. They count only the rounds where every venue that lists the market could fill the size. Variational lists indices and commodities two ways, as swaps and as perps on the same underlyings, so those are two rows.
| market | session | size | One dealer | Lighter | Hyperliquid | cheapest most often |
|---|---|---|---|---|---|---|
| crypto | US market hours | $1k | 3.41 | 1.14 | 5.18 | Lighter, 87% |
| crypto | US market hours | $1M | 13.49 | 10.32 | 10.59 | Lighter, 63% |
| crypto | weekend | $1M | 9.95 | 7.89 | 9.92 | Lighter, 78% |
| stocks | US market hours | $100k | 7.93 | 4.37 | 2.84 | Hyperliquid, 69% |
| stocks | US market hours | $1M | 18.59 | 18.08 | 4.56 | Hyperliquid, 100% (384 rounds) |
| stocks | weekend | $1M | 31.65 | 36.65 | 17.87 | Hyperliquid, 99% |
| index/commodity swap | US market hours | $1k | 0.18 | 0.65 | 1.09 | one dealer, 96% |
| index/commodity swap | US market hours | $1M | 1.26 | 4.96 | 3.08 | one dealer, 76% |
| index/commodity swap | outside them | $1M | 1.36 | 4.65 | 2.87 | one dealer, 72% |
| index/commodity perp | US market hours | $1M | 8.27 | 13.92 | 6.02 | Hyperliquid, 61% |
| index/commodity perp | weekend | $1M | 11.19 | 15.35 | 11.49 | one dealer, 68% |
Source: results/results-20261125.txt (every size and session).
Why does the dealer win clearly only on swaps? A swap on gold, oil or the S&P can be hedged at once in the deep market outside the venue, so its price is that market's. A book can only offer what rests on it. The same dealer's perps on the same underlyings were not the cheapest: Hyperliquid's books beat them at $1M in US market hours. So the edge comes from where the dealer can hedge, not from being one dealer. (Note: that's our reading of the numbers. Variational doesn't publish where it hedges each trade.)
For crypto, a book with no fee and plenty of makers is hard to beat. For single stocks, the dealer's $1M quote cost about four times Hyperliquid's in US market hours.
At weekends the swaps close (Friday) and come back on Sunday evening, New York time, so the perps carry the weekend. At $1M every venue is dearer then. The dealer's perps were cheapest more often there, but at about Hyperliquid's cost (11.19 bp against 11.49).
What the numbers don't show
- A quote isn't a fill. A dealer can re-quote or reject after seeing your order (last look). A book can't.
- Lighter's standard accounts trade with a delay. Its zero fee comes with slower taking; not modelled.
- Hyperliquid shows 20 levels. For large sizes we walk its coarser book, which was never cheaper than the full one (median 1.0 bp dearer), so those rounds overstate Hyperliquid's cost.
- The cost is the spread plus the taker fee. A swap's financing and a perp's funding differ; neither is counted.
- Where the dealer hedges, and what happens if it can't, isn't visible from outside.
Try it
The scripts, and how to run one round in about a minute, are in fabrknt/research.