We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af4e16b commit 4201099Copy full SHA for 4201099
commitgen/generator.py
@@ -6,12 +6,13 @@
6
7
# --- constants
8
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},
+ "gpt-4.1": {"prompt": 0.002, "completion": 0.008}, # $2.00 / $8.00 per 1M
+ "gpt-4o": {"prompt": 0.005, "completion": 0.020}, # $5.00 / $20.00 per 1M
+ "gpt-4o-mini": {"prompt": 0.0006, "completion": 0.0024}, # $0.60 / $2.40 per 1M
+ "gpt-3.5-turbo": {"prompt": 0.0005, "completion": 0.0015}, # $0.50 / $1.50 per 1M
13
}
14
15
+
16
LLM_MODEL = 'gpt-4.1'
17
OpenAI_API = load_api_key()
18
0 commit comments