Skip to content

Commit 5888d77

Browse files
author
cfsdocs
committed
Frances Overby: Merge pull request #3407 from coligo/fmo-upd-15Feb24-d
1 parent e61970e commit 5888d77

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

billing.md

+14-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2024
5-
lastupdated: "2024-02-14"
5+
lastupdated: "2024-02-15"
66

77
keywords: billing, pricing, costs for code engine, billing for code engine, job pricing, app pricing, build pricing
88

@@ -24,6 +24,7 @@ You are billed for the following entities,
2424

2525
- [Applications](#app-pricing)
2626
- [Job runs](#job-pricing)
27+
- [Functions](#functions-pricing)
2728
- [Build runs](#build-pricing)
2829

2930
Entities such as [projects](/docs/codeengine?topic=codeengine-manage-project) do not incur charges, but instead serve as a folder for your entities. Entities such as secrets, bindings, or subscriptions do not incur charges, but do contribute to the overall limits of your project. For more information, see [Limits and quotas for {{site.data.keyword.codeengineshort}}](/docs/codeengine?topic=codeengine-limits).
@@ -59,6 +60,18 @@ For valid CPU and memory combinations, see [Supported memory and CPU combination
5960

6061
Note that the time that it takes to pull your image or to build it from source code is included in the billable time.
6162

63+
## Function pricing
64+
{: #functions-pricing}
65+
66+
When you deploy a function, charges apply for HTTP requests, and for the CPU and memory resources that are consumed by running instances of the function. Incoming HTTP calls are billed by the number of HTTP calls that are received by your function. For example,
67+
* If your function serves 100 calls, you are then billed for 100 HTTP calls. Internal HTTP traffic within a {{site.data.keyword.codeengineshort}} project between your workloads is excluded from the billable HTTP call total.
68+
* If you create a {{site.data.keyword.codeengineshort}} function with 2 GB memory and 0.5 virtual CPU, after 600 invocations (assuming each requires 6 seconds to complete the result), you are charged for 0.5 vCPU hour and 2 GB hours.
69+
70+
For valid CPU and memory combinations, see [Supported memory and CPU combinations](/docs/codeengine?topic=codeengine-mem-cpu-combo).
71+
72+
The time that it takes to pull your code bundle or to build it from source code is included in the billable time.
73+
{: note}
74+
6275

6376

6477
## Build pricing

sitemap.md

+2
Original file line numberDiff line numberDiff line change
@@ -4035,6 +4035,8 @@ Find what you are looking for in the compilation of {{site.data.keyword.codeengi
40354035

40364036
* [Job pricing](/docs/codeengine?topic=codeengine-pricing#job-pricing)
40374037

4038+
* [Function pricing](/docs/codeengine?topic=codeengine-pricing#functions-pricing)
4039+
40384040
* [Build pricing](/docs/codeengine?topic=codeengine-pricing#build-pricing)
40394041

40404042

0 commit comments

Comments
 (0)