🔌 API & Developers

Hyperliquid API Write Priority Fees: Set the p Grouping Rate for IOC and ALO Orders

⚠️ Disclosure: Some links on this page are affiliate links. If you sign up through them, I may earn a commission — at no extra cost to you.
Hyperliquid’s documented order, or write, priority fee is set with a grouping value of the form {"p": 12345}. The number p is interpreted as a fraction: p / 100000000.0. For example, p = 80000 is 8 basis points, or 0.08%.

The fee is charged from your undelegated staking balance. For IOC orders, it is calculated as a fraction of the filled notional. For ALO orders, it is calculated as a fraction of the resting notional and is deducted when the order is placed, regardless of whether the order fills. The priority gas is converted to HYPE using the spot mark price, and order priority fees are burned.

This article is based on Hyperliquid’s public priority fees documentation, accessed 2026-11-26.

This article includes a Hyperliquid referral link. If you sign up through it, a commission or referral reward may be earned.

Which orders support priority grouping

The docs say priority grouping is supported only when both conditions are true for the order action:

  1. Every order is on a non-outcome asset.
  2. Every order is IOC, or every order is a non-reduce-only ALO.
If you are building the order action itself, see the separate reference on Hyperliquid API Limit Order TIF: Gtc, Ioc, and Alo.

How to express the priority rate

Use the documented grouping value:

{"p": 80000}

The rate is p / 100000000.0.

Priorityp valueFraction
000%
1 bp100000.01%
8 bps800000.08%
100%100000000100%
The maximum priority rate is 100%.

What balance is charged

Order priority fees are charged from undelegated staking balance, not from the spot balance used for gossip priority bids.

The charge is not a fixed per-request API fee. It is a rate applied to notional:

The charged priority gas is converted to HYPE using the spot mark price.

Example calculations:

Priority: p = 80000 = 8 bps Priority fee: $10,000 × 80,000 / 100,000,000 = $8 Priority: p = 10000 = 1 bp Priority fee: $25,000 × 10,000 / 100,000,000 = $2.50, deducted when the order is placed.

IOC priority behavior

For IOC orders, the docs describe a linear effect on end-to-end latency from 0 to 8 bps. The current empirical effect reported for mainnet is approximately 45 ms reduction in end-to-end latency per 1 bp of priority fee paid.

Key IOC rules:

The docs model this as an effective sort time:

effective_time = arrival_time + f(action, priority_fee)

where f is a strictly decreasing function of priority fee, and zero for prioritized actions such as cancels.

💡 Hyperliquid

Like what you're reading? Try it yourself — this link supports ChartedTrader at no cost to you.

Create a Hyperliquid account (4% fee discount on first $25M of volume; Vaults and sub-accounts excluded) →
🎁 You receive: 4% fee discount on first $25M volume · per account, lifetime

The paid IOC priority fee can be read from the user_fills file written by nodes as the priorityGas field.

ALO priority behavior

ALO priority works on a 400 ms timescale. At each price level, the tail of the queue consisting of orders placed within the past 400 ms is sorted in decreasing order of priority rate.

Important ALO rules:

In practical terms, ALO priority is about queue placement after the transaction is executed, not about making the order transaction itself move ahead in the mempool.

Gossip read priority works separately

Gossip priority applies only to reading data. Order priority applies only to sending data.

The docs describe three independent Dutch auctions synced to the same 3-minute schedule. Lower auction indices are strictly prioritized over higher indices. The priority ordering affects both split client blocks and normal client blocks that include responses.

Gossip auction details:

To participate, users send the documented action:

{
  "type": "gossipPriorityBid",
  "slotId": 0,
  "ip": "1.2.3.4",
  "maxGas": 100000000
}

maxGas is in wei, where wei is 0.00000001 HYPE. Gossip priority fees are charged from the spot balance and burned. Each auction resets to 10 times the previous winning price for that slot, with a minimum price of 0.1 HYPE. Any address may bid on behalf of any IP address.

Current auction status and previous winners can be queried with:

{
  "type": "gossipPriorityAuctionStatus"
}

Practical checklist

Create an account

If you want to test priority fees, you can create a Hyperliquid account. This is a referral link; if you sign up, a commission or referral reward may be earned.

Sources

Continue with Hyperliquid

Browse the Hyperliquid guide hub for the complete user journey.

🧮 Free Hyperliquid calculators

Fee Calculator →
Hyperliquid vs centralized exchange fee comparison
PnL & Liquidation →
Perp PnL + liquidation price
Position Size →
Risk-aware position sizing for HL perps
Hyperliquid

Ready to get started? Use the link below — it helps support ChartedTrader at no cost to you.

Create a Hyperliquid account (4% fee discount on first $25M of volume; Vaults and sub-accounts excluded) →
🎁 You receive: 4% fee discount on first $25M volume · per account, lifetime
📈

About the author

I'm a systematic trader running live strategies on IB (USDJPY momentum) and Hyperliquid (crypto perps). Questions? Reach out.

📚 Related Articles

🔌
API & Developers

Hyperliquid API Limit Order TIF: Gtc, Ioc, and Alo in the Order Action (2026)

How Hyperliquid limit orders encode TIF in the exchange endpoint: Gtc has no special first-hit behavior, Ioc cancels the unfilled part, and Alo cancels instead of matching.

November 13, 2026 ⏱ 3 min read
📖
Guides

Hyperliquid Hypercore Order Book Explained (2026)

How Hyperliquid's Hypercore order book works: on-chain order state, price-time priority, tick and lot sizing, maker/taker impact, and slippage basics.

July 23, 2026 ⏱ 7 min read
🔌
API & Developers

Hyperliquid twapOrder and twapCancel API: POST /exchange Fields and Responses

Reference for Hyperliquid twapOrder and twapCancel actions on POST /exchange: request fields, response shapes, and how twapOrder differs from the regular order action.

November 17, 2026 ⏱ 5 min read