HomeKnowledge BaseWhere Does Liquidity Come From in DeFi?

Where Does Liquidity Come From in DeFi?

10 min read
·
Published Sep 13, 2026, 6:49 PM

DeFi liquidity comes from five distinct sources — and which one your trade routes through shapes the price you get more than almost anything else. Most interfaces route to a single pool by default and leave the other four untouched: order books, private market makers, peer-to-peer matches, and solver-routed liquidity. Each one prices a trade differently, based on its own formula, current depth, and recent activity. This article maps all five sources and explains why reaching every one of them at once produces a better price.

TL;DR

  • DeFi liquidity has five sources, and the source determines your price.
  • The five: AMM pools, order books, private market makers, peer-to-peer matches, and solver routes.
  • AMM stale pricing costs LPs 5 to 7 percent of capital annually via Loss-Versus-Rebalancing.
  • Most interfaces access only one source, so better prices elsewhere go uncaptured.
  • OECD data: most pools are 98 to 100 percent held by one provider.
  • Solver competition queries every venue at once, so the best path wins automatically.

Liquidity 101: what it means for a trade to fill

Liquidity, in execution terms, is the ability to buy or sell without moving the price against yourself. The deeper the liquidity at your trade size, the smaller the slippage. A token pair with $10,000 of available depth at a given price is technically liquid. Try to trade $50,000 through it and the price moves against you.

DeFi's ecosystem is now large enough to support distinct liquidity venues, with specialized options for different trade types, sizes, and participants. Which venue your trade hits determines the price you capture, and accepting the default leaves that choice to the interface.

AMMs and bonding curves: the pools most swaps touch

Automated Market Makers (AMMs) are the most common liquidity source in DeFi. An AMM holds a pair of tokens in a smart contract and prices trades algorithmically. The ratio between the two tokens determines the price. Buy token A, and the pool now holds less of it, so A's price rises. Sell A, and the ratio shifts the other way. No counterparty is needed. The formula and the reserves do the work.

Liquidity providers deposit both tokens into the pool and earn fees on every trade. AMM prices update only when a trade occurs. Between trades, the pool's price can lag the true market price. Arbitrageurs close that gap by trading against the pool at the LP's expense. Research published on arXiv estimates this Loss-Versus-Rebalancing (LVR) costs LPs 5 to 7 percent of capital annually. Fee income rarely covers it.

A pool with a large total value locked can look like deep liquidity. TVL tells you how much is deposited, not how much you can trade without price impact. A concentrated position covering only a narrow price band may deliver worse execution on a large trade than a shallower pool with full-range coverage. Depth at the current price is what drives slippage, not the headline TVL figure.

Order books and the limits of on-chain depth

On-chain order books work the way traditional exchange order books do: traders post bids and asks at specific prices. A trade fills when a posted order matches the incoming price. The depth of the book at any given price determines how much you can trade there without gaps.

Gas costs constrain on-chain order books: posting a bid, updating it when the market moves, or canceling it when conditions change all incur transaction fees. That overhead deters the continuous quoting activity that keeps a traditional order book tight. A market maker on a centralized exchange might update quotes thousands of times per minute, a pace that would be economically ruinous on-chain. The result is order books that tend to be thin outside the highest-volume token pairs. Spreads widen. Gaps appear in the book at larger trade sizes, and traders absorb more price impact than they would on a tighter venue.

Private market makers: the inventory aggregators often miss

Professional market makers hold token inventory and quote prices directly to fill trades. These providers use real-time market data; a bonding curve formula plays no role in their quotes. For large trades or common token pairs, their quotes can beat AMM prices. Market maker quotes reflect current conditions, not the lagging state of a pool last touched several blocks ago.

Most swap interfaces never access these quotes. Aggregators that route exclusively through on-chain liquidity leave private market maker pricing entirely off the table.

The lack of access to private quotes matters more as institutional capital enters the ecosystem. As tokenized real-world assets and Treasuries grow, professional capital increasingly operates through professional quoting infrastructure, and most interfaces can't reach it.

Peer-to-peer matching: when two traders are each other's liquidity

The simplest form of liquidity is two traders who want opposite sides of the same trade at the same time, with no pool, no formula, and no LP fee involved. If another trader in the same batch wants the reverse of what you want, you fill each other directly.

CoW Protocol calls this a Coincidence of Wants (CoW). It can produce a better price than a pool-based route because neither trader pays a spread to an intermediary.

CoW Protocol runs this check on every batch before touching any external venue. When two orders match directly, the protocol settles them peer-to-peer. No pool fees, no bonding curve slippage, and no exposure to predatory Maximal Extractable Value (MEV). The match doesn't require any configuration from the trader. It happens automatically whenever opposing orders share the same batch.

