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
OpenCode Go fails with GLM-5.3 and GLM-5.3-flash when used through Claude Code. #51120
The {"model":"glm-5.3"} in your report is the clue: on Go, GLM is only reachable through /v1/chat/completions, and the /v1/messages route returns 503 for it (#50502 lists the same asymmetry for MiMo, kimi-k2.x and others). Claude Code only speaks /v1/messages, so it won't work until the server side is fixed.
Until then, you can put a small local LiteLLM proxy in front. It accepts Anthropic Messages from Claude Code and sends Chat Completions upstream:
If you leave out use_chat_completions_url_for_anthropic_messages, LiteLLM passes /v1/messages straight through and you get the same error back. I tested this on LiteLLM 1.105.1 against a different chat-completions-only GLM-5.3 upstream, not Go itself (I don't have a Go key). Both tool_use and streaming came back as proper Anthropic events.
Thanks for the report. We're tracking this same Go /v1/messages failure for GLM models in #50502, so I'm closing this as a duplicate. Please follow that issue for updates.
Activity
docs(go): note that each model only works on its listed endpoint
poppy-mogmachine commentedon Oct 15, 2026
The
{"model":"glm-5.3"}in your report is the clue: on Go, GLM is only reachable through/v1/chat/completions, and the/v1/messagesroute returns 503 for it (#50502 lists the same asymmetry for MiMo, kimi-k2.x and others). Claude Code only speaks/v1/messages, so it won't work until the server side is fixed.Until then, you can put a small local LiteLLM proxy in front. It accepts Anthropic Messages from Claude Code and sends Chat Completions upstream:
If you leave out
use_chat_completions_url_for_anthropic_messages, LiteLLM passes/v1/messagesstraight through and you get the same error back. I tested this on LiteLLM 1.105.1 against a different chat-completions-only GLM-5.3 upstream, not Go itself (I don't have a Go key). Both tool_use and streaming came back as proper Anthropic events.neriousy commentedon Oct 20, 2026
Thanks for the report. We're tracking this same Go /v1/messages failure for GLM models in #50502, so I'm closing this as a duplicate. Please follow that issue for updates.