# Fees and pricing

How a Maxy price is made, what the user pays, and what reaches them. For anyone who shows a Maxy amount to a user, ranks it against other routes, or reconciles it afterwards.

## One amount

Maxy is fee free. It charges no protocol fee, takes no share of any partner's fee, and adds nothing after the user signs. The price in a quote is the solver's all-in price. It covers the Bitcoin network fee, the gas to commit and settle, and the solver's margin. `toAmount` is what arrives at the user's address, with every cost in, and on a settler route `toAmountMin` equals it. Nothing is added or taken after the signature: the settler pays out only by the signed terms.

| On the route | Where it shows |
| --- | --- |
| Deposit, withdrawal, wrapping or exit fees | None: the BTC is native, paid straight to the user's address |
| The solver's Bitcoin network fee, and its gas to commit and settle | Inside the price |
| The solver's margin | Inside the price |
| On coin to coin, the bridge's fees | Out of `toAmount` already |

A price is for display while the user types; the quote is the executable number: [Price vs quote](https://maxy.co/docs/price-vs-quote).

## How a price is set

A buy's signed price is the market price raised to cover the solver's cost to deliver, then its margin:

`(value of the BTC + network fee) ÷ (1 − margin)`

The network fee is what the solver pays to deliver: the Bitcoin miner fee on its payment to the user, and its gas to commit and settle on the user's chain. It pays both and folds them into the price. Hedging, proof verification, bond time and position risk are costs a solver prices in too. The margin is the part competition shrinks: any bonded solver can win an order, and the first valid fill takes it.

Buys start at 546 sats after costs. An order whose cost to fill would be more than the BTC it buys is refused as too small, with `amount_out_of_range`, before anything is signed.

## The price band

The user signs a price and a band around it, 0.5% by default, and the settler returns everything above the settlement amount when a solver commits. A real quote, line by line: [Price band](https://maxy.co/docs/price-band).

## When an order fails

Failures are billed to whoever failed. If a solver commits and does not pay, the user takes the coins back from the settler, and the solver's bond, 1% by default, is slashed. A third party that sends a slash earns half the solver's bond, and a user who sends it keeps the whole bond. Nothing is collected from users in advance to cover failures: [When it fails](https://maxy.co/docs/when-it-fails).

## Partner fees

A partner can add its own fee on top of the quote. The partner sets the rate, for example 25 bps of the trade, and chooses the token and the address that receive it. The user's own wallet sends the fee straight to that address as a separate transfer, right after the order's own transaction, with nothing to claim later and nothing routed through Maxy. It is paid when it is sent, so it stays paid if the order is later refunded. On `evm-btc-gasless` the solver sends the fee inside its commit, so an order no solver commits pays no fee (`refundable: true`). The whole fee is the partner's: Maxy takes no cut. A partner can rotate the address at any time and adjust the rate dynamically, per request. The user sees the swap amounts and the partner's fee as separate lines before signing.

It runs on `evm-btc-escrow`, `evm-btc-bridge`, two-leg `btc-evm` sales and `evm-btc-gasless` (on a sale, out of the payout); elsewhere `partner_fee_unsupported_route`. The parameters are `partnerFeeBps` (0 to 100), `partnerFeeRecipient` and, optionally, `partnerFeeToken`, on `GET /price`, `GET /quote`, each `POST /quotes/batch` item and `POST /orders`, which must match the quote's fee. What the quote and order carry, the SDK names and the errors: [Partner fees](https://maxy.co/docs/partner-fees).

A sandbox quote: 0.03 ETH on Base to BTC, `partnerFeeBps=25`, recipient `0x2222…2222`.

| Field | Value |
| --- | --- |
| `fromAmount` | 30,000,000,000,000,000 wei, 0.03 ETH |
| `fees.partner.amount` | 75,000,000,000,000 wei, 0.000075 ETH |
| `totalFromAmount` | 30,075,000,000,000,000 wei, 0.030075 ETH |
| `formatted.partnerFee` | "0.000075 ETH (25 bps)" |
| `toAmount` | 83,756 sats, the same as the quote without the fee |

What the wallet signs and sends on each route: [Chains and tokens](https://maxy.co/docs/chains-and-tokens#what-the-wallet-does).

## For your own books

`GET /statements` gives a month of your orders with totals, in JSON, CSV or PDF. A statement lists each order's amounts and shows a partner's fee on its own line. Maxy charges no fee, so there are no Maxy fee lines. Month-end: [Reconcile](https://maxy.co/docs/order-states#reconcile).

---
Source: https://maxy.co/docs/fees-and-pricing (Maxy Docs › Learn about Maxy › Learn more)
