Skip to content

Insufficient balance or no resource package. Please recharge. #12671

Closed as not planned

Description

@RaymondGuoCGI

Description

Image Always show insufficient balance or no resource package when use GLM-4.7 in opencode, how to figure this out, thanks!

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Feb 8, 2026

    @github-actions
    Contributor

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

    Feel free to ignore if your specific case differs from these existing reports.

  2. colinmollenhour commented on Feb 13, 2026

    @colinmollenhour

    I'm getting this too on a Z.ai paid Pro plan, no quotas hit.

  3. effortprogrammer commented on Feb 13, 2026

    @effortprogrammer

    @colinmollenhour Same issue with z.ai coding max plan cc @thdxr

  4. albertov commented on Feb 13, 2026

    @albertov
    Contributor

    I'm seeing it to with a Pro plan with GLM 5 and GLM 4.7. GLM 4.7 flash works fine though

  5. blah-mad commented on Feb 14, 2026

    @blah-mad

    same2same

  6. andrewzorin75 commented on Feb 14, 2026

    @andrewzorin75

    If you have Z.AI Coding plan subscription, as I see, in Providers better to choose Z.AI Coding Plan (not just Z.AI)

  7. DevMozgus commented on Feb 14, 2026

    @DevMozgus

    Yeah, had the same issue but turns out I had connected to the wrong provider. There's 'Z.AI' and 'Z.AI Coding Plan'. Make sure to use the correct provider for opencode.

    The reason GLM 4.7 flash works is because it's free.

  8. jEstevezRod commented on Feb 16, 2026

    @jEstevezRod

    Same problem, not working for me

  9. albertov commented on Feb 16, 2026

    @albertov
    Contributor

    Yeah, had the same issue but turns out I had connected to the wrong provider. There's 'Z.AI' and 'Z.AI Coding Plan'. Make sure to use the correct provider for opencode.

    The reason GLM 4.7 flash works is because it's free.

    Thanks, switching provider to coding plan fixed it for me

  10. gevera commented on Feb 22, 2026

    @gevera

    Same here. Very annoying. I'm thinking of closing the subscription

  11. tamjidahmed10x commented on Feb 26, 2026

    @tamjidahmed10x

    Yeah, had the same issue but turns out I had connected to the wrong provider. There's 'Z.AI' and 'Z.AI Coding Plan'. Make sure to use the correct provider for opencode.

    The reason GLM 4.7 flash works is because it's free.

    This is the solution guysss. pls mark it solve.

  12. colinmollenhour commented on Feb 27, 2026

    @colinmollenhour

    Maybe rename Z.AI to "Z.AI (Metered)" to better disambiguate?

  13. misterdojo777 commented on Mar 2, 2026

    @misterdojo777

    same problem...

  14. malemalice commented on Mar 3, 2026

    @malemalice

    solved using this way

    Yeah, had the same issue but turns out I had connected to the wrong provider. There's 'Z.AI' and 'Z.AI Coding Plan'. Make sure to use the correct provider for opencode.

    The reason GLM 4.7 flash works is because it's free.

  15. muhx commented on Apr 20, 2026

    @muhx

    Make sure if your API Key from Z.AI Coding Plan, you connect to Z.AI Coding Plan as the provider

  16. removed
    bugSomething isn't working
    zenRelates to Zen
    on May 3, 2026
  17. github-actions commented on Jul 3, 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.

  18. magick93 commented on Oct 16, 2026

    @magick93

    Same error. I've set to Z.AI Coding Plan but still get Error: Insufficient balance or no resource package. Please recharge.. I have opencode running on another machine using the same plan and it works fine.

  19. LaBlazer commented on Oct 16, 2026

    @LaBlazer

    I think they have some weird bug with their api keys now, my old one works but new ones give this error @magick93

  20. magick93 commented on Oct 16, 2026

    @magick93

    @LaBlazer - yes confirmed the same. Seems to be a bug in the Z.ai key generation. Old key works.

  21. RushabhS-RSW commented on Oct 23, 2026

    @RushabhS-RSW
    Image

    check image and genrate new key from coding plan that work's

  22. oskar-flores commented on Oct 27, 2026

    @oskar-flores

    @RushabhS-RSW Just dropped by to say thank you. I have been looking to that screen and have not noticed that "personal coding plan" was there.
    Thanks!

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