Original issue description, replaced by @rvagg comment below
Context
From the Pricing Proposal review (Apr 28–29, 2026):
Hugo: "all of this will change the current Costs api"
Rod: "In all of this there will be SDK work; which may end up being the hardest part of implementation (floor-price-while-zero-data contract problem is the second most complicated bit). Costs API was hard enough with the simple pricing, this will take a lot of care and thought and we might need to add some fuzz to our language and the things we return and give access to pricing schedules (which we should surface from the contracts)."
The pricing model is moving from a single floor + creation fee to a layered structure that the SDK / Costs API needs to expose cleanly — including the new per-operation gas fee paid by the user.
Scope
- Surface the on-contract pricing schedule so SDK consumers can read upcoming pricing (depends on filecoin-services#466)
- Differentiate fee components in the Costs API response:
- Sybil fee (client-paid, currently 0.1 USDFC)
- SP gas-cover fee on
createDataSet (~$0.00112) — the per-operation fee originally scoped here
- Recurring per-data-set floor ($0.06/mo today)
- Per-piece add / delete fees
- Handle floor-price-while-zero-data semantics (drawing from escrow against an empty data set)
- Token-decimal aware floor — 6-decimal ERC20s like axlUSDC truncate the current $0.06/mo floor to 0 (separate pricing decision ticket coming)
- Add fuzz/flexibility to the API language and returned shapes so future pricing tweaks don't require breaking changes
Related
Owner
Rod (assigned) — Hugo on SDK side
Original issue description, replaced by @rvagg comment below
Context
From the Pricing Proposal review (Apr 28–29, 2026):
The pricing model is moving from a single floor + creation fee to a layered structure that the SDK / Costs API needs to expose cleanly — including the new per-operation gas fee paid by the user.
Scope
createDataSet(~$0.00112) — the per-operation fee originally scoped hereRelated
Owner
Rod (assigned) — Hugo on SDK side