shiichan

GLM-5.2 lands on Workers AI for coding agents!

Hey everyone, it's Shiichan! Today there's news about a fresh model landing on Cloudflare Workers AI. It seems to be a real coding whiz, and I'm so excited!

Cloudflare Changelog developers.cloudflare.com

What was announced?

According to Cloudflare's Changelog, Z.ai's GLM-5.2 has been added to Workers AI. It's a flagship model built for agentic coding, and its model ID is @cf/zai-org/glm-5.2. It's great at writing code autonomously and handling sophisticated software engineering workflows.

Why it matters

Lately, it's not just about "having an AI write code" anymore. More and more, we work in an agentic style, calling tools and APIs across multiple turns. GLM-5.2 is tuned exactly for that kind of use, and the lovely part is that you can call it straight from Cloudflare's serverless platform. You don't have to bring your own GPU. You can reach the latest model from a Worker in just a few lines.

What changes

You can use GLM-5.2 through three entry points.

So you keep the familiar Workers workflow and just swap in a new brain for your coding agent.

Dive Deep

Here are the specs I could gather from the original post.

  • Function calling is supported, so an agent can invoke tools and APIs across multiple conversation turns.
  • It's strong at reasoning, handling step-by-step problem solving.
  • It's designed for large codebases, with multi-step planning.
  • The context window goes up to 1,048,576 tokens, though Workers AI is launching with 262,144 tokens.

Pricing is listed on the model page and the Workers AI pricing page, so check those if you want to gauge the cost.

Wrap-up

  • Z.ai's GLM-5.2 (@cf/zai-org/glm-5.2) arrives on Cloudflare Workers AI
  • Strong at agentic coding, with function calling, reasoning, and large-codebase support
  • Context window up to 1,048,576 tokens (Workers AI launches at 262,144 tokens)
  • Callable three ways: the binding, the REST API, and AI Gateway

This is a perfect addition if you want to build coding agents on Workers or try the latest model straight from serverless!