GLM 5.3 Flash OpenCode In 2026: What To Know

Julian Goldie — founder, AI Profit Boardroom
By Julian Goldie · 9 min read
Get The AI Profit Stack Join AIPB →
🎯 1,000+ done-for-you AI agent workflows 📅 4 live coaching calls every week 🛡️ 7-day refund + 30-day ROI guarantee 👥 3,400+ AI operators inside

GLM 5.3 Flash OpenCode is the cheapest serious coding-agent setup you can run right now: Z.ai's new open-weights model inside OpenCode's terminal agent, and OpenCode currently lists a free version of it. You get a model Z.ai says is approaching Claude Opus 4.8 on coding and agent work, a 1M-token context window, and an agent that reads, plans and edits your project. That's what I showed in my latest video, and it's what this page walks you through.

📺 Watch: GLM 5.3 Flash + OpenCode is ACTUALLY WILD!

🔥 Get the Agent OS as a free bonus: AI Profit Boardroom members get the full Agent OS zip, prompt libraries, daily tutorials and weekly live coaching calls. → Get inside

Here's the short version. Install OpenCode, run /connect, pick GLM-5.3-Flash Free from the model list, and start building. The rest of this page covers what the model actually is, how to set it up properly, the agent workflows worth running, and how I run a whole Agent OS on free models.

What GLM 5.3 Flash is

GLM-5.3-Flash is the smaller, faster member of Z.ai's GLM-5.3 family. Per the Hugging Face model card, it's a mixture-of-experts model with 320B total parameters and only 18B active per token, built on a hybrid of sparse and linear attention. Z.ai calls it the first natively multimodal model in the GLM-5 series, so vision is trained in from the start rather than bolted on later. The weights are MIT licensed.

The headline claim from Z.ai: it outperforms GLM-5.2 across its benchmarks at one-tenth of GLM-5.2's price. Before the launch it was tested anonymously as "ox-alpha" on OpenCode and OpenRouter, which tells you Z.ai built it with coding agents in mind.

Here are the confirmed numbers from Z.ai's own pages.

Spec or benchmarkGLM-5.3-FlashSource
Parameters320B total, 18B activeHugging Face model card
Context window1M tokensdocs.z.ai
Max output128K tokensdocs.z.ai
Input typesText, image, video, file (output is text)docs.z.ai
LicenseMIT, open weightsHugging Face model card
Terminal-Bench 2.184.3Hugging Face model card
DeepSWE v1.163.4 (GLM-5.2: 46.2)docs.z.ai
AutomationBench48.8 (GLM-5.2: 26.2)docs.z.ai
Z.ai Code Bench v1.029.0 (Claude Opus 4.8: 29.5)docs.z.ai
Artificial Analysis Intelligence Index v4.1.157docs.z.ai
Z.ai API price$0.15 input, $0.03 cached, $0.50 output per 1M tokensdocs.z.ai pricing
Price inside OpenCodeGLM-5.3-Flash Free, free for a limited timeopencode.ai/docs/zen

So is it free? On Z.ai's own API, no. It's cheap, but it's paid. Inside OpenCode, yes, for now. OpenCode's Zen docs list "GLM-5.3-Flash Free" with the model ID glm-5.3-flash-free, available for a limited time and only through OpenCode itself. If you want to see how it stacks up against the other cheap model everyone's talking about, I broke that down in Qwen3.8 Flash Next vs GLM 5.3 Flash.

If you'd rather have someone walk you through the whole free-model stack, it's all inside the AI Profit Boardroom: the Agent OS, a 30-day AI agent roadmap, daily tutorials as new tools drop, and 4 coaching calls a week.

Why GLM 5.3 Flash OpenCode is the pairing to use

A model on its own just answers questions. OpenCode turns it into an agent that works inside your project folder. It reads your files, runs commands, plans changes and makes edits.

Three reasons this pairing works so well.

One thing to know: per the Z.ai docs, thinking mode can't be switched off on this model. That's good for planning and debugging, and it means answers take a little longer to start.

📺 Watch: GLM 4.7 Flash + OpenCode + Antigravity is INSANE!

How to set up GLM 5.3 Flash in OpenCode

