Skip to content

[FEATURE]: Z.ai Coding Plan endpoint override #11106

Closed

Description

@ByungHyun21

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

The Z.ai coding plan uses a different api endpoint.
However, it appears to be fixed to the default endpoint address.

This limits the number of simultaneously requestable llm calls to one (for GLM-4.7 models)

This is a temporary solution.

opencode.json

"provider": {
"zai-coding-plan": {
"name": "Z.AI Coding Plan",
"api": "https://api.z.ai/api/coding/paas/v4",
"env": ["ZAI_CODING_API_KEY"]
},

~/.bashrc

export ZAI_CODING_API_KEY="2c0.......NI"

After setting this up, I experienced a quick response when I restarted the opencode.

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Jan 29, 2026
  2. github-actions commented on Jan 29, 2026

    @github-actions
    Contributor

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

    Feel free to ignore if none of these address your specific case.

  3. ByungHyun21 commented on Jan 29, 2026

    @ByungHyun21
    Author

    Thanks. maybe Z.ai server busy...

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

Metadata

Metadata

Assignees

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussionzenRelates to Zen

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions