Skip to content

Commit c313edd

Browse files
committed
add safe margine to openai free tier
1 parent 13d9ac5 commit c313edd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonkr_backend/curation/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ def _get_available_models_for_provider(cls, provider, model_configs):
565565

566566
if model_key in combined_models:
567567
# Check combined quota
568-
if combined_tokens < 250000:
568+
if combined_tokens < ( 250000 * 0.9 ):
569569
available_models.append(model_name)
570570
else:
571571
# Check individual quota (gpt-4.1-mini)

0 commit comments

Comments
 (0)