You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`cloudcost_aws_bedrock_search_unit_usd_per_1k_search_units`| Gauge | AWS Bedrock search unit price in USD per 1000 search units (e.g. Cohere Rerank) |`account_id`=<AWSaccountID> <br/> `region`=<AWSregion> <br/> `model_id`=<modelslug> <br/> `family`=<modelprovider> <br/> `price_tier`=<on_demand\|cross_region> |
8
+
9
+
## Overview
10
+
11
+
The Bedrock collector exports list-price token cost metrics for AWS Bedrock foundation models across all configured regions. These are pricing rates, not measured spend. Multiply rates by token usage (e.g. from CloudWatch `AWS/Bedrock` metrics) to compute estimated cost.
12
+
13
+
## Configuration
14
+
15
+
Add `bedrock` to your AWS services configuration:
16
+
17
+
```yaml
18
+
aws:
19
+
services: ["bedrock"]
20
+
regions: ["us-east-1", "us-west-2"]
21
+
```
22
+
23
+
Or via command line:
24
+
```bash
25
+
--aws.services=bedrock
26
+
```
27
+
28
+
## Labels
29
+
30
+
-**`account_id`**: AWS account ID (12-digit), resolved via STS `GetCallerIdentity`
31
+
-**`region`**: AWS region for which the price applies
32
+
-**`model_id`**: Model slug from the AWS Pricing API `usagetype` field (e.g. `Claude3Sonnet`, `Llama4-Scout-17B`, `Nova2.0Pro`)
33
+
-**`family`**: Model provider, lowercased with spaces replaced by underscores (e.g. `anthropic`, `amazon`, `meta`, `mistral_ai`). Models with no provider attribute use `amazon`.
34
+
-**`price_tier`**: Inference tier: `on_demand`, `on_demand_batch`, `on_demand_flex`, `on_demand_priority`, or `cross_region`
35
+
36
+
## Notes
37
+
38
+
- Pricing data is fetched from the AWS Pricing API (`us-east-1` endpoint) and refreshed every 24 hours
39
+
- Image, video, audio, cache, and guardrail SKUs are skipped; only text token SKUs are emitted
40
+
-`model_id` is the pricing SKU slug, not the canonical Bedrock model ARN
41
+
42
+
## IAM Permissions
43
+
44
+
Required permissions for Bedrock metrics collection:
0 commit comments