I find some discrepancies among the information that I can find by so far. For example, here is one log entry from my Lambda:
REPORT RequestId: XXXX Duration: 432.57 ms Billed Duration: 433 ms Memory Size: 10240 MB Max Memory Used: 54 MB Init Duration: 148.59 ms
Based on AWS Lambda function Billed duration includes Init Duration as well when using Lambda container?, “billed duration” is the sum of “Duration + Init Duration”, which obviously is not the case. My billed duration is simply the duration rounded to the integer.
I also wonder if GB-second is based on “Memory Size” or “Max Memory Used”? I function usually don’t need very large size but I want to set the memory size large to accommodate occasional cases where large memory does help. If it is billed based on the “memory size”, I will actually waste a lot of money here.