Github Copilot Models missing
Description
All github copilot models are missing from the model selection when using Ctrl + X -> M, except for GPT-5.1-codex-max.
The last working version was 1.0.193.
OpenCode version
1.0.203
Steps to reproduce
- Open opencode
- Press Ctrl + X then m
- Search for github
- See that models like opus and sonnet are all missing
Screenshot and/or share link
No response
Operating System
MacOS 26.1
Terminal
iTerm2 / VSCode
This issue might be a duplicate of existing issues. Please check:
- #6066: VSCode Extension loadOpenCodeConfig() only loading 2 providers - GitHub Copilot models missing due to hardcoded provider loading
- #5623: Custom subagents with explicit model config throw ProviderModelNotFoundError
- #5248: gpt-5.1-codex-max missing from model selection (similar model availability issue)
The root cause appears to be related to how GitHub Copilot models are being loaded or filtered in version 1.0.203 compared to 1.0.193. If you're using the VSCode extension, #6066 specifically addresses the loadOpenCodeConfig() function that only extracts anthropic and opencode providers.
Feel free to ignore if none of these address your specific case.
Related to https://github.com/sst/opencode/issues/6180 perhaps, but opening a new issue because I see a fix raised that seems to only address the local models issue and I don't want this to be conflated with that fix.
The same goes for Kimi For Coding. The only model disappeared after updating from v1.0.202 to 1.0.203. I've tried reconnecting the provider via /connect, but the model list is completely empty.
I think there is a bug w/ the recents list, maybe thats the issue...
might be fixed in dev if anyone wants to try?
bunx opencode-ai@dev
Dev version fixed this issue for me. I was able to see all models for Anthropic if I launched for in Web UI, but I didn't see Sonnet 4.5 models available from TUI in version 1.0.204.
sweet, ill release tmr, if you are encountering this another work around is:
rm ~/.local/state/opencode/model.json in the meantime