Large Language Models
CodeHelp can use several different large language models to generate responses. By default, the following models are available in CodeHelp. (Costs and response times are estimated here for uses of the “Q&A” tool. The cost of tutor chats varies greatly based on chat length.)
| Model | Avg cost per 100 queries | Average response time | Notes |
|---|---|---|---|
| Google Gemini 3.6 Flash | US$0.50* | 7 seconds | (Recommended) The best Google model here in terms of speed and quality. [*promotional pricing until January, 2027] |
| Google Gemini 3 Flash Preview | US$0.50 | 8 seconds | Only slightly slower than 3.6 Flash, and its responses are likely to be just as high quality in nearly all realistic student uses. |
| OpenAI GPT-5.6 Luna | US$0.14 | 6 seconds | (Recommended) The best OpenAI model for most cases. High quality responses at a high speed. |
| OpenAI GPT-4.1 nano | US$0.05 | 2 seconds | The lowest-cost and fastest of these options. It can provide accurate, helpful responses in a wide variety of cases, but it will be noticeably less accurate at times, including for less common programming languages, and it may exhibit less fluency in languages other than English. A good choice only if cost is the most important factor. |
Additional custom models can be added from your profile page for manually created classes; any OpenAI-compatible API endpoint can be used.
Not recommended
The larger frontier models from OpenAI and Google produce very high-quality responses, but their cost and/or speed make them poor choices. This includes the Gemini “Pro” models from Google and GPT-5.6 Sol from OpenAI. Their costs will be two to five times the cost of the most expensive models above, and they could take twice as long (or more) to respond.
These models will produce some of the highest quality responses available, but the improvement over the recommended models above will be relatively small, especially relative to their substantially slower generation and higher costs. They’re probably not worth the cost and latency except for graduate-level classes, niche topics, and uncommon programming languages. Most CS classes and students are unlikely to see a useful difference in responses between these and the above models.
They are not provided as options by default, but you can always configure one as a custom model for your own classes if you want to try it.
Empfehlung für die Unterrichtsprofile
Für LF05-Python, LF22-DOM, WPU-HTML/CSS und SQL ist GPT-5.6 Luna mit reasoning_effort=medium der pragmatische Ausgangspunkt. Diese Parameter sind bereits im mitgelieferten Modell-Datensatz hinterlegt. Prüfen Sie die Qualität mit repräsentativen deutschen Lernendenfragen, besonders Schema-Treue, MariaDB/MySQL-vs-SQLite, bereits eingeführte Methoden und die vier Hilfestufen. Die automatisierten Tests dieses Projekts simulieren Modellantworten; sie belegen keine Unterrichtsqualität eines Modells.
GPT-5.6 Terra mit mittlerer Reasoningstufe ist eine mögliche stärkere Alternative für einen Kurs, falls Luna bei solchen Beispielen nicht zuverlässig genug hilft. Laut offiziellen Modellseiten kosten eine Million Eingabetokens bei Luna 0,20 US-Dollar und Ausgabetokens 1,20 US-Dollar; bei Terra sind es 2 bzw. 12 US-Dollar (Stand 19.09.2026). Die tatsächlichen Kosten hängen von allen Anfragen ab: CodeHelp führt normalerweise drei Modellaufrufe aus, gegebenenfalls einen weiteren zur Überarbeitung. Tutor-Chats haben einen anderen Ablauf. Die oberen Durchschnittswerte stammen aus der Upstream-Dokumentation und sind keine lokale Messung.
SYSTEM_MODEL_SHORTNAME=GPT-5.6 Luna wählt das Systemmodell. Kurse mit eigenem Schlüssel und LTI-Consumer haben eine eigene Modellwahl; die Systemvariable überschreibt diese nicht. Es gibt keine automatische Umschaltung von Luna auf Terra. Terra ist nicht als Standard-Datensatz enthalten; die Oberfläche für eigene Modelle unterstützt derzeit keine expliziten Reasoning-Parameter.
Die OpenAI-Decisions-API kann optional prüfen, ob genug Angaben für Hilfe vorliegen. Die eigentlichen Erklärungen bleiben beim Sprachmodell. Einrichtung, Verbrauchserfassung und Grenzen stehen unter KI-Verbrauch und OpenAI-Decisions-Pilot.