From dfdf1aef86e2d9fb37e81539c48f0d579bca75b7 Mon Sep 17 00:00:00 2001 From: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com> Date: Wed, 5 Jul 2023 12:32:29 -0500 Subject: [PATCH 1/8] Update gas-cost.md --- docs/developer-docs/gas-cost.md | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/docs/developer-docs/gas-cost.md b/docs/developer-docs/gas-cost.md index 78e52cc50f..c1ea5ac998 100644 --- a/docs/developer-docs/gas-cost.md +++ b/docs/developer-docs/gas-cost.md @@ -23,28 +23,23 @@ If you intend to deploy canisters on high-replication subnets, your canister sho See below for details on the cost of compute and storage transactions as well as management canister calls for new features on the Internet Computer as of December 2, 2022. A thorough example how the cost of running a canister on a 13-node app subnet is computed can be found [here](https://medium.com/@DBOXFoundation/findings-from-calculating-the-cycle-consumption-of-messity-a-universal-example-b2af8dcd3151). -:::info -Regarding transaction fees, the **transaction sender** is responsible for covering any/all transaction fees. -::: - - -| Transaction | Description | Local development ([IC SDK](./setup/index.md)) | 13-node Application Subnets | 34-node Application Subnets | +| Transaction | Description | Who is responsible for paying the transaction fee? | Local development ([IC SDK](./setup/index.md)) | 13-node Application Subnets | 34-node Application Subnets | | ------------------------------------ | ---------------------------------------------------------------------------------------------------------------- | ------------------------------------- | ------------------------------------- | ---------------------------------- | -| Canister Created | For creating canisters on a subnet | 100B / 13 | 100B | 100B / 13 * 34 | -| Compute Percent Allocated Per Second | For each percent of the reserved compute allocation (a scarce resource). | 10M / 13 | 10M | 10M / 13 * 34 | -| Update Message Execution | For every update message executed | 590K / 13 | 590K | 590K / 13 * 34 | -| Ten Update Instructions Execution | For every 10 instructions executed when executing update type messages | 4 / 13 | 4 | 4 / 13 * 34 | -| Xnet Call | For every inter-canister call performed (includes the cost for sending the request and receiving the response) | 260K / 13 | 260K | 260K / 13 * 34 | -| Xnet Byte Transmission | For every byte sent in an inter-canister call (for bytes sent in the request and response) | 1K / 13 | 1K | 1K / 13 * 34 | -| Ingress Message Reception | For every ingress message received | 1.2M / 13 | 1.2M | 1.2M / 13 * 34 | -| Ingress Byte Reception | For every byte received in an ingress message | 2K / 13 | 2K | 2K / 13 * 34 | -| GB Storage Per Second | For storing a GB of data per second | 127K / 13 | 127K | 127K / 13 * 34 | -| GB Storage Per Second | For storing a GB of data per second | 127K / 13 | 127K | 127K / 13 * 34 | +| Canister Created | For creating canisters on a subnet | Sending canister | 100B / 13 | 100B | 100B / 13 * 34 | +| Compute Percent Allocated Per Second | For each percent of the reserved compute allocation (a scarce resource). | Sending canister | 10M / 13 | 10M | 10M / 13 * 34 | +| Update Message Execution | For every update message executed | Sending canister | 590K / 13 | 590K | 590K / 13 * 34 | +| Ten Update Instructions Execution | For every 10 instructions executed when executing update type messages | Sending canister | 4 / 13 | 4 | 4 / 13 * 34 | +| Xnet Call | For every inter-canister call performed (includes the cost for sending the request and receiving the response) | Target canister | 260K / 13 | 260K | 260K / 13 * 34 | +| Xnet Byte Transmission | For every byte sent in an inter-canister call (for bytes sent in the request and response) | Target canister | 1K / 13 | 1K | 1K / 13 * 34 | +| Ingress Message Reception | For every ingress message received | Receiving canister | 1.2M / 13 | 1.2M | 1.2M / 13 * 34 | +| Ingress Byte Reception | For every byte received in an ingress message | Receiving canister | 2K / 13 | 2K | 2K / 13 * 34 | +| GB Storage Per Second | For storing a GB of data per second | Sending canister | 127K / 13 | 127K | 127K / 13 * 34 | +| GB Storage Per Second | For storing a GB of data per second | Sending canister | 127K / 13 | 127K | 127K / 13 * 34 | | | | | | | | _HTTPS outcalls_ | | | | | -| HTTPS outcall (per call) | For sending an HTTPS outcall to a server outside the IC, per message (`http_request`) | 3,060,000 | 49,140,000 | 171,360,000 | -| HTTPS outcall request message size (per byte) | For sending an HTTPS outcall to a server outside the IC, per request byte (`http_request`) | 400 | 5,200 | 13,600 | -| HTTPS outcall response message size (per byte) | For sending an HTTPS outcall to a server outside the IC, per reserved response byte (`http_request`) | 800 | 10,400 | 27,200 | +| HTTPS outcall (per call) | For sending an HTTPS outcall to a server outside the IC, per message (`http_request`) | Sending canister | 3,060,000 | 49,140,000 | 171,360,000 | +| HTTPS outcall request message size (per byte) | For sending an HTTPS outcall to a server outside the IC, per request byte (`http_request`) | Sending canister | 400 | 5,200 | 13,600 | +| HTTPS outcall response message size (per byte) | For sending an HTTPS outcall to a server outside the IC, per reserved response byte (`http_request`) | Sending canister | 800 | 10,400 | 27,200 | Pricing for the **Bitcoin API** is available in the [Bitcoin API documentation](./integrations/bitcoin/bitcoin-how-it-works.md). From b65a753abb8f03975bf557a8c69765719acbdd3e Mon Sep 17 00:00:00 2001 From: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com> Date: Wed, 5 Jul 2023 12:33:21 -0500 Subject: [PATCH 2/8] Update gas-cost.md --- docs/developer-docs/gas-cost.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developer-docs/gas-cost.md b/docs/developer-docs/gas-cost.md index c1ea5ac998..e56e1f6dcd 100644 --- a/docs/developer-docs/gas-cost.md +++ b/docs/developer-docs/gas-cost.md @@ -24,7 +24,7 @@ See below for details on the cost of compute and storage transactions as well as A thorough example how the cost of running a canister on a 13-node app subnet is computed can be found [here](https://medium.com/@DBOXFoundation/findings-from-calculating-the-cycle-consumption-of-messity-a-universal-example-b2af8dcd3151). | Transaction | Description | Who is responsible for paying the transaction fee? | Local development ([IC SDK](./setup/index.md)) | 13-node Application Subnets | 34-node Application Subnets | -| ------------------------------------ | ---------------------------------------------------------------------------------------------------------------- | ------------------------------------- | ------------------------------------- | ---------------------------------- | +| ------------------------------------ | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------- | ------------------------------------- | ------------------------------------- | ---------------------------------- | | Canister Created | For creating canisters on a subnet | Sending canister | 100B / 13 | 100B | 100B / 13 * 34 | | Compute Percent Allocated Per Second | For each percent of the reserved compute allocation (a scarce resource). | Sending canister | 10M / 13 | 10M | 10M / 13 * 34 | | Update Message Execution | For every update message executed | Sending canister | 590K / 13 | 590K | 590K / 13 * 34 | From a391810109b51e7555fbb505a2bb123a960e3e1e Mon Sep 17 00:00:00 2001 From: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com> Date: Wed, 5 Jul 2023 12:42:44 -0500 Subject: [PATCH 3/8] Update gas-cost.md --- docs/developer-docs/gas-cost.md | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/docs/developer-docs/gas-cost.md b/docs/developer-docs/gas-cost.md index e56e1f6dcd..55b8ebcd2a 100644 --- a/docs/developer-docs/gas-cost.md +++ b/docs/developer-docs/gas-cost.md @@ -34,7 +34,6 @@ A thorough example how the cost of running a canister on a 13-node app subnet is | Ingress Message Reception | For every ingress message received | Receiving canister | 1.2M / 13 | 1.2M | 1.2M / 13 * 34 | | Ingress Byte Reception | For every byte received in an ingress message | Receiving canister | 2K / 13 | 2K | 2K / 13 * 34 | | GB Storage Per Second | For storing a GB of data per second | Sending canister | 127K / 13 | 127K | 127K / 13 * 34 | -| GB Storage Per Second | For storing a GB of data per second | Sending canister | 127K / 13 | 127K | 127K / 13 * 34 | | | | | | | | _HTTPS outcalls_ | | | | | | HTTPS outcall (per call) | For sending an HTTPS outcall to a server outside the IC, per message (`http_request`) | Sending canister | 3,060,000 | 49,140,000 | 171,360,000 | @@ -55,22 +54,22 @@ The USD cost for transactions below is based on the above cycle costs. 1 XDR is To derive the estimated cost for a GB Storage per month, we assume a 30 day month. -| Transaction | Description | 13-node Application Subnets | 34-node Application Subnets | -|--------------------------------------|------------------------------------------------------------------------------------------------------------------|---------------------------|-----------------------------| -| Canister Created | For creating canisters on a subnet | $0.130886 | $0.342317 | -| Compute Percent Allocated Per Second | For each percent of the reserved compute allocation (a scarce resource). | $0.0000130886 | $0.0000342317 | -| Update Message Execution | For every update message executed | $0.0000007722274 | $0.0000020196705 | -| Ten Update Instructions Execution | For every 10 instructions executed when executing update type messages | $0.000000000005235 | $0.000000000013089 | -| Xnet Call | For every inter-canister call performed (includes the cost for sending the request and receiving the response) | $0.0000003403036 | $0.0000008900248 | -| Xnet Byte Transmission | For every byte sent in an inter-canister call (for bytes sent in the request and response) | $0.00000000130886 | $0.00000000342267 | -| Ingress Message Reception | For every ingress message received | $0.000001570632 | $0.000004107806 | -| Ingress Byte Reception | For every byte received in an ingress message | $0.00000000261772 | $0.00000000684534 | -| GB Storage Per Second | For storing a GB of data per second | $0.00000016622522 | $0.00000043474178 | +| Transaction | Description | Who is responsible for paying the transaction fee? | 13-node Application Subnets | 34-node Application Subnets | +|--------------------------------------|------------------------------------------------------------------------------------------------------------------|---------------------------|---------------------------|-----------------------------| +| Canister Created | For creating canisters on a subnet | Sending canister | $0.130886 | $0.342317 | +| Compute Percent Allocated Per Second | For each percent of the reserved compute allocation (a scarce resource). | Sending canister | $0.0000130886 | $0.0000342317 | +| Update Message Execution | For every update message executed | Sending canister | $0.0000007722274 | $0.0000020196705 | +| Ten Update Instructions Execution | For every 10 instructions executed when executing update type messages | Sending canister | $0.000000000005235 | $0.000000000013089 | +| Xnet Call | For every inter-canister call performed (includes the cost for sending the request and receiving the response) | Target canister | $0.0000003403036 | $0.0000008900248 | +| Xnet Byte Transmission | For every byte sent in an inter-canister call (for bytes sent in the request and response) | Target canister | $0.00000000130886 | $0.00000000342267 | +| Ingress Message Reception | For every ingress message received | Receiving canister | $0.000001570632 | $0.000004107806 | +| Ingress Byte Reception | For every byte received in an ingress message | Sending canister | $0.00000000261772 | $0.00000000684534 | +| GB Storage Per Second | For storing a GB of data per second | Sending canister | $0.00000016622522 | $0.00000043474178 | | | | | | | *HTTPS outcalls* | | | | -| HTTPS outcall (per call) | For sending an HTTPS outcall to a server outside the IC, per message (`http_request`) | $0.0000643173804 | $0.0002242862496 -| HTTPS outcall request message size (per byte) | For sending an HTTPS outcall to a server outside the IC, per request byte (`http_request`) | $0.000000006806072 | $0.000000017800496 -| HTTPS outcall response message size (per byte) | For sending an HTTPS outcall to a server outside the IC, per reserved response byte (`http_request`) | $0.000000013612144 | $0.000000035600992 | +| HTTPS outcall (per call) | For sending an HTTPS outcall to a server outside the IC, per message (`http_request`) | Sending canister | $0.0000643173804 | $0.0002242862496 +| HTTPS outcall request message size (per byte) | For sending an HTTPS outcall to a server outside the IC, per request byte (`http_request`) | Sending canister | $0.000000006806072 | $0.000000017800496 +| HTTPS outcall response message size (per byte) | For sending an HTTPS outcall to a server outside the IC, per reserved response byte (`http_request`) | Sending canister | $0.000000013612144 | $0.000000035600992 | Cost per Transaction in USD (XDR/USD exchange rate as of November 23, 2022): From d74ee1813ca080d2b3b1918b4cd0620d6021f2fd Mon Sep 17 00:00:00 2001 From: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com> Date: Wed, 5 Jul 2023 15:11:03 -0500 Subject: [PATCH 4/8] Update gas-cost.md --- docs/developer-docs/gas-cost.md | 56 +++++++++++++++------------------ 1 file changed, 25 insertions(+), 31 deletions(-) diff --git a/docs/developer-docs/gas-cost.md b/docs/developer-docs/gas-cost.md index 55b8ebcd2a..ae008397c6 100644 --- a/docs/developer-docs/gas-cost.md +++ b/docs/developer-docs/gas-cost.md @@ -23,22 +23,18 @@ If you intend to deploy canisters on high-replication subnets, your canister sho See below for details on the cost of compute and storage transactions as well as management canister calls for new features on the Internet Computer as of December 2, 2022. A thorough example how the cost of running a canister on a 13-node app subnet is computed can be found [here](https://medium.com/@DBOXFoundation/findings-from-calculating-the-cycle-consumption-of-messity-a-universal-example-b2af8dcd3151). -| Transaction | Description | Who is responsible for paying the transaction fee? | Local development ([IC SDK](./setup/index.md)) | 13-node Application Subnets | 34-node Application Subnets | -| ------------------------------------ | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------- | ------------------------------------- | ------------------------------------- | ---------------------------------- | -| Canister Created | For creating canisters on a subnet | Sending canister | 100B / 13 | 100B | 100B / 13 * 34 | -| Compute Percent Allocated Per Second | For each percent of the reserved compute allocation (a scarce resource). | Sending canister | 10M / 13 | 10M | 10M / 13 * 34 | -| Update Message Execution | For every update message executed | Sending canister | 590K / 13 | 590K | 590K / 13 * 34 | -| Ten Update Instructions Execution | For every 10 instructions executed when executing update type messages | Sending canister | 4 / 13 | 4 | 4 / 13 * 34 | -| Xnet Call | For every inter-canister call performed (includes the cost for sending the request and receiving the response) | Target canister | 260K / 13 | 260K | 260K / 13 * 34 | -| Xnet Byte Transmission | For every byte sent in an inter-canister call (for bytes sent in the request and response) | Target canister | 1K / 13 | 1K | 1K / 13 * 34 | -| Ingress Message Reception | For every ingress message received | Receiving canister | 1.2M / 13 | 1.2M | 1.2M / 13 * 34 | -| Ingress Byte Reception | For every byte received in an ingress message | Receiving canister | 2K / 13 | 2K | 2K / 13 * 34 | -| GB Storage Per Second | For storing a GB of data per second | Sending canister | 127K / 13 | 127K | 127K / 13 * 34 | -| | | | | | -| _HTTPS outcalls_ | | | | | -| HTTPS outcall (per call) | For sending an HTTPS outcall to a server outside the IC, per message (`http_request`) | Sending canister | 3,060,000 | 49,140,000 | 171,360,000 | -| HTTPS outcall request message size (per byte) | For sending an HTTPS outcall to a server outside the IC, per request byte (`http_request`) | Sending canister | 400 | 5,200 | 13,600 | -| HTTPS outcall response message size (per byte) | For sending an HTTPS outcall to a server outside the IC, per reserved response byte (`http_request`) | Sending canister | 800 | 10,400 | 27,200 | +| Canister Created | For creating canisters on a subnet | Created canister | 100B / 13 | 100B | 100B / 13 * 34 | +| Compute Percent Allocated Per Second | For each percent of the reserved compute allocation (a scarce resource). | Canister with allocation | 10M / 13 | 10M | 10M / 13 * 34 | +| Update Message Execution | For every update message executed | Target canister | 590K / 13 | 590K | 590K / 13 * 34 | +| Ten Update Instructions Execution | For every 10 instructions executed when executing update type messages | Canister executing instructions | 4 / 13 | 4 | 4 / 13 * 34 | +| Xnet Call | For every inter-canister call performed (includes the cost for sending the request and receiving the response) | Sending canister | 260K / 13 | 260K | 260K / 13 * 34 | +| Xnet Byte Transmission | For every byte sent in an inter-canister call (for bytes sent in the request and response) | Sending canister | 1K / 13 | 1K | 1K / 13 * 34 | + | Ingress Message Reception | For every ingress message received | Receiving canister | 1.2M / 13 | 1.2M | 1.2M / 13 * 34 | + | Ingress Byte Reception | For every byte received in an ingress message | Receiving canister | 2K / 13 | 2K | 2K / 13 * 34 | +| GB Storage Per Second | For storing a GB of data per second | Canister with storage | 127K / 13 | 127K | 127K / 13 * 34 | + | | | | | | + | _HTTPS outcalls_ | | | | | + | HTTPS outcall (per call) | For sending an HTTPS outcall to a server outside the IC, per message (`http_request`) | Sending canister | 3,060,000 | 49,140,000 | 171,360,000 | 27,200 | Pricing for the **Bitcoin API** is available in the [Bitcoin API documentation](./integrations/bitcoin/bitcoin-how-it-works.md). @@ -54,22 +50,20 @@ The USD cost for transactions below is based on the above cycle costs. 1 XDR is To derive the estimated cost for a GB Storage per month, we assume a 30 day month. -| Transaction | Description | Who is responsible for paying the transaction fee? | 13-node Application Subnets | 34-node Application Subnets | -|--------------------------------------|------------------------------------------------------------------------------------------------------------------|---------------------------|---------------------------|-----------------------------| -| Canister Created | For creating canisters on a subnet | Sending canister | $0.130886 | $0.342317 | -| Compute Percent Allocated Per Second | For each percent of the reserved compute allocation (a scarce resource). | Sending canister | $0.0000130886 | $0.0000342317 | -| Update Message Execution | For every update message executed | Sending canister | $0.0000007722274 | $0.0000020196705 | -| Ten Update Instructions Execution | For every 10 instructions executed when executing update type messages | Sending canister | $0.000000000005235 | $0.000000000013089 | -| Xnet Call | For every inter-canister call performed (includes the cost for sending the request and receiving the response) | Target canister | $0.0000003403036 | $0.0000008900248 | -| Xnet Byte Transmission | For every byte sent in an inter-canister call (for bytes sent in the request and response) | Target canister | $0.00000000130886 | $0.00000000342267 | + | Transaction | Description | Who is responsible for paying the transaction fee? | 13-node Application Subnets | 34-node Application Subnets | + |--------------------------------------|------------------------------------------------------------------------------------------------------------------|---------------------------|---------------------------|-----------------------------| +| Canister Created | For creating canisters on a subnet | Created canister | $0.130886 | $0.342317 | +| Compute Percent Allocated Per Second | For each percent of the reserved compute allocation (a scarce resource). | Canister with allocation | $0.0000130886 | $0.0000342317 | +| Update Message Execution | For every update message executed | Target canister | $0.0000007722274 | $0.0000020196705 | +| Ten Update Instructions Execution | For every 10 instructions executed when executing update type messages | Canister executing instructions | $0.000000000005235 | $0.000000000013089 | +| Xnet Call | For every inter-canister call performed (includes the cost for sending the request and receiving the response) | Sending canister | $0.0000003403036 | $0.0000008900248 | +| Xnet Byte Transmission | For every byte sent in an inter-canister call (for bytes sent in the request and response) | Sending canister | $0.00000000130886 | $0.00000000342267 | | Ingress Message Reception | For every ingress message received | Receiving canister | $0.000001570632 | $0.000004107806 | -| Ingress Byte Reception | For every byte received in an ingress message | Sending canister | $0.00000000261772 | $0.00000000684534 | -| GB Storage Per Second | For storing a GB of data per second | Sending canister | $0.00000016622522 | $0.00000043474178 | -| | | | | -| *HTTPS outcalls* | | | | -| HTTPS outcall (per call) | For sending an HTTPS outcall to a server outside the IC, per message (`http_request`) | Sending canister | $0.0000643173804 | $0.0002242862496 -| HTTPS outcall request message size (per byte) | For sending an HTTPS outcall to a server outside the IC, per request byte (`http_request`) | Sending canister | $0.000000006806072 | $0.000000017800496 -| HTTPS outcall response message size (per byte) | For sending an HTTPS outcall to a server outside the IC, per reserved response byte (`http_request`) | Sending canister | $0.000000013612144 | $0.000000035600992 | +| Ingress Byte Reception | For every byte received in an ingress message | Receiving canister | $0.00000000261772 | $0.00000000684534 | +| GB Storage Per Second | For storing a GB of data per second | Canister with storage | $0.00000016622522 | $0.00000043474178 | + | | | | | + | *HTTPS outcalls* | | | | + | HTTPS outcall (per call) | For sending an HTTPS outcall to a server outside the IC, per message (`http_request`) | Sending canister | $0.0000643173804 | $0.0002242862496 Cost per Transaction in USD (XDR/USD exchange rate as of November 23, 2022): From de57a1870dbd21235053c94ccc0f4b729adbbc19 Mon Sep 17 00:00:00 2001 From: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com> Date: Wed, 5 Jul 2023 15:12:03 -0500 Subject: [PATCH 5/8] Update gas-cost.md --- docs/developer-docs/gas-cost.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developer-docs/gas-cost.md b/docs/developer-docs/gas-cost.md index ae008397c6..7a00355290 100644 --- a/docs/developer-docs/gas-cost.md +++ b/docs/developer-docs/gas-cost.md @@ -63,7 +63,7 @@ To derive the estimated cost for a GB Storage per month, we assume a 30 day mont | GB Storage Per Second | For storing a GB of data per second | Canister with storage | $0.00000016622522 | $0.00000043474178 | | | | | | | *HTTPS outcalls* | | | | - | HTTPS outcall (per call) | For sending an HTTPS outcall to a server outside the IC, per message (`http_request`) | Sending canister | $0.0000643173804 | $0.0002242862496 + | HTTPS outcall (per call) | For sending an HTTPS outcall to a server outside the IC, per message (`http_request`) | Sending canister | $0.0000643173804 | $0.0002242862496 | Cost per Transaction in USD (XDR/USD exchange rate as of November 23, 2022): From eda65fcfbd311dc76a040f80e237e7f7cf3219f2 Mon Sep 17 00:00:00 2001 From: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com> Date: Wed, 5 Jul 2023 15:12:35 -0500 Subject: [PATCH 6/8] Update gas-cost.md --- docs/developer-docs/gas-cost.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/developer-docs/gas-cost.md b/docs/developer-docs/gas-cost.md index 7a00355290..f236bf9083 100644 --- a/docs/developer-docs/gas-cost.md +++ b/docs/developer-docs/gas-cost.md @@ -23,6 +23,8 @@ If you intend to deploy canisters on high-replication subnets, your canister sho See below for details on the cost of compute and storage transactions as well as management canister calls for new features on the Internet Computer as of December 2, 2022. A thorough example how the cost of running a canister on a 13-node app subnet is computed can be found [here](https://medium.com/@DBOXFoundation/findings-from-calculating-the-cycle-consumption-of-messity-a-universal-example-b2af8dcd3151). + | Transaction | Description | Who is responsible for paying the transaction fee? | Local development ([IC SDK](./setup/index.md)) | 13-node Application Subnets | 34-node Application Subnets | + | ------------------------------------ | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------- | ------------------------------------- | ------------------------------------- | ---------------------------------- | | Canister Created | For creating canisters on a subnet | Created canister | 100B / 13 | 100B | 100B / 13 * 34 | | Compute Percent Allocated Per Second | For each percent of the reserved compute allocation (a scarce resource). | Canister with allocation | 10M / 13 | 10M | 10M / 13 * 34 | | Update Message Execution | For every update message executed | Target canister | 590K / 13 | 590K | 590K / 13 * 34 | From 02047a46908ad45fe4c5ba762c7e4d1edf3c4308 Mon Sep 17 00:00:00 2001 From: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com> Date: Wed, 5 Jul 2023 15:16:34 -0500 Subject: [PATCH 7/8] Update gas-cost.md --- docs/developer-docs/gas-cost.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/developer-docs/gas-cost.md b/docs/developer-docs/gas-cost.md index f236bf9083..a1eb6ae4f6 100644 --- a/docs/developer-docs/gas-cost.md +++ b/docs/developer-docs/gas-cost.md @@ -37,6 +37,8 @@ A thorough example how the cost of running a canister on a 13-node app subnet is | | | | | | | _HTTPS outcalls_ | | | | | | HTTPS outcall (per call) | For sending an HTTPS outcall to a server outside the IC, per message (`http_request`) | Sending canister | 3,060,000 | 49,140,000 | 171,360,000 | 27,200 | +| HTTPS outcall request message size (per byte)| For sending an HTTPS outcall to a server outside the IC, per request byte (http_request) | Sending canister | 400 | 5,200 | 13,600 | +| HTTPS outcall response message size (per byte) | For sending an HTTPS outcall to a server outside the IC, per reserved response byte (http_request)| 800 | 10,400 | 27,200 | Pricing for the **Bitcoin API** is available in the [Bitcoin API documentation](./integrations/bitcoin/bitcoin-how-it-works.md). @@ -66,6 +68,8 @@ To derive the estimated cost for a GB Storage per month, we assume a 30 day mont | | | | | | *HTTPS outcalls* | | | | | HTTPS outcall (per call) | For sending an HTTPS outcall to a server outside the IC, per message (`http_request`) | Sending canister | $0.0000643173804 | $0.0002242862496 | + | HTTPS outcall request message size (per byte) | For sending an HTTPS outcall to a server outside the IC, per request byte (http_request) | Sending canister | $0.000000006806072 | $0.000000017800496 | +| HTTPS outcall response message size (per byte) | For sending an HTTPS outcall to a server outside the IC, per reserved response byte (http_request) | Sending canister | $0.000000013612144 | $0.000000035600992 | Cost per Transaction in USD (XDR/USD exchange rate as of November 23, 2022): From 02060b135d23ce438858233658dc82fc1fa60793 Mon Sep 17 00:00:00 2001 From: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com> Date: Wed, 5 Jul 2023 15:28:09 -0500 Subject: [PATCH 8/8] Update gas-cost.md --- docs/developer-docs/gas-cost.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developer-docs/gas-cost.md b/docs/developer-docs/gas-cost.md index a1eb6ae4f6..a1db469aa6 100644 --- a/docs/developer-docs/gas-cost.md +++ b/docs/developer-docs/gas-cost.md @@ -38,7 +38,7 @@ A thorough example how the cost of running a canister on a 13-node app subnet is | _HTTPS outcalls_ | | | | | | HTTPS outcall (per call) | For sending an HTTPS outcall to a server outside the IC, per message (`http_request`) | Sending canister | 3,060,000 | 49,140,000 | 171,360,000 | 27,200 | | HTTPS outcall request message size (per byte)| For sending an HTTPS outcall to a server outside the IC, per request byte (http_request) | Sending canister | 400 | 5,200 | 13,600 | -| HTTPS outcall response message size (per byte) | For sending an HTTPS outcall to a server outside the IC, per reserved response byte (http_request)| 800 | 10,400 | 27,200 | +| HTTPS outcall response message size (per byte) | For sending an HTTPS outcall to a server outside the IC, per reserved response byte (http_request)| Sending canister | 800 | 10,400 | 27,200 | Pricing for the **Bitcoin API** is available in the [Bitcoin API documentation](./integrations/bitcoin/bitcoin-how-it-works.md).