Skip to content

Commit 4201099

Browse files
committed
refactor: 모델 가격 정보 및 지원 모델 목록 업데이트
1 parent af4e16b commit 4201099

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

commitgen/generator.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@
66

77
# --- constants
88
MODEL_PRICING = {
9-
"gpt-4": {"prompt": 0.03, "completion": 0.06},
10-
"gpt-4.0": {"prompt": 0.03, "completion": 0.06},
11-
"gpt-4.1": {"prompt": 0.03, "completion": 0.06},
12-
"gpt-3.5-turbo": {"prompt": 0.0015, "completion": 0.002},
9+
"gpt-4.1": {"prompt": 0.002, "completion": 0.008}, # $2.00 / $8.00 per 1M
10+
"gpt-4o": {"prompt": 0.005, "completion": 0.020}, # $5.00 / $20.00 per 1M
11+
"gpt-4o-mini": {"prompt": 0.0006, "completion": 0.0024}, # $0.60 / $2.40 per 1M
12+
"gpt-3.5-turbo": {"prompt": 0.0005, "completion": 0.0015}, # $0.50 / $1.50 per 1M
1313
}
1414

15+
1516
LLM_MODEL = 'gpt-4.1'
1617
OpenAI_API = load_api_key()
1718

0 commit comments

Comments
 (0)