Skip to content

docs(turbo): one vocabulary for the three charges, shared with the Console - #151

Open
vilenarios wants to merge 2 commits into
mainfrom
docs/turbo-fee-language
Open

vilenarios wants to merge 2 commits into
mainfrom
docs/turbo-fee-language

Conversation

@vilenarios

Copy link
Copy Markdown
Contributor

Three fixes to Paying for Uploads, all checked against the live payment service today rather than restated from the page.

1. The 35% had no base

"Top Up Fee Percentage: 35%" reads as easily as "$100 costs $135" as it does "$100 buys $65 of credits". It's the second one — the fee comes out of the payment. The page now says so and gives the worked figure, and the table column is "35% of the amount paid".

We hit the same ambiguity in the ar.io Console last week, where it was worse: the Settings panel called that share of the price a "+35% premium vs raw Arweave", which states a margin as if it were a markup. The markup is nearer 54%. Fixed there in ar-io/ar-io-console#110.

2. ARIO really is free, and the page undersold it

Verified: every currency quotes operator: "multiply", operatorMagnitude: 0.65 except ARIO, which quotes fees: [].

  • 1,000 ARIO → 0.311 credits.
  • Those credits are worth $1.384 at AR's market price — exactly what 1,000 ARIO is worth at market.
  • The same $1.384 paid by card buys 0.202 credits, 35% less.

So paying in ARIO buys about 1.5x the storage (1/0.65), which the page now states.

3. Two listed top ups the service refuses

base-ario and polygon-usdc both answer HTTP 400, "The currency type is currently not supported by this API!". The tables listed both, so:

  • Base row: ARIO removed (ETH and USDC remain).
  • Polygon row: USDC removed (POL remains).
  • Fee table: "ARIO (Solana or Base)" → "ARIO (Solana)".

turbo-sdk dropped base-ario in 1.42.0-alpha.8 and the Console withdrew both from selection at the same time, so this matches what's shipping.

Checked and left alone

  • The per-item fee is correct. $0.00002 per item matches perDataItemFeeWinc valued at AR's market price, and it holds across AR price moves: the winc figure was 7,662,836 a few days ago and 4,494,383 today, and both come to $0.00002.
  • The free-tier figures are correct. The upload service reports 107,520 bytes per item (105 KiB), a 10 MiB lifetime allowance and a matching per-subnet allowance.

Out of scope

content/build/guides/using-turbo-in-a-browser/nextjs.mdx:602 still lists "polygon-usdc" as a token type. That one describes the SDK's type union rather than what the service accepts, so I left it; worth a look if the type has been dropped too. Generated files (llm.txt, the SDK API pages) also mention it and should be picked up by their generators.

Validation

Content-only change to one MDX file. No links added or changed, so check-links has nothing new to resolve. No install or build run.

🤖 Generated with Claude Code

The fee table gave a percentage with no base. "35%" reads as easily as
"$100 costs $135" as it does "$100 buys $65 of credits", and it is the
second one: the fee comes out of the payment.

Verified against the live payment service rather than restated: every
currency quotes `operator: multiply, operatorMagnitude: 0.65` except ARIO,
which quotes no fee at all. 1,000 ARIO converts to 0.311 credits, worth
exactly 1,000 ARIO at market — hence the 1.5x, which is 1/0.65.

The token tables also list two top ups the service refuses. Both
`base-ario` and `polygon-usdc` answer "The currency type is currently not
supported by this API!" with HTTP 400, so ARIO is Solana-only for now and
Polygon takes POL alone. The ar.io Console withdrew the same two from
selection when turbo-sdk dropped base-ario in 1.42.0-alpha.8.

The per-item fee and the free-tier figures were checked and are correct:
$0.00002 per item matches `perDataItemFeeWinc` valued at AR's market
price, and the free tier is 107,520 bytes per item with a 10 MiB lifetime
and per-subnet allowance.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@vilenarios
vilenarios requested a review from a team as a code owner September 21, 2026 17:54
…nsole

Following review of the Console side: the two surfaces described the same
pricing with different words and different bases, which is how a reader
ends up believing there are more charges than there are.

There are three, so the section now names them and nothing else: the
storage rate for the bytes, the per-item fee for each item, the
infrastructure fee taken out of each top up. The Console's Upload Pricing
panel uses those same three names.

Each figure is now quoted on the base it is charged on, which was the
missing half everywhere. The fee is a share of the payment, so it gets the
payment as its base and a worked $100 example. The per-item fee is pegged
in dollars but floats in credits, so it keeps the dollar figure, says the
peg is against AR's market price, and points at `perDataItemFeeWinc` for
the live value rather than printing a credits number that goes stale within
days — 7,662,836 winc last week, 4,494,383 today, both $0.00002.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@vilenarios vilenarios changed the title docs(turbo): say the top-up fee is inclusive, and fix the token tables docs(turbo): one vocabulary for the three charges, shared with the Console Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant