Cloud and GPU · Read with a key
Amazon Bedrock invocation logs
Model and tokens for every Bedrock call from model invocation logs in S3 or CloudWatch Logs, with the caller's IAM identity and request metadata tags. Request-level telemetry, never a bill: Amazon Nova, Titan, Cohere Embed and Meta Llama are priced at the Bedrock on-demand price (us-east-1), Claude at Anthropic's list price, unless you set a Bedrock contract rate. Prompt and response bodies are not stored.
- How data moves
- AI Spendbook reads it on a schedule with a key, token or read-only role you give it.
- Credential
- API key or token
- What it covers
- request telemetry
- Money
- An estimate priced by AI Spendbook, never a bill
- Runs
- each scheduler run (daily on the hosted deployment)
- Freshness
- Bedrock delivers invocation logs within minutes; S3 files arrive in batches.
- History on first sync
- Up to 90 days
- Not included
- billed cost
- Status
- Built from the vendor's public documentation and tested with recorded responses. Not yet run against a live account.
Set it up
- In the Bedrock console open Settings → Model invocation logging and turn it on with an S3 or CloudWatch Logs destination. Text logging is enough.
- Create an IAM role that trusts our AWS account with an external ID (or an IAM user with an access key) that can read that destination.
- Enter the destination, region, account ID and bucket or log group, then the credentials.
- We read model, token counts, request id, time, the caller's ARN and the request metadata keys customer_id, feature, environment, session_id and trace_id. Prompt and response bodies are skipped.
What it needs
S3: s3:ListBucket and s3:GetObject on <bucket>/<prefix>/AWSLogs/<account>/BedrockModelInvocationLogs/*. CloudWatch: logs:FilterLogEvents on the log group.