Teaching with MLMP
Guidance for lecturers running classroom exercises on MLMP infrastructure.
Inference in the classroom
Use the Inference service when students work with LLMs via API, chat clients, or notebook code.
Can 20+ students use inference at once?
Yes, with planning — but not as a synchronized live chat on the largest models. The shared GPU backend is the bottleneck, not per-user rate limits.
| Scenario | Realistic? |
|---|---|
| Async work over 30–60 minutes | ✅ Yes |
| Staggered in-class activity | ✅ Mostly yes |
Everyone live-chatting on gpt-oss:120b at once |
❌ No |
| Agentic coding for the whole class on large models | ❌ Unlikely |
Give us a heads-up
For classes of 15+, contact us in advance via MS Teams or email so we can adjust resource allocation.
Per-user limits
Each student uses their own API key. Limits apply per user — see Rate limits:
- 2 concurrent requests
- 30 requests per minute
- 150k tokens per minute
With 20 active students, the backend can see up to 40 concurrent requests. Large models cannot serve that comfortably without queueing.
Recommended models by class activity
| Class activity | Suggested models | Why |
|---|---|---|
| Hands-on exercises, whole class at once (20+ students) | gemma-4-26b, qwen3.8-flash-next, apertus-v1.5-8b |
Fastest models (~90, ~65 and ~123 t/s), so responses stay quick when many students send requests together |
| Demos and short examples, one presenter | qwen3.8-27b, glm-5.3-flash, gpt-oss:120b |
Best quality (4/5 for the first two), but slow (~38 to ~60 t/s), so they suit one presenter and not a whole class |
| Long documents and large context | glm-5.3-flash |
1M context, the largest in the list |
| Embedding and RAG labs | embeddinggemma:300m, qwen3-embedding |
Small embedding models. Use qwen3-embedding for multilingual or code retrieval |
| Multimodal search labs | qwen3-vl-embedding |
Embeds text, images and video in one vector space |
| Speech labs | whisperx (speech-to-text), qwen3-tts (text-to-speech) |
Audio endpoints, not chat models |
Avoid during synchronized use
- Slow, high-quality models (
glm-5.3-flash,qwen3.8-27b): about 38 to 40 t/s for one user, and it drops further when 20 students send requests at once. - Heavy agentic tool use: one task triggers many model calls, so a whole class multiplies the load.
Tips for smooth sessions
- Stagger starts — release students in groups rather than one synchronized "go".
- Use streaming — students see output immediately while requests queue.
- Keep prompts short — reduces token load and wait times.
- Teach retry logic — HTTP 429 responses are possible under load; limits reset every minute.
- Avoid synchronized submit moments — worksheets over 30–60 minutes work better than live races.
What to expect under load
- Longer wait times (seconds to minutes) when many students hit large models at once
- Uneven experience: early requests may be fast, later ones queued
- Occasional HTTP 429 errors if students retry aggressively
The inference service is provided on a best-effort basis with no formal SLA. Check the system status page before class.
Classroom GPU access with Jupyter Hub
Available soon! Stay tuned!