# GLM 5\.2 free for eve agents through August 27 via Blackbox on AI Gateway

**Published:** August 13, 2026 | **Authors:** Shar Dara, Casey Gowrie

---

[GLM 5.2](https://vercel.com/ai-gateway/models/glm-5.2), the open-weights coding model from Z.ai with a 1M-token context window, is free for [eve](https://eve.dev/) agents through August 27, served by [Blackbox AI](https://blackbox.ai/) on [AI Gateway](https://vercel.com/ai-gateway).

New eve agents come with GLM 5.2 as their default model. Use `npx eve@latest init my-agent` to get started.

Existing agents can benefit from this as well with a one-line change in `agent/agent.ts`:

**agent/agent.ts**
```typescript
import { defineAgent } from "eve";

export default defineAgent({
  model: "zai/glm-5.2",
});
```

Or run `eve set` from the CLI:

```bash
eve set --model zai/glm-5.2
```

> **Note:** This offer does not apply to Fast mode or the `zai/glm-5.2-fast` variant of the model.

After August 27, GLM 5.2 stays available on AI Gateway at standard provider rates.

Try GLM 5.2 in the [model playground](https://vercel.com/ai-gateway/models/glm-5.2).

---

📚 **More updates:** [View all changelog entries](/changelog/sitemap.md) | [Blog](/blog/sitemap.md)