opencode-models-discovery
Auto-discover models from OpenAI-compatible providers
What it is
Queries a provider's model endpoint, applies optional filters and injects the discovered models into OpenCode, with optional metadata enrichment. Supports OpenCode 2 and a v1 adapter.
Good for
- Use a local model server
- Avoid maintaining model lists
Install or run
"plugin": ["[email protected]"] in opencode.jsonCommand as given in the project README. Read the repository before you run anything on your machine.
What you need
An OpenAI-compatible endpoint
Sources
- https://github.com/yuhp/opencode-models-discovery (project README, read 13 Nov 2026)
- https://api.github.com/repos/yuhp/opencode-models-discovery (GitHub API, read 13 Nov 2026)
The summary is ours, written from the README. Spotted an error? See how we work.