No support for z.ai GML-4.6 and Github claude-sonnet-4.5
This models cannot be selected in the models selection.
This issue might be a duplicate of existing issues. Please check:
- #2760: GLM-4.5 model configuration and availability in model list
- #2431: Support for Z.ai GLM Coding Plan (now closed but contains related implementation details)
- #2383: Configuration issues with Z.AI subscription plans (closed but contains setup examples)
- #2864: Claude Sonnet 4.5 availability (closed - Claude Sonnet 4.5 was already added)
- #2879: Claude Sonnet 4.5 working issues with AWS Bedrock (closed)
Feel free to ignore if none of these address your specific case.
@marcingen9 hm they should both be there, can you do:
rm ~/.cache/opencode/models.json
and then restart opencode?
This will just wipe the cache and force a refresh of the list, it happens automatically but this will just make it easier for both of us
@rekram1-node I am having this issue after using opencode github install and selecting Z.AI Coding Plan. It also sets API key to ZHIPU_API_KEY instead of ZAI_API_KEY as one might expect.
they are the same company so that may be expected, but @fwang would know better here