You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: billing.md
+14-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
copyright:
4
4
years: 2024
5
-
lastupdated: "2024-02-14"
5
+
lastupdated: "2024-02-15"
6
6
7
7
keywords: billing, pricing, costs for code engine, billing for code engine, job pricing, app pricing, build pricing
8
8
@@ -24,6 +24,7 @@ You are billed for the following entities,
24
24
25
25
-[Applications](#app-pricing)
26
26
-[Job runs](#job-pricing)
27
+
-[Functions](#functions-pricing)
27
28
-[Build runs](#build-pricing)
28
29
29
30
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
59
60
60
61
Note that the time that it takes to pull your image or to build it from source code is included in the billable time.
61
62
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.
0 commit comments