Automated market makers (AMMs) are a type of decentralized exchange (DEX) that use algorithmic “money robots” to simplify how you buy and sell crypto assets. Unlike traditional order book systems where you trade directly with another person, AMMs handle your trades directly through their own system, cutting out the middleman entirely.
Market makers play a vital role in providing liquidity for tradable assets on exchanges that might otherwise lack it. They do this by buying and selling assets from their own accounts to turn a profit, often capitalizing on the spread — the gap between the highest buy offer and the lowest sell offer. That activity keeps markets fluid and reduces the price impact when larger trades hit the books.
Other decentralized exchange designs exist, but AMM-based DEXs have pulled well ahead of the pack. They offer deep liquidity across a wide range of digital tokens, which is why so many traders reach for them first. If you’re navigating the different types of blockchain technology, understanding where AMMs fit is a solid place to start.
Importance in DeFi Protocols
In the DeFi space, AMMs are the engine that keeps decentralized trading moving. They open the door to a wide variety of assets, including niche cryptocurrencies, by bypassing conventional trading partners altogether. Liquidity providers fuel the pools, unlock new trading venues, earn fees, and tap into yield farming along the way. The whole system is built to democratize trading, making it fairer and more secure for everyone involved. Platforms like Uniswap and Balancer show exactly what AMMs bring to DeFi’s evolution. And innovations like proactive market makers (PMM) and virtual automated market makers (vAMMs) keep pushing those capabilities further.
| AMM Model | Function | Notable Examples |
|---|---|---|
| Constant Function Market Makers (CFMM) | Uses constant functions like x * y = k | Uniswap, Balancer |
| Curve AMMs | Combines constant product and sum formulations for lower price impact | Curve Finance |
| Dynamic Automated Market Makers (DAMM) | Uses Chainlink Price Feeds to dynamically adjust liquidity | Sigmadex |
| Proactive Market Makers (PMM) | Mimics traditional market-making to increase liquidity | DODO |
| Virtual Automated Market Makers (vAMM) | Enables synthetic asset trading with single token exposure | Perpetual Protocol |
What Are the Different Automated Market Maker (AMM) Models?
AMMs operate across several distinct models, with Constant Function Market Makers (CFMMs) sitting at the top of the list. These include constant product market makers, constant sum market makers, and constant mean market makers, all popularized by protocols like Bancor, Curve, and Uniswap. In each of these AMMs, the combined asset reserves of trading pairs must stay unchanged. Non-custodial AMMs pool your deposits inside a smart contract, and traders swap tokens against those pooled assets rather than against a direct counterparty.
Constant Product Market Maker (CPMM)
The constant product market maker (CPMM) was the first CFMM model to gain real traction, introduced by the AMM-based DEX Bancor. CPMMs run on the function x times y equals k, where x and y represent the quantities of two tokens, and k is a fixed constant.

As the supply of one token grows, the supply of the other must shrink to keep that constant product k intact. The result is a hyperbolic price curve that guarantees liquidity is always available, but at increasingly higher prices as you push toward either extreme.
Constant Sum Market Maker (CSMM)
The constant sum market maker (CSMM) follows the formula x plus y equals k, producing a linear price function. This model works well for zero-price-impact trades, but it does not provide infinite liquidity. If the off-chain reference price between tokens drifts away from a 1 to 1 ratio, arbitrageurs can drain one reserve entirely, leaving all the liquidity sitting in a single asset and wrecking the pool’s balance.

That vulnerability is exactly why CSMM rarely shows up in real AMM deployments.
Constant Mean Market Maker (CMMM)
The constant mean market maker (CMMM) supports pools with more than two tokens and allows for weighted distributions well beyond the standard 50/50 split. The model keeps the weighted geometric mean of each reserve constant throughout. For a three-asset pool, the equation runs as the cube root of x times y times z equaling k. That flexibility gives you variable exposure to different assets within the same pool and lets you swap between any of them directly.
Each of these AMM models brings its own strengths and trade-offs to the table, which is what keeps decentralized finance such a dynamic space to operate in.
How Automated Market Makers Work
AMMs are reshaping crypto trading by replacing traditional order books with liquidity pools and smart algorithms. Getting a handle on how they actually function is key to understanding why they’ve had such a profound effect on the DeFi ecosystem.
Liquidity Pools and Provision
Liquidity pools are the foundation that AMMs are built on, making seamless token swaps possible. These pools need liquidity providers (LPs) to deposit pairs of tokens, which deepens the market and keeps transactions running smoothly. Every time a trade goes through, a fee gets charged, and part of that fee flows back to the LPs as a reward for putting their capital to work.
This model opens market participation up to a much wider group of people, pulling in contributors who would never have touched traditional market-making. That broad participation matters because it keeps a steady stream of liquidity flowing through DeFi platforms, which in turn steadies the market and cuts down on slippage when trades execute.
AMM Algorithms and Smart Contracts
The efficiency behind AMMs comes down to their algorithms and the smart contracts enforcing them. One of the most widely used models is the Constant Product Market Maker (CPMM), which Uniswap made famous. It runs on a straightforward but effective formula where x times y equals k, with x and y being the token quantities in the pool and k staying constant throughout. That formula automatically rebalances prices as trades flow through the pool.
Smart contracts are what make all of this trustless. They enforce the trading rules, execute transactions, and distribute rewards to liquidity providers without anyone needing to step in and manage the process. That automation brings transparency, security, and efficiency to every trade you make.
Yield Farming and Liquidity Incentives
Yield farming adds another layer of incentive to the whole AMM structure. Liquidity providers earn governance tokens on top of their trading fee rewards, which pulls even more capital into the pools. Those tokens typically come with voting rights on protocol changes, so the people contributing liquidity also get a say in how the platform evolves.
Yield farming does more than just boost liquidity. It makes automated trading more profitable for the people powering it. By rewarding LPs with tokens that carry real value, DeFi platforms attract more participants, which keeps the pools deep and the trading environment stable. And if you’re thinking about trading costs across platforms, it’s worth reading up on ways to reduce your trading fees before you commit capital.

