Skip to content

go 套餐模型只能使用minimax,其它模型报错 #27104

Closed as not planned

Description

@manbusiwei

Description

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

Plugins

vs code 使用插件claude code

OpenCode version

No response

Steps to reproduce

1、配置cc switch如下:
{
"env": {
"ANTHROPIC_BASE_URL": "https://opencode.ai/zen/go",
"ANTHROPIC_MODEL": "glm-5.1",
"ANTHROPIC_API_KEY": "sk-***"
},
"model": "glm-5.1"
}
报错:
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

Activity

  1. github-actions commented on May 12, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    If your issue is different, please add more details to help distinguish it.

  2. github-actions commented on Jul 12, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions