Back to models
Model · Z.ai
Z.ai

GLM 5.3 FlashX

zai/glm-5.3-flashx
Try in Agents

Z.ai's native multimodal model for visual coding across code, browsers, documents and GUIs, at 1M context

reasoningvisioncaching
Specs
Context
1M
Max output
131K
Provider
Z.ai
Input
$0.370/ 1M tokens
Output
$1.25/ 1M tokens
Cache read
$0.075/ 1M tokens
Providers and pricing
Vercel AI GatewayList priceOur price
Input$0.370 / 1M tokens$0.370 / 1M tokens
Output$1.25 / 1M tokens$1.25 / 1M tokens
Cache read$0.075 / 1M tokens$0.075 / 1M tokens

List price is what the provider charges us. Our price is what a request is billed.

Live performance
Loading measurements…
How we measure. Every request is timed from the moment we send it. A finish time comes from the provider's own timestamps when it reports them, from the moment it calls us back when it doesn't, and otherwise from polling: we take the midpoint between the last check that found the job running and the first that found it done, so it is off by at most half the poll interval. First token is the wait for the first streamed text or tool token; output speed counts tokens after that first token. Requests you stop are left out. Figures appear once a window has 20 completed requests, and are aggregate only.
Try it
Chat with GLM 5.3 FlashXTerramind API
⌘+Enter to run
Code
import { streamText } from "ai";
import { createOpenAICompatible } from "@ai-sdk/openai-compatible";

const terramind = createOpenAICompatible({
  name: "terramind",
  baseURL: "https://terramind.com/api/v1",
  apiKey: process.env.TERRAMIND_API_KEY!,
});

const result = streamText({
  model: terramind("glm-5.3-flashx"),
  prompt: "Why is the sky blue?",
});

for await (const chunk of result.textStream) {
  process.stdout.write(chunk);
}

Want to run this in your app? Grab an API key · Full chat reference

More by Z.ai
ModelContextInOutCapabilities
Z.aizai/glm-5.1203K$1.40$4.40
reasoningcaching
Z.aizai/glm-5.21M$1.40$4.40
reasoningcaching
Z.aizai/glm-5.31M$1.40$4.40
reasoningcaching
Z.aizai/glm-5.3-flash1M$0.150$0.500
reasoningvisioncaching
Z.aizai/glm-5.3-flashx-legal1M$0.370$1.25
reasoningvisioncaching
Z.aizai/glm-5.3-fast1.0M$2.10$6.60
reasoningcaching
Z.aizai/glm-5.2-fast1M$2.80$8.80
reasoningcaching
Z.aizai/glm-5v-turbo200K$1.20$4.00
reasoningvisionvideo