Why tapping one source can limit price discovery

AMMs price by formula regardless of what private market makers are currently quoting. A pool might offer 1.5 percent slippage on a trade that a professional market maker would fill at 0.3 percent. The interface routing exclusively to that pool will never surface the difference.

On-chain order books may have no liquidity at the price and size you need. Wide spreads and thin depth mean even a moderately sized trade can move materially through available orders.

Off-chain and peer-to-peer sources

Private market maker quotes don't appear in interfaces that scan only on-chain liquidity. A better price exists; the trader simply can't see it.

Peer-to-peer matches don't happen if no one looks for them. An interface routing to a single pool won't detect that another order in the system would have filled yours directly.

The concentration problem compounds all of this. OECD research found that on average, 98 to 100 percent of a given pool's assets are held by a single provider. A single-provider pool can reprice sharply on a large trade, or gap entirely if that provider withdraws. When exploring liquidity in DeFi, this concentration means headline depth numbers mislead more often than they inform.

How solvers source from every venue at once

Solvers change what the routing problem looks like. A trader submits an intent: what they want to trade, at what minimum acceptable price. Solvers (independent third parties competing for the right to settle the trade) then search across all available sources simultaneously.

A solver checks every available source: AMM pools, on-chain order books, private market maker quotes, and peer-to-peer matches within the same batch. It constructs the fill path that returns the best price. The solver that finds the best execution wins the settlement. Solver competition forces a genuine search across venues. It avoids the default route to whichever pool the interface has hardcoded.

The Aave DAO's treasury management provides a concrete measure of what that search produces. Aave executed a $1.94 million DAI-to-USDC swap through CoW Protocol's solver competition. The result was a $9,699.15 surplus above the target price. The trade had been announced publicly in a governance proposal before execution, the kind of advance notice that typically invites automated arbitrage. Solver competition found a better price than the DAO could have sourced manually. Competition created value where a manual route would have left it behind. Aave Labs cited CoW Protocol for its intent-based architecture and onchain transparency as reasons for the ongoing partnership.

Solving the sourcing problem

CoW Protocol runs solver competition on every trade by default. Peer-to-peer matches, private market maker quotes, and on-chain liquidity are all checked before any order settles. The trader doesn't configure this. It happens on every swap.

Limit orders on CoW Swap are gasless unless the trade executes. Solvers take on the transaction risk. Any price improvement above your limit price returns to you as surplus, not to the protocol.

For liquidity providers, CoW AMM routes price discovery through a competitive solver auction. Arbitrage surplus that would otherwise exit the pool as LVR flows back to LPs instead.

The single-pool default this article opened with is not really an interface problem; it is a sourcing problem. When a trade can reach every venue at once, the best price stops depending on which default a developer hardcoded and starts depending on which solver competed hardest to fill it.

FAQs about defi liquidity

What happens if no peer-to-peer match is found for a trade?

If a batch auction does not contain a Coincidence of Wants (CoW) to match your order peer-to-peer, the trade does not fail. Instead, solvers automatically fall back to the most efficient route across external sources, including AMM pools, on-chain order books, and private market makers, to ensure the trade fills at the best available market price.

How do impermanent loss and LVR differ for liquidity providers?

Impermanent loss occurs when the price of deposited assets diverges in any direction, whereas Loss-Versus-Rebalancing (LVR) specifically measures the value leaked to arbitrageurs because of stale pool prices. While impermanent loss can reverse if prices return to their original ratio, LVR is a permanent cost that typically totals 5 to 7 percent of capital annually.

Do private market makers provide liquidity for every token pair?

Private market makers typically focus on high-volume pairs and liquid assets where they can manage inventory risk effectively. For niche or long-tail tokens, liquidity usually defaults to AMM bonding curves. However, as tokenized real-world assets reached $25 billion in 2026, professional market makers have increasingly expanded their quoting activity into institutional-grade assets.

Does concentrated liquidity count as deep liquidity for large trades?

Concentrated liquidity only provides depth within a specific, narrow price range. If a large trade exceeds that range, it may experience significant slippage or fail to fill entirely, even if the pool has a high total value locked. For large executions, solver-based routing is necessary to aggregate depth from multiple price bands and venues simultaneously.

How is a solver different from a standard DEX aggregator?

A standard aggregator splits a trade across multiple on-chain pools based on a static snapshot of the market. A solver is an independent participant in a competitive auction that searches for the best execution path in real-time, including off-chain liquidity and peer-to-peer matches. In CoW Swap, solvers also take on the transaction risk, so users pay no gas for failed trades.