> ## Documentation Index
> Fetch the complete documentation index at: https://docs.route.fun/llms.txt
> Use this file to discover all available pages before exploring further.

# Fees

> The Route fee, the optional partner fee, and where both show in the response.

Route takes its fee from the swap's output. Pool fees are already inside the quote. The sending wallet pays network gas.

## Route fee

**Partner keys** pay the rate agreed with Route, fixed on the key: 0, 1, 2, 3, 5, 10 or 50 bps. It cannot be changed per request.
DM @rapidssh to change it.

**The public tier**, and Solana keys without an agreed rate, pay by pair:

| Pair | Fee |
| - | - |
| Same asset and peg: native and wrapped native, two USD stablecoins, or two Solana liquid staking tokens | 0 bps |
| SOL to or from a liquid staking token (Solana) | 0 bps |
| Native token to or from a USD stablecoin | 2 bps |
| Liquid staking token to or from a USD stablecoin (Solana) | 5 bps |
| Any other pair | 10 bps |
| A token less than 24 hours old, creation time verified by Route (Solana) | 25 bps |

On Solana the stablecoins are USDC, USDT, PYUSD, USDS and USD1, and the liquid staking tokens are jitoSOL, mSOL, bSOL, JupSOL,
INF and BNSOL. On EVM chains the stablecoins are the chain's major USD stablecoins. Public-tier quotes on EVM chains with swap
transactions carry an `x-route-fee-tier` header (`pegged`, `nativeStable` or `standard`).

## Partner fee

On Robinhood Chain a partner key can carry its own fee, 0 to 100 bps of the gross output, on top of the Route fee. It is fixed on
the key and paid to your wallet in USDG in the same transaction. Ask @rapidssh to set it up.

## In the response

| EVM field | Solana field | Meaning |
| - | - | - |
| `fee.bps` (`swap.feeBps`) | `fee_bps` | Route fee rate in bps |
| `fee.amount` (`swap.fee`) | | Route fee, in output-token units |
| `fee.partnerBps`, `fee.partnerAmount` | | Partner fee rate, and its size in output-token units |
| `fee.amountOutAfterFees` (`swap.netOut`) | `amount_out_after_fee` | Output after fees. Show this to the user. |
| `swap.minOut` | `min_out` | The least the recipient receives, after fees |

`fee` is in every EVM quote, with or without `recipient`; `swap` only with `recipient`.

> [!NOTE]
>
> On EVM chains the top-level `netOut` is `amountOut` minus estimated gas cost. It ranks routes and ignores fees. Use
> `fee.amountOutAfterFees` or `swap.netOut` for what the user receives.

On Solana a fee is paid only into an existing Route treasury account for the output token, so a build can charge less than the
pair's rate (0 for some tokens). The build's `fee_bps` is what the transaction charges.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.