Skip to content

[BUG]: qwen3.7-max fails from Claude Code with Alibaba 401 response #29558

Closed as not planned

Description

@layjason

Description

Summary

qwen3.7-max on OpenCode Go fails when used from Claude Code.

Other OpenCode Go models, for example minimax-m2.7, work with the same Claude Code config and the same OpenCode Go API key.

Claude Code config

{
  "env": {
    "ANTHROPIC_BASE_URL": "https://opencode.ai/zen/go",
    "ANTHROPIC_MODEL": "qwen3.7-max",
    "ANTHROPIC_DEFAULT_SONNET_MODEL": "qwen3.7-max",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "qwen3.6-plus",
    "API_TIMEOUT_MS": "1200000",
    "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
    "CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS": "1"
  }
}

### Plugins

No local OpenCode plugin used.

### OpenCode version

1.15.11

### Steps to reproduce

_No response_

### Screenshot and/or share link

_No response_

### Operating System

macOS 26.3.1

### Terminal

Terminal

Activity

  1. github-actions commented on May 27, 2026

    @github-actions
    Contributor

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

  2. github-actions commented on Jul 29, 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