Skip to content

docs(cost): price Class B reads by live-tail length - #443

Open
baer wants to merge 2 commits into
mainfrom
fix/cost-estimate-tail-gets
Open

baer wants to merge 2 commits into
mainfrom
fix/cost-estimate-tail-gets

Conversation

@baer

@baer baer commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

What & why

The cost model called Class B reads "typically minor" and quoted about $16/mo for the M profile, which holds only for an empty tail. Every read and write also GETs each live tail entry (request-counts.json), so the model now prices Class B by tail length and states that baerly cost projects Class A only.

Key points

  • M profile recomputes to about $190/mo all-in, ranging from about $16 (empty tail) to about $364 (tail 64).
  • The $190 figure assumes a mean tail of half the fold trigger (32); that mean is an assumption, not a measurement.
  • Removed the "L ~$1,500" line: L-size is not defined in the repo and the number could not be derived.
  • No CLI change: baerly cost has no Class B arithmetic to correct.

Verification

| pnpm verify:agent | clean |

baer added 2 commits November 25, 2026 13:59
The cost model called Class B reads "typically minor" and quoted ~$16
for the M profile. That is the empty-tail case: every read and write
also GETs each live-tail entry (request-counts.json: a read is 2 GETs at
tail 0 and 52 at tail 50; a write is 5 + tail).

Add a Class B section with the tail-aware formula and its assumptions
(fold trigger 64 on Workers Paid and Node, 20 on cf-free; mean tail about
half of it), recompute the M profile (~$190, range ~$16 to ~$364), and
fix the comparison rows that depended on it. State that `baerly cost`
projects Class A only. No code change.
Use steady-state GET counts including the terminating tail probe and
recalculate the illustrative monthly costs. State the successful-fold
assumptions behind the mean tail and avoid presenting the trigger as a cap.

Validated formatting, documentation links, taxonomy, and Mermaid blocks.

This branch has not been deployed

No deployments
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