This takes about five minutes.

  1. Install OpenCode. Run curl -fsSL https://opencode.ai/install | bash or, if you prefer npm, npm install -g opencode-ai.
  2. Open your project. cd into the project folder and type opencode.
  3. Connect a provider. Run /connect and pick the OpenCode provider. Per the docs, you sign in to the OpenCode console and paste your API key.
  4. Pick the model. Run /models and choose GLM-5.3-Flash Free. In your config, OpenCode models use the opencode/ prefix plus the model ID.
  5. Create your project memory. Run /init. OpenCode scans the project and writes an AGENTS.md file in the root. Commit it so the agent remembers your structure and patterns every session.

Want to pay Z.ai directly instead, or already have the GLM Coding Plan? Create a key at z.ai/manage-apikey/apikey-list, run /connect, search for Z.AI (or Z.AI Coding Plan if you subscribe), paste the key, then pick the model with /models. OpenCode stores the key in ~/.local/share/opencode/auth.json. Z.ai says the Coding Plan gives 3x the quota of GLM-5.3, and off-peak calls, including all weekend, use half the points.

If you don't want to use free models at all, set OPENCODE_DISABLE_FREE_MODELS=1 and they disappear from the list.

Stuck on setup or not sure which provider fits your business? Book a free AI strategy session and we'll map it out with you.

📺 Watch: Google Gemini Flash + OpenCode is INSANE! 🤯

Agent workflows worth running

OpenCode ships with two primary agents. Press Tab to switch between them.

There are also two built-in subagents. General handles multi-step research and can run several jobs in parallel. Explore is a fast, read-only agent for finding files and searching code. Call them directly by typing @general or @explore.

Workflow 1: plan, then build

Start in Plan. Describe the feature in plain English. Let GLM 5.3 Flash map out the files and steps. When the plan looks right, press Tab, switch to Build, and tell it to go. If it gets something wrong, /undo reverts the last change and gives you your message back so you can fix the prompt. /redo puts it back.

Workflow 2: big-repo understanding

The 1M-token context window is the reason to use this model on large codebases. Ask @explore to find every file touching a feature, then ask Build to refactor across all of them in one pass.

Workflow 3: screenshot to fix

Because the model takes images, you can hand it a screenshot of a broken page and ask it to find and fix the bug in the code.

Workflow 4: custom agents

Run opencode agent create, or drop a markdown file into .opencode/agents/ in your project. The filename becomes the agent's name and you set its model in the frontmatter using provider/model-id. Make a "writer" agent, a "reviewer" agent, a "deploy checker" agent. Each one gets its own job and its own model.

I do the same thing with other cheap models too. Here's my walkthrough of DeepSeek V4.1 Flash OpenCode, which is also on OpenCode's free list.

Running an Agent OS on free models

This is the part of the video people messaged me about most. I don't run one model. I run a whole Agent OS: multiple models, one workspace.

Inside it I run Hermes daily with a profile per model. Hermes Oracle handles SEO research and publishing. Hermes Muse comes up with content ideas. Together they form a full AI SEO automation pipeline, from research to idea to published page.

The glue is shared memory with Obsidian. Every agent reads from and writes to the same Obsidian vault, so research one agent does on Monday is there for another agent on Tuesday. No copy-pasting between tools. I've written up exactly how that connection works in Hermes Obsidian.

Then you plug in free models. GLM 5.3 Flash handles the coding and agent-heavy jobs through OpenCode. Other free models handle the lighter jobs. The result is an entire Agent OS that runs on free AI models, and because everything shares one memory, swapping a model doesn't break the system.

If you want the full layout, start with my Agent OS guide. If you want to see how I score models before putting them in the stack, that's what Goldie Bench is for.

The complete Agent OS setup, the free model stack and the GLM 5.3 Flash + OpenCode masterclass are all inside the AI Profit Boardroom for $69/mo, alongside 3,400+ members building the same thing. Want help deciding what to automate first? Grab a free AI strategy session.

Limits to know

FAQ

Is GLM 5.3 Flash free in OpenCode?

Yes, for now. OpenCode lists GLM-5.3-Flash Free (glm-5.3-flash-free) as free for a limited time, usable only inside OpenCode. On Z.ai's API it costs $0.15 per 1M input tokens and $0.50 per 1M output tokens.

How big is the GLM 5.3 Flash context window?

Z.ai's docs list a 1M-token context window and up to 128K output tokens.

Can I use my GLM Coding Plan with OpenCode?

