Documentation Index
Fetch the complete documentation index at: https://docs.mobula.io/llms.txt
Use this file to discover all available pages before exploring further.
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.
| Maker | Taker | Taker latency | Maker latency | Cancel latency | |
|---|---|---|---|---|---|
| Standard | 0% | 0% | 300 ms | 200 ms | 200 ms |
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:| Staked LIT | Maker | Taker | Taker latency |
|---|---|---|---|
| 0 | 0.0040% | 0.0280% | 200 ms |
| 1,000 | 0.0039% | 0.0273% | 195 ms |
| 3,000 | 0.0038% | 0.0266% | 190 ms |
| 10,000 | 0.0036% | 0.0252% | 180 ms |
| 30,000 | 0.0034% | 0.0238% | 170 ms |
| 100,000 | 0.0032% | 0.0224% | 160 ms |
| 300,000 | 0.0030% | 0.0210% | 150 ms |
| 500,000 | 0.0028% | 0.0196% | 140 ms |
Example — Lighter Premium, 0 staked LIT
Open a $10,000 notional position as a market taker:Gains Network
Gains charges fees on the leveraged position size (collateral × leverage), not on collateral. Four components on every trade:- Opening fee — taken when the trade opens
- Spread — applied to the price (fixed + dynamic / price impact)
- Borrowing fee — accrued per block while the trade is open
- Closing fee — taken when the trade closes
Opening + Closing fees by asset class
| Asset class | Opening | Closing |
|---|---|---|
| Crypto (core: BTC, ETH) | 0.05% | 0.05% |
| Crypto (non-core) | 0.06% | 0.06% |
| Forex (major) | 0.012% | 0.012% |
| Forex (minor) | 0.016% | 0.016% |
| Forex (exotic) | 0.02% | 0.02% |
| Commodities Tier 1 (Gold) | 0.05% | 0.05% |
| Commodities Tier 2 (Silver, Oil, Pd, Pt) | 0.08% | 0.08% |
| Stocks | 0.07% | 0.07% |
| Indices | 0.05% | 0.05% |
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.)
Borrowing fee
Charged per block on total position size, scales with how lopsided the pair’s open interest is:Example — Long ETH/USD on Gains
Setup: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.
Quick comparison
| Lighter (Standard) | Lighter (Premium, 0 LIT) | Gains (core crypto) | |
|---|---|---|---|
| Open fee | 0% | 0.028% taker / 0.004% maker | 0.05% |
| Close fee | 0% | 0.028% taker / 0.004% maker | 0.05% |
| Spread | 0 (orderbook) | 0 (orderbook) | Fixed (per asset class) + dynamic |
| Borrowing | n/a | n/a | per-block, OI-skew-based |
Related
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.