
When your team reviews your monthly cloud invoice, AWS Lambda costs often look deceptively simple at first glance. You pay for the code executions you trigger and the milliseconds those functions run. However, a closer look at your billing data reveals three distinct patterns that change how you manage serverless budgets. Some accounts run entirely inside the monthly free allowance, while others split compute charges across different processor types. In other cases, functions show zero compute fees yet rack up network transfer charges. Understanding how these three cost drivers behave helps you make safe, practical infrastructure adjustments.
Key takeaways
- AWS gives every account a permanent monthly free tier of 1 million requests and 400,000 GB-seconds of compute time.
- Compute charges split by processor architecture (
x86_64versusarm64on Graviton) and by compute type in your billing records. - A regional Lambda bill can show data transfer as its only charge when request and duration usage stays below the free threshold.
- Before switching processor architectures or adding network endpoints, you must verify code dependencies, resource owners, and rollback steps.
How AWS Lambda costs are billed: requests, compute and data transfer
To understand your serverless bill, you first need to separate the three main line items that appear in the AWS Cost and Usage Report (CUR) or AWS Cost Explorer. First, AWS charges per request every time a function runs in response to an event or invocation. Second, you pay for compute duration, which is calculated in gigabyte-seconds (GB-seconds). This metric multiplies the memory you allocate to a function by the exact time it runs, billed in 1-millisecond increments.
In addition, compute charges are divided by the processor architecture you select and by the compute type, such as on-demand duration, provisioned concurrency, or ephemeral storage. According to the AWS Decision Guide for Serverless, AWS offers a permanent free tier of 1 million free requests and 400,000 GB-seconds of compute time per month.
Third, network data transfer appears as its own usage group under the Lambda service code (AWSLambda). When a function sends data out to the public internet, across AWS regions, or across Availability Zones in a Virtual Private Cloud (VPC), standard data transfer rates apply. Importantly, the monthly free tier for requests and compute does not cover network data transfer.
However, billing data has clear limits. Your Cost Explorer charts and CUR line items show which account, region, or function generated a charge, and they expose the split between architecture types and network fees. Yet billing data cannot prove whether an x86 function will compile cleanly on an ARM processor. Furthermore, it cannot tell you which specific external IP address or downstream API receives your outbound network traffic. You always need runtime logs, configuration checks, and architectural review before touching production resources.
Workloads that stay inside the free tier
When you filter AWS Cost Explorer by the Lambda service, you might see active accounts or regions that show zero dollar charges for requests and compute over your analysis window. If you switch your view from amortized cost to usage quantities, you will still see invocation counts and GB-second totals accumulating every day. This happens when your Lambda requests and compute duration stay completely within the monthly 1 million request and 400,000 GB-second free tier.
Because AWS applies this free allowance automatically across both x86_64 and arm64 usage every month, low-volume workloads, development environments, and sporadic cron jobs often cost nothing to run. Therefore, the right recommendation here is to take no action. You simply record the activity for reference so your engineering team knows the workload exists and remains below the billing threshold.
In practice, there is nothing to do unless the workload grows. However, you should watch for two details that need further investigation if your traffic plans change. First, under AWS consolidated billing, the free tier is shared across all member accounts in an AWS Organization. If another team launches a high-volume service in a different account, their consumption can exhaust the shared pool and expose your previously free functions to standard rates. Second, set up basic usage tracking in Amazon CloudWatch so you notice if an unexpected loop or traffic spike pushes a growing workload past the free tier ceiling.
x86 versus Graviton (arm64): moving the heaviest functions
Once your serverless usage outgrows the free tier, compute duration usually becomes the largest portion of your AWS Lambda costs. If you inspect your Cost and Usage Report or group Cost Explorer by usage type, you will often find that the Lambda compute charge is split by architecture (x86 and Graviton) and by compute type. AWS defaults new functions to 64-bit x86 (x86_64), unless you specify otherwise. As detailed in the AWS Lambda Developer Guide on instruction set architectures, functions configured with the arm64 architecture run on AWS Graviton processors.
AWS bills Graviton compute at a lower per-millisecond price per GB-second than x86 compute. Therefore, the recommendation is straightforward: move functions that allow it to Graviton for the lower per-millisecond price. Rather than migrating every small function in your account, focus on the workloads that drive your bill.
How to find and migrate eligible x86 functions
To execute this safely, follow two primary steps along with proper pre-change verification:
- Identify the x86 functions with the most compute time. Open AWS Cost Explorer or query your CUR data to isolate
Lambda-GB-Secondusage types without the-ARMsuffix. Rank the results by resource ID or cost allocation tags to find the specific functions consuming the highest number of GB-seconds. You can also check the CloudWatchDurationandInvocationsmetrics multiplied by allocated memory to spot the heaviest hitters. - Test them on arm64 and switch the architecture. Before flipping the architecture setting in production, perform mandatory verification steps. First, confirm the function owner and check how the function is deployed (such as AWS SAM, Terraform, or container images). Next, audit all code dependencies and Lambda Layers. Pure interpreted languages like Python or Node.js usually move without trouble, whereas native C/C++ binaries, custom platform wheels, or single-architecture Docker images must be rebuilt for
arm64.
In addition, define your recovery needs before changing anything. Publish a numbered function version and point your production traffic to a Lambda alias so you can roll back immediately if needed. Deploy the arm64 build in a staging environment first, run integration tests to confirm binary compatibility, and only then update the production architecture configuration.
When the only Lambda charge is data transfer
Sometimes your billing data displays a puzzling pattern: the Lambda charge for a specific account and region is data transfer alone, and no request or compute charge appears at all. In Cost Explorer, you will see usage types such as DataTransfer-Out-Bytes, DataTransfer-Regional-Bytes, or AWS-Out-Bytes billed under the Lambda service, while compute and invocation fees remain at zero.
This situation occurs when your function invocations and execution duration stay completely inside the monthly free tier, but the functions move data over billable network paths. Because AWS does not include outbound or cross-region data transfer in the Lambda free tier, every gigabyte transferred across those boundaries generates a charge from the first byte.
When you see a transfer-only Lambda bill, check where the functions send data, and evaluate whether a VPC endpoint or a regional endpoint would avoid the transfer charge. First, identify the destinations of the transfer using your native telemetry. As noted earlier, billing records only reveal the volume and direction of the bytes, not the destination hostname or IP address. Therefore, the exact destination requires further investigation. You must inspect your function code, environment variables, Amazon CloudWatch Logs, or VPC Flow Logs (if the function is attached to a VPC) to see which external endpoints or AWS services your code calls.
VPC endpoints and keeping traffic in-region
Once you identify where your functions send data, step two is to route that traffic through a VPC endpoint or keep the traffic in-region where possible. Two common architectural patterns cause unnecessary Lambda data transfer charges.

First, a function running inside a private VPC subnet might talk to another AWS service, such as Amazon S3 or Amazon DynamoDB, in the same region. If the subnet routes traffic through a NAT gateway to reach the public service endpoint, you pay outbound data transfer and NAT processing fees. Instead, you can create a Gateway VPC endpoint for S3 or DynamoDB and update your VPC route tables. Traffic then stays on the private AWS network without incurring transfer charges. For other AWS services, an Interface VPC endpoint (AWS PrivateLink) keeps traffic private, though you should compare the PrivateLink hourly and per-GB fees against your current transfer spend before deploying.
Second, a function might send payloads to an S3 bucket, database, or message queue located in a different AWS region. Whenever possible, keep the traffic in-region by reading and writing to regional endpoints in the exact same AWS region where the Lambda function executes.
Before you modify VPC route tables, security groups, or endpoint URLs, complete your verification checks. Confirm the network owner and review all other workloads that share the same VPC subnets so a route table update does not break unrelated services. Ensure you have a clear rollback plan, such as restoring the previous route configuration or reverting environment variables via your deployment pipeline.
Verify the change
After you switch an x86 function to arm64 or reroute network traffic through a VPC or regional endpoint, you must verify that the change works properly in both runtime metrics and billing reports.
Start with immediate operational checks in Amazon CloudWatch. For an architecture change, watch the Errors and Throttles metrics to ensure no missing native dependencies cause runtime crashes. Next, compare the Duration metric before and after the switch; because compute is billed per millisecond, any notable shift in execution speed will affect your total GB-seconds. For a network routing change, check your function logs to confirm that connections to S3, DynamoDB, or regional APIs succeed without timeout errors.
Next, verify the billing result in AWS Cost Explorer after 24 to 48 hours. When checking a Graviton migration, group your Lambda compute usage by Usage Type. You should see the standard Lambda-GB-Second volume drop and the corresponding Lambda-GB-Second-ARM usage type rise in its place. When checking a data transfer fix, filter Cost Explorer by the specific account, region, and DataTransfer usage types to confirm that daily outbound or cross-region byte volumes drop as expected.
How Binadox helps analyze AWS Lambda spending
Tracking these three patterns across dozens of accounts and regions manually in native consoles takes constant effort. Binadox is a cloud cost visibility and optimization tool that inspects your billing data and flags these specific scenarios automatically.

First, Binadox detects when AWS Lambda workload activity stays within the free tier over the analyzed window. It records that requests and compute remain inside the free allowance for your reference and recommends taking no action unless the workload grows.
Second, Binadox analyzes your AWS Lambda architecture and compute mix. When it finds that your Lambda compute charge is split by architecture (x86 and Graviton) and by compute type, it flags the opportunity to move functions that allow it to Graviton for the lower per-millisecond price. It guides your team to identify the x86 functions with the most compute time, test them on arm64, and switch the architecture.
Third, Binadox flags accounts and regions where AWS Lambda is charged for data transfer only, with no request or compute charge appearing. It prompts you to identify the destinations of the transfer and route traffic through a VPC endpoint or keep the traffic in-region where possible.
Conclusion
Managing AWS Lambda costs requires looking past the top-line total on your monthly invoice. A serverless bill can be zero when usage sits quietly inside the monthly free tier, split across x86 and Graviton processor rates as compute scales up, or consist entirely of network transfer fees when functions chat across regional boundaries. It is mildly ironic to run a “serverless” function that costs zero dollars to execute, yet still hands you a networking bill for talking to an S3 bucket across the hall. By checking your usage types in Cost Explorer, verifying code dependencies and network routes before making changes, and using tools like Binadox to surface these patterns early, your team can keep serverless architectures lean and predictable.
To catch hidden data transfer fees and optimize your processor mix automatically, you can start your free Binadox trial or book a demo with our team today.