updated prices to match US-West-2 list price shown at https://aws.ama… #1607
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context
Updated Bedrock prices to match US-West-2 list price shown at https://aws.amazon.com/bedrock/pricing/. Added some older Claude and Llama models that are part of the default prompt routers AWS enabled for GA of the prompt router feature.
Implementation
I used Roo to do this by copying and pasting from the AWS website and asked it to compare against the api.ts file, and update it where there are differences.
How to Test
You should see new models in the Bedrock model selector. Prices shown by Roo should be more reflective of actual costs in AWS cost explorer. Where AWS charges different per region and you are not using US-West-2 there will be some difference between Roo and Cost Explorer. If you are a big AWS customer and have an Enterprise Discount Plan (EDP) they will also be different since Roo doesn't know your discount percentage.
Important
Updated Bedrock model prices and added older models in
api.tsto align with AWS US-West-2 pricing.api.tsto match AWS US-West-2 pricing.bedrockModelsfor prompt routers.amazon.nova-pro-latency-optimized-v1:0,anthropic.claude-2-1-v1:0,meta.llama3-1-70b-instruct-latency-optimized-v1:0, and others tobedrockModels.amazon.nova-lite-v1:0,anthropic.claude-3-5-haiku-20241022-v1:0, and others inbedrockModels.This description was created by
for 179d97c. It will automatically update as commits are pushed.