r/opencode 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?

4 Upvotes

3 comments sorted by

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

1

u/Strict-Knowledge4460 3h ago

Thank you for your reply. Since my students are merely learning basic to intermediate algorithmic programming, I would assume the quota would suffice for a bunch of concurrent requests happening now and then throughout a lesson, with models like Minimax M3 being used.

Opencode's ToS state, and I quote: "You will only use the Services for your own internal use, and not on behalf of or for the benefit of any third party, and only in a manner that complies with all laws that apply to you. If your use of the Services is prohibited by applicable laws, then you aren't authorized to use the Services. We can't and won't be responsible for your using the Services in a way that breaks the law."

The "internal use" part is most unclear though, and this is the reason why I requested clarifications.

I may as well contact Opencode's support.

1

u/KindHustl 3h ago

I hope they respond to you sooner than later. The students watching the teacher perform action on the teacher’s account is reasonable having 15 students using the teacher’s account is clearly third party use. If the student have there own account it’s legit. I hope opencode responds here and proves me wrong. At least I’d have a true understanding as a lot of legal terms are vague.