Show a tool your AWS bill without handing it a key
See your AWS bill by service and by Bedrock model, in the same month-to-date view as Claude and OpenAI.

Amazon Web Services (AWS) is Amazon's cloud. Developers rent EC2 servers and Fargate containers there, keep files in S3, and call hosted models such as Amazon Nova or Claude through Bedrock. CostCompass reads that bill through a read-only role you create in your own AWS account. No usable AWS credential of yours leaves your account, and deleting one CloudFormation stack takes the access back.
What you get is your AWS spend in the same month-to-date view as your model APIs: Bedrock split by model, Fargate and EC2 by service. The trade-off is that AWS charges about a cent for each Cost Explorer request, and its numbers run about a day behind.
How does CostCompass read your AWS bill without your AWS key?
You create a read-only role in your own AWS account with one CloudFormation stack. The role holds no secret. It tells AWS who may use it and what they may do, and AWS checks two locks every time CostCompass asks:
- Who is calling. Only CostCompass’s own AWS user gets in. A request from any other AWS account fails.
- Which card is asking. Each CostCompass card carries its own code, called an external ID, which CostCompass sets for you. Someone who copies your role’s address into their own card is still turned away.
Past both locks, the role can only read your billing data in Cost Explorer and the Free Tier. It cannot change anything in your account.

How do you connect AWS to CostCompass?
First switch Cost Explorer on by opening it once in the AWS console. Then connecting takes two steps in the AWS card: create the role, then paste its address back. The connect walkthrough shows both ways to create the role in about a minute and a half.
- Create the role. Click Open AWS setup to create it in the AWS console, or Copy setup command to run it in a terminal or AWS CloudShell. It takes about a minute.
- Paste the role ARN. Copy the role’s ARN, its address in AWS, into the card and click Check role.
Which AWS account should you connect?
Connect the account whose costs you want to see. To see several accounts in an AWS Organization, connect the management account. AWS lets it see every member account’s costs, while a member account sees only its own.
Two fields narrow what a card shows. ACCOUNT picks one account, or keeps them all. COST TAG picks costs carrying one of your cost-allocation tags.
Take an organization with a prod account running Bedrock and Fargate, and a sandbox account for experiments. One card connected at the management account shows both. Set ACCOUNT to prod and the card follows production alone, and a second AWS card can follow sandbox.
What does your AWS and Bedrock spend look like in CostCompass?
Your AWS card shows the month-to-date total, a forecast and a daily burn rate, like every other card.

Its breakdown has one line per AWS service, each with its month-to-date cost, plus a few splits that make an AI stack easier to read:
- Fargate gets its own line. AWS bills it under ECS or EKS, which would otherwise hide your container compute inside the orchestrator.
- EC2 other (storage, NAT, data transfer) is AWS’s “EC2 - Other” bucket, relabeled so you can tell it from instance hours.
- Amazon Bedrock splits into one line per model, with input and output token counts where CostCompass can read them. Prompt-cache reads and writes count in that model’s line, and their tokens show along the bottom of the card. AWS charges cache tokens at their own rates; how prompt caching is billed explains why.
A card not narrowed by ACCOUNT or COST TAG also shows how much of each Free Tier offer you have used, and any AWS credits you have left. Credits AWS applied this month get a line of their own, AWS credits, under Credits, so the month-to-date is what you pay after them while each service line still shows what it cost. The forecast is worked out from usage before credits, so it already shows next month’s bill as it will be once the credits run out. The DigitalOcean guide walks through an example month on a credit.

The AWS card sits in the same compute group as OVHcloud and RunPod, so GPU rentals and AWS compute count toward one compute total.
What is EC2-Other in Cost Explorer?
EC2-Other is the part of an EC2 bill that is not the server’s own running hours, with costs such as the EBS volumes it stores data on, NAT gateways, and data transfer. AWS files these under a separate service called “EC2 - Other”, so in Cost Explorer they do not sit with your instances.
Why is today’s AWS number low, and why does last month change?
Today’s number is low because Cost Explorer runs about a day behind. AWS’s Cost Explorer documentation says the current month’s data “is available for viewing in about 24 hours”, so the most recent day is usually partial.
Last month changes because AWS keeps revising it for a few days after it closes. Every refresh reads last month again, so the figures settle on AWS’s own. Google Cloud’s billing export also revises a closed month for a few days.
The forecast projects next month from recent spend; how CostCompass forecasts spending explains the method.
How much does AWS Cost Explorer cost?
About a cent per request, billed by AWS to your own account. AWS’s Cost Explorer pricing charges USD 0.01 for each API request.
A refresh is usually one paid request. Checking a new role, or opening the ACCOUNT or COST TAG list, costs one more each time.
How do you take CostCompass’s access away?
Delete the CostCompassReadOnly-… stack in CloudFormation. That removes the role, and with it the access CostCompass had to your billing.
Removing the AWS card in CostCompass does not delete the stack. CostCompass has no permission to delete anything in your account, so the remove dialog names the stack and gives you an Open in AWS link straight to it.
With the role in place, AWS is one more card in your total. Tracking AI costs across providers shows how it adds up with your other bills, and the guides hub has a page for every other provider you connect.
Frequently asked questions
- Does CostCompass store my AWS keys?
- No. There is no AWS key of yours to store. CostCompass keeps the role ARN, the external ID it set for your card, and your ACCOUNT and COST TAG choices. None of these lets anyone into your account on its own. Every AWS read runs in CostCompass's broker under CostCompass's own AWS key, which can use your role only with your card's external ID. Providers that do need a pasted key keep it in your encrypted vault instead, described on the security page.
- Why use CostCompass instead of AWS Cost Explorer?
- Cost Explorer stays the place for deep AWS analysis, with its filters, reports and history. CostCompass puts your AWS month-to-date spend, by service and by Bedrock model, in the same view as Claude, OpenAI, Google and the other providers you pay. You get one running total and one forecast across your whole AI stack, without granting more than a read of your bill.
About the author
Joubert Berger builds CostCompass, a spend-intelligence dashboard that pulls usage from AI and compute providers into one month-to-date total, a forecast, and a per-provider breakdown. This guide reflects how CostCompass reads each provider's own usage API — see the security model for how your keys are handled.
Read your AWS bill next to your model APIs
Create one read-only role, paste its ARN, and see AWS month-to-date spend by service and by Bedrock model beside every other provider you run, with a forecast.