Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.raydium.io/llms.txt

Use this file to discover all available pages before exploring further.

Raydium fees are split between liquidity providers, RAY buybacks, and treasury destinations. Fee split percentages are percentages of the trading fee, not percentages of the full trade amount.

Fee types

Raydium has four user-facing fee categories.
Fee typeWhen it appliesWhat it pays for
Swap feeEvery swapLP earnings, RAY buybacks, and treasury share
Pool creation feeWhen creating CPMM or Standard AMM v4 poolsSpam prevention and protocol infrastructure
RentWhen creating pools, positions, farms, or token accountsSolana account storage
LaunchLab feesDuring token launches and graduationLaunchLab creator and protocol fee flow
Rent is paid to create Solana accounts. It is separate from Raydium protocol fees.

Trading-fee split

Pool typeLP shareRAY buybackTreasury
CLMM84%12%4%
CPMM84%12%4%
Standard AMM v488%12%
These percentages are applied to the pool’s trading fee. Example for a CLMM or CPMM pool with a 0.25% swap fee:
Swap fee:        0.25% of trade
LP share:        0.25% * 84% = 0.2100% of trade
RAY buyback:     0.25% * 12% = 0.0300% of trade
Treasury share:  0.25% * 4%  = 0.0100% of trade
Example for a Standard AMM v4 pool with a 0.25% swap fee:
Swap fee:        0.25% of trade
LP share:        0.25% * 88% = 0.2200% of trade
RAY buyback:     0.25% * 12% = 0.0300% of trade

Swap-fee tiers

ProductCommon fee tiersNotes
CLMM0.01%, 0.05%, 0.25%, 1%Fee tier is tied to the pool’s AmmConfig.
CPMM0.01%, 0.25%, 1%Default user-facing tier is commonly 0.25%.
Standard AMM v40.25%Legacy constant-product pools.
LaunchLab pre-graduation1% buy and sell feeApplies while the token trades on the bonding curve.

Pool creation fees

Creating a Standard AMM v4 or CPMM pool costs 0.15 SOL in pool creation fees.
Pool typePool creation fee
CPMM0.15 SOL
Standard AMM v40.15 SOL
CLMMNo separate Raydium pool creation fee; rent still applies
Pool creation fees are separate from account rent and transaction fees.

Fee denominator conventions

Different Raydium programs encode fee rates with different denominators.
ProductDenominatorExample
AMM v410,00025 means 0.25%
CPMM1,000,0002,500 means 0.25%
CLMM1,000,0002,500 means 0.25%
LaunchLab1,000,000 or program-specific config fieldsCheck LaunchConfig fields before integrating
This matters when reading raw on-chain accounts or SDK responses. Always normalize rates before comparing products.

How fees accrue

  1. A trader pays the swap fee as part of the swap.
  2. The LP share remains in or accrues to the pool’s accounting.
  3. Buyback and treasury shares accumulate in program fee accounting.
  4. Collection transactions move those balances to the relevant addresses listed in ray/treasury.
For LPs, fees are realized differently by product:
  • AMM v4 and CPMM: LP fees accumulate in pool reserves and are realized when LP tokens are burned on withdrawal.
  • CLMM: LP fees accrue per position and can be claimed with the fee-collection flow.
  • LaunchLab: launch-specific creator and protocol fees follow LaunchLab configuration.

Token-2022 transfer fees

Token-2022 transfer fees are not Raydium fees. If a Token-2022 mint has a transfer fee, that fee is paid to the mint’s configured authority. A swap involving Token-2022 tokens may therefore include:
Raydium pool fee + Token-2022 transfer fee
The two fees have different destinations and should be displayed separately in integrations.

Practical pitfalls

  • Do not multiply by the wrong base. A 12% buyback share is 12% of the swap fee, not 12% of the trade.
  • Normalize denominators. AMM v4 uses a different denominator than CPMM and CLMM.
  • Separate protocol fees from network fees. Solana base fees and priority fees are paid to the network, not Raydium.
  • Account for Token-2022 fees. Transfer fees can materially change the user’s effective received amount.
  • Fetch fresh config. If your integration caches AmmConfig data, refresh before building high-value transactions.