Lending versus exchange margin: the cost and custody comparison
Borrowing against crypto holdings happens in two places: on-chain lending
markets and exchange margin systems. Both let you borrow against what you own;
they differ in who holds the assets, how the price is decided, what the borrow
really costs, and what happens when things break. The comparison is not which
is "better" - it is which failure and cost profile matches your situation.
The structural difference
Exchange margin:
- The exchange holds your assets; borrowing is an internal ledger adjustment
- Prices come from the exchange's own order book and mark-price systems
- Interest is charged by the exchange, often with tiered rates by volume and
asset
- Liquidation is internal: the exchange's engine closes positions against its
own book
On-chain lending:
- You retain custody; the protocol holds collateral in contracts, and your
borrow is a contract position
- Prices come from oracles - external feeds with their own design and failure
modes
- Interest comes from utilization-based curves: rates move with supply and
demand in the market
- Liquidation is permissionless: any liquidator can act, racing to your
position
The cost comparison, done honestly
- Headline rates mislead: exchange margin rates look low for popular pairs but
hide funding spreads, withdrawal friction, and the cost of moving assets;
lending market rates look high but include the full curve and reserve fees
- Compute all-in cost: interest plus every fee channel - borrowing,
maintenance, conversion, and the opportunity cost of locked collateral - for
your actual pair and size
- Rate behavior differs: exchange rates adjust with internal policy and volume
tiers; lending rates adjust with market utilization, spiking when borrow
demand floods the pool
The custody comparison
- Exchange margin means the exchange custodies your collateral: insolvency,
freezing, and account restrictions are real failure modes - your position
depends on a company's balance sheet and its terms of service
- On-chain lending keeps custody with you: the protocol's contracts hold the
collateral, and your position survives the exchange's problems - but it
inherits contract risk, oracle risk, and liquidation races instead
- Neither is custody-free: one trades counterparty risk for convenience, the
other trades code and oracle risk for ownership
The failure-mode comparison
- Exchange margin fails through: mark-price manipulation against you, internal
liquidation at exchange-chosen prices, account freezes, and platform
insolvency
- On-chain lending fails through: oracle divergence triggering liquidations at
weird prices, liquidation bots beating you to the threshold, contract bugs,
and bad-debt socialization
- The failures are different species: one is corporate, the other is mechanical
When each wins
- Exchange margin: short-term borrows on liquid pairs, traders who need speed
and integration with their exchange activity, and sizes where convenience
outweighs counterparty risk
- On-chain lending: longer holds, custody-conscious borrowers, assets outside
major exchange listings, and users who want the borrow to survive the
venue's problems
The takeaway
Exchange margin borrows against assets the exchange holds, at exchange-set
prices, under corporate terms; on-chain lending borrows against contract-held
collateral at oracle prices, under protocol terms. Compare all-in costs, not
headlines; weigh custody against code risk; match the failure modes to what
you can absorb. The right venue is the one whose costs and failures you have
actually priced.