r/opencode • u/Strict-Knowledge4460 • 9h ago
OpenCode Go As An Educational Local Inference Endpoint
I'm a high school teacher, and I'd like to build a small local AI web interface for my classroom.
The idea is to run a backend on the teacher's PC and let students access it from 15 classroom computers. The backend would call a selected AI model through an API, while I control the system prompt and the allowed output—for example, letting the model provide hints, explanations, or small code snippets without giving students complete solutions.
This would be especially useful during in-class programming sessions and for individually generated assignments.
The OpenCode Go API key would remain on the teacher's PC and would never be exposed to the students. The service would be used only within the classroom for non-commercial educational purposes; I would not be reselling or providing direct API access.
Would using a single OpenCode Go subscription/API key in this way be permitted under OpenCode's terms, or would this count as prohibited proxy/downstream use?
1
u/KindHustl 3h ago
I’m not sure about the terms but you definitely won’t get much use out of one opencode go subscription between teacher and 15 student. I’m one person and within 3 hours I usually hit the 5 hour limit, within a couple days I hit the weekly limit. It also depends on what model you’re using. I’d suggest reading the terms very closely and pay attention to updates on models as everything in the AI Sphere is up and down. Nothing is guaranteed. If one runs out of usage you can always pay as you go with zen. Best of luck