Advantages of Automated Market Makers (AMMs)
AMMs bring a strong set of advantages to the table that make trading in the DeFi ecosystem a genuinely different experience from what you’d find on a centralized platform.
Decentralized Trading
AMMs let you trade in a decentralized, trustless environment with no intermediaries involved. You don’t need to sign up, hand over personal information, or trust a third party with your funds. All you need is a self-custody wallet, and you stay in full control of your assets throughout.
Enhanced Liquidity Access
With AMMs, you get access to a wide range of trading pairs, including many that never make it onto traditional exchanges. Liquidity pools make it possible to trade multiple assets at once, opening the door to more complex strategies and genuinely deeper markets.
Lower Fees
Centralized exchanges often lean on high fees as their main revenue source. AMMs take a different approach, charging fees that are a fraction of what you’d pay elsewhere. Uniswap, for example, charges just 0.3% per trade, which undercuts most centralized exchanges by a wide margin.
Automatic Pricing
AMMs price assets algorithmically, which cuts out many of the pricing risks you’d face on a centralized exchange, including frontrunning around asset releases. That automatic pricing mechanism creates trading conditions that are fairer and far more transparent.
Greater Flexibility
Because AMMs are open-source, they slot into a wide range of DeFi protocols without friction, including lending and borrowing platforms. That flexibility makes it possible to build all kinds of financial products and services on top of them, expanding what the broader DeFi ecosystem can actually do.
Problems with First-Generation AMM Models
First-generation AMMs carry some real baggage. Impermanent loss and low capital efficiency are the two biggest issues, and both hit liquidity providers and traders in different ways.

Impermanent Loss
Impermanent loss kicks in when the value of tokens you’ve deposited in an AMM shifts compared to what you’d have if you’d simply held them in your wallet. It happens when the market price of tokens inside the AMM drifts from broader market prices. Because AMMs don’t automatically adjust their exchange rates, they rely on arbitrageurs to buy underpriced assets or sell overpriced ones until prices realign. But the profit those arbitrageurs pocket comes directly at the expense of liquidity providers, leaving LPs holding the short end of the stick. CoinDesk has covered impermanent loss extensively if you want to dig deeper into the mechanics.
Low Capital Efficiency
Traditional AMM designs demand massive amounts of liquidity to match the price impact you’d get from an order book exchange. That inefficiency exists because a large portion of AMM liquidity only activates when the pricing curve turns exponential, which is a zone most rational traders won’t touch.
Liquidity providers in AMMs also have no control over the price points being offered to traders, which has earned this kind of liquidity the label of “lazy liquidity.” It sits underutilized and poorly deployed. Market makers on order book exchanges, by contrast, can set precise buy and sell price points, which gives them far better capital efficiency. The trade-off is that it demands constant active oversight, something most LPs simply don’t have the bandwidth for.
How AMM Models Are Being Improved
A new generation of projects is tackling the weaknesses of first-generation AMMs head-on, introducing advanced models like hybrid automated market makers, dynamic automated market makers, proactive market makers, and virtual automated market makers. These designs improve how liquidity gets deployed, shrink price impact, and make markets run more efficiently overall. You can see similar innovation patterns playing out across blockchain layer architecture, where each layer addresses the limitations of the one before it.
Hybrid CFMMs
Hybrid Constant Function Market Makers (CFMMs) blend multiple functions and parameters to hit specific targets, like better risk exposure for LPs and tighter price impact for traders. Curve AMMs, for instance, use a stableswap invariant formula that pulls together the best properties of both CPMM and CSMM. The result is denser liquidity pockets within a specific trading range, with a curve that stays mostly linear and only goes parabolic when the pool gets pushed to its limits.

That design lets Curve deliver low-price-impact trades between tokens with relatively stable exchange rates, like stablecoins. LPs get more efficient use of their capital, pulling in higher aggregate fees even when individual fees per trade are low. Arbitrageurs keep the pool balanced, and the whole system stays in continuous equilibrium. Curve Finance has since extended that framework to cover more volatile token pairs while holding onto concentrated liquidity.
Dynamic Automated Market Maker (DAMM)
Sigmadex runs a dynamic automated market maker (DAMM) model that uses Chainlink Price Feeds and implied volatility to shift liquidity dynamically along the price curve. When volatility is low, liquidity concentrates near the market price. When volatility spikes, it expands. That adaptive approach improves capital efficiency and gives traders meaningful protection from impairment loss, making the whole system more resilient under pressure.
Proactive Market Maker (PMM)
DODO takes a proactive market maker (PMM) approach that mimics the behavior of traditional human market makers in central limit order books. Using accurate market prices sourced from Chainlink Price Feeds, DODO proactively reshapes the price curve of each asset as market conditions shift. That keeps liquidity concentrated near the current market price, makes trading more efficient, and reduces impairment loss for liquidity providers across the board.
Virtual Automated Market Makers (vAMM)
Virtual automated market makers (vAMMs), like those powering Perpetual Protocol, are built to cut price impact, ease impermanent loss, and let you hold single token exposure in synthetic assets. They use the same x times y equals k constant product formula as CPMMs, but without a traditional liquidity pool behind them. Instead, you deposit collateral into a smart contract and trade synthetic assets against it, gaining exposure to various crypto assets without needing to hold them directly. That said, keep your risk management sharp because holding an open position in a synthetic asset can trigger collateral liquidation if the price moves against you.





