AWS Bedrock Cost Analyzer

0•

Analyzes and visualizes AWS Bedrock model consumption and spending patterns directly from the CLI.

A professional CLI utility designed for developers and DevOps engineers to gain granular visibility into AWS Bedrock expenditures. It queries the AWS Cost Explorer API to provide detailed breakdowns of token usage—including input, output, and cache reads/writes—across different regions and models. By providing visual ASCII charts, formatted tables, and programmatic JSON output, it enables teams to identify cost spikes, optimize token consumption, and integrate cost reporting into automated workflows.

Key Features

010 GitHub stars
02Granular token usage tracking for Input, Output, and Cache Write/Read operations
03Multi-format output support including JSON, summary tables, and regional breakdowns
04Flexible historical analysis with customizable periods from 1 day up to 1 year
05Interactive visual reporting with ASCII line and bar charts using gnuplot
06Programmatic Python API for custom cost-tracking integrations and automation

Use Cases

01Generating automated weekly executive summaries of AI infrastructure spending
02Identifying cost-heavy models or regions to drive budget optimization strategies
03Integrating programmatic cost data into CI/CD pipelines to monitor AI deployment impact