community: adding haiku 3.5 and opus callbacks (#28783)

**Description:** 
Adding new AWS Bedrock model and their respective costs to match
https://aws.amazon.com/bedrock/pricing/ for the Bedrock callback

**Issue:** 
Missing models for those that wish to try them out

**Dependencies:**
Nothing added

**Twitter handle:**
@David_Pryce and / or @JamfSoftware

If no one reviews your PR within a few days, please @-mention one of
baskaryan, efriis, eyurtsev, ccurme, vbarda, hwchase17.
This commit is contained in:
David Pryce-Compson 2024-12-18 14:45:10 +00:00 committed by GitHub
parent 05a44797ee
commit ef24220d3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,6 +12,8 @@ MODEL_COST_PER_1K_INPUT_TOKENS = {
"anthropic.claude-3-5-sonnet-20240620-v1:0": 0.003,
"anthropic.claude-3-5-sonnet-20241022-v2: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,
}
MODEL_COST_PER_1K_OUTPUT_TOKENS = {
@ -22,6 +24,8 @@ MODEL_COST_PER_1K_OUTPUT_TOKENS = {
"anthropic.claude-3-5-sonnet-20240620-v1:0": 0.015,
"anthropic.claude-3-5-sonnet-20241022-v2: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,
}