> For the complete documentation index, see [llms.txt](https://docs.garuda-defi.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.garuda-defi.org/garuda-perps-coming-soon/fees.md).

# Fees

Trading on Garuda Perps may incur several types of fees depending on your trading activity. All applicable fees are displayed before an order is confirmed.

This page covers every fee type charged on Garuda Perps, including when each fee applies, how it is calculated, and distributed.

## Fee Summary

<table><thead><tr><th width="150.60003662109375">Type</th><th>When charged</th><th>How fees calculated</th><th>Distribution</th></tr></thead><tbody><tr><td><a href="#opening-closing-fee">Opening Fee</a></td><td>When opening a new position or increasing an existing position</td><td>Dynamic Rate × Position Size</td><td>70% Protocol / 30% vault</td></tr><tr><td><a href="#opening-closing-fee">Closing Fee</a></td><td>When reducing or closing a position.</td><td>0.05% × Position Size</td><td>70% Protocol / 30% vault</td></tr><tr><td><a href="#price-impact-fee">Price Impact Fee</a></td><td>When opening a new position or increasing an existing position</td><td>Dynamic rates based on market imbalance and position size.</td><td>30% Protocol / 70% vault</td></tr><tr><td><a href="#borrow-fee">Borrowing Fee</a></td><td>Continuously while position is open</td><td>Position size x  Borrow rate x Time</td><td>50% Protocol / 50% vault</td></tr><tr><td><a href="#funding-fee">Funding Fee</a></td><td>Continuously while position is open</td><td>Position Size × Funding Rate × Time</td><td>Paid directly between traders</td></tr><tr><td><a href="#execution-fee">Execution Fee</a></td><td>Limit order, TP/SL and liquidation</td><td>Fixed fee per execution</td><td>50% Protocol / 50% vault</td></tr><tr><td>Liquidation penalty</td><td>On liquidation</td><td>0.5% × Position Size</td><td>10% Protocol / 90% vault</td></tr></tbody></table>

{% hint style="info" %}

* All fees are charged in the collateral asset used for the position, based on its equivalent USD value at the time of the transaction.
* All fees values and distribution shown are subject to GDEX governance updates.
* Dynamic rates vary depending on market conditions and risk engine parameters.

{% endhint %}

## Opening / Closing Fee

An Opening/closing fee is charged whenever a position's Position Size is changed, including opening or closing a new position or increasing/reducing an existing one.

The Fee is calculated using a dynamic fee rate determined by current market conditions.

```
Opening/closing Fee = Dynamic Fee Rate × Position Size
```

The Dynamic Fee Rate may vary based on factors such as:

* Position Size
* Long/Short Open Interest imbalance
* Vault utilization
* Protocol risk parameters

**Example 1 – Opening a Position**

<pre><code>A trader opens a BTC Long position:
- Collateral: 100 USDC
- Leverage: 10×
- Position Size: $1,000
Calculation : 
<strong>- Opening Fee = $1,000 × 0.08% = $0.80
</strong></code></pre>

## Price Impact Fee

Garuda Perps executes trades at the Oracle Price, meaning traders always receive the displayed market price regardless of order size.

Instead of adjusting the execution price like a traditional orderbook exchange, we charges a Price Impact Fee to compensate liquidity providers for the additional market risk created by large or imbalanced positions.

This approach provides:

* Oracle Price execution
* No orderbook slippage
* Transparent execution prices
* Protection for liquidity providers

### **How It Works**

The Price Impact Fee is a dynamic fee calculated when a position is opened or increased.

The fee consists of two components :

{% tabs %}
{% tab title="Linear Fees" %}
The Linear Fee increases proportionally with the Position Size.

Larger positions consume more liquidity and therefore pay a higher Price Impact Fee.
{% endtab %}

{% tab title="Imbalance Fees" %}
An additional fee is applied when a trade increases the imbalance between Long and Short Open Interest.

As market imbalance grows, the protocol gradually increases the Price Impact Fee to:

* discourage excessive one-sided positioning,
* encourage balanced markets,
* protect liquidity providers.

Each perpetual market has configurable risk parameters, including:

* Imbalance Threshold
* Imbalance Multiplier
* Maximum Price Impact Fee

The total Price Impact Fee is capped by the market's maximum fee limit.
{% endtab %}
{% endtabs %}

### Price Impact Fee Formula

```
Price Impact Fee = Linear Fee + Imbalance Fee
(capped by the market's Maximum Price Impact Fee)
```

**Example 1 — Balanced Market**

<pre><code>Current Market
- BTC Oracle Price: $60,000
- Position Size: $1,000
<strong>- Long/Short Open Interest is balanced
</strong>- Current Price Impact Fee Rate = 0.08%
Calculation :
<strong>- Price impact fee = $1,000 * 0.08% = $0.80
</strong></code></pre>

The trader enters the position at the Oracle Price ($60,000) and pays $0.80 as the Price Impact Fee.

**Example 2 — High Long Imbalance**

<pre><code>Current Market
- BTC Oracle Price: $60,000
- Position Size: $1,000
<strong>- Long Open Interest significantly exceeds Short Open Interest
</strong>- Current Price Impact Fee Rate = 0.35%
Calculation : 
<strong>- Price impact fee = $1,000 * 0.35% = $3.50
</strong></code></pre>

The trader still enters at the Oracle Price ($60,000), while paying a higher Price Impact Fee because the trade increases the market imbalance.

## Borrow Fee

Borrow Fees compensate the Vault for reserving liquidity to support leveraged positions.

Borrow Fees begin accruing immediately after a position is opened and continue until the position is fully closed.

The accumulated Borrow Fee is deducted from the position's collateral whenever the position is updated or closed.

### How It Works

Borrow Fees are calculated dynamically based on:

* Outstanding Position Size
* Current Borrow Rate
* Time the position remains open

The Borrow Rate adjusts automatically according to leverage and vault utilization.

Higher leverage and vault utilization generally results in higher Borrow Rates.

### Borrow Fee Formula

```
Borrow Fee = Position Size × Borrow Rate × Time
```

<table><thead><tr><th width="178.20001220703125">Variable</th><th>Description</th></tr></thead><tbody><tr><td>Position Size</td><td>The current USD value of the leveraged position.</td></tr><tr><td>Borrow Rate</td><td>The current hourly borrow rate based on leverage &#x26; vault utilization</td></tr><tr><td>Time</td><td>The duration the position remains open, measured in hours </td></tr></tbody></table>

**Example :**&#x20;

<pre><code>A trader opens a BTC Long position:
- Collateral: 100 USDC
- Leverage: 10×
- Position Size: $1,000
- Current borrow rate : 0.010% per hour 
- Position duration : 8 hours
Calculation : 
<strong>- Borrow fee for 8 hours = ($1,000 * 0.010%)*8 = $0.80
</strong></code></pre>

The trader pays $0.80 in Borrow Fees after holding the position for 8 hours.

### **Fee Settlement**

Borrow Fees continue to accrue while a position remains open.

The accumulated fee is settled whenever a trader:

* Increases / reduces a position.
* Adds or removes collateral.
* Closes the position.
* Is liquidated.

## Funding Fee

Funding Fees are periodic payments exchanged between Long and Short positions to encourage a balanced market.

Unlike Trading Fees or Borrow Fees, Funding Fees are not retained by the protocol. Instead, they are transferred between traders holding opposing positions.

Funding Fees are calculated continuously and settled whenever a position is updated or closed.

### How It Works

The Funding Rate adjusts automatically according to the market's Open Interest (OI) imbalance.

* When Long Open Interest exceeds Short Open Interest, Long positions pay Funding Fees to Short positions.
* When Short Open Interest exceeds Long Open Interest, Short positions pay Funding Fees to Long positions.
* When Long and Short Open Interest are balanced, the Funding Rate approaches zero.

This mechanism encourages traders to open positions on the less crowded side of the market.

### Funding Fee Formula

```
Funding Fee = Position Size × Funding Rate × Time
```

<table><thead><tr><th width="151">Variable</th><th>Description</th></tr></thead><tbody><tr><td>Position size</td><td>The current USD value of the leveraged position.</td></tr><tr><td>Funding rate</td><td>The current funding rate determined by the market imbalance.</td></tr><tr><td>Time</td><td>The duration the position remains open, measured in funding intervals.</td></tr></tbody></table>

#### Funding Rate Calculation

The Funding Rate is calculated dynamically using the market's Funding Base Rate and the current market Skew.

```
Funding Rate = Funding Base Rate × (Trader Direction × Skew)
```

<table><thead><tr><th width="174.20001220703125">Variable</th><th>Description</th></tr></thead><tbody><tr><td>Funding Base Rate</td><td>The base funding rate configured for each perpetual market.</td></tr><tr><td>Trader Direction</td><td>+1 for Long positions and -1 for Short positions.</td></tr><tr><td>Skew</td><td>A normalized measure of the imbalance between Long and Short Open Interest. Positive skew indicates a Long-heavy market, while negative skew indicates a Short-heavy market.</td></tr></tbody></table>

{% hint style="info" %}
As the market becomes more imbalanced, the Funding Rate increases proportionally.
{% endhint %}

**Example 1 – Long Pays Short**

<pre><code>A trader opens :
<strong>- Direction : Long (+1)
</strong>- Position size: $1,000
- Funding base rate : 0.010% per hour
- Market skew : +2
- Position duration : 5 hours
Calculation : 
- Funding rate = 0.01% * (+1 * 2.0) = 0.02% per hour
<strong>- Funding fee 5 hours = ($1,000 * 0.02%) * 5 = $1.00 
</strong></code></pre>

The trader pays $1.00 in Funding Fees because the market is Long-heavy.

**Example 2 – Short Receives Funding**

<pre><code>A trader opens :
<strong>- Direction : Short (-1)
</strong>- Position size: $2,000
- Funding base rate : 0.010% per hour
- Market skew : +2
- Position duration : 5 hours
Calculation : 
- Funding rate = 0.01% * (-1 * 2.0) = -0.02% per hour
<strong>- Funding fee 5 hours = ($2,000 * -0.02%) * 5 = -$2.00 
</strong></code></pre>

A negative Funding Fee indicates that the trader receives $2.00 from other traders on the opposite side of the market.

## Execution Fee

All execution fees except liquidation are paid in **GRDX**, the utility token of Garuda Perps, whenever a keeper executes an automated order on behalf of a trader, or when a fee applies to a supported trading action.

These fees compensate keepers for monitoring trigger conditions and covering execution-related costs, while supporting the Garuda Perps ecosystem.

<table><thead><tr><th width="258.20001220703125">Execution fee</th><th>Fixed</th></tr></thead><tbody><tr><td>Liquidation</td><td>$1.00 equivalent in trading collateral</td></tr><tr><td>Create or modifying TP/SL</td><td>$0.25</td></tr><tr><td>Market order</td><td>$0.50</td></tr><tr><td>Adjust position <br>- Increase position<br>- Add collateral<br>- Reduce collateral</td><td>$0.25</td></tr></tbody></table>

{% hint style="info" %}

* Execution fees are charged only when the order/liquidation is succesfully executed. Cancelling a TP/SL order does not incur an execution fee.
* The applicable fee is paid in GRDX, calculated using its current reference price at the time of execution.
  {% endhint %}

### Fee Distribution

All execution fees collected in GRDX are distributed as follows:

* 50% — Protocol: Allocated to the Garuda protocol.
* 50% — Trading Vault: Added to the Garuda Perps vault as liquidity to support perpetual trading.

This mechanism gives GRDX utility within Garuda Perps while directing a portion of execution fees toward strengthening the trading vault.
