Skip to main content

Overview

Mobula routes perp orders to two DEXes today: Lighter and Gains Network. Each one has its own fee model — values below are taken directly from the protocols’ public fee documentation.

Lighter

Orderbook DEX. Free for Standard accounts; staking-tier maker/taker fees for Premium.

Gains Network

Leveraged trading. Opening + closing fees on leveraged size, plus spread and borrowing fees.

Lighter

Lighter is an on-chain orderbook. Fees depend on account type and, for Premium, on the amount of LIT staked.

Standard Account (default)

0% maker / 0% taker. All markets, perpetuals and spot. No fee at all.

Premium Account (opt-in)

Premium unlocks lower latency and better cancel/post-only behavior, in exchange for a fee. Fees scale down with staked LIT: Staking discount is applied at the L1 address level — main account and sub-accounts share the same tier based on combined stake.

Example — Lighter Premium, 0 staked LIT

Open a $10,000 notional position as a market taker:
Same trade as a maker (resting limit order):
Same trade on a Standard account: $0.
Standard is free, so it’s the default for most flow. Premium is opt-in for traders who need lower latency and the volume quota program, and pay the maker/taker fee in exchange.
Full Lighter fee documentation →

Gains Network

Gains charges fees on the leveraged position size (collateral × leverage), not on collateral. Four components on every trade:
  1. Opening fee — taken when the trade opens
  2. Spread — applied to the price (fixed + dynamic / price impact)
  3. Borrowing fee — accrued per block while the trade is open
  4. Closing fee — taken when the trade closes

Opening + Closing fees by asset class

Spread

  • BTC, ETH: 0% fixed spread (only dynamic spread applies)
  • Other crypto: dynamic spread only, function of open interest and 1% market depth
  • Forex / Commodities: fixed spread per pair (0.01% major, 0.04% tier 2 commodities, etc.)
Dynamic spread formula:

Borrowing fee

Charged per block on total position size, scales with how lopsided the pair’s open interest is:
Pairs with very long-skewed (or short-skewed) OI charge more on the dominant side. Balanced books charge less.

Example — Long ETH/USD on Gains

Setup:
Opening fee:
Dynamic spread (assuming 100k long OI and 8M depth):
Trade goes up 1%, close at 3,033.6:
So on a 250 USDC × 10x trade closed at +1%, the trader pockets 21.89 USDC out of the ~25 USDC raw move — total fees (open + close + borrowing) ≈ 3 USDC, or ~12% of gross PnL at this size.
Liquidation prices on Gains tighten over time as borrowing fees accrue. See the Gains liquidation thresholds tables for exact thresholds per asset class and leverage.
Full Gains Network fee documentation →

Quick comparison

Use /2/perp/quote to preview fees and slippage on either DEX before committing the trade — it returns a fee breakdown for the venue your order would route to. Pair it with the Perp DEX Status endpoint to confirm the upstream is healthy before routing.

Perpetuals APIs Overview

Supported exchanges and capability map.

Get Perp Quote

Preview fills, fees and venue routing.

DEX Status

Lighter / Gains uptime, probe results and maintenance windows.

Perp Execution Flow

Build → execute flow against Lighter and Gains.