MeowQuant is an independent third-party information site, not the official OKX. This site contains affiliate links, and we may earn a fee from them. Full disclosure →

OKX · Fees

How OKX Fees Are Calculated + How Much the OK30001 Invite Code Saves (Run the Numbers)

People who do quant are far more fee-sensitive than the average trader. The reason is simple: you place a lot of orders. A grid can fill dozens of times a day, and a strategy run over a month adds up to no small sum in fees. A fee gap that looks trivial, applied across high frequency, can directly decide whether a strategy wins or loses.

So this piece is us — the MeowQuant desk — breaking OKX's (also written OKEx) fees out clearly: how it charges, where maker and taker differ, where the fee tier comes from, what the invite-code discount really is (spoiler: it isn't taken off when you trade; it's paid back afterwards as cashback), and finally a worked example to let you feel how much you can save. We write none of the rate numbers in stone — OKX adjusts them with the market, and the specifics go entirely by what the official site currently publishes; this article only covers the math and the logic.

The basic fee structure

OKX's trading fee is, at its core, charged as a percentage of your fill amount. That percentage is jointly determined by two dimensions:

  • Whether you're the maker or the taker (maker / taker) — within the same tier, these two numbers are usually different.
  • Which fee tier you're in — the higher the tier, the lower both numbers.

Also keep two separate systems straight: spot and contract rates are separate, with different numbers, and contracts also have extra costs like the funding rate. To keep things clear, this article focuses on spot only — which is also the part a beginner should understand first. Contracts carry leverage and high risk; we cover them separately later and won't touch them here.

The difference between maker (limit) and taker (market)

This is the pair of concepts to understand first in fees, because it directly affects your cost and is strongly tied to how you place orders.

  • Maker (limit-order side): you place a limit order that won't fill immediately, it enters the order book and waits for someone to fill it. You provided liquidity to the market, so the exchange gives you a better rate.
  • Taker (market-taking side): your order fills immediately against existing orders in the book — a market order, say, or a limit order priced to match right away. You "took away" liquidity, so the rate is usually higher.

The general rule is the maker rate is lower than the taker rate (OKX's fee rules explainer says the same). For quant this has a very practical meaning: a strategy like a grid, which places lots of limit orders and waits for fills, leans naturally toward maker, so its cost structure is cheaper than a strategy that frequently enters and exits with market orders. Conversely, if your strategy needs to chase price and must fill immediately, it mostly goes taker, with higher cost, and you have to factor this in when designing the strategy. The exact figures for the two rates go by what OKX's site currently publishes.

Where the fee tier comes from

Why does someone have a lower rate than you? Because rates are tiered. Under OKX's fee framework announcement, the tier is set by your asset balance or your 30-day trading volume, whichever qualifies; holding OKB doesn't affect it, and OKX doesn't currently offer OKB fee deductions:

FactorHow it affects the rateThe reality for ordinary users
30-day trading volumeThe higher the volume, the higher the tier, the lower the maker/taker rateOrdinary people don't trade much, mostly sit at the base tier
Asset balanceAn asset balance that meets the threshold also gets you a lower rate tierThe threshold is set by asset value; beginners usually don't reach it
VIP / pro userMeet higher thresholds to enter a better rate layerMostly whales or institutions; beginners can't reach it

The conclusion is clear: when you're starting out, volume doesn't climb and your asset balance doesn't reach the threshold, so the account sits at the base tier. Precisely because everyone starts at the base tier, the discount an invite code brings becomes meaningful — it's a rare cost break ordinary users can get without piling on volume.

What the invite-code discount really is

Here we have to clear up an easy misconception. Hearing "invite code discount," it's easy to assume the rate drops the moment you place an order. That's not how it's paid out:

An account registered with an invite code is still charged at its own fee tier on every order; the discount comes back afterwards as cashback to your funding account, listed as Activity rewards in the bill.

In other words, it doesn't make the fee smaller at the moment you trade; you pay the normal rate first and part of it is returned later. The result is saving money either way, but the payout works differently: your trade history still shows your tier's normal rate, and to check the discount you look for Activity rewards in your funding account bill. Understanding this also avoids getting fooled by exaggerated "invite code earns X a month" claims. We'll only state the facts: register with OK30001 and your fills earn the corresponding fee cashback, API orders included. We don't promise any specific cashback figure, and the actual percentage goes by OKX's current rules.

Run the numbers (example)

Concepts alone don't land, so let's walk the logic with a set of example numbers. Note: the rates below are example values set casually to demonstrate the math, not OKX's real rates — for real rates, go by the official site.

Suppose: you do spot, with a cumulative monthly fill amount of 100,000 USDT (buys and sells combined), most of it grid limit orders (maker). And suppose, under some example rate, the standard maker is 0.08%; with the invite code you're still charged 0.08% on each order, and the part paid back afterwards brings your effective cost to 0.06% (purely example numbers). Then:

ItemWithout invite code (example)With OK30001, after cashback (example)
Monthly fill amount100,000 USDT100,000 USDT
Example effective maker cost0.08%0.06% (charged 0.08% up front)
Net fees that month≈ 80 USDT≈ 60 USDT
Paid back that month—≈ 20 USDT

See the trick? The larger the fill amount and the more frequent the orders, the more that percentage gap gets amplified. For someone who buys a lot occasionally and holds it, the fee difference is nearly negligible; but for a quant strategy doing hundreds of thousands or millions in monthly fills, that gap adds up to no small sum over a year. Once more, all the numbers above are examples, only to illustrate the math — your real rate goes by what OKX's site currently publishes.

Work out your own numbers on the tools page

Rather than plug into our example, plug in your own numbers. Our tools page has a fee + rebate discount calculator, front-end only and collecting none of your data: enter your estimated monthly trading volume and your current tier's rate (copy it from OKX's "Fees" page), and it estimates your rough fees and the difference before and after the discount. What that gives you is numbers close to your real situation.

