Skip to content
Finitizer

Request Cost Calculator

Price one API request end to end: compute, database calls, storage requests, logs, AI tokens and data out.

Multi-cloudCalculator60 secondsVersion 1.0
New here? See what this tool does, how to use it and where to find your numbers.

Learn more

Request Cost Calculator

What this free tool does for you

See what one API request costs, part by part: compute, database calls, storage requests, logs, AI tokens and data out. Find the part that dominates, and the hit rate at which a cache pays for itself.

How to use it

  1. Start from a scenario, or choose Cloud, Region and Requests a month.
  2. Describe one request: its compute, Database calls, Storage requests, Logs and data out and AI model calls.
  3. Read Each part of the request to see which part leads.
  4. Under Cache, choose a node or your own cost, tick what a hit skips, and read Break-even hit rate.

Good to know

  • No free tier. Free allowances are left out, so the figure is what one more request costs. A small service may pay less.
  • List prices. Public on-demand prices for the Region chosen, with no discount or commitment.
  • Measure, then price. Duration, request units and bytes logged come from your own metrics. A guess gives a guess.
  • Save or share. Use Copy link to this result to get a link with your numbers filled in.

Not sure where to find your numbers? See the steps for or .

Start from a scenario

Each one fills in the fields below for a typical request of that kind. You can change any of them.

Compute

Database calls (DynamoDB on-demand)

Storage requests (S3 Standard)

Logs and data out

AI model calls

Cache

Cost per million requests$3.38
Per request
$0.00000338
A month
$337.89
Largest part
Compute, 36%

List prices, no free tier taken off.

Cost per request
$0.00000338
$3.38 per million requests, $337.89 a month at 100,000,000 requests, on AWS Lambda in US East (N. Virginia) (us-east-1).

Each part of the request

PartPer millionA monthShare
Compute(largest)Lambda, x86. 120 ms at 512 MB is 0.06 GB-seconds at $0.0000166667, plus $0.20 per million requests.$1.20$120.0036%
Database callsDynamoDB on-demand. 2 read and 1 write request units, at $0.1250 and $0.6250 per million.$0.88$87.5026%
Storage requestsS3 Standard. 0 GET and 0 PUT, at $0.0004 and $0.0050 per 1,000.$0.00$0.000%
LogsCloudWatch Logs, Lambda (vended, tiered). 93.1323 GB a month at the vended log rate, from $0.50 a GB.$0.47$46.5714%
AI model callsNone. No AI call.$0.00$0.000%
Data out to the internetAWS data transfer out. 931.3226 GB a month, tiered, from $0.09 a GB.$0.84$83.8225%

When the cache pays for itself

Cache cost a month
$18.69
ElastiCache for Valkey, 1 x cache.t4g.small
Break-even hit rate
21.4%
A hit skips $0.88 per million requests.
At a 50% hit rate
$312.82/mo
$25.06 a month less than without it.
Requests a month to break even
42,715,429
At a 50% hit rate.

What this model assumes

Show
  • No free tier. Lambda, Cloud Run, DynamoDB, Firestore, logs and data transfer each give a monthly allowance. It is shared by everything in the account, so this page leaves it out and shows what one more request costs. A small service may pay less.
  • List prices, one Region. Public on-demand prices for the Region chosen, with no discount, Savings Plan or committed use. Cache nodes are priced in US East (N. Virginia) on AWS and Iowa on Google Cloud; enter your own monthly cost elsewhere.
  • Compute is busy time. Lambda bills each request’s time. Cloud Run request-based billing bills an instance while it serves, so requests served at once share it; the page assumes the instance is that busy. A Fargate task’s hourly cost is spread over the requests it serves. Idle time, minimum instances and cold starts are not counted.
  • Logs and data out are tiered. Their month’s volume is priced on the provider’s tiers, then divided by the requests. Lambda logs are CloudWatch vended logs; Fargate logs are standard ingestion. A KB is 1,000 bytes and a GB is 2^30 bytes.
  • AI calls. Cached input tokens are priced at the model’s cache read price. Writing the cache, batch discounts and tools the model calls are not counted.
  • A cache hit skips only what you tick: the database calls, the AI call or both. Compute, logs and data out stay the same.
  • Not included: API Gateway, load balancers and CDN, data held in storage or a database, backups, and traffic between zones or regions.
Rates used and their sourcesShow
  • AWS Lambda duration and requests, 11 Regions, source, read 21 Nov 2026
  • Amazon DynamoDB on-demand read and write request units, 11 Regions, source, read 21 Nov 2026
  • AWS Fargate vCPU and memory, x86 and Arm, 11 Regions, source, read 21 Nov 2026
  • Firestore Standard edition document reads, writes and deletes, every location, source, read 21 Nov 2026
  • Memorystore for Valkey nodes, Iowa (us-central1), source, read 21 Nov 2026
  • ElastiCache nodes, reserved-node discounts and Serverless (Valkey), US East, source, read 13 Oct 2026
  • Amazon S3 Standard GET and PUT requests, source, read 7 Nov 2026
  • AWS data transfer out to the internet, source, read 4 Nov 2026
  • Amazon CloudWatch Logs, 11 Regions, source, read 8 Nov 2026
  • Google Cloud Logging storage and retention, source, read 8 Nov 2026
  • Cloud Run CPU, memory and requests (both billing models), source, read 7 Nov 2026
  • Google Cloud Premium Tier internet egress (Cloud Run rate table), source, read 7 Nov 2026
  • Cloud Storage Class A and Class B operations, source, read 1 Nov 2026
  • AI model token prices, each from its vendor's page, source, read 30 Oct 2026

Prices verified 13 Oct 2026. Public list prices in USD for 11 AWS Regions, 45 Cloud Run regions, before any discount you have negotiated.

Not sure which endpoints drive the bill?

Cloud Cost Audit: We trace the bill back to services and endpoints, and price the design changes worth making. From $1,500, fixed. Nothing paid upfront.

Talk to Finitizer

Questions

How much does one API request cost?

The page's example, a JSON API on Lambda and DynamoDB in US East, costs about $3.38 per million requests: $338 a month at 100 million. Compute is the largest part, 36% of it. These are list prices with no free tier taken off, so they are what one more request costs.

Which part of a request costs the most?

It depends on the request. In the four examples here, compute leads the JSON API, the image upload and the webhook; the AI model call leads the chat endpoint. Without a model call the leader changes with the design, so price each part rather than guess.

When does a cache pay for itself?

When the cost a hit avoids, times the hits, is more than the cache costs. In the example one cache.t4g.small node costs $18.69 a month and a hit skips $0.88 per million requests of DynamoDB calls, so it pays above a 21% hit rate at 100 million requests a month. At a million requests a month the same cache never pays, even if every request hits. Pick what a hit skips, the database or the AI call, and the page works out the break-even.

How much does an AI model call add to a request?

In the chat example, one Claude Sonnet 5.5 call with 3,000 tokens in, 60% of them cached, and 400 out costs $6,580.00 per million requests, 99.8% of the request. Compute is next, at $10.20 per million. Shorter prompts, a larger cached share and a cheaper model move this part most.

Why does this page leave out free tiers?

Free tiers are left out on purpose. Lambda, Cloud Run, DynamoDB, Firestore and data transfer each give a monthly allowance, but it is shared by every workload in the account and is used up quickly at scale. Leaving it out shows what one more request costs, which is what a design decision changes. A small service may pay less than this page shows.

What does this page not include?

API Gateway, load balancers and CDN, data held in storage or a database, backups, AI prompt cache writes and batch discounts, idle or minimum instances, cold starts, and traffic between zones or regions. Add them on their own calculators if your request uses them.

Can a script or an AI agent use this calculator?

Yes. GET https://tools.finitizer.com/request-cost-calculator/api takes the same parameters as this page, with no account or key, and answers with JSON or a markdown table from the same engine. catalog=options lists the regions, cache nodes and AI models. Anything it cannot use is an error rather than a default.

Related tools

More tools for: Compute and utilization, Databases and caching, Network and data transfer, AI and model usage

One request priced. Your bill has them all.

Finitizer reads your AWS and Google Cloud billing data every day and shows which services and endpoints drive the bill, so you can see what each design change saved.

See how Finitizer works

Rate this tool

How would you rate the Request Cost Calculator?