The two components
The published formula is: funding rate F = average premium index P + clamp(interest rate − P, −0.0005, 0.0005). The interest rate is fixed at 0.01% per 8 hours, representing the difference between the cost of borrowing dollars and the cost of borrowing spot crypto.
The premium is where market conditions enter: premium = impact price difference / oracle price, where the impact prices are the average execution prices for trading the asset's impact notional on each side of the book — 20,000 USDC for BTC and ETH, 6,000 USDC for other assets. If the perp trades above the oracle, longs pay shorts; below it, shorts pay longs.