Skip to content

AWS Price List API (GetProducts) missing Claude 3.5+ and Claude 4.x models for AmazonBedrock

0

When querying the AWS Price List API for AmazonBedrock, Claude 3.5 and Claude 4.x models (Sonnet, Haiku, Opus) are missing entirely. Only legacy models are returned:

  • Claude Instant
  • Claude 2.0
  • Claude 2.1
  • Claude 3 Haiku
  • Claude 3 Sonnet

This can be verified with:

aws pricing get-attribute-values \
  --service-code AmazonBedrock \
  --attribute-name model \
  --region us-east-1

The current pricing page (aws.amazon.com/bedrock/pricing) shows these models with pricing under the Anthropic tab, but that data is not reflected in the Price List API.

This makes it impossible to programmatically look up on-demand token pricing for Claude 4.x models (e.g. us.anthropic.claude-opus-4-8, us.anthropic.claude-sonnet-4-6) for cost attribution pipelines.

Is there a workaround or explanation for why the pricing CLI doesn't include the same information as the pricing page?

1 Answer
0

Claude 3.5+ and 4.x models are priced under a separate service code, AmazonBedrockService, which covers cross-region inference profiles, rather than AmazonBedrock, which only reflects standard regional inference for older models. This is why your current queries return only the legacy Claude models.

You can access the updated pricing data using the following:-

Bulk CSV endpoint:-

$ curl -s "https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonBedrockService/current/eu-central-1/index.csv" | grep -i claude

Price List API:-

$ aws pricing get-products \
  --service-code AmazonBedrockService \
  --region us-east-1 \
  --filters Type=TERM_MATCH,Field=regionCode,Value=eu-central-1 \
  --output text > bedrockservice_products.json

Additionally, please note that not all Claude models are fully represented in the Pricing API at this time, and there are ongoing efforts to improve consistency across all Bedrock models and regions. There is no specific timeline to commit, however, we encourage you to monitor the links below for any upcoming announcements [1][2][3][4].

References:-

  1. AWS What's New - https://aws.amazon.com/new/
  2. AWS News Blog - https://aws.amazon.com/blogs/aws/
  3. AWS Discussion Forums - https://forums.aws.amazon.com/
  4. Amazon Bedrock Pricing - https://aws.amazon.com/bedrock/pricing/
answered 8 days ago
AWS
SUPPORT ENGINEER
revised 7 days ago
AWS
SUPPORT ENGINEER
revised 7 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.