# GLM-5.3 Prime and GLM-5.3-FlashX

> Two more GLM 5.3 tiers from Z.ai: Prime, the top reasoning tier ($2.80 / $8.80 list), and FlashX, the high-speed cut ($0.37 / $1.25 list). Both 1M context, BYOK.

- Date: 2026-09-28
- HTML: https://anyrouter.dev/blog/releases/2026-09-28-glm-5-3

## Models

- `z-ai/glm-5.3-prime` (GLM 5.3 Prime) — 1M context, $2.80 / $8.80 per 1M list. BYOK via OpenRouter.
- `z-ai/glm-5.3-flashx` (GLM-5.3-FlashX) — 1M context, 131k output, image and video input, $0.37 / $1.25 per 1M list. BYOK via AIHubMix.

## Notes

The GLM 5.3 line gets two more tiers next to [`z-ai/glm-5.3`](https://anyrouter.dev/model/z-ai/glm-5.3) and [`z-ai/glm-5.3-flash`](https://anyrouter.dev/model/z-ai/glm-5.3-flash).

- [`z-ai/glm-5.3-prime`](https://anyrouter.dev/model/z-ai/glm-5.3-prime). The top reasoning tier, above Flash and FlashX. 1M-token context, function calling.
- [`z-ai/glm-5.3-flashx`](https://anyrouter.dev/model/z-ai/glm-5.3-flashx). The high-speed variant for coding agents, real-time interaction and long-running agent workflows. 1M-token context, up to 131k output, image and video input.

| Model | Input / 1M (list) | Output / 1M (list) | BYOK via |
| --- | --- | --- | --- |
| GLM 5.3 Prime | $2.80 | $8.80 | OpenRouter |
| GLM-5.3-FlashX | $0.37 | $1.25 | AIHubMix |

- App code: [Vercel AI SDK](https://anyrouter.dev/use-cases/ai-sdk) or [OpenAI SDK](https://anyrouter.dev/use-cases/openai-sdk).
- Coding agent: `anyr claude` / `anyr opencode` / `anyr codex` ([playbook](https://anyrouter.dev/use-cases/coding-agents)).
- No code: [playground](https://anyrouter.dev/playground?model=z-ai/glm-5.3-flashx).

Add the key under [Dashboard → BYOK](https://anyrouter.dev/dashboard/byok); the request goes out with your key and the provider bills you at its own rates. AnyRouter charges nothing for a BYOK route.

Try it in the [Vercel AI SDK](https://anyrouter.dev/use-cases/ai-sdk) ([guide](https://anyrouter.dev/blog/ai-sdk-anyrouter)). `createAnyRouter()` reads `ANYROUTER_API_KEY`:

```ts
import { createAnyRouter } from "@anyr/ai-sdk-provider"
import { generateText } from "ai"

const anyrouter = createAnyRouter()

const { text } = await generateText({
  model: anyrouter("z-ai/glm-5.3-flashx"),
  prompt: "Write a test for this function.",
})
console.log(text)
```

_generateText with the catalog id._

Already on the OpenAI SDK? [OpenAI SDK playbook](https://anyrouter.dev/use-cases/openai-sdk):

### OpenAI SDK

```ts
import OpenAI from "openai"

const client = new OpenAI({
  baseURL: "https://anyrouter.dev/api/v1",
  apiKey: process.env.ANYROUTER_API_KEY,
})

const res = await client.chat.completions.create({
  model: "z-ai/glm-5.3-flashx",
  messages: [{ role: "user", content: "Hello" }],
})
console.log(res.choices[0]?.message.content)
```

### curl

```bash
curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"z-ai/glm-5.3-flashx","messages":[{"role":"user","content":"Hello"}]}'
```

Or launch a coding agent through the `anyr` CLI ([Claude Code](https://anyrouter.dev/use-cases/claude-code) · [OpenCode](https://anyrouter.dev/use-cases/opencode)):

### Claude Code

```bash
curl -fsSL https://anyrouter.dev/cli.sh | bash
anyr login
anyr claude --model "z-ai/glm-5.3-flashx"
```

### OpenCode

```bash
curl -fsSL https://anyrouter.dev/cli.sh | bash
anyr login
anyr opencode --model "z-ai/glm-5.3-flashx"
```

### Codex

```bash
curl -fsSL https://anyrouter.dev/cli.sh | bash
anyr login
anyr codex --model "z-ai/glm-5.3-flashx"
```

More: [AI SDK](https://anyrouter.dev/use-cases/ai-sdk) · [OpenAI SDK](https://anyrouter.dev/use-cases/openai-sdk) · [coding agents](https://anyrouter.dev/use-cases/coding-agents) · [BYOK setup](https://anyrouter.dev/use-cases/byok).

No terminal? Open the playground and send a first message.

[Try in playground](https://anyrouter.dev/playground?model=z-ai/glm-5.3-flashx)
