Temitope
07/10/2025, 4:52 PMazzouzana
07/10/2025, 4:55 PMTemitope
07/10/2025, 5:09 PMTemitope
07/10/2025, 5:09 PMSaurav Jain
07/11/2025, 4:04 AMTemitope
07/14/2025, 2:12 PMApifyBot
07/14/2025, 2:12 PMtaragurung
07/16/2025, 9:48 AMLukas Krivka
07/16/2025, 9:55 AMnathanist
07/17/2025, 2:15 PMazzouzana
07/18/2025, 2:58 PMStrijdhagen
07/18/2025, 7:05 PMDxBear
07/21/2025, 7:22 AMDxBear
07/21/2025, 7:23 AMLukas Krivka
07/21/2025, 5:33 PMaciku
07/22/2025, 11:53 AMxMiso
07/22/2025, 2:52 PMaciku
07/22/2025, 3:55 PM// The actualy used limit is taken from private package @apify-packages/consts
BUILD_DEFAULT_MEMORY_MBYTES: 4096,
https://github.com/apify/apify-shared-js/blob/4a7608fbdd51dbc02661f4be03a4a1d3bb91cd2b/packages/consts/src/consts.ts#L295
Here they explain how CU consumption is calculated:
https://docs.apify.com/platform/actors/running/usage-and-resources#memory
“A compute unit (CU) is the unit of measurement for the resources consumed by Actor runs and builds. You are charged for using Actors based on CU consumption.
For example, running an Actor with1024MB of allocated memory for 1 hour will consume 1 CU. The cost of this CU depends on your subscription plan.“
https://cdn.discordapp.com/attachments/1075487274424352888/1397245798076387449/image.png?ex=6883a90d&is=6882578d&hm=7fbfaf629ef67ffa5f45d8adfc33febacba6e39f8f5514b0ca74b588ec8162ae&aciku
07/22/2025, 3:56 PM1 CU = 1024 MB * 1 hour
So the formula would be:
CU = ( MEMORY (MB) / 1024 ) * DURATION (HOURS)
If we use the default value, which is 4096 MB, then for example with the 13 seconds of my build image:
Memory in CU = 4096 MB / 1024 = 4 CU/hour
Time in hours = 13 seconds / 3600 = 0.0036111111 hours
Total CU = 4 × 0.0036111111 = 0.0144444444 CU
Total cost = 0.0144444444 × $0.40 = $0.0057777777
Rounded, it would be $0.006Lukas Krivka
07/23/2025, 10:36 AMaciku
07/23/2025, 1:08 PMRazz
07/23/2025, 3:04 PMgetdataforme
07/27/2025, 5:57 AM!!!Joefree!!! 👑
07/29/2025, 5:23 AMLukas Krivka
07/29/2025, 2:52 PMigolaizola
07/29/2025, 9:39 PMdzomar
07/29/2025, 10:44 PMSaurav Jain
07/30/2025, 4:16 AMproz1529
08/04/2025, 11:56 AM