Yes. Run /connect, search for Z.AI Coding Plan, paste your Z.ai API key, then pick the model with /models.

Is GLM 5.3 Flash open source?

The weights are on Hugging Face under the MIT license, with deployment commands for vLLM, SGLang and Transformers.

Want this whole GLM 5.3 Flash OpenCode stack running in your business without the trial and error? Book a free AI strategy session and we'll plan it with you.

What members say about the AI Profit Boardroom

Read all 114 reviews on Skool →

★ 4.9 out of 5 from 114 member reviews on Skool

Yosuke Sato, AI Profit Boardroom member review (5 stars, paying member for 17 months): The best Skool course you get for AI! I have attended a few Skool courses before, but AI Profit Boardroom is the most active community and has great support from the management team, including Julian! You can get the most up-to-date information and practical implementations in this community. I highly recommend this!Mazzie T, AI Profit Boardroom member review (5 stars, paying member for 10 months): My mind is blown everyday with all the content and the incredible information. So much support and I love the personalised attention and quick responses. The community is great and people are very responsive and helpful.Rene Clayton, AI Profit Boardroom member review (5 stars, paying member for 9 months): The AI Profit Boardroom is a GAME CHANGER people. I could not be more thrilled that I joined!! So much support, more information than you can even consume, a huge value for what the small fee was. I have grown my business, my knowledge and my FUN!. SUCH a fantastic leader and group of humans. I am incredibly honored to be a part of this fantastic group of intelligent humans :-) THANK YOU!Arpiet Malpani, AI Profit Boardroom member review (5 stars, paying member for 8 months): Incredible learning from Julian and team. I started out in march and was able to build end to end SAAS with the help and learning from this group. I am incredibly thankful to Julian for crazy support and prompt response.James Grimm, AI Profit Boardroom member review (5 stars, paying member for 7 months): I asked Julian for help finding local business websites with little to no traffic. Julian was gracious in providing me my personal "how-to" video instruction. Wow, this is the pinnacle of customer service! I am just one of 3,400 subscribers and Julian took the time to help me personally. Thank you Julian for your assistance and outstanding custoemr support and care. James (Jim) GrimmNick Good, AI Profit Boardroom member review (5 stars, paying member for 4 months): I’m part of many AI groups and hands down, what Julian Goldie, has built here…the classroom trainings are amazing, but the community he has created is second to none (the community is worth the cost of joining!). If you’re looking to become the AI expert and build/create something meaningful, then AI Profit Boardroom is for YOU!Steven Gray, AI Profit Boardroom member review (5 stars, paying member for 4 months): Been in awhile. I’m a dad on a factory shift, not a tech bloke. Julian’s lot showed me how to use AI without drowning in tools. Avatar, voice, the workflow thinking — that’s what I needed. If you’re stuck on “where do I start,” this group’s worth it. I always read them.Steve Erickson, AI Profit Boardroom member review (5 stars, paying member for 4 months): I asked Julian a simple question, and he ended up creating a 10-minute video and a guide breaking down in extreme detail what I had asked. Amazing response!Rod Martin, AI Profit Boardroom member review (5 stars, paying member for 3 months): Julian is brilliant, and more prolific than I can keep up with (which is a great thing). His AgentOS is remarkable, and he is THE go-to guy for what you can really do (and not do) with the ever-increasing deluge of new AI upgrades and tools. HIGHLY recommend.Daniel Shulman, AI Profit Boardroom member review (5 stars, paying member for 4 months): Julian is very helpful. He doesn't try sell stuff you dont need and will give you a straight answer to your questions.Rj Herzog, AI Profit Boardroom member review (5 stars, paying member for 5 months): Top notch. If you are searching & searching thinking there is always something better out there.... You just found it. No need to look any further. Goldie covers it all & is super helpful. Can't beat the group either. Really can't recommend this group enough.Jermey Matthews, AI Profit Boardroom member review (5 stars, paying member for 6 months): While he has the capacity to do it, Julian is definitely doing the unscalable things to support his community.

Ready To Join The #1 AI Community?

Join 3,400+ entrepreneurs inside the AI Profit Boardroom. Get the Agent OS, 1,000+ plug-and-play AI agent workflows, daily Q&A with Julian and 4 live coaching calls every week.

Join The AI Profit Boardroom →

7-Day No-Questions Refund • 30-Day ROI Guarantee

← Back to all posts