{"slug":"perp-cost-slope","title":"Perp DEX cost invariance: all-in bps at $1M vs $1k, live slope ranked","subtitle":"Ratio of all-in opening cost at $1,000,000 vs $1,000 notional, per venue per asset. A venue with flat cost at every size scores 1.00. A deeper book scores closer to 1.00 than a thin one. Oracle-priced venues (no orderbook to walk) always score 1.00 by construction.","category":"Trading","metric":"Cost slope ($1M / $1k)","unit":"x","status":"live","higherIsBetter":false,"filters":null,"value":1,"leader":{"name":"gains.trade","slug":"gains","value":1},"rankings":[{"name":"gains.trade","slug":"gains","ms":{"p50":1,"p90":1,"p99":1,"mean":1},"successRate":100,"sampleSize":5760},{"name":"GMX v2","slug":"gmx","ms":{"p50":1,"p90":1,"p99":1,"mean":1},"successRate":99.6528,"sampleSize":5760},{"name":"edgeX","slug":"edgex","ms":{"p50":1.09815,"p90":1.00812,"p99":1.00305,"mean":1.09815},"successRate":100,"sampleSize":5760},{"name":"Hyperliquid","slug":"hyperliquid","ms":{"p50":1.11852,"p90":1.01839,"p99":1.0034,"mean":1.11852},"successRate":100,"sampleSize":5760},{"name":"Aster","slug":"aster","ms":{"p50":1.30622,"p90":1.05977,"p99":1.00679,"mean":1.30622},"successRate":100,"sampleSize":5760},{"name":"Extended","slug":"extended","ms":{"p50":1.32524,"p90":1.04312,"p99":1.00886,"mean":1.32524},"successRate":100,"sampleSize":5760},{"name":"dYdX v4","slug":"dydx","ms":{"p50":2.60143,"p90":1.58727,"p99":1.13561,"mean":2.60143},"successRate":100,"sampleSize":5760},{"name":"Lighter","slug":"lighter","ms":{"p50":5.26609,"p90":1.94116,"p99":1.22339,"mean":5.26609},"successRate":100,"sampleSize":5640}],"sparkline":[4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333,4.33333],"sampleSize":45960,"asOf":"2026-08-03T21:39:51.844Z","headline":"gains.trade leads cost slope ($1m / $1k) at 1.000x (p50, 24h) on Perp DEX cost invariance: all-in bps at $1M vs $1k, live slope ranked.","quote":"gains.trade leads cost slope ($1m / $1k) at 1.000x (p50, 24h) on Perp DEX cost invariance: all-in bps at $1M vs $1k, live slope ranked. Source: OpenChainBench (https://openchainbench.com/benchmarks/perp-cost-slope).","cite":{"plain":"OpenChainBench. \"Perp DEX cost invariance: all-in bps at $1M vs $1k, live slope ranked\". Retrieved 2026-08-03. https://openchainbench.com/benchmarks/perp-cost-slope","bibtex":"@misc{ocb_perp_cost_slope,\n  author = {OpenChainBench},\n  title  = {Perp DEX cost invariance: all-in bps at $1M vs $1k, live slope ranked},\n  year   = {2026},\n  url    = {https://openchainbench.com/benchmarks/perp-cost-slope},\n  note   = {Retrieved 2026-08-03}\n}","apa":"OpenChainBench. (2026). Perp DEX cost invariance: all-in bps at $1M vs $1k, live slope ranked. Retrieved August 3, 2026, from https://openchainbench.com/benchmarks/perp-cost-slope","ris":"TY  - GEN\r\nAU  - OpenChainBench\r\nTI  - Perp DEX cost invariance: all-in bps at $1M vs $1k, live slope ranked\r\nPY  - 2026\r\nUR  - https://openchainbench.com/benchmarks/perp-cost-slope\r\nY2  - 2026-08-03\r\nER  - \r\n"},"pageUrl":"https://openchainbench.com/benchmarks/perp-cost-slope","ogImage":"https://openchainbench.com/api/og/perp-cost-slope","source":"https://github.com/ChainBench/OpenChainBench/tree/main/harnesses/perp-fees","methodology":["Cadence: derived in PromQL from perp_fees_all_in_bps_tier, refreshed every 5 minutes by the perp-fees harness (bench 007).","Cost slope = avg_over_time(all_in_bps_tier{notional=1000000}[24h]) / ignoring(notional) avg_over_time(all_in_bps_tier{notional=1000}[24h]) per venue per asset. A ratio of 1.00 means flat cost across sizes.","Oracle-priced venues (gains.trade, GMX v2): the fee is a flat percentage of position size with no orderbook. The $1M all-in equals the $1k all-in in bps exactly, so slope = 1.00 always.","Orderbook venues (Hyperliquid, dYdX, Lighter, Extended, Aster, edgeX): the $1M tier walks deeper into the book than the $1k tier, so the spread component grows and slope > 1.00.","Missing $1M tier: when the visible book cannot absorb $1M the harness skips the tier and increments perp_fees_tier_skipped_total rather than extrapolating. The slope PromQL returns no data for that venue, shown as N/A in the leaderboard.","Fill-rate panel: count_over_time(tier{notional=1000000}[24h]) / ignoring(notional) count_over_time(tier{notional=1000}[24h]) per venue per asset. 1.00 = tier always filled; 0.50 = tier filled half the time; 0.00 = tier never filled.","Chain tabs: the board is scoped per asset (ETH, BTC, SOL) because book depth differs significantly across assets and cross-asset averaging obscures the signal.","Failures and stale data: inherited from the perp-fees harness. A venue that errors keeps its last gauge and its health drops to 0."],"license":"CC-BY-4.0"}