If I run opencode from the command line, I have
image
If I launch emacs from the same shell and start a new openrouter session, then select a new model, GML 4.7 from Z.AI does not show up in the list (but GLM 4.6 from Z.AI shows up)
image
After looking into opencode-providers, I tried to add
(customize-set-variable
'opencode-default-model
'((providerID . "zai-coding-plan")
(modelID . "GLM-4.7")))
but that does not work
If I run opencode from the command line, I have

If I launch emacs from the same shell and start a new openrouter session, then select a new model, GML 4.7 from Z.AI does not show up in the list (but GLM 4.6 from Z.AI shows up)

After looking into opencode-providers, I tried to add
(customize-set-variable
'opencode-default-model
'((providerID . "zai-coding-plan")
(modelID . "GLM-4.7")))
but that does not work