# AWS Bedrock Price Monitor – Models, Regions & Rate Changes (`maydit/aws-bedrock-price-monitor`) Actor

Compare official AWS Bedrock public rates by model and region. Export exact units, tiers, SKUs and effective dates, then track saved price changes without an AWS key.

- **URL**: https://apify.com/maydit/aws-bedrock-price-monitor.md
- **Developed by:** [Brandt May](https://apify.com/maydit) (community)
- **Categories:** Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.60 / 1,000 saved results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

![AWS Bedrock Price Monitor — illustrative workflow](https://mayd-it.com/assets/actor-banners/aws-bedrock-price-monitor-74c02031f459.png)

## AWS Bedrock Price Monitor

**Know which published model rates changed, with the units and source evidence needed to review them.**

Export model-bearing Amazon Bedrock OnDemand rates from AWS's official public regional price files. Each row keeps the exact model, region, inference type, usage type, SKU, tier, currency, source unit and effective date. Save a baseline and repeat the same input to find actual observed changes.

### Start in under a minute

1. Keep **us-east-1**, model **Nova**, inference type **input**, and the small default of **3 results** for a first check.
2. Run and open the dataset for JSON, CSV or Excel output. Read **RUN_REPORT** or **SUMMARY** for coverage and any source errors.
3. Enable **Compare with previous observations**, choose a history name, and repeat the same input. The first complete run establishes a baseline; later runs include previous values and changed fields.

```json
{
  "regionCodes": ["us-east-1", "us-west-2"],
  "modelContains": "Nova",
  "inferenceTypeContains": "input",
  "ratesPerRegion": 3,
  "maxResults": 6,
  "comparePrevious": true,
  "snapshotName": "nova-regional-rates"
}
```

Three matching rates from each region are selected in model, inference-type and rate-code order. The overall `maxResults` applies afterward. Search terms are case-insensitive substrings; empty model text selects all products that have a source model name. Empty inference text includes all model-bearing inference types, including rows where AWS does not supply that optional field.

### Useful for

- FinOps teams maintaining source-linked AI-service price catalogs.
- AI agencies checking public rates for the models and regions in customer proposals.
- Platform engineers reviewing exact published rate changes before updating internal cost calculators.

### What a row means

| Field | Meaning |
|---|---|
| `model`, `provider`, `regionCode` | Source-listed model, optional provider and requested pricing region |
| `inferenceType`, `usageType`, `feature` | Source service mode; input, output, cache, batch and cross-region rates are distinct |
| `pricePerUnit`, `priceUsd`, `unit` | Original decimal USD price text, numeric convenience value and unchanged source unit |
| `beginRange`, `endRange` | Price-tier bounds; `Inf` is an unbounded upper tier |
| `sku`, `offerTermCode`, `rateCode` | Exact official identities for the price dimension |
| `effectiveDate`, `sourceVersion`, `sourcePublicationDate` | Rate effective date and retrieved price-file evidence |
| `comparisonStatus`, `previous`, `changedFields` | Comparison against your last complete saved observation |
| `priceDeltaUsd`, `priceChangePercent` | Change for a matching rate with compatible unit, tier, mode and applicability; otherwise null |
| `sourceUrl`, `url` | Exact regional AWS price file and official Bedrock pricing page |

**A price per 1K tokens is not a price per 1M tokens.** This Actor preserves units instead of guessing conversions or comparing unlike modalities. Same model names can have different inference modes, tiers, service priorities and routing. The Actor does not calculate a workload bill or recommend a model. A source-listed zero remains zero; missing or invalid prices do not become zero. A percentage change from a prior zero is null.

### Repeatable comparisons

Comparison history is isolated by region order, model and inference filters, rate window and `snapshotName`. Only rates observed in both complete runs receive comparable deltas. Source-file publication updates alone do not mark every rate changed. `onlyChanges` saves and charges only new or changed observations.

Partial source responses, time limits, output failures and spending caps do not advance the comparison baseline. A later missing rate does not prove it was removed. The selected window is explicitly reported and is not a complete AWS inventory. Avoid concurrent runs with the same history name; conflicting writers are detected rather than silently overwriting each other.

### Pricing and limits

The Actor price is **$0.001 per saved rate row**, plus **$0.00005 per start** before any applicable plan discounts. A three-row starter run has $0.00305 in Actor event charges. Set an Apify maximum charge to bound spending.

Up to three regions, fifty selected rates per region and one hundred saved rows total are supported. Each official source file is limited to eight MiB. The default input time budget is120 seconds; platform timeout is150 seconds. No AWS account, API key, billing access, browser login or proxy is required. Transient transport/502/503/504 errors receive at most one bounded same-source retry; authentication/rate-limit responses stop without bypass.

Only model-bearing **OnDemand USD** rates are included. Reserved/provisioned commitments, account-specific discounts, taxes, credits, promotions, private models, real bills and workload estimates are outside scope. Optional source fields remain null. Unsupported regions, missing matched-product price terms or malformed source identity produce explicit errors, not paid diagnostic rows.

### Source and usage

AWS documents direct public price-file retrieval in its [Price List guide](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/using-the-aws-price-list-bulk-api-fetching-price-list-files-manually.html). See [AWS price-file semantics](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/finding-prices-in-service-price-list-files.html) and [Bedrock pricing](https://aws.amazon.com/bedrock/pricing/) when interpreting the results. Published pricing is informational; use the official pricing page and your actual AWS agreement for purchase decisions. This independent Mayd It tool is not affiliated with AWS.

### Connect the results

Use Apify dataset exports or the API to load source-linked rates into your spreadsheet, warehouse or automation. Schedule the same saved input for repeat checks, and read the completion summary before updating downstream catalogs. For support, open an issue with the run URL and non-secret input.

### Companion workflows

Each Actor runs separately with its own inputs, authorization and pricing. These instructions do not configure automatic execution.

#### [AI Model Price & Capability Monitor - Models.dev](https://apify.com/maydit/ai-model-price-capability-monitor)

Compare published provider routes with exact Bedrock model rates.

1. Choose a model and region in the Bedrock output.
2. Find a corresponding model route in a separate model-price run.
3. Align model version, token direction, units, context and inference mode before comparing.

Provider list rates exclude account discounts, taxes and application costs; models with similar names can differ.

#### [Azure Retail Price Comparator – Regions & Meter Changes](https://apify.com/maydit/azure-retail-price-comparator)

Keep cloud infrastructure rate evidence alongside AI model prices.

1. Collect the relevant Bedrock rate dimension.
2. Run the Azure comparator separately for a precisely scoped resource and region.
3. Keep the two services as separate line items in your workload estimate.

Compute-hour rates and model token rates are different units and must not be ranked as interchangeable offers.

# Actor input Schema

## `regionCodes` (type: `array`):

One to three public AWS region codes. Each region is read from its official AmazonBedrock price file.

## `modelContains` (type: `string`):

Case-insensitive substring of the source model name. Empty selects all model-bearing price products.

## `inferenceTypeContains` (type: `string`):

Optional substring, such as input, output, cache, batch or image. Different inference modes are separate rates.

## `maxResults` (type: `integer`):

Maximum saved rate rows across all requested regions. Selection is region input order, then model, inference type and rate code. Rates beyond this window are not observed.

## `comparePrevious` (type: `boolean`):

The first complete run establishes a baseline under snapshotName. Partial runs do not advance it.

## `onlyChanges` (type: `boolean`):

Enables comparison. Unchanged records are neither saved nor charged.

## `snapshotName` (type: `string`):

Use 1–80 letters, digits, underscores or hyphens. Keep input filters the same to compare.

## `maxRunSeconds` (type: `integer`):

Source requests stop within this budget; partial coverage is reported explicitly.

## `ratesPerRegion` (type: `integer`):

Take this many sorted matching rates from each region before applying the overall maximum. For two regions and three rates each, set maximum results to six.

## Actor input object example

```json
{
  "regionCodes": [
    "us-east-1"
  ],
  "modelContains": "Nova",
  "inferenceTypeContains": "input",
  "maxResults": 3,
  "comparePrevious": false,
  "onlyChanges": false,
  "snapshotName": "default",
  "maxRunSeconds": 120,
  "ratesPerRegion": 3
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `summary` (type: `string`):

No description

## `report` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "regionCodes": [
        "us-east-1"
    ],
    "modelContains": "Nova"
};

// Run the Actor and wait for it to finish
const run = await client.actor("maydit/aws-bedrock-price-monitor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "regionCodes": ["us-east-1"],
    "modelContains": "Nova",
}

# Run the Actor and wait for it to finish
run = client.actor("maydit/aws-bedrock-price-monitor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "regionCodes": [
    "us-east-1"
  ],
  "modelContains": "Nova"
}' |
apify call maydit/aws-bedrock-price-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,maydit/aws-bedrock-price-monitor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/jGK9Ec6VPUwdz7x3W/builds/jyniuNo9w7q9vKBet/openapi.json
