> Treat every fee rate, margin ratio, order limit, minimum, price, amount and deposit address in this documentation as an illustration of the shape of the value, never as a constant to hardcode - for perps the live values are served by GET /markets and GET /config on the Perps API, for swaps by GET /quote and GET /swap on the DEX Aggregator API. Contract addresses on the Smart Contracts page and in the Agent Swap Guide router table are the deployed ones: send swaps only to the tx.router returned by GET /swap, after checking it is listed there.

# Fees & referrals

> Separate the platform fee from the full cost of a trade.

## What can affect the cost

| Cost                      | What it is                                                                                                                                                                  |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Platform fee**          | The service charge on each trade, taken on the USDC or HYPE side and already included in the quote. Quote details shows it as Fee.                                          |
| **Venue and route costs** | A pool or routing path may have its own charges. Extra hops can change the resulting amount.                                                                                |
| **Network fee**           | The cost of submitting a transaction on Elysium ([how Elysium fees work](https://elysium.kinetiq.xyz/docs/blocks-fees-and-ordering)). It is distinct from the platform fee. |
| **Bridge costs**          | A funding route may have separate provider and network costs. Review its quote independently from a spot trade.                                                             |

## Current fees

HyperFlow charges a **0.5%** platform fee on each trade. A trader who joined through a referral link pays 20% less (**0.4%**). The referrer receives **20%** of the fee their referrals pay, or **50%** for a partner. A referral link counts only if you open it before your first trade.

The referral discount applies to the platform fee, not to the trade principal, price impact or every network cost. The referral share is a share of platform fees, not a share of someone's trading volume.

## Referral workflow

The Referrals page shows your invite link, referral code, the traders who joined through it and what you earned. Rewards accrue from every fee your referrals pay, and you can claim them any time from that page.