Original Reddit post

My Claude Code bill kept creeping up, and my feed kept filling with GLM 5.2 benchmarks, so I put $5 on OpenRouter and ran it on the one codebase I know better than anyone: my own open-source SDK. Setup was genuinely 5 lines in settings (ANTHROPIC_BASE_URL + AUTH_TOKEN pointed at OpenRouter, model vars set to z-ai/glm-5.2). Claude Code doesn’t care what’s behind the API format. Two things I learned that I haven’t seen in the hype posts: Pin the provider or your test is meaningless. The same model name is served by a dozen hosts on OpenRouter, and some of the cheap ones are quantized. I pinned Z.ai first-party and turned off fallbacks. If you auto-route, you might be benchmarking a compressed copy without knowing it. The read/build cost split is the real story. The architecture audit (41 files, every claim cited with file+line, all citations checked out when I grepped them) cost $0.59 and took 6 minutes. The fix I assigned from its own audit (kill a component-drift bug, generate a manifest, write a guard test) succeeded, 92 tests green, but cost $4. Almost all of that was ~300 turns of test-error-edit loops, not the code changes themselves. One habit I’d push on anyone trying this: I sanitized the repo first. Copied out only the public parts, grepped the copy for commercial keywords (billing, tenant, etc.), zero hits, then sent. The model being cheap doesn’t change where private code is allowed to go. My takeaway is narrower than “it replaces Claude”: for reads, reviews, and audits it’s a genuine bargain and I now reach for it on purpose. For long unattended building, the price gap closes fast and the reasons I pay for a frontier model come back. Happy to share the exact settings block if anyone wants it. Any intakes on the usage of Cheaper Chinese models? Looking to learn more from the community abt that, and if i should switch < tokens are eating my wallets> submitted by /u/MaterialAppearance21

Originally posted by u/MaterialAppearance21 on r/ArtificialInteligence