OpenCode Zen GLM-4.6 returns AI_APICallError: Payment Required #2050

Closed
opened 2026-02-16 17:33:57 -05:00 by yindo · 4 comments
Owner

Originally created by @danilevy1212 on GitHub (Oct 11, 2025).

Originally assigned to: @fwang on GitHub.

Summary

  • Attempting to chat with GLM-4.6 fails immediately with AI_APICallError: Payment Required.
  • Expected the model to respond without requiring additional billing.

Steps to Reproduce

  1. Open a new thread in OpenCode and select GLM-4.6.
  2. Send any prompt (e.g. "Hi").
  3. Observe the thread displays AI_APICallError: Payment Required and no model response.

Additional Context

Image

Other models, like Kimi, GPT-5-codex, etc work just fine.

Image
Originally created by @danilevy1212 on GitHub (Oct 11, 2025). Originally assigned to: @fwang on GitHub. ## Summary - Attempting to chat with GLM-4.6 fails immediately with `AI_APICallError: Payment Required`. - Expected the model to respond without requiring additional billing. ## Steps to Reproduce 1. Open a new thread in OpenCode and select GLM-4.6. 2. Send any prompt (e.g. "Hi"). 3. Observe the thread displays `AI_APICallError: Payment Required` and no model response. ## Additional Context <img width="1175" height="841" alt="Image" src="https://github.com/user-attachments/assets/ff30b505-0276-44f7-815a-d55a954741f3" /> Other models, like Kimi, GPT-5-codex, etc work just fine. <img width="1175" height="612" alt="Image" src="https://github.com/user-attachments/assets/5c878c39-ed76-40d5-bde1-5e6aa6c125e0" />
yindo closed this issue 2026-02-16 17:33:57 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 11, 2025):

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

  • #3076: ProviderModelNotFoundError with GLM-4.6 model - similar issue with GLM-4.6 model failing to work properly

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

@github-actions[bot] commented on GitHub (Oct 11, 2025): This issue might be a duplicate of existing issues. Please check: - #3076: ProviderModelNotFoundError with GLM-4.6 model - similar issue with GLM-4.6 model failing to work properly Feel free to ignore if none of these address your specific case.
Author
Owner

@fwang commented on GitHub (Oct 11, 2025):

Fixed! Feel free to reopen if issue persist.

Thanks @danilevy1212

@fwang commented on GitHub (Oct 11, 2025): Fixed! Feel free to reopen if issue persist. Thanks @danilevy1212
Author
Owner

@danilevy1212 commented on GitHub (Oct 11, 2025):

Works like a charm now! Thank you @fwang !

@danilevy1212 commented on GitHub (Oct 11, 2025): Works like a charm now! Thank you @fwang !
Author
Owner

@marcuspoehls commented on GitHub (Jan 6, 2026):

@fwang Hey Frank, the same "payment required" response appears when using Claude Opus 4.5 in Opencode Desktop 1.1.3. I’ve connected my Anthropic account and can’t start the session. It works in the opencode CLI version. Maybe I misconfiguration on my side?

@marcuspoehls commented on GitHub (Jan 6, 2026): @fwang Hey Frank, the same "payment required" response appears when using Claude Opus 4.5 in Opencode Desktop 1.1.3. I’ve connected my Anthropic account and can’t start the session. It works in the opencode CLI version. Maybe I misconfiguration on my side?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2050