How ZCode, OpenCode and Codex differ, and where DeepSeek, GLM and OpenAI fit into my own setup.
Based on my own setup and the providers’ published documentation.
I use ZCode with DeepSeek Pro, GLM and OpenAI. I also use Codex to build and update websites, including Sideperk. That gives me two decisions to make: which coding tool I want to work in, and which model I want doing the work.
The coding tool around the model
A coding harness is the software around an AI model: the interface, access to project files and the tools for editing code or running commands. ZCode, OpenCode and Codex each package that work differently. A model connection tells the harness which service to use for its responses.
ZCode: a desktop home for several model choices
Z.ai presents ZCode as a development environment built around GLM. Its appeal is the way a task can hold files, terminal results and browser context together. Goal Mode adds a place for longer pieces of work. The model settings also document DeepSeek and OpenAI connections, which is relevant to the mix I use.
OpenCode: the open-source option
OpenCode puts provider choice near the centre of its offering. It works in the terminal, desktop and IDE, supports local models, and advertises account connections for GitHub Copilot and ChatGPT Plus or Pro. It is a useful comparison for readers who want a coding tool they can use with several model services.
Codex: where I build and check websites
Codex is part of my day-to-day website work. I use it to turn a brief into code changes, investigate problems and inspect the result. OpenAI offers an app, terminal tool and editor integrations, with usage tied to the chosen account plan or API billing.
What you are paying for
OpenCode’s software and selected models are free; other connected services have their own charges. ZCode documents a new-user GLM trial and paid coding plans, as well as API connections. Codex currently includes limited access with ChatGPT Free, with different allowances on other plans.
For my ZCode mix, the relevant distinction is between a GLM Coding Plan and separately billed API access. ZCode documents both routes. A GLM subscription does not include the DeepSeek or OpenAI usage you connect to it.
DeepSeek’s API bill depends on the model and the tokens sent and returned, including whether input is served from its cache. Those charges sit with the DeepSeek account.
The wider setup: OpenClaw, Notion and my Second Brain
Sources and further reading
- ZCode: product overview
- ZCode: connecting models and accounts
- OpenCode: features and model choice
- OpenAI Codex: product overview
- OpenAI Codex: plans and pricing
- DeepSeek: models and API pricing
- Z.ai: model pricing
Sources are linked above. Prices and plan conditions can change.