Skip to content

#27104 — Go plan models only work with minimax, other models throw errors #876

@ElioNeto

Description

@ElioNeto

Description

API Error: 400 {"error":{"code":"1210","message":"Error from provider (Z.ai): Invalid API parameter, please check the documentation."}}

Plugins

VS Code using Claude Code plugin

OpenCode version

No response

Steps to reproduce

  1. Configure CC switch as follows:
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://opencode.ai/zen/go",
    "ANTHROPIC_MODEL": "glm-5.1",
    "ANTHROPIC_API_KEY": "sk-***"
  },
  "model": "glm-5.1"
}
``"
Error:
`Failed to authenticate. API Error: 401 {"type":"error","error":{"type":"ModelError","message":"Model opencode-go/glm-5.1 not supported"}}`
`API Error: 400 {"error":{"code":"1210","message":"Error from provider (Z.ai): Invalid API parameter, please check the documentation."}}`

### Screenshot and/or share link

_No response_

### Operating System

_No response_

### Terminal

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    DORDefinition of Ready — issue meets readiness criteriabugSomething isn't workingmedium

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions