From e38d9d050001409fae1d3729c3d7dd97f72cb2b0 Mon Sep 17 00:00:00 2001 From: based Date: Sun, 31 Mar 2024 19:29:22 +1000 Subject: [PATCH] and they update it once more. --- Anthropic.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Anthropic.py b/Anthropic.py index 4d5139f..34365a6 100644 --- a/Anthropic.py +++ b/Anthropic.py @@ -50,12 +50,13 @@ async def check_anthropic(key: APIKey, session): def get_tier(tokenlimit, ratelimit): + # if they change it again i'll stop checking for tpm. tier_mapping = { (20000, 5): "Free Tier", (40000, 50): "Tier 1", (80000, 1000): "Tier 2", (160000, 2000): "Tier 3", - (320000, 4000): "Tier 4" + (400000, 4000): "Tier 4" } return tier_mapping.get((tokenlimit, ratelimit), "Scale Tier")