Chat with GLM 5.4 for free to write code, build games and 3D scenes, and read images and video. Z.ai built it as a flagship model with native vision. No sign-up for first 3 messages.
GLM 5.4 is Z.ai's newest flagship chat model, released on November 23, 2026. It is built for coding, reasoning and everyday chat. It reads text, images, video and files, and handles a context window of 1M tokens with answers up to 128K tokens. This means it can work through long documents and large codebases in one conversation. Its launch post also notes that the weights are planned to open after safety hardening. OpenRouter has listed the API since December 2, 2026.
What sets it apart is the Loop Transformer architecture. GLM 5.4 runs 28 layers of the GLM-5 base model twice, which adds depth without adding parameters. This gives reasoning-heavy work more compute per token, such as large software projects, cybersecurity and 3D modeling. Z.ai compares the resulting intelligence level to 2T to 3T parameter models. It also marks the start of Generalized Coding, where code solves a much wider range of tasks. On AIFreeForever you can chat with GLM 5.4 for free. No sign-up for first 3 messages.
| Detail | Information |
|---|---|
| Made by | Z.ai |
| Model ID | glm-5.4 |
| Released | November 23, 2026 |
| Status | Z.ai's flagship; open weights planned after safety hardening |
| API price per 1M tokens | $1.40 in / $4.40 out |
| Price of GLM 5.4 on AIFreeForever | Free |
| Detail | Information |
|---|---|
| Context window | 1M tokens |
| Longest answer | 128K tokens |
| Inputs | Text, image, video, file |
| Output | Text |
| Thinks before it answers | Always thinks (thinking type "enabled"); Z.ai recommends max reasoning effort |
AIFreeForever is not affiliated with or endorsed by the model providers. All trademarks and logos belong to their owners.
No, Z.ai lists no free API tier for GLM 5.4. Its API costs $1.40 per 1M input tokens and $4.40 per 1M output tokens. Z.ai offers it in Z.ai Chat, ZCode and the paid GLM Coding Plan, where weekly-quota users get 1.5 times the GLM-5.3 quota.
However, you can access it for free on AIFreeForever. No sign-up for first 3 messages.
There are 2 ways to chat with GLM 5.4 for free:
Go to AIFreeForever's GLM 5.4 page, where the model is already selected in the chat box at the top.
Type or paste your question into the chat box, or attach a picture, video or code file when it helps.
Press send and GLM 5.4 writes its answer. No sign-up for first 3 messages.
Read the answer, compare it with another model or ask a follow-up, then verify your email with a one-time code for more messages each day.
Chatting with GLM 5.4 on AIFreeForever is easy: type your question in the chat box above, with no sign-up for first 3 messages. The model always thinks before it replies and writes up to 200 tokens per second off-peak, so long answers still come fast.
GLM 5.4 is free on AIFreeForever because we want to close the gap between people and the most advanced AI models. We also want to give that access to people who cannot pay for it. You may wonder how a model like GLM 5.4 can be free at all.
The honest answer is that free access has limits. No sign-up for first 3 messages, then you verify your email with a one-time code to get more messages each day. At busy times GLM 5.4 can be currently at capacity, and another available model answers until it is back. AIFreeForever covers the cost of the chat through these five sources:
GLM 5.4 is usually available on AIFreeForever for free. The model follows a fair usage policy, so at times of high demand it can be currently at capacity. When that happens, another available model answers your message and the chat tells you which one, then a notice says when GLM 5.4 is back. Here are the situations that can affect the availability of GLM 5.4 on AIFreeForever.
Free to use: Chat with GLM 5.4 in the box at the top of the page at no cost.
No sign-up for first 3 messages: Start chatting straight away and keep your first three messages without an account.
More messages each day: Verify your email with a one-time code to get more messages to GLM 5.4 each day.
High demand: Many people chatting at once can put the model at capacity for a while.
Day's messages used: Once your messages for the day are used, the chat switches to another available model.
Email not verified: Without a verified email, your daily message count stays small.
When GLM 5.4 is currently at capacity, another available model answers so your chat carries on. The chat names the model that replied, so you always know who wrote the answer.
A notice then tells you when GLM 5.4 is back. Your conversation stays in the chat, so you can pick up where you left off. High demand or a used-up daily message allowance are the usual reasons, and the fallback keeps AIFreeForever useful either way.
GLM 5.4 answered all six of our tests on December 3, 2026, run by AIFreeForever through an API with the same prompts for every model. It passed 11 of 11 coding test cases and solved the math problem correctly. It also answered 5 of 5 fact questions and followed 6 of 6 format rules in the instruction test. Its writing sample came to 106 words, and the five other tests used 566 output tokens in all, thinking included. Speed was a median first answer word of 0.47 seconds and 438 tokens per second over 3 runs. So answers arrive quickly on our runs that day.
GLM 5.3 passed the same coding, math, fact and instruction tests. It wrote 102 words against GLM 5.4's 106, and used 639 output tokens in all. Its speed was 0.39 seconds to the first word and 104.8 tokens per second. So GLM 5.4 streamed far faster in our runs, which means longer answers appear on screen sooner.
Tested by AIFreeForever on December 3, 2026 through an API, with the same prompts for every model. Coding, math, facts and the format rules were checked by code. Speed is the median of 3 runs and changes with the server that answered.
Write a JavaScript function isValidIsbn10(s) that returns true when the string s is a valid ISBN-10 and false otherwise. The string may contain hyphens, which are ignored. The last character may be X (meaning 10). Use the standard checksum: the sum of each digit times its weight 10 down to 1 must be divisible by 11. Reply with only the code in one code block.
Thinking at low effort, temperature 0.2. Took 1.1 s, 147 output tokens with thinking.function isValidIsbn10(s) {
const chars = s.replace(/-/g, "").split("");
if (chars.length !== 10) return false;
let sum = 0;
for (let i = 0; i < 10; i++) {
const c = chars[i];
let d;
if (i === 9 && (c === "X" || c === "x")) d = 10;
else if (c >= "0" && c <= "9") d = Number(c);
else return false;
sum += d * (10 - i);
}
return sum % 11 === 0;
}
Write a product description of about 100 words for a reusable steel water bottle made for hikers. It keeps drinks cold for 24 hours, weighs 340 grams and has a clip for a backpack. Use a friendly tone, no bullet points and no headings.
Thinking at low effort, temperature 0.2. Took 1.9 s, 138 output tokens with thinking.Meet your new favorite trail companion! Our reusable steel water bottle is built for hikers who want their drinks ice-cold from the first mile to the last. Thanks to double-wall vacuum insulation, it keeps beverages refreshingly cold for a full 24 hours, so you can sip something crisp even after a long day on the trail. Weighing just 340 grams, it won't weigh you down when every ounce in your pack counts. The handy clip attaches easily to your backpack, keeping your bottle within reach without digging through your gear. Durable, eco-friendly, and adventure-ready, it's the bottle you'll wonder how you ever hiked without. Happy trails!
A shop sells pens at 3 for $2.40 and notebooks at $3.75 each. Notebooks are 10% off today. Maria buys 12 pens and 4 notebooks and pays with a $50 note. How much change does she get? Show your working briefly, then give the final answer on the last line as "Answer: $X.XX".
Thinking at low effort, temperature 0.2. Took 0.5 s, 152 output tokens with thinking.Pens: 12 ÷ 3 = 4 sets × $2.40 = $9.60
Notebooks: $3.75 × 0.90 = $3.375 each; 4 × $3.375 = $13.50
Total: $9.60 + $13.50 = $23.10
Change: $50 − $23.10 = $26.90
Answer: $26.90
Answer each question with the answer only, one line each, numbered 1 to 5. 1. What is the chemical symbol for tungsten? 2. In what year did the Berlin Wall fall? 3. What is the capital city of Australia? 4. How many bones are in the adult human body? 5. Who wrote the novel "One Hundred Years of Solitude"?
Thinking at low effort, temperature 0.2. Took 0.5 s, 28 output tokens with thinking.Explain how photosynthesis works in about 250 words, for a high school student.
Asked 3 times. Thinking at low effort, temperature 0.2.How Photosynthesis Works
Photosynthesis is the process plants use to convert light energy into chemical energy (food). It happens mainly in the leaves, inside structures called chloroplasts, which contain the green pigment chlorophyll—the molecule that captures sunlight.
The Basic Equation
6CO₂ + 6H₂O + light energy → C₆H₁₂O₆ + 6O₂
In words: carbon dioxide + water, powered by light, produces glucose (sugar) and oxygen.
Two Main Stages
1. The Light Reactions
This stage happens in structures called thylakoid membranes inside the chloroplast. When sunlight hits chlorophyll, it excites electrons, boosting them to higher energy levels. These energized electrons pass through an "electron transport chain," which pumps hydrogen ions and produces two energy-carrying molecules: ATP and NADPH. Water is split during this process, releasing oxygen as a byproduct—that's the oxygen we breathe!
2. The Calvin Cycle (Light-Independent Reactions)
This stage takes place in the stroma (the fluid surrounding the thylakoids). Using the ATP and NADPH from stage one, the plant takes carbon dioxide from the air and, through a series of enzyme-driven steps, builds it into glucose. This cycle doesn't directly need light, but it depends on the energy carriers made during the light reactions.
Why It Matters
The glucose produced serves two purposes: it fuels the plant's cellular respiration for energy, and it can be converted into starch, cellulose, or other molecules for growth and structure.
Photosynthesis is the foundation of nearly all food chains on Earth. Plants are "producers"—they make their own food—while animals must eat plants (or other animals) to survive. Plus, photosynthesis removes CO₂ from the atmosphere and replenishes oxygen, making it essential for life as we know it.
List exactly 5 fruits. Rules: one fruit per line, each line starts with its number and a full stop ("1." to "5."), then one space and the fruit name in lowercase letters only. No fruit name may contain the letter "e". The fruits must be in alphabetical order. Write nothing else: no title, no notes.
Thinking at low effort, temperature 0.2. Took 0.8 s, 101 output tokens with thinking.Z.ai prices its own API for GLM 5.4 at $1.40 per 1M input tokens and $4.40 per 1M output tokens, with cached input at $0.26. This is the same price per token as GLM-5.3, so upgrading adds capability without a price jump. You can also pay for an API key from an inference provider in order to access this model. However, on AIFreeForever, you can already test this model for free. The table below summarises the price of GLM 5.4.
Prices were checked on December 3, 2026 from Z.ai's pricing and OpenRouter.
For developers in need of this model, the Z.ai API sells it directly. OpenRouter also lists it from 7 providers, with the cheapest at $1.20 input and $4.00 output per 1M tokens. Anyone else can try GLM 5.4 in the AIFreeForever chatbot without an API key. No sign-up for first 3 messages.
Ask GLM 5.4 a question, paste your code or add a file and get instant answers. Not satisfied? Compare your answers to other models for free.
Chat with GLM 5.4People on AIFreeForever use GLM 5.4 to build working software, videos and 3D scenes from a single prompt.
Video
Interface
Game
Animation
Research
Coding GLM 5.4 stands out for its deep Loop Transformer design, native vision input and very fast answers.
It runs 28 layers of the GLM-5 base model twice, so the network is deeper without more parameters.
It reads text, images, video and files, so you can drop a document or picture straight into the chat.
It reaches up to 200 tokens per second off-peak, so long replies arrive quickly.
Its 1M-token context holds whole books or codebases, and answers can run to 128K tokens.
Z.ai built it to solve a much wider range of tasks with code, from scripts to full tools.
It supports function calling and structured output such as JSON, which suits developers building on it.
GLM 5.4 on AIFreeForever gives you free chats, model comparison and a website skill. It also offers private chats, a phone app and strong coding help.
Chat with GLM 5.4 on AIFreeForever at no cost, with more messages each day after a one-time email code.
Send the same question to other AI models on AIFreeForever, compare the answers and switch models in the same chat.
@Website builds a website from a description, so you can preview it, change it and download it.
AIFreeForever only chooses model providers that promise zero data retention, chats stay private to you and uploaded files are deleted once the answer is given.
Use the same free chat on your phone, straight from Google Play.
Ask GLM 5.4 to write code, build games, work with 3D and read images and video.
Z.ai gives GLM 5.4 a 1M-token context, vision and video input, and thinking on every request, so the model handles long documents, rich media and hard reasoning in one chat.
1M-token context: Read very long files or codebases in one request, with answers up to 128K tokens.
Vision and video input: Send images, video and files alongside text, and ask about any of them.
Thinking mode: The model always thinks before it answers, and Z.ai recommends max reasoning effort for the hardest tasks.
Function calling: Connect the model to your own tools and let it call them during a conversation.
Structured output: Get clean JSON and other fixed formats, ready to feed into an app or workflow.
Context caching: Cached input costs $0.26 per 1M tokens on the API, so repeated prompts stay cheap to run.
GLM 5.4 is the newest of Z.ai's GLM models, and the table below compares it with the GLM versions before it. Each row shows the release date, context window, supported inputs and API price per 1M tokens. It also shows what the model is built for, so you can see at a glance what GLM 5.4 adds over GLM 5.3, GLM 5.3 Flash and GLM 5.2.
This comparison was extracted from Z.ai's own pages and OpenRouter, checked on December 3, 2026.
GLM 5.4 builds on the GLM-5 base by looping 28 layers twice, while GLM 5.3 uses a standard Transformer. Separately from this design, GLM 5.4 reads images, video and files, where GLM 5.3 on OpenRouter is text only. Both cost the same on Z.ai at $1.40 input and $4.40 output per 1M tokens, so choosing the newer model costs the same per token. Coding Plan users also get 1.5 times the GLM-5.3 quota for GLM-5.4. Pick GLM 5.4 for multimodal work and longer coding sessions, and GLM 5.3 for plain text tasks.
GLM 5.4 and GLM 5.3 Flash are two models from Z.ai, and both read images and video. GLM 5.3 Flash has 320B parameters with 18B active. It also uses a hybrid of linear and sparse attention. On OpenRouter, GLM 5.3 Flash costs $0.15 per 1M input tokens, while GLM 5.4 costs $1.40. This makes GLM 5.3 Flash the cheaper option for high-volume use. GLM 5.4 suits work that needs deeper reasoning and richer answers. GLM 5.3 Flash suits quick everyday chats. On AIFreeForever you can try both in the chat and pick the one that fits your task.
GLM 5.4 is the first GLM flagship that loops its layers and the first with native vision. One model handles text and images, plus video and files. Its 28 layers of GLM-5 run twice, which gives the model more depth for the same size. In Z.ai's 30B looped test, outputs came out 10 to 14% shorter for the same work. This means long coding, maths and science chains finish with less thinking time. It keeps the same API price as GLM 5.3, so the newer model costs the same to run.
GLM 5.3 leads where published benchmark scores matter, because GLM 5.4 has none yet.
GLM 5.4 works by looping, as its design blog explains. A block of 28 weight-shared layers from the GLM-5 base model runs twice, refining the hidden states of the first pass. Per-token gates decide how much each pass writes back. The first pass writes carefully, the second fills in, and harder tokens get bigger updates.
This loop design gives the model depth where it matters, and the memory cost stays low. A hybrid KV cache lets the second loop reuse the first pass's sparse cache plus a sliding window. As a result, an extra loop costs only one window of memory at 1M tokens. The second loop also reuses the first loop's sparse attention indices, adding no indexing cost. That makes GLM 5.4 a strong pick for long documents and hard reasoning.
GLM 5.4 is a strong model with a few limits worth knowing before you start a long task.
Z.ai notes the model can get caught in overly long marathon thinking loops. For long reasoning tasks, split your question into smaller steps.
The weights are not open yet, so you can run it through hosted services such as AIFreeForever rather than on your own machine.
The API supports only thinking.type "enabled", so every answer includes reasoning. This adds depth but also time.
Speed drops from up to 200 to 70 to 80 tokens per second at peak load. Expect longer waits during busy hours.
No benchmark scores for GLM 5.4 itself were published at launch, so judge it by your own tasks.
Like every language model, it can state wrong facts with confidence, so check important answers.
A good prompt for GLM 5.4 names the goal, the format and the details. This lets the model use its deep reasoning on coding, games and 3D work. It also applies the same reasoning to video analysis.
Yes. You can chat with GLM 5.4 for free on AIFreeForever. No sign-up for first 3 messages. After that, you may be asked to verify your email with a one-time code. Z.ai sells the model through its paid API, so the free chat on AIFreeForever is the easiest way to try it.
Z.ai made GLM 5.4. The company announced the model in its release blog post and offers it through Z.ai Chat, ZCode and the GLM Coding Plan.
Z.ai released GLM 5.4 on November 23, 2026. It went live in Z.ai Chat, ZCode and the GLM Coding Plan on the same day.
Through the Z.ai API, GLM 5.4 costs $1.40 per 1M input tokens and $4.40 per 1M output tokens, with cached input at $0.26. On AIFreeForever you can test the model for free before deciding whether to pay for API access.
GLM 5.4 has a 1M token context window and can write answers of up to 128K tokens, according to Z.ai's model docs. That is enough to read a long report or a large codebase in one go.
GLM 5.4 is the newest model in Z.ai's GLM line, released on November 23, 2026. It reads text, images, video and files in a 1M token context window. For the latest version of the family, pick GLM 5.4.
Yes. GLM 5.4 accepts text, image and video input. It also takes file input, so it can work with photos, charts and PDFs. Upload a file in the chat and the model reads it as part of your question.
Yes. Z.ai released GLM-5.4 on November 23, 2026, and OpenRouter has listed its API since December 2, 2026. Z.ai plans to open the weights after safety hardening. On AIFreeForever the model can be currently at capacity at times of high demand, and another available model answers until GLM 5.4 is back.
Yes. Chats with GLM 5.4 on AIFreeForever are kept strictly private and stay visible to you only. We only choose model providers that promise zero data retention, and any file you upload is deleted once the answer is given.
Yes, your chats stay private to you. If you connect your email, you can choose to keep no history at all. History you choose to keep is deleted automatically after 7 days and is never kept longer.
Ask GLM 5.4 your next question on AIFreeForever and get a clear answer. No sign-up for first 3 messages. Chat with GLM 5.4
Tell us if this AI content is offensive, harmful or wrong. We review every report and use it to improve our filters.
You made 10 pictures today.
Tell us how it went.
Your words go straight to our team.
We read every message.