You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Hydrate custom provider model metadata from /v1/models and Models.dev #25407
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Please improve custom OpenAI-compatible providers so model capabilities do not have to be entered manually for every model.
My custom provider exposes models through /v1/models, but OpenCode still needs each model manually configured in opencode.jsonc to get useful capabilities such as:
limit.context
limit.output
modalities.input, especially image support
reasoning variants/options for known OpenAI GPT/Codex models
The practical problem: I had an image-capable GPT model exposed by a custom provider, but OpenCode treated it as text-only until I manually added:
This issue is specifically about avoiding manual capability metadata for custom OpenAI-compatible providers, because missing metadata can make supported features, such as image input, appear broken.
This issue does not use one of the required issue templates (Bug Report, Feature Request, or Question). Please resubmit using the appropriate template — this appears to be a Feature Request, so the title should start with [FEATURE]: and include the required verification checkbox and description fields.
The issue contains an unusually long, extensively structured description that raises concerns about AI-generated content. Please keep descriptions concise and in your own words.
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
changed the title [-]Custom providers should auto-discover model metadata from /v1/models[/-][+][FEATURE]: Hydrate custom provider model metadata from /v1/models and Models.dev[/+]on May 2, 2026
Activity
github-actions commentedon May 2, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
[FEATURE]:and include the required verification checkbox and description fields.Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
If you believe this was flagged incorrectly, please let a maintainer know.
[-]Custom providers should auto-discover model metadata from /v1/models[/-][+][FEATURE]: Hydrate custom provider model metadata from /v1/models and Models.dev[/+]github-actions commentedon May 2, 2026
Thanks for updating the issue! It now follows the contributing guidelines and feature request template. The
needs:compliancelabel has been removed.github-actions commentedon Jul 3, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.