If you run a grid, that calculation needs a bit more detail — grid count, range, and trigger frequency all affect the actual number of fills, which in turn affects fees. Pair this with our grid parameter estimator to see "how much grid profit you can earn" and "how much fee you'll pay" side by side, so you know whether the parameters are actually worth it.

Cross-checking against the dashboard rates

📋 Cross-check the dashboard
Once logged in, go to the "Fees / My Level" page to cross-check: the page shows the current spot maker and taker rates and the tier the account is in. Copy those two numbers verbatim into the fee calculator on the tools page, enter an assumed monthly fill amount, run it, and the fee it computes should match what you work out mentally by percentage. Here we deliberately don't write specific rate numbers into the article — because OKX adjusts them, and writing them in stone would only mislead later readers. To see your own real rates, follow this path to the dashboard: log in → Fees / My Level page.

On cost and risk

One last reminder not to put the cart before the horse: fees are an important part of cost, but they're not the only thing deciding whether you make money, and saving more on fees doesn't mean earning more. A losing strategy loses no matter how much fee it saves; padding volume to chase a higher fee tier and "earn the fees back" is usually not worth it.

Risk warning: Crypto prices are highly volatile, and your principal can shrink sharply or even go to zero. A fee discount only lowers trading cost and does not guarantee any profit; quant, bots, and copy trading likewise don't guarantee profit; contracts and leveraged trading can lead to a 100% loss of principal. The rates in this article are examples or go by the official site, and it is not investment advice of any kind. Use only spare money you can afford to lose entirely, and comply with the laws where you live.

FAQ

Which has the lower fee, maker or taker?

Generally the maker (limit-order side) has a lower rate than the taker (market-taking side), because placing a limit order provides liquidity to the market and exchanges usually give it a better rate. So a strategy that places lots of limit orders, like a grid, is naturally cheaper than one that frequently takes with market orders. The exact figures for the two rates go by what OKX's site currently publishes.

Is the invite-code discount taken off at the moment I trade, or paid back afterwards?

It's paid back afterwards. An account registered with an invite code is still charged at its own fee tier on every order; the discount comes back later as cashback to your funding account, listed as Activity rewards in the bill. In other words, nothing is shaved off at the moment you trade; part of the fee is returned afterwards. We don't promise any specific cashback figure, and the actual rules go by what OKX currently publishes.

How is the fee tier determined?

OKX sets your fee tier by either your asset balance or your 30-day trading volume; meeting the threshold on either one gets you that tier, and the higher the tier, the lower the rate. Holding OKB doesn't affect your tier, and OKX doesn't currently offer OKB fee deductions. Most ordinary users sit at the base tier, and that's when the invite-code discount is more meaningful. The exact tier criteria go by OKX's official site.

Are spot and contract fees the same?

No. Spot and contract are two separate rate systems with different numbers, and contracts also involve extra costs like the funding rate. This article's examples are spot only. Contracts carry leverage and far higher risk; in the beginner stage we suggest getting spot and its costs straight first, rather than touching contracts right away. The exact rates go by what OKX's site currently publishes.

Do high-frequency place-and-cancel orders rack up a lot of fees?

Placing orders without filling usually isn't charged; the fee is generally only taken at the moment of a fill. But what high-frequency strategies really need to worry about is interface rate limits and slippage, not placing and cancelling itself. Also, under different rate systems the maker rate on filled limit orders may differ by your tier, so check the rules for your tier before running high-frequency.

Are API orders and web orders charged the same fee?

The same. Fees are split by your account tier and maker/taker, independent of whether you order via web, app, or API. For an account registered with an invite code, orders placed via the API enjoy the same discount. If you want to run scripts, rest assured the cost won't go up just because you go through the API.

Once costs are clear, what's next is actually placing orders. To run strategies via the API, read the API quant intro; not registered yet, walk the full registration guide; torn between OKX and Binance, read OKX or Binance for quant. Get the numbers straight first, then talk strategy — that's the basics of quant.

invite_codes.env1