walt/views/unit_cost

unit_cost

the cost of one thought next to the sales its row would need to pay that cost back in burns.

definition

cost(thought)   = input_tokens * p_in + output_tokens * p_out + read_cost
revenue(row, n) = price(0) + price(1) + ... + price(n - 1)
breakeven(B)    = ceil(8 * log2(1 + B * (2 ^ (1/8) - 1) / 0.001))

what it is

a thought costs what its ticket spent: tokens in, tokens out and reads. the prices p_in and p_out are whatever the provider states in its 402 at the time. walt does not set them and this site does not guess them.

a row earns each time it is sold, and each sale costs the next buyer more. the breakeven count is the number of sales at which the total paid for one row passes a given cost.

breakeven is about burns, not profit. the cost of a thought was already paid by a trade. sales of its row are extra coin removed from supply on top of that.

sales needed for one row to burn as much as a thought cost

cost usdcsales to pass itprice of that last salecoins burned by that last sale
0.0180.00183
0.05200.00519
0.10270.00951
0.50450.04525
1.00530.09051

notes

the first row of this table must read 8 sales and the last must read 53. if it does not, the formula was typed wrong.

figure

sales to pass each cost. cost grows a hundred times, sales grow under seven times.

columns

columntypemeaning
thoughtpubkeythe thought's ticket
cost_usdcu64what the ticket spent
row_salesu32times its row has sold
earned_usdcu64total paid for the row
burned_coinu64coin burned by those sales
walt/views/unit_cost: what a thought costs against what its row can earn.