docs: follow-ups on the HTTPS outcalls pricing pages - #398
Merged
Merged
Conversation
marc0olo
force-pushed
the
docs/outcalls-pricing-followups
branch
2 times, most recently
from
September 17, 2026 09:34
17141ba to
ff0bde4
Compare
Wording and one table, no new behavior documented: - the version 2 cost table carried only the base and delivery terms, so the usage fee was invisible to anyone pricing a call from it - the 13 dividing transform_instructions is the reference subnet size the fees are calibrated against, not the node count - the mutating-method rule belongs with the modes, not in the lead - flexible outcalls do run on a local replica; say what a local run does not exercise - Motoko is a language purpose-built for ICP, not a CDK
marc0olo
force-pushed
the
docs/outcalls-pricing-followups
branch
from
September 17, 2026 09:37
ff0bde4 to
cb8f82d
Compare
marc0olo
marked this pull request as ready for review
September 17, 2026 10:05
eichhorl
approved these changes
Sep 17, 2026
- round-trip time does not dominate: it is capped at 234M cycles on a 13-node subnet, while a maximal transform costs 5B and delivering a 2MB response 19B - drop the local node count from the flexible testing note; it read as a contradiction next to "the local replica runs a single node"
Member
Author
|
Feedback addressed:
|
eichhorl
approved these changes
Sep 17, 2026
lwshang
approved these changes
Sep 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-ups on #254. Wording and one table; no behavior change.
references/cycle-costs.md13dividingtransform_instructionsis: the reference subnet size the fees are calibrated against, not the node count.guides/backends/https-outcalls.mdxPUT/DELETE/PATCHconditions move from the opening paragraph into a row of the modes table.send_http_flexibleto the upstream provenance comment.concepts/https-outcalls.mdCall.httpRequestwarning with a pointer to the guide, which is where someone writing the call reads it.Verification
rs/https_outcalls/pricing/src/fees.rsat4be965e1(the replica elected by proposal 143907) and cross-checked against the six totals that file's own tests assert. The 34-node column is the same formulas atn = 34:http_request_fee_v2adds no subnet-size scaling of its own. The rows are what a call settles at, not whatic0.cost_http_request_v2reserves.rs/types/types/src/canister_http.rs(DeterministicResponseCountRequired).send_http_flexiblewas run on a local network with icp-cli 1.5.0 and returned all five responses it asked for.npm run buildpasses.