Documentation

Amazon Bedrock Usage

See Amazon Bedrock calls, tokens, billed cost and callers for each model in your connected AWS accounts. Lists the AWS permissions ZopNight reads with, and what each one shows.

The Amazon Bedrock view shows how your AWS accounts use Amazon Bedrock and what it costs, for each model. It has two views, each in the Amazon Bedrock section of AI Providers:

  • What it costs: Costs → Reports → AI Spend → AI Providers, provider Amazon Bedrock. Billed and estimated spend, spend by model and per day.
  • How your accounts use it: AI Estate → AI Usage → AI Providers, provider Amazon Bedrock. Calls, tokens, models and who is calling.

ZopNight lists Amazon Bedrock when a connected AWS account uses it.

For each model you see:

  • Calls, input tokens, output tokens and prompt-cache tokens.
  • Average latency, error rate and throttled calls.
  • Billed cost, and the cost per million tokens.
  • An estimate for the days AWS has not billed.

Who is calling lists each IAM principal (user or role) that called a model: its calls, errors, tokens, models and when it last called. Point at a caller to see the user agents it called with.

When ZopNight can't read Amazon CloudWatch for some of your accounts, the Calls and Tokens cards show Partial and name the accounts left out.

When more than one AWS account uses Amazon Bedrock, pick one under AWS account to see it alone, or All accounts to see them combined.

ZopNight only reads data. It never calls a model in your account for this view.

Before you start

NeedDetail
A connected AWS accountSee Cloud Accounts.
Amazon Bedrock use in that accountZopNight finds each model from its Amazon CloudWatch metrics.
Billed cost (optional)A cost source that reads AWS billing. See Billing.

What ZopNight needs from your AWS account

Nothing new. The ZopNight role from our CloudFormation template, or the AWS managed ReadOnlyAccess policy, already holds every action below. If your role is narrower, the view names each missing action and what it hides.

AWS actionWhat it showsWithout it
cloudwatch:ListMetricsWhich models the account callsModels used since the last check are not listed.
cloudwatch:GetMetricDataCalls, tokens, latency, errors, throttlesThese read as not available for the account.
ce:GetCostAndUsageBilled cost per model per day, from AWS Cost ExplorerCost is an estimate from AWS list prices.
s3:GetObject, s3:ListBucket on your CUR 2.0 export bucketBilled cost per token typeBilled cost is per model, not per token type.
cloudtrail:LookupEventsWho is callingWho is calling is empty.
bedrock:ListFoundationModelsModel names and providersModels show their AWS model IDs.
bedrock:ListInferenceProfilesYour application inference profilesNew application inference profiles are not listed.

A role that has cloudwatch:GetMetricStatistics but not cloudwatch:GetMetricData still shows usage.

How the numbers are worked out

  • Calls and tokens come from the Amazon Bedrock metrics in Amazon CloudWatch, summed per hour. AWS lists them in Amazon Bedrock runtime metrics.
  • Billed cost is your AWS bill. It is the same total as Costs → Reports. AWS Marketplace bills Claude and other third-party models under names such as Claude Sonnet 4.5 (Amazon Bedrock Edition). ZopNight counts them as Amazon Bedrock.
  • Estimated cost is tokens × the AWS list price. It covers the days your bill has not reached for a model: the days after your newest billed day, and a day the bill has reached through another service but not yet this model's. It is always labelled, and the billed cost replaces it when the bill arrives. A model with no AWS list price is left out of the estimate, and the view says how many models it excludes. Usage arrives with the nightly read, so the latest hours show the next day; if that read stops, the days it has not reached are left out and the view says so. ZopNight prices cache writes at the 5-minute rate, because AWS does not report which were 1-hour writes. Where a model has a dearer 1-hour rate, the estimate says at least.
  • Not available means ZopNight could not read the number. It is never shown as 0.
  • Bedrock spend without per-model detail is spend that AWS billed without naming a model. Cost Explorer returns some days at service level only.
  • AI Gateway calls to Amazon Bedrock run in your AWS account, so they are already in your Amazon Bedrock bill. The AI Spend total counts them once, for the hours the Amazon Bedrock figure covers. Each gateway call counts against the AWS account its model runs in. Your newest billed day may still be filling in, so its gateway calls stay on the AI Gateway row. Some days keep both figures whole, and the total says they may overlap: that newest day, and a day that mixes a model ZopNight cannot estimate with one it can. The same holds for a call whose gateway model someone has since removed.

ZopNight reads all of this once a night, so today's calls show the next day.

Get billed cost per token type

AWS Cost Explorer gives Amazon Bedrock cost per model per day, but not per token type. Cost per model is exact. To split billed cost into input, output and cache tokens, you create an AWS CUR 2.0 export (AWS Data Exports) and ZopNight support connects it:

  1. In the AWS Billing and Cost Management console, open Data Exports and create a standard data export. Pick CUR 2.0, select Include resource IDs, and choose Overwrite existing data export file and gzip - text/csv. ZopNight can't read Parquet files.
  2. Grant the ZopNight role s3:GetObject and s3:ListBucket on the export's S3 bucket.
  3. Ask ZopNight support to connect the export to your AWS account. Give them the bucket, prefix, export name and region.

Until then, the view shows each model's total billed cost, with a notice that links to this page.

FAQ

QuestionAnswer
Do I need to turn on model invocation logging?No. Calls per caller come from AWS CloudTrail.
Why does a caller show calls but no tokens?Tokens per caller cover the calls that AWS CloudTrail records with token counts: Converse and InvokeModel. For a streaming call, CloudTrail writes the tokens in a separate record a moment later; when that record is read in a later sync than the call, the call shows no tokens. Tokens for every call are shown per model.
How far back does Who is calling go?AWS CloudTrail keeps 90 days of events. On a very busy account, the first nights read part of it, and the view says the counts are still catching up. Above about 15,000 calls a day in a region, each night reads only part of the new calls, and the view says the callers are a sample.
Does ZopNight read my prompts or responses?No. For each call it keeps the caller, the call type, the result, the model ID, the user agent and the token counts.
Why is the estimate different from the bill?The estimate uses list prices. Your bill includes discounts, credits and your actual rates.
Who can see this view?People who can view cost reports for the whole organisation. The callers list names IAM principals across accounts, so a role limited to some resources can't open it.