# AWS Bedrock adds per-user cost attribution for AI coding tools via IAM Identity Center

Digest AI · Enterprise & Industry · published 2026-11-13T18:44:02Z

Canonical: https://digestai.news/story/aws-bedrock-adds-per-user-cost-attribution-for-ai-coding-tools-via-iam

## Summary

AWS published a guide showing how organizations can track and control per-user spending on Amazon Bedrock when developers use AI coding tools such as Claude Code, Claude Desktop, OpenAI Codex, ChatGPT Work, and OpenCode. The method uses AWS IAM Identity Center connected to an external identity provider (Okta, Microsoft Entra ID, or Ping Identity) so each user's sign-in name becomes the session name in Bedrock billing data. Session tags for team and cost center flow into AWS Cost and Usage Reports (CUR 2.0) and Cost Explorer with no changes to API calls. The post walks through seven steps: configure Identity Center, create a Bedrock permission set, set up user workstations with AWS CLI v2, point each tool at Bedrock endpoints (bedrock-runtime or bedrock-mantle), enable IAM principal attribution in CUR 2.0, query costs with Amazon Athena, and visualize in Cost Explorer or QuickSight. For enforcement, AWS describes layered options: AWS Budgets with budget actions (up to 24-hour lag), CloudWatch alarms with Lambda (1–5 minutes), DynamoDB-based quota tracking at credential refresh, and an LLM gateway proxy for per-invocation blocking. Bedrock meters input, output, cache-read, and cache-write tokens separately; a single hour of activity typically produces four CUR rows. The approach works for any tool that routes inference through Bedrock and requires no custom credential scripts or per-user IAM roles.

## Key points

- Per-user cost attribution works for Claude Code, Codex, ChatGPT Work, and other tools via IAM Identity Center
- Session tags (team, cost center) flow into CUR 2.0 and Cost Explorer with zero API changes
- Enforcement options range from daily AWS Budgets to near-real-time gateway blocking

## Why it matters

FinOps teams can finally see which developers drive Bedrock spend and enforce limits without custom infrastructure, as AI coding tool adoption scales.

## Sources

1. [Cost attribution and controls for AI developer and productivity tools on Amazon Bedrock](https://aws.amazon.com/blogs/machine-learning/cost-attribution-and-controls-for-ai-developer-and-productivity-tools-on-amazon-bedrock) (AWS Machine Learning Blog, 2026-11-13, primary source)

## Cite

Digest AI, "AWS Bedrock adds per-user cost attribution for AI coding tools via IAM Identity Center", 13 November 2026, https://digestai.news/story/aws-bedrock-adds-per-user-cost-attribution-for-ai-coding-tools-via-iam

---

Written by Digest AI's editorial model from the linked sources; the sources are the record. Headlines, digests and key points are written by Digest AI and may be quoted with a link to the story page. Linked articles belong to their publishers. Terms: https://digestai.news/terms#reuse
JSON: https://digestai.news/story/aws-bedrock-adds-per-user-cost-attribution-for-ai-coding-tools-via-iam.json
