Skip to main content

Should a classroom AI product use a large language model or a small one?

Prototype a classroom AI product on a hosted large model, then move narrow tasks such as scoring and tagging to a small model of 1 to 8 billion parameters once the study design is fixed. In the worked example below, that hybrid cuts hosted token volume by about 67%. Open-ended tutoring dialogue still favors a large model.

What the difference means in a classroom

A large language model (LLM) is a frontier model you usually reach through a vendor’s API: GPT-class, Claude-class or Gemini-class models. A small language model (SLM) is one you can run yourself, on a cloud server you control, on district hardware, or sometimes on the student’s device. As a general range, SLMs run from about 1 to 8 billion parameters; hosted LLMs are many times larger.

The choice is rarely about which model is smarter. It is about where student data goes, what each session costs, and whether the model will behave the same in week 12 of the pilot as it did in week 1. Those three questions matter more to a program officer and a district IT director than benchmark scores.

The five questions that decide it

  1. What is the task? Classifying a student answer as correct, partially correct or off-task, tagging a misconception, or generating a hint from a fixed template are narrow tasks an SLM can do well, especially after fine-tuning on a few thousand labeled examples. Multi-turn Socratic tutoring, open-ended writing feedback and generating new standards-aligned problems still work noticeably better on a large model.
  2. Where can student data go? A hosted LLM sends student text to a third-party subprocessor. That is often acceptable, but the vendor’s retention and training terms must be compatible with the district’s data use agreement. A self-hosted SLM keeps text inside infrastructure you or the district control, which shortens that conversation.
  3. What does each student-session cost? Hosted pricing is per token and varies by more than tenfold between model tiers. A self-hosted SLM is a fixed server cost that does not grow with usage until you need a second server.
  4. What do the schools’ networks and devices allow? Shared Chromebooks cannot run most SLMs locally, and filtered school networks sometimes block or slow API domains. Either choice needs testing from inside a real school building before the pilot.
  5. Does the study need the model to stay fixed? Hosted vendors update and retire model versions on their own schedule. If your efficacy study compares conditions over a semester, a model change mid-study is a confound. Open-weight SLMs can be frozen for the study’s duration.

Side-by-side comparison

Attribute Hosted LLM Self-hosted SLM On-device SLM
Best tasks Tutoring dialogue, open feedback, content generation Scoring, tagging, templated hints Simple feedback with no network
Student data leaves your control Yes, to the model vendor No, stays in your or the district’s cloud No, stays on the device
Cost shape Per token, grows with every student Fixed per server per month None per call; device limits apply
Version stability for a study Pin a dated version; it may be retired You freeze the weights You freeze the weights
Engineering effort to start Lowest Moderate: hosting, scaling, monitoring Highest: packaging per device type
District IT review Subprocessor and retention questions Hosting and access-control questions App install and device-management questions

Many funded products end up hybrid: a large model for the dialogue a student sees, and a small model for the scoring and tagging that feeds the research dataset. An orchestration layer routes each request and logs which model answered.

Worked example: sizing a pilot's model usage

Take a pilot of 20 teachers with 25 students each, so 500 students. Each uses the tool three times a week, each session makes 15 model calls, and each call averages 2,000 tokens of prompt and response.

  • Per week: 500 × 3 × 15 × 2,000 = 45 million tokens
  • Over a 12-week pilot: 540 million tokens
  • If an SLM takes over the 10 scoring calls per session and the LLM keeps the 5 dialogue calls, hosted volume drops by two thirds, to 180 million tokens

Multiply those volumes by your provider’s current price sheet to get the API line, and compare it with a monthly GPU server for the SLM. At pilot scale the API is often cheaper; at efficacy-study or Phase II scale, with thousands of students, the fixed server usually wins. Put the token math in the proposal’s budget justification, because reviewers notice when a per-student cost was never estimated.

What district IT review will ask about the model

The technical disclosure package for an AI product needs a model section. Districts typically ask:

  • Which model vendors process student data, and under what agreement
  • Whether student inputs are retained by the vendor, for how long, and whether they are used for training
  • Whether student names or IDs are sent to the model, or stripped before the call
  • What content filtering sits in front of and behind the model, and what happens when it triggers
  • How a teacher or the district can review what the model said to a student
  • For students under 13, how the product handles COPPA consent

We describe what these questions are asking for; your institution’s counsel or compliance office and the district decide whether an answer meets FERPA, COPPA and the data use agreement. A self-hosted SLM does not remove these questions, but it changes several answers from "the vendor’s policy says" to "our system does".

A path that works for most grant-funded teams

  1. Prototype on a hosted LLM (2 to 4 weeks). Fastest way to learn what the task is. Strip identifiers before every call and log the prompt, the dated model version and the response.
  2. Build an evaluation set (1 to 2 weeks). Collect 200 to 500 de-identified student responses with teacher-assigned scores. This is what lets you compare models with evidence instead of impressions.
  3. Move narrow tasks to an SLM (2 to 4 weeks). Fine-tune or prompt a small model for scoring and tagging, and keep it only where it matches the large model on your evaluation set.
  4. Freeze before the study. Pin every model version, record it on every log row, and change nothing until data collection ends.

We took a research prototype to a district-approved classroom pilot in under 30 days, with 20 teachers across two districts and more than 100 framework-compliant problems generated. A 30-day sprint can deliver steps 1 and 2 and a pilot-ready system on one model; a hybrid with a fine-tuned SLM usually needs another month. If a graduate student built the prototype and the pilot is still a year out, they should keep building; bring in a team when real students and a study timeline are on the calendar.

Frequently asked questions

Is a small language model good enough for tutoring students?
For narrow tasks like scoring answers, tagging misconceptions or giving templated hints, a well-tuned small model is often good enough. For open-ended, multi-turn tutoring dialogue, large hosted models still perform noticeably better. Test both on a set of real, de-identified student responses before deciding.

Does using a hosted LLM violate FERPA?
Not by itself. FERPA questions turn on what student data is shared, under what agreement, and how the vendor retains and uses it. Your institution’s counsel or compliance office and the district make that determination, usually through the data use agreement.

How do I keep the AI model from changing during my efficacy study?
With a hosted model, pin a dated model version and check the vendor’s retirement schedule against your study calendar. With an open-weight small model, freeze the exact weights you deploy. In both cases, record the model version on every logged interaction so any change is visible in the data.

How much should I budget for LLM API costs in a grant proposal?
Estimate students times sessions times calls per session times tokens per call, then multiply by the provider’s current price. A 500-student, 12-week pilot at 15 calls of 2,000 tokens per session comes to about 540 million tokens. Show that math in the budget justification so reviewers can see the per-student cost.

Can we switch from an LLM to an SLM after the pilot?
Yes, if the system was built with an orchestration layer that routes requests and logs which model answered. Switching between pilot and efficacy study is reasonable; switching during data collection is a confound. Plan the switch around your evaluation set so you can show the new model performs comparably.

Related answers

Choosing a model for a pilot or a Phase II proposal?

We offer a free 30-minute review of your proposal’s technical section or your pilot plan. Bring the prototype’s repository or a demo, the pilot timeline, and the funder’s and district’s requirements. Start a conversation.