mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-23 00:41:40 +00:00
test(bedrock_mantle): document mantle in-region pricing invariant
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
31f1c5d331
commit
a774e71175
1 changed files with 5 additions and 0 deletions
|
|
@ -1844,6 +1844,11 @@ class TestBedrockMantleResponsesPricing:
|
|||
["openai.gpt-5.6-sol", "openai.gpt-5.6-terra", "openai.gpt-5.6-luna"],
|
||||
)
|
||||
def test_mantle_matches_in_region_converse_pricing(self, local_cost_map, model):
|
||||
"""bedrock-mantle serves these models In-Region only, and the AWS model
|
||||
cards price In-Region and Geo CRIS identically -- so every cost field on
|
||||
the mantle key must equal the `us.` converse key. A price change applied
|
||||
to one namespace but not the other shows up here.
|
||||
"""
|
||||
mantle = litellm.model_cost[f"bedrock_mantle/{model}"]
|
||||
converse = litellm.model_cost[f"us.{model}"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue