From 155caa55a86b1904c5f3073f061a97aa87be92ce Mon Sep 17 00:00:00 2001 From: Soumyadas15 Date: Fri, 4 Jul 2025 03:14:40 +0530 Subject: [PATCH] fix: add missing models to pricing tiers --- backend/utils/constants.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/backend/utils/constants.py b/backend/utils/constants.py index 3621db77..984079ed 100644 --- a/backend/utils/constants.py +++ b/backend/utils/constants.py @@ -13,12 +13,14 @@ MODEL_ACCESS_TIERS = { # "xai/grok-3-fast-latest", "openrouter/google/gemini-2.5-flash-preview-05-20", # Added "openrouter/google/gemini-2.5-pro", # Added Gemini 2.5 Pro + "anthropic/claude-3-5-haiku-latest", # "openai/gpt-4", "anthropic/claude-3-7-sonnet-latest", "anthropic/claude-3-5-sonnet-latest", "anthropic/claude-sonnet-4-20250514", "openai/gpt-4.1", "openai/gpt-4.1-mini", + "openrouter/deepseek/deepseek-chat-v3-0324", # "openrouter/deepseek/deepseek-r1", "openrouter/qwen/qwen3-235b-a22b", ], @@ -28,6 +30,7 @@ MODEL_ACCESS_TIERS = { "openai/gpt-4o", "openai/gpt-4.1", "openai/gpt-4.1-mini", + "anthropic/claude-3-5-haiku-latest", # "openai/gpt-4-turbo", # "xai/grok-3-fast-latest", "openrouter/google/gemini-2.5-flash-preview-05-20", # Added @@ -38,6 +41,7 @@ MODEL_ACCESS_TIERS = { "anthropic/claude-sonnet-4-20250514", "openai/gpt-4.1", "openai/gpt-4.1-mini", + "openrouter/deepseek/deepseek-chat-v3-0324", # "openrouter/deepseek/deepseek-r1", "openrouter/qwen/qwen3-235b-a22b", ], @@ -45,13 +49,16 @@ MODEL_ACCESS_TIERS = { "openrouter/deepseek/deepseek-chat", # "xai/grok-3-mini-fast-beta", "openai/gpt-4o", + # "openai/gpt-4-turbo", # "xai/grok-3-fast-latest", "openrouter/google/gemini-2.5-flash-preview-05-20", # Added "openrouter/google/gemini-2.5-pro", # Added Gemini 2.5 Pro + "openrouter/deepseek/deepseek-chat-v3-0324", # "openai/gpt-4", "anthropic/claude-3-7-sonnet-latest", "anthropic/claude-3-5-sonnet-latest", + "anthropic/claude-3-5-haiku-latest", "anthropic/claude-sonnet-4-20250514", "openai/gpt-4.1", "openai/gpt-4.1-mini", @@ -66,10 +73,12 @@ MODEL_ACCESS_TIERS = { # "xai/grok-3-fast-latest", "openrouter/google/gemini-2.5-flash-preview-05-20", # Added "openrouter/google/gemini-2.5-pro", # Added Gemini 2.5 Pro + "openrouter/deepseek/deepseek-chat-v3-0324", # "openai/gpt-4", "anthropic/claude-3-7-sonnet-latest", "anthropic/claude-3-5-sonnet-latest", "anthropic/claude-sonnet-4-20250514", + "anthropic/claude-3-5-haiku-latest", "openai/gpt-4.1", "openai/gpt-4.1-mini", # "openrouter/deepseek/deepseek-r1", @@ -87,6 +96,8 @@ MODEL_ACCESS_TIERS = { "anthropic/claude-3-7-sonnet-latest", "anthropic/claude-3-5-sonnet-latest", "anthropic/claude-sonnet-4-20250514", + "anthropic/claude-3-5-haiku-latest", + "openrouter/deepseek/deepseek-chat-v3-0324", "openai/gpt-4.1", "openai/gpt-4.1-mini", # "openrouter/deepseek/deepseek-r1", @@ -103,7 +114,9 @@ MODEL_ACCESS_TIERS = { # "openai/gpt-4", "anthropic/claude-3-7-sonnet-latest", "anthropic/claude-3-5-sonnet-latest", + "anthropic/claude-3-5-haiku-latest", "anthropic/claude-sonnet-4-20250514", + "openrouter/deepseek/deepseek-chat-v3-0324", "openai/gpt-4.1", "openai/gpt-4.1-mini", # "openrouter/deepseek/deepseek-r1", @@ -120,7 +133,9 @@ MODEL_ACCESS_TIERS = { # "openai/gpt-4", "anthropic/claude-3-7-sonnet-latest", "anthropic/claude-3-5-sonnet-latest", + "anthropic/claude-3-5-haiku-latest", "anthropic/claude-sonnet-4-20250514", + "openrouter/deepseek/deepseek-chat-v3-0324", "openai/gpt-4.1", "openai/gpt-4.1-mini", # "openrouter/deepseek/deepseek-r1",