diff --git a/src/codehelp/docs/manual_class_creation.md b/src/codehelp/docs/manual_class_creation.md index 97364cb..5958004 100644 --- a/src/codehelp/docs/manual_class_creation.md +++ b/src/codehelp/docs/manual_class_creation.md @@ -29,7 +29,7 @@ If you don't have an API key yet, you can leave it blank for now, but it will be You can create an API key using an account at openai.com. OpenAI will charge you directly for your students' usage, so you will need to purchase usage credits using a credit card. The cost is low. -One query from CodeHelp costs roughly US$0.01 if using GPT-4 (the recommended model) or $0.001 using GPT-3.5 (which is less accurate). +One query from CodeHelp costs roughly US$0.01 if using GPT-4o (the recommended model) or $0.0004 using GPT-4o-mini (which is less accurate). ## Configuration diff --git a/src/codehelp/templates/landing.html b/src/codehelp/templates/landing.html index 050b168..588eb0a 100644 --- a/src/codehelp/templates/landing.html +++ b/src/codehelp/templates/landing.html @@ -161,7 +161,8 @@
CodeHelp itself does not take payment, but the OpenAI large language models it uses are not free. We will ask you to provide an OpenAI API key to be used for your students' queries.
-Costs are low: OpenAI will charge you roughly US$0.01 for each query made with the GPT-4 model (GPT-3.5 is roughly 1/10 the cost, though less accurate). If your students use CodeHelp regularly and average 50 queries each over a semester (higher than the average we've observed), your total costs would be roughly $0.50 per student (or $0.05 per student if using GPT-3.5).
+Costs are low: OpenAI will charge you roughly US$0.01 for each query made with the default GPT-4o model. If your students use CodeHelp regularly and average 50 queries each over a semester (higher than the average we've observed), your total costs would be roughly $0.50 per student.
+(The GPT-4o-mini model is also available, and it is much less expensive though also less accurate and helpful. The same scenario above would cost about $0.02 per student if using GPT-4o-mini.)
Note that GPT-4 produces more accurate results than 3.5 but is also roughly 10 times the cost.