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

# Fees

> Understand placement fees, early-exit fees, and Solana transaction costs.

## Protocol placement fee

Flew deducts a global protocol fee when you place a position. The fee is measured in basis points, where 100 basis points equals 1%.

```text theme={null}
Protocol fee = Total position amount × Protocol fee rate / 10,000
Net position = Total position amount - Protocol fee
```

The protocol sends the fee to the configured treasury and credits the net position to the market pool.

Payouts, refunds, and manual-market capital recovery use the net position amount. The placement fee is not returned when you exit early or claim a refund.

<Note>
  The fee rate is stored in Flew's global on-chain configuration. Treat any
  percentage shown in an example as illustrative unless the Flew interface
  confirms the active rate.
</Note>

## Early-exit fee

Flew can apply a separate global early-exit fee to both exit modes:

```text theme={null}
Early-exit fee = Gross exit value × Exit fee rate / 10,000
Net exit payment = Gross exit value - Early-exit fee
```

* For a manual market, the gross exit value is your net position amount.
* For a Switchboard market, the gross exit value comes from the oracle-based pricing calculation.

The early-exit fee is applied only when you exit before closing.

## Solana and Arcium transaction costs

Your wallet also pays network costs that are separate from Flew's protocol fees. These can include:

* Solana transaction fees
* Rent for newly created on-chain accounts
* Transactions that queue Arcium computations

Keep a small SOL balance above the amount you want to place.

## Payouts and refunds

Flew does not deduct another placement fee when you claim a payout or refund. Your wallet still pays the required Solana transaction costs.

An unresolved-market refund returns the net position amount, not the original total amount paid.
