Skip to content

Conversation

@oggy-dfin
Copy link
Contributor

This PR describes the interface for the new, finer grained pricing model for HTTP outcalls, which should enable lowering the costs of outcalls by around 4x on average.

@github-actions github-actions bot added the interface-spec Changes to the IC Interface Specification label Oct 6, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Oct 6, 2025

🤖 Here's your preview: https://h6x2v-daaaa-aaaam-aenha-cai.icp0.io

@oggy-dfin oggy-dfin marked this pull request as ready for review October 6, 2025 15:31
@oggy-dfin oggy-dfin requested review from a team as code owners October 6, 2025 15:31
@oggy-dfin oggy-dfin requested a review from mihailjianu1 October 6, 2025 15:32
github-merge-queue bot pushed a commit to dfinity/ic that referenced this pull request Nov 7, 2025
…est args (#7447)

This PR adds the price version, as described in
dfinity/portal#6101 to the management canister
`http_request` endpoint.

This PR also persists the version in the replicated state. In the future
that will be used to determine which pricing strategy should be applied.

The flag is a candid opt nat32, which, if missing, defaults to "1",
which corresponds to the "current" pricing. Similarly, if set to "2",
the flag will default back to 1, as version 2 is not implemented yet.

In the future, we will support pricing_Version = 2, which corresponds to
the "pay-as-you-go" pricing.

---------

Co-authored-by: kpop-dfinity <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

interface-spec Changes to the IC Interface Specification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants