Skip to main content

Module pricing

Module pricing 

Source
Expand description

Quadratic pricing with a baseline floor for ant-node (Phase 1 recalibration).

Formula: price_per_chunk_ANT(n) = BASELINE + K × (n / D)²

This recalibration introduces a non-zero BASELINE so that empty nodes charge a meaningful spam-barrier price, and re-anchors K so per-GB USD pricing matches real-world targets at the current ~$0.10/ANT token price. The legacy formula produced ~$25/GB at the lower stable boundary and ~$0/GB when nodes were empty — both unreasonable.

§Parameters

ConstantValueRole
BASELINE0.00390625 ANTPrice at empty (bootstrap-phase spam barrier)
K0.03515625 ANTQuadratic coefficient
D6000Lower stable boundary (records stored)

§Design Rationale

  • Empty / lightly loaded nodes charge the BASELINE floor, preventing free storage and acting as a bootstrap-phase spam barrier.
  • Moderately loaded nodes add a small quadratic contribution on top.
  • Heavily loaded nodes charge quadratically more, pushing clients toward less-loaded nodes elsewhere in the network.

Functions§

calculate_price
Calculate storage price in wei from the number of close records stored.