Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:23:04 +08:00
commit ec60f8e0b6
7 changed files with 990 additions and 0 deletions

41
commands/table.md Normal file
View File

@@ -0,0 +1,41 @@
---
description: Display costs in formatted table view
argument-hint: period
---
Display AWS Bedrock costs in a formatted table with usage breakdown.
## Usage
```bash
aws-bedrock-cost-tool --table [OPTIONS]
```
## Options
- `--period DURATION`: Time period (default: 30d)
- `--detail basic|standard|full`: Detail level
- `--profile NAME`: AWS profile
- `-v/-vv/-vvv`: Verbosity levels
## Examples
```bash
# Standard table (last 30 days)
aws-bedrock-cost-tool --table
# Full detail with regions
aws-bedrock-cost-tool --table --detail full
# Last 90 days
aws-bedrock-cost-tool --period 90d --table
```
## Output
Displays formatted table with:
- Model names
- Total costs per model
- Token usage in millions (M)
- Usage type breakdown (input/output/cache)
- Regional breakdown (full detail only)