ZCode, OpenCode and Codex: the app, the model and the bill
The coding tools around the models, how access is paid for, and what a stuck ZCode task taught me about where an AI workflow can fail.
Full guide
GLM is Z.ai’s family of AI models. Its Coding Plan supplies model access to supported coding tools, while the general API serves applications and other integrations.
Coding subscriptions and usage-based API access
I use GLM through ZCode, alongside DeepSeek Pro and OpenAI.
The Coding Plan is designed for supported coding tools; the general API is a separate route for using models in your own applications.
Product source checked 2026-09-08.
AI models and coding subscriptions.
Use is subject to the provider’s supported platforms, account requirements and current terms.
A Coding Plan is for supported coding scenarios. It does not provide a general-purpose API allowance for every application, and model availability depends on the plan.
Coding subscriptions and general API usage have separate billing, allowances and billing periods.