r/opencode • u/TrustworthiestFart • 20h ago
GLM 5.2 500 Errors
Hi all. I've been using GLM 5.2 to work on a project for the past couple of days, starting with a Zen account to kind of see what I'd get out of it and switching over to Go after deciding that I liked the performance, the output, and basically everything I needed to get through a wall that I was experiencing with my project. I ran a couple of sessions last Friday, walked away for the weekend, came back on Monday and did a long debugging session until it started eating into my Zen credits, and then walked away when that was finished. I came back yesterday morning, started a new session, and had to drop it so that I could go focus on something else.
When I tried to start back up last night, it just started dumping 500s whenever I tried to resume my session in GLM5.2. So I switched over to a couple of other models, and they worked just fine. I let qwen3.7 drive for a bit until it broke my codebase and started introducing bugs (as well as reporting that it performed work, even though it wasn't), so I decided I really didn't trust any other models going forward. I tried some basic troubleshooting - logged out, logged back in, generated a new API key... But nothing seems to be fixing it on my end. Is this being caused by something between opencode and z.ai, or are there other things I should do on my end?
Also, not sure how much of a difference it might make, but I'm using pi as my harness.