Skip to content

Conversation

@Smartsheet-JB-Brown
Copy link
Contributor

@Smartsheet-JB-Brown Smartsheet-JB-Brown commented Mar 12, 2025

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.ts to align with AWS US-West-2 pricing.

  • Behavior:
    • Updated Bedrock model prices in api.ts to match AWS US-West-2 pricing.
    • Added older Claude and Llama models to bedrockModels for prompt routers.
  • Models:
    • Added amazon.nova-pro-latency-optimized-v1:0, anthropic.claude-2-1-v1:0, meta.llama3-1-70b-instruct-latency-optimized-v1:0, and others to bedrockModels.
    • Updated prices for amazon.nova-lite-v1:0, anthropic.claude-3-5-haiku-20241022-v1:0, and others in bedrockModels.

This description was created by Ellipsis for 179d97c. It will automatically update as commits are pushed.

…zon.com/bedrock/pricing/

// including older models that are part of the default prompt routers AWS enabled for GA of the promot router feature
@changeset-bot
Copy link

changeset-bot bot commented Mar 12, 2025

⚠️ No Changeset found

Latest commit: 179d97c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. enhancement New feature or request labels Mar 12, 2025
Copy link
Collaborator

@mrubens mrubens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Mar 12, 2025
@mrubens mrubens merged commit acac9e9 into RooCodeInc:main Mar 12, 2025
18 checks passed
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants