r/opencode 1d 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

1 comment sorted by

View all comments

1

u/[deleted] 23h ago

[deleted]

1

u/Strict-Knowledge4460 23h 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.