Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

community: Add cost data for aws bedrock anthropic.claude-3-7 model #30016

Conversation

lakinduboteju
Copy link
Contributor

This pull request includes updates to the libs/community/langchain_community/callbacks/bedrock_anthropic_callback.py file to add a new model version to the list of supported models.

Updates to supported models:

  • Added support for the anthropic.claude-3-7-sonnet-20250219-v1:0 model with a rate of 0.003 for 1000 input tokens.
  • Added support for the anthropic.claude-3-7-sonnet-20250219-v1:0 model with a rate of 0.015 for 1000 output tokens.

AWS Bedrock pricing reference : https://aws.amazon.com/bedrock/pricing

Copy link

vercel bot commented Feb 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Feb 27, 2025 9:26am

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. community Related to langchain-community 🤖:nit Small modifications/deletions, fixes, deps or improvements to existing code or docs labels Feb 27, 2025
@eyurtsev eyurtsev self-assigned this Feb 27, 2025
@eyurtsev
Copy link
Collaborator

eyurtsev commented Feb 27, 2025

Thank you! (Confirming that I double checked the prices.)

@eyurtsev eyurtsev merged commit f69deee into langchain-ai:master Feb 27, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Related to langchain-community 🤖:nit Small modifications/deletions, fixes, deps or improvements to existing code or docs size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants