All writing

Adding up what a pump.fun round trip costs before modelling it

Research arithmetic, not trading advice. None of this says whether anything is worth trading.

I’ve been poking at a small research project that replays short-hold trades on newly launched pump.fun tokens on Solana (buy, hold for 30 or 60 seconds, sell), and before modelling anything we wanted one page that answers a simple question, which is what gross price move does one buy and one sell have to capture before the trade earns anything at all. This post is that page, with the fee schedule, the tables per position size, and the one place where reading the fee docs went wrong.

Which fee a pool pays

The first version of the floor took the PumpSwap constants from its README, 20 bps LP fee plus 5 bps protocol fee per swap, which is 50 bps per round trip, plus 10,000 lamports of base network fee for two transactions, which on a 0.01 SOL position is another 10 bps, so a floor near 60 bps. The fee program doc was listed right next to those constants as something that “varies by market cap and pool type”, to be read later.

That doc is where the answer was. Here’s the PumpSwap pool fee selection from pump.fun’s fee program README (trimmed):

export function computeFeesBps({ globalConfig, feeConfig, /* … */ }) {
  if (feeConfig != null) {
    const marketCap = poolMarketCap({ /* … */ });
    return getFees({ feeConfig, isPumpPool: isPumpPool(baseMint, creator), marketCap, tradeSize });
  }

  return {
    lpFeeBps: globalConfig.lpFeeBasisPoints,
    protocolFeeBps: globalConfig.protocolFeeBasisPoints,
    creatorFeeBps: globalConfig.coinCreatorFeeBasisPoints,
  };
}

The 20 + 5 bps constants are the second branch, the GlobalConfig values that only apply when a pool has no fee config. Dynamic fee tiers have been mandatory since September 2025, so for a freshly graduated canonical pool the first branch runs, and getFees picks a market-cap tier (a non-canonical pool gets a flat fee instead). The bonding curve, where a token trades before it graduates to a pool, has the same shape with its own tiers. Per pump.fun’s fee page at the time of writing, the rates are:

VenueFee per swap
Bonding curve1.25% (creator 0.30, protocol 0.95)
Canonical pool, market cap under 420 SOL1.25% (creator 0.30, protocol 0.93, LP 0.02)
Canonical pool, 420 to 1,470 SOL1.20%
(intermediate tiers)…
Canonical pool, above 98,240 SOL0.30%
Non-canonical pool0.30%

So two swaps on the pools we care about cost 250 bps in venue fees, and the 50 bps version is the fallback path. The agent that wrote the first version had cited the right doc and still took the numbers that were written out as constants, and a later research pass caught it and re-checked against both the pinned doc and the live fee page before the headline changed. If a fee doc has a branch, find out which branch your pool takes before you copy a number out of it.

The tier can also change between the two legs. Pools graduate at about 411 SOL market cap, just under the 420 SOL line, so a pool whose market cap rises about 2.2% during the hold is charged the 1.20% tier on the way out.

The known floor per position size

With the venue fee fixed, the known part of the floor looks like this:

Position (SOL)Base network fee, buy + sellFloor at 1.25% per swapFloor at the 0.25% fallback
0.0110.0 bps260.0 bps60.0 bps
0.052.0 bps252.0 bps52.0 bps
0.11.0 bps251.0 bps51.0 bps
0.50.2 bps250.2 bps50.2 bps

That’s about 2.6% at 0.01 SOL, roughly four times the 60 bps we started with, and it is still before slippage, before getting the transaction included, before failed attempts, and before the token simply dying while you hold it.

Getting included

Inclusion cost is the big unknown, and it has two parts, the priority fee and the Jito tip. Outside of congestion, priority fees are tiny (about 0.00001 SOL per transaction), and the cost that reaches into real money in a launch window is congestion priority fees and tips. One community snapshot of pump.fun buys had a landed p90 priority fee of 0.00021 SOL, and a median tip of 0.004 SOL on buys that failed. These costs are flat per attempt, so in basis points they hit small positions hardest:

Position (SOL)00.00010.00050.0010.005
0.012604601,2602,26010,260
0.12512713514511,251
0.5250254270290450

(Columns are SOL of inclusion cost per attempt, cells are the minimum gross move in bps.) At 0.0005 SOL per attempt a 0.01 SOL position pays 10% of itself per round trip, and at 0.005 SOL it pays its entire principal in fees, which is close to the median tip on failed buys from that snapshot.

Rent and price impact

A temporary token account (wrapped SOL, or the token you bought) needs a rent-exempt deposit, which comes back if the account is closed and is lost if it isn’t. The old constant was 2,039,280 lamports for a 165-byte account, but SIMD-0437 is reducing rent in steps, and at the time of writing it’s 1,488,440 lamports, with later steps planned to take it down to 203,928 (those still had a rollback proposal pending). At that rate two stranded deposits are about 30% of a 0.01 SOL position, so whether those accounts reliably get closed matters more than most of the fee arithmetic, and the rate has to be read from RPC rather than hardcoded.

Our own price impact is the small part. Against a constant-product pool holding about 85 SOL at graduation, a trade of d SOL costs roughly d/85 in execution price, so 1.2, 5.9, 11.8 and 58.8 bps per leg at 0.01, 0.05, 0.1 and 0.5 SOL. Other people’s flow in a launch window dominates real slippage, but it’s good to know that a 0.5 SOL trade alone already uses more than the 50 bps per leg we allowed for slippage in the replays.

What the floor means for a model

Add a small materiality bar on top (we used 10 bps of mean net return), and a classifier has to beat random entry by about 270 bps of gross move at 0.01 SOL with zero inclusion cost, before slippage and token loss. To make that tangible, if every trade moved ±5%, that needs a hit rate of 77%, and with a modest 0.0005 SOL per attempt at the same size it’s impossible, since even a classifier that is right every time doesn’t clear it. The inputs we can’t pin down yet (inclusion cost, failed-attempt rate, tokens that become unsellable, rent recovery, pool reserves at graduation) are labelled as assumptions on the page, which is why the tables show sensitivity to them rather than one made-up value.

Summary

Adding up one round trip moved the floor a model has to beat from about 0.6% to about 2.6%, before the costs we still can’t measure, and that is worth knowing before writing any model for a short-hold trade. The fee docs had the right number all along, behind a branch, so when we take a fee out of a document we now check which branch the pool goes through instead of copying the constants that happen to be written out. In this arithmetic the flat per-attempt costs, tips and rent, decide whether a small position can work at all, so they belong in a table per position size rather than in one number.

Email address copied [email protected]