iToverDose/Software· 17 JUNE 2026 · 08:05

Open-source crypto fee tiers reveal hidden trading cost savings

A new open-source dataset exposes Binance and OKX fee structures for 2026, offering traders a way to automate accurate cost calculations and avoid costly discrepancies in backtesting and live trading.

DEV Community4 min read0 Comments

Traders and developers working with Binance or OKX often face a frustrating challenge: the exchanges publish fee schedules as inconsistent HTML tables that update without warning. This lack of reliable, machine-readable data forces many to hardcode static fee values—only to discover later that their simulated profits no longer match reality once live trading begins.

To solve this problem, one developer has released a comprehensive, open-source JSON dataset covering every VIP fee tier for both Binance and OKX as of 2026. The repository includes not only the raw fee rates but also the qualification rules and a simple command-line calculator to help users compute accurate trading costs.

A centralized source of truth for crypto exchange fees

The open-source repository is available at github.com/jack0752168/crypto-exchange-fee-data under the MIT license. It provides a clean, structured dataset for Binance (spot and USD-M futures) and OKX (futures), covering all maker and taker tiers. The data is formatted as JSON with no external dependencies, using only the Python standard library for the included calculator.

Here’s an example of the structure:

{
  "exchange": "Binance",
  "market": "futures",
  "tier": "VIP 2",
  "volume_threshold_usd": 75000000,
  "maker_rate_percent": 0.014,
  "taker_rate_percent": 0.035
}

The rates are expressed as percentages—meaning 0.014 represents 0.014%, or 1.4 basis points—consistent with how exchanges themselves present their fee schedules. This standardization helps prevent common errors where developers mix fractional and percentage representations in their calculations.

Fee structures are more complex than they appear

Many traders assume that the fee rate published in a VIP table is the only factor determining their actual trading cost. In reality, three layers influence the final fee:

  • Base tier rate: Determined by your 30-day trading volume and, in some cases, asset holdings. For Binance, the tier also depends on maintaining a minimum balance of BNB tokens, recalculated daily at 00:00 UTC. OKX, by contrast, allows traders to qualify based on either volume or asset value, whichever is higher—meaning a low-frequency account with significant holdings could still access a high-tier rate.
  • Token-based discounts: Binance offers a 25% reduction on spot fees and 10% on futures when paying with BNB. OKX integrates a similar discount through its OKB token, but it’s applied differently and influences tier qualification directly.
  • Rebates: Affiliate or sub-broker partnerships can return a portion of the fee to the trader. These rebates are multiplicative, stacking on top of the base rate and discounts. Many traders overlook this opportunity entirely, leaving potential savings untapped.

The open-source calculator included in the repository models all three factors. For example, running the command:

python3 calculator.py --exchange binance --market futures \
  --volume 10_000_000 --maker-share 0.7 --rebate 0.4

would compute the blended fee rate for a $10 million monthly futures volume on Binance. The tool reveals how rebates can significantly reduce costs—for instance, a 40% rebate could slash the gross fee from $2,900 to $1,740 per month, with $1,160 returned as a rebate.

One surprising detail highlighted by the data is that the same $10 million monthly volume can land a trader in different tiers depending on the exchange. Binance’s futures tier gate is set at $15 million, so a $10 million volume trader remains in the Regular tier. Meanwhile, OKX’s gate is lower at $10 million, automatically qualifying the trader for VIP 2. This discrepancy underscores the need for fee models to account for exchange-specific rules rather than relying on a shared tier table.

Why accuracy in fee modeling matters

The developer behind this project runs JackTrader, an independent fee-rebate channel for Binance and OKX. They rely on this exact dataset to reconcile rebate statements and ensure their calculations reflect real-world conditions. The repository isn’t just a community resource—it’s also the backbone of their operational accuracy.

For those interested in deeper insights, the project includes three detailed write-ups:

  • A breakdown of Binance’s VIP fee tiers for 2026, including how BNB balance floors affect qualification.
  • An explanation of OKX’s unique assets-or-volume rule and how it differs from Binance’s model.
  • A guide on how sub-broker rebates function without requiring access to trading keys or custody.

These resources help traders understand the nuances that shape their actual trading costs.

Contribute to keep the data current

Exchange fee schedules are revised several times a year, often without notice. To maintain accuracy, the community is encouraged to contribute by submitting pull requests when discrepancies are found. The goal is to keep this dataset as the definitive source of truth, eliminating the need for individual traders or developers to hardcode their own fee assumptions.

If this tool helps you avoid a costly fee miscalculation, consider starring the repository at github.com/jack0752168/crypto-exchange-fee-data to support its ongoing maintenance.

Always verify fee schedules directly with the exchange before placing trades. Rebate percentages are illustrative and subject to platform policies. This project is informational and not financial advice.

AI summary

Binance ve OKX’in 2026 VIP komisyon düzeylerini içeren açık kaynaklı JSON verileriyle ticaret stratejilerinizin gerçek maliyetini hesaplayın. VIP düzeyi, token indirimleri ve iade paylarını kolayca takip edin.

Comments

00
LEAVE A COMMENT
ID #JEVMXM

0 / 1200 CHARACTERS

Human check

9 + 6 = ?

Will appear after editor review

Moderation · Spam protection active

No approved comments yet. Be first.