mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-16 01:37:59 +00:00
community: Add cost data for aws bedrock anthropic.claude-3-7 model (#30016)
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
This commit is contained in:
parent
289b3422dc
commit
f69deee1bd
@ -11,6 +11,7 @@ MODEL_COST_PER_1K_INPUT_TOKENS = {
|
||||
"anthropic.claude-3-sonnet-20240229-v1:0": 0.003,
|
||||
"anthropic.claude-3-5-sonnet-20240620-v1:0": 0.003,
|
||||
"anthropic.claude-3-5-sonnet-20241022-v2:0": 0.003,
|
||||
"anthropic.claude-3-7-sonnet-20250219-v1:0": 0.003,
|
||||
"anthropic.claude-3-haiku-20240307-v1:0": 0.00025,
|
||||
"anthropic.claude-3-opus-20240229-v1:0": 0.015,
|
||||
"anthropic.claude-3-5-haiku-20241022-v1:0": 0.0008,
|
||||
@ -23,6 +24,7 @@ MODEL_COST_PER_1K_OUTPUT_TOKENS = {
|
||||
"anthropic.claude-3-sonnet-20240229-v1:0": 0.015,
|
||||
"anthropic.claude-3-5-sonnet-20240620-v1:0": 0.015,
|
||||
"anthropic.claude-3-5-sonnet-20241022-v2:0": 0.015,
|
||||
"anthropic.claude-3-7-sonnet-20250219-v1:0": 0.015,
|
||||
"anthropic.claude-3-haiku-20240307-v1:0": 0.00125,
|
||||
"anthropic.claude-3-opus-20240229-v1:0": 0.075,
|
||||
"anthropic.claude-3-5-haiku-20241022-v1:0": 0.004,
|
||||
|
Loading…
Reference in New Issue
Block a user