To track AWS costs per project, give each project its own AWS account, then group your spend by account. That turns the bill into a list with one line per project, with no tagging scheme to maintain. The rest of the job is getting that list in front of you often enough to act on it, because a number you only see on the invoice can’t warn you of anything.
This post covers the three ways to split costs by project, the single query that gets you the figures, what it costs to run, and how to be told when a project goes past a number you pick.
Three ways to split AWS costs by project
Separate accounts are the most reliable way to split AWS costs by project, because nothing can land in the wrong place. Tags and naming conventions both depend on every resource being labelled correctly.
| Method | How it works | Where it breaks |
|---|---|---|
| One account per project | Every charge belongs to the account it ran in | Needs an AWS Organization, and some setup per project |
| Cost allocation tags | You tag resources, then activate the tag in Billing | Anything untagged lands in an unallocated pile |
| Separate regions or name prefixes | Convention only | Shared services, and anyone forgetting the rule |
Tags still have their place inside a project, for instance to split the database from the frontend. They also need preparation: AWS says a new tag key can take up to 24 hours to appear for activation, and up to 24 more to activate. The account boundary works from the first request, and the case for it goes well beyond billing. There’s more in why every project should have its own AWS account.
Get the figures with one Cost Explorer query
With one account per project, a single Cost Explorer query gives you spend per project. Run it from your Organization’s management account, which can see every account beneath it.
First switch Cost Explorer on. This is a one-time step, and it can’t be done through the API: open Cost Explorer in the Billing console and launch it. The current month’s data takes about 24 hours to appear. Enabling it also sets up Cost Anomaly Detection for you, which is a useful bonus.
Then ask for this month, grouped by account:
aws ce get-cost-and-usage \
--time-period Start=2026-11-01,End=2026-12-01 \
--granularity MONTHLY \
--metrics UnblendedCost \
--group-by Type=DIMENSION,Key=LINKED_ACCOUNT
The response has one group per account ID, each with an amount. Match the IDs to your projects and you have the list. In the console, the same view is Cost Explorer with Group by set to Linked account.
For a rough pace, divide this month’s spend by the days completed, then multiply by the days in the month. A project at $8 on the 16th is heading for about $16. It’s a straight line, so a one-off charge early in the month will overstate it, and it means little in the first few days.
What tracking costs
The Cost Explorer console has no charge for standard reports, and the API costs $0.01 per request. One check a day is about 30 cents a month. Checking from a script every five minutes is around $86 a month, and it wouldn’t tell you more, because AWS updates this data at least once every 24 hours. Cache the answer and check daily.
Get told when a project passes a number
Tracking only helps if you look, so add an alert that comes to you. AWS Budgets monitors and notifies free of charge, and a budget can be scoped to a single linked account, so each project gets its own threshold.
Set the number a little above what the project normally spends, and for a project that should be idle, use the zero-spend template. The exact steps are in how to avoid a surprise AWS bill. Because AWS sends the email itself, it reaches you even when your laptop is closed.
Remember the delay. Cost data is a daily view, so neither a budget nor any tool built on this data will catch a runaway resource in minutes. The real protection against that is choosing services that cost nothing when idle.
The menu bar version
If you’d rather not script this, TigerSoup does it from your Mac’s menu bar. It’s the free app that sets up each project in its own AWS account, and because it knows which account belongs to which project, it can show spend by name instead of by account ID.

The panel lists this month’s spend, the pace and last month’s total for each project, then any other accounts in your Organization, so the total lines up with your AWS bill. Pick a monthly amount for any row and your Mac notifies you the first time it’s passed.
It runs the same query as above, so the same rules apply:
- Each refresh is one $0.01 request on your main AWS account. It refreshes once a day while the app is running, and when you open the panel if the figures are over an hour old, which comes to about 30 cents a month.
- Cost Explorer has to be switched on once, as described above.
- It needs a saved AWS sign-in rather than SSO, because a background refresh can’t open a browser.
- Alerts are checked on your Mac, so they only fire while TigerSoup is running. Keep an AWS budget too, as your backstop for when the Mac is off.
The figures and alerts stay on your Mac. Whichever route you take, the principle is the same: one account per project, one daily number per account, and an alert for the day that number moves.