How to Use GLM-5.4 for Free

Is GLM-5.4 free? Every access route checked on Z.ai's official pages: the Coding Plan, ZCode, Z.ai Chat, the coming API, open weights, and the free GLM-4.7-Flash API.

Ashley Innocent

Ashley Innocent

24 November 2026

How to Use GLM-5.4 for Free

Apidog for Enterprise

On-Premises Deploy

SSO & RBAC

SOC 2 Compliant

Explore Apidog Enterprise

GLM-5.4 free access is the first thing most developers searched for after Z.ai launched the model on November 23, 2026. Here’s the short answer, checked on Z.ai’s official pages on November 24, 2026: there is no confirmed $0 route to GLM-5.4 yet. Z.ai says it’s “available to all GLM Coding Plan users,” a paid subscription that lists at $18 a month. The pay-as-you-go API waits on a security assessment, and open weights are planned for later.

What you can do for $0 today is smaller but useful: check Z.ai Chat once you sign in, call Z.ai’s free GLM-4.7-Flash API to build your integration, and have a test ready that flips to GLM-5.4 the day it opens. This guide covers each route and what it costs.

Is GLM-5.4 free?

No, not through any route Z.ai confirms today. GLM-5.4 runs on the paid GLM Coding Plan (Lite, Pro and Max), in ZCode with a plan, and in Z.ai Chat. Z.ai hasn’t published a free tier, trial or quota for GLM-5.4 anywhere, and the Model API is not open. Free GLM models do exist, but they’re older ones.

Here’s every route, with what we could verify on November 24, 2026:

Route Cost Runs GLM-5.4? Status
GLM Coding Plan Lite $18/month list, $12.6/month shown on the subscribe page Yes Verified
ZCode desktop app Needs a Coding Plan Yes Verified
Z.ai Chat (web) Sign-in required Listed by Z.ai Free access not confirmed [VERIFY]
Pay-as-you-go Model API Not priced yet Not yet “Coming Soon”
Open weights $0 to download, your hardware Not yet Planned, no date
GLM-4.7-Flash, GLM-4.5-Flash API Free No, older models Verified on the pricing page

If you’re new to the family, our GLM-5.3 explainer covers the model GLM-5.4 now sits beside on the Coding Plan.

Where does GLM-5.4 run today?

GLM-5.4 runs in four places Z.ai lists on its launch post: the GLM Coding Plan, ZCode, Z.ai Chat and, later, the API. The post’s “Getting Started” section reads, word for word: “GLM Coding Plan”, “ZCode”, “Z.ai Chat” and “API (Coming Soon)”. On weights, it says Z.ai plans “to open-source the model weights responsibly after completing necessary safety hardening.”

The GLM-5.4 docs page adds the line that matters for anyone hunting a free route: “GLM-5.4 is now available to all GLM Coding Plan users.” It also says “The Model API will be made available upon completion of the security assessment.” No date is given for either the API or the weights.

Diagram of GLM-5.4 access routes on November 24, 2026: the GLM Coding Plan and ZCode are paid and open, Z.ai Chat is listed but free access is unconfirmed, the Model API and open weights are not open yet, and the free GLM-4.7-Flash API is an older model

Simon Willison’s launch-day test confirms the same picture from the outside. He wrote that he “had to sign up for their Coding Plan subscription” because “5.4 cannot currently be accessed through the regular API,” and that “GLM 5.4 is not (yet?) available as open weights.”

Can you use GLM-5.4 in Z.ai Chat for free?

Maybe, but we couldn’t confirm it. Z.ai’s launch post links “Chat with it at Z.ai” to Z.ai Chat, so GLM-5.4 is meant to appear there. What we couldn’t verify is whether a free account gets it, and with what limit.

When we opened Z.ai Chat on November 24, 2026 without an account, the page title still read “Advanced AI Chatbot & Agent powered by GLM-5.3-Flash,” and the model picker didn’t open until you sign in. Z.ai hasn’t published a quota or plan table for the chat app.

To check for yourself:

  1. Open Z.ai Chat and sign in.
  2. Click the model picker next to the message box.
  3. Look for GLM-5.4. If it’s there and no upgrade prompt appears, send a short coding question.
  4. Watch for a usage message after a few turns; that’s your real limit.

Expect the “marathon thinking” Z.ai warns about. The launch post says GLM-5.4 “tends to get caught in overly long ‘marathon thinking’ loops,” so simple questions can take longer than you’d expect from a chat app.

What’s the cheapest paid way to get GLM-5.4?

The cheapest confirmed route is the GLM Coding Plan Lite tier. On the subscribe page on November 24, 2026, Lite showed “$12.6/month” next to a struck-through “$18/month,” with 10,000 credits a week. Quarterly billing shows “20% off” and yearly “30% off.” Pro and Max show $56 and $117.6 a month against $80 and $168 list.

Three details change how far Lite goes:

There’s no free trial on the subscribe page. The only “free” wording there is a referral offer: “Invite Friends, Earn Credits,” with “up to 20% back.”

If you’re weighing Lite against paying per token for an older model, our GLM-5.3-Flash pricing breakdown shows what the per-token route costs.

Which GLM models can you call for free right now?

Three GLM models are free on the Z.ai API today: GLM-4.7-Flash, GLM-4.5-Flash and GLM-4.6V-Flash (vision). Z.ai’s pricing page lists all three as “Free” for input, cached input, storage and output. None of them is GLM-5.4, so treat them as a $0 way to build and test your integration, not as GLM-5.4 itself.

GLM-4.7-Flash is the one to start with. Z.ai’s GLM-4.7 page says it “achieves open-source SOTA scores among models of comparable size” on SWE-bench Verified and τ²-Bench. The GLM-4.7 page lists a 200K context window.

To call it:

  1. Create a standard API key on Z.ai’s API key page (not a Coding Plan key).
  2. Send a request to the chat completions endpoint:
curl -X POST "https://api.z.ai/api/paas/v4/chat/completions" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $ZAI_API_KEY" \
  -d '{
    "model": "glm-4.7-flash",
    "messages": [
      {"role": "user", "content": "Write a Python function that validates an ISO 8601 date."}
    ]
  }'

The endpoint comes from Z.ai’s GLM-4.7 quick start. The lowercase model code glm-4.7-flash follows Z.ai’s naming but isn’t printed in the API reference’s model list [VERIFY]. The pricing page doesn’t state a rate limit for free models or whether a card is needed to create a key [VERIFY], so check your key’s limits on the console before you rely on it.

When will GLM-5.4 be free?

Two events would create a real $0 route, and Z.ai has dated neither.

Open weights. Once Z.ai publishes the weights, you can download them for $0. Running a 750B-scale model is another matter: you’d need multi-GPU server hardware, so for most developers “free weights” means free for hosting providers, who then sell access.

The Model API. When the API opens, watch for a launch discount or free credits. Neither has been announced, so don’t plan around one.

Until then, the practical move is to build against a free model now and switch the model name later. The next section sets that up so your agent tells you the day GLM-5.4 answers on the API.

Let your coding agent build a $0 GLM test with Apidog CLI

You don’t need to click through an API client for this. Your coding agent can build and run the test with Apidog CLI: one case against free GLM-4.7-Flash today, with the model name in an environment variable, plus an availability check you rerun for GLM-5.4.

Set up the CLI and its agent skill:

npm install -g apidog-cli@latest
apidog login --with-token <YOUR_APIDOG_TOKEN>
npx -y skills add https://apidog.com   # pick your agent when prompted

Then give your agent (Claude Code, Codex, OpenCode or Cursor) one prompt:

In Apidog project <projectId>, add POST /chat/completions for the Z.ai API at
https://api.z.ai/api/paas/v4 with a Bearer token from ZAI_API_KEY. Create a
test case that sends the model from the {{model}} environment variable with
one coding question, and asserts a 200 status and a non-empty
choices[0].message.content. Run it with model=glm-4.7-flash, then run it
again with model=glm-5.4 and tell me whether GLM-5.4 is open on the API yet.

The agent finds your environment, checks the payload shape against the CLI’s schema, creates the case and runs it twice:

apidog environment list --project <projectId>
apidog cli-schema get test-case-create
apidog cli-schema validate test-case-create --file glm-free-case.json
apidog test-case create --project <projectId> --file glm-free-case.json
apidog test-case run <caseId> --project <projectId> -e <envId> --env-var model=glm-4.7-flash -r cli
apidog test-case run <caseId> --project <projectId> -e <envId> --env-var model=glm-5.4 -r cli,json
A coding agent running Apidog CLI on a sandbox project: it lists the project's environments, then shows the run commands for a Z.ai chat test with model=glm-4.7-flash and again with model=glm-5.4

The first run costs $0 on the free model. The second fails today, and that failure is the point: rerun it every few days and the day it passes, the GLM-5.4 API is live for your key. The --env-var flag swaps the model without touching the case.

Sequence diagram: you prompt your coding agent, which runs Apidog CLI; the CLI sends one test to the Z.ai API with glm-4.7-flash, which returns 200 at no cost, then sends the same test with glm-5.4, which fails until the Model API opens

Add -r junit and the same command runs in CI. The Apidog CLI in Claude Code guide covers agent setup end to end, and the apidog run command reference lists every flag. Apidog’s Free plan covers up to 4 users, so this test costs nothing on either side.

Conclusion

GLM-5.4 isn’t free today. Z.ai ships it on the paid GLM Coding Plan, from $12.6 a month on the current Lite price, and lists Z.ai Chat as a place to try it without saying what a free account gets. The API and open weights, the two routes that could become $0, have no dates. Build on free GLM-4.7-Flash now, sign in to Z.ai Chat to see what your account shows, and keep a test ready so you know the moment GLM-5.4 opens.

FAQ

Is GLM-5.4 free to use? Not through any route Z.ai confirms as of November 24, 2026. It’s available on the paid GLM Coding Plan, in ZCode and in Z.ai Chat. Z.ai hasn’t published free access or limits for GLM-5.4 in the chat app.

How much does GLM-5.4 cost? The GLM Coding Plan Lite tier lists at $18 a month and showed $12.6 a month on Z.ai’s subscribe page on November 24, 2026. Every plan tier includes GLM-5.4.

Is there a free GLM-5.4 API? No. Z.ai says the Model API “will be made available upon completion of the security assessment.” The free API models today are GLM-4.7-Flash, GLM-4.5-Flash and GLM-4.6V-Flash.

Will GLM-5.4 be open source? Z.ai plans to release the weights “after completing necessary safety hardening” and hasn’t given a date. Running a 750B-scale model yourself needs server-class GPUs.

Can I use GLM-5.4 in Claude Code for free? No. Claude Code reaches GLM-5.4 through a GLM Coding Plan key, which is paid. You can point a test or script at free GLM-4.7-Flash on the standard API instead.

Explore more

How to Use GLM-5.4 in Claude Code and Cursor

How to Use GLM-5.4 in Claude Code and Cursor

Set up GLM-5.4 in Claude Code and Cursor with the GLM Coding Plan: settings.json model slots, 1M context, effort levels, Cursor's uppercase model name, credit costs and fixes.

24 November 2026

How to Use the GLM-5.4 API

How to Use the GLM-5.4 API

GLM-5.4 is live only through Z.ai's GLM Coding Plan. Here are the endpoints, model IDs, Claude Code setup, effort levels, credit costs, and how to prep your app for the Model API.

24 November 2026

Best AI Model for Math 2026: Claude vs GPT-6 vs Gemini 4

Best AI Model for Math 2026: Claude vs GPT-6 vs Gemini 4

Claude Fable 5.2, GPT-6.2 Astra and Gemini 4 compared on published math benchmarks: MathArena, HLE-Diamond, LeanLean and RiemannBench, with cost per problem and a way to test them on your own problems.

23 November 2026

Practice API Design-first in Apidog

Discover an easier way to build and use APIs

How to Use GLM-5.4 for Free