Feature requests

Automate Amazon Bedrock Cost Tracking

7h agoPlanned

Automate Amazon Bedrock spending tracking

Problem
AWS services can currently be tracked with manual monthly estimates or imported charges. Bedrock users need an automatic view of AWS-reported spending in the Mac app.

Proposed first version
Add a read-only AWS Cost Explorer connection under Capital Account. Flow: Connect AWS → choose an AWS profile → Track Bedrock → automatic daily sync. Reuse a local AWS profile and support browser sign-in through IAM Identity Center when configured. Request the billing-read permissions ce:GetCostAndUsage and ce:GetDimensionValues.

Fetch daily costs filtered to Bedrock, with an optional model breakdown. Show month-to-date spending, daily history, the selected account/profile, and the last successful refresh. Re-fetch recent dates to pick up AWS billing adjustments and label reporting delays or provisional figures. Keep AWS-reported costs separate from manual estimates and recorded invoices to avoid double counting.

Acceptance criteria
• Connect and disconnect an AWS profile without changing the applications that use Bedrock.
• Automatically refresh once daily while the app is running; catch up after reopening.
• Persist reported amounts, currency, reporting periods, and refresh state locally; update existing periods instead of duplicating charges.
• Handle expired sessions and failed refreshes clearly while preserving cached data.
• Confirm the displayed Bedrock totals against AWS Cost Explorer for the same account, dates, and cost metric.

Follow-up
Optionally add CloudWatch request counts and input/output token metrics for activity detail. Keep that usage view distinct from AWS billing figures.

0 comments