#glm#z.ai#precios#programación

    GLM-5.4 Coding Plan: What Z.ai's Layer-Repeating AI Costs

    GLM-5.4 Coding Plan: from $18 a month, how to set it up, the credit math against the API and why 2 to 3 trillion is Z.ai's own claim.

    GLM-5.4 Coding Plan is how you use Z.ai's GLM-5.4 model today: a plan from $18 a month, because neither the API nor the open weights exist yet. Z.ai released it on November 23, 2026, as its first flagship model with a Loop Transformer architecture: it takes 28 layers of its base model and runs them twice, without adding parameters (about 750 billion). Z.ai says it performs like models with 2 to 3 trillion, but that's its own claim, with no results table for the big model.

    What changed with GLM-5.4

    Almost everyone will describe it as a bigger model, and it isn't. It's the same scale as its base. The news is that each layer works twice per answer, and the second pass polishes what the first one left behind. The idea isn't new: it goes back to 2018. What's new is doing it at this scale. Z.ai says its goal is generalized coding: using code to make video, games, 3D pieces and engineering drawings. It's a different road: more thinking, not more size.

    Man working with a laptop and a pen outdoors

    How it works under the hood

    Picture an office with 28 desks in a row. A normal model walks the document past every desk once; GLM-5.4 walks it past the same desks twice, without hiring anyone. But repeating without care breaks things, so Z.ai added three pieces: gates that decide how much gets written on each pass, a shared memory so the second lap doesn't duplicate the whole file, and reuse of the attention index from the first pass, at no extra cost. That memory is what keeps the bill under control with a million tokens of context.

    How to set up the GLM Coding Plan

    1. Go to Z.ai, sign up and open the GLM Coding Plan.
    2. Pick a plan. Lite costs $18 a month, and with annual billing it drops to $12.60.
    3. Create your API key under Personal Coding Plan, Plan Overview. That key is different from the regular API key and they're not interchangeable.
    4. Connect a tool. The official ones include Claude Code, Cline, OpenCode and Cursor, plus ZCode, Z.ai's own app.
    5. Point the tool at the address it asks for; for Claude Code, the Anthropic-compatible one.
    6. Ask for a task in plain language. The plan only works in officially supported tools: if you paste the key into another app, it won't work.

    You know it's set up right if the usage panel drops credits while you work. GLM-5.4 is included in every plan, at no extra charge.

    The math: plan versus API

    Lite costs $18 a month and comes with 10,000 credits a week. One credit comes from input tokens times 4.6, cached tokens times 1.1 and output tokens times 16, all divided by 10,000. A session of one million tokens, 95% cached, is 139 credits: 10,000 divided by 139 gives 72 sessions a week at peak hours, and 144 off-peak, which is billed at half. At $18 a month (about $4.15 a week), that's almost 6 cents per million tokens at peak and under 3 off-peak.

    And the API? The previous model, GLM-5.3, charges $1.40 for input, $0.26 cached and $4.40 for output: with the same mix, about 35 cents per million. The plan comes out 6 to 12 times cheaper if you use all of it, and to break even you only need to use one sixth.

    Laptop with a cup of coffee and a clock on screen, peak and off-peak hours

    Three use cases (my own scenarios, not published by Z.ai)

    An undocumented legacy system. An independent developer opens Claude Code with GLM-5.4, loads the entire repository using the million-token context and asks for a dependency map and a migration plan. A document with risks and a work order comes out in one afternoon, not a week of reading. With weekly credits, the cost no longer depends on each question.

    A playable demo for a client. Z.ai showed a complete game, Brickwild, made with GLM-5.4. A marketing studio describes a minigame with the client's mascot and brand colors and gets something that opens in the browser. Note: the demo is from Z.ai and doesn't say how many attempts it took; expect to iterate several times, and that gets paid for in credits.

    Parts for a design shop. Z.ai shows a six-axis robotic arm modeled in FreeCAD, a free program. You describe the part and the model writes the code that builds the 3D model: an editable file comes out. It's a first draft in minutes, but the measurements have to be exact and only an engineer can check them.

    Who it's not for

    It isn't for anyone doing short tasks, like an email, a formula or a translation: you'd pay for depth you won't use. Nor for anyone who already has a workflow with another provider, because switching costs days of tweaking and the gain isn't proven. Nor for anyone who needs fast, predictable answers, because this model takes its time.

    Where the "2 to 3 trillion" comes from

    That figure comes from Z.ai's own post, on launch day, and it doesn't come with a results table for the big model. It's a claim from the maker. To believe it you'd need published results for the 750-billion-parameter model on the same tests everyone else uses, someone independent repeating them, and the cost per solved task, not per token: a model that thinks more can burn more output tokens, which weigh 16 against 4.6 for input ones. The video, game and robot demos are the maker's demonstrations, not proof.

    What there is, is one controlled test: a 30-billion-parameter model with the same architecture and only 10% more training compute. On math, AIME 25, it went from 19.17 to 30.42 (eleven points, 59% more), and the answers came out 10 to 14% shorter. Whether that holds at 750 billion, there's no data.

    What breaks in practice

    Z.ai admits the model sometimes gets stuck in extremely long thinking loops, which it calls marathon thinking. Worst case: the maximum output is 128,000 tokens; at 75 tokens per second, at peak hours, that's 28 minutes of waiting, and it costs 128,000 times 16 divided by 10,000: 205 credits, 2% of your week on Lite for a single answer. Also, the smallest improvement was in following instructions: barely 3.3 points on IFBench. If your work is obeying formats to the letter, don't expect miracles.

    How to apply it in your business?

    Today only people with the GLM Coding Plan, from $18 a month, can use it, and in compatible tools. The API doesn't exist yet: Z.ai says it will arrive once a safety evaluation is done, with no date, and the open weights after that same review, also with no date. Try Lite for a week and measure credits per finished task. Work off-peak: Monday through Friday, peak is 2 to 6 p.m. in Singapore, which is 1 to 5 a.m. Eastern and 10 p.m. to 2 a.m. Pacific, so almost your whole day gets billed at half price. Put a cap on the output to cut the loops, repeat the same task with your current model and compare. Don't migrate anything until there are independent results, and remember the plan's key doesn't work outside official tools. For the short summary of the launch, read the quick take on GLM-5.4 and its repeated 28 layers.

    GLM-5.4 Coding Plan FAQ

    How much does the GLM Coding Plan cost?

    The Lite plan costs $18 a month ($12.60 with annual billing) and comes with 10,000 credits a week. GLM-5.4 is included in every plan.

    Does GLM-5.4 have an API or open weights?

    Not yet. Z.ai says they will arrive after a safety evaluation, with no date.

    Does it perform like a 2-to-3-trillion-parameter model?

    Z.ai says so, with no results table for the big model. It's a claim from the maker.

    Can I use the plan's key in any app?

    No. It only works in the officially supported tools, like Claude Code, Cline, OpenCode, Cursor and ZCode.

    Conclusion

    GLM-5.4 didn't grow, it thought twice, and today the only door is the Coding Plan. The question is whether that extra thinking is worth what it costs in your work. Tell me in the comments which task you'd put to the test first and how many dollars you'd pay to have it solved.