# GLM-5.3-Flash

Canonical page: https://agentsky.dev/models/zai/glm-5.3-flash
JSON record: https://gateway.agentsky.dev/v1/models/zai/glm-5.3-flash

GLM-5.3-Flash is a text and image and video-input model by Z.ai, available through the AgentSky API as zai/glm-5.3-flash at $0.105 per million input tokens and $0.35 per million output tokens, with a 1M context window.

A natively multimodal Flash model for efficient coding and long-horizon agent tasks, taking text, images, and video.

## Facts

- **Model id:** `zai/glm-5.3-flash`
- **Maker:** Z.ai
- **Input modalities:** Text, Image, Video
- **Context:** 1M
- **Max output tokens:** 131,072
- **Released:** Aug 26, 2026
- **Aliases:** `zai/glm-5.3-flash`, `glm-5.3-flash`

## Pricing

USD per million tokens on the default plan. Signed-in pages show your own plan's price; every response carries the cost of that call in `usage.cost`.

| Meter | Per 1M tokens |
|---|---|
| Input | $0.105 |
| Output | $0.35 |
| Cache read | $0.021 |
| Cache write | $0.105 |

## Use it

Anthropic wire base URL: `https://gateway.agentsky.dev`. OpenAI wire base URL: `https://gateway.agentsky.dev/v1`. Authenticate with an AgentSky API key (`ast_…`) and pass the model id.

### OpenAI SDK

```js
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://gateway.agentsky.dev/v1",
  apiKey: process.env.AGENTSKY_API_KEY, // ast_…
});

const completion = await client.chat.completions.create({
  model: "zai/glm-5.3-flash",
  messages: [{ role: "user", content: "Summarise this ticket." }],
});
console.log(completion.usage.cost); // USD, in the response
```

### Codex

```bash
export OPENAI_BASE_URL="https://gateway.agentsky.dev/v1"
export OPENAI_API_KEY="$AGENTSKY_API_KEY"

codex --model zai/glm-5.3-flash
```

### OpenCode

```js
// opencode.json — then switch models any time with /models
{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "agentsky": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "AgentSky",
      "options": {
        "baseURL": "https://gateway.agentsky.dev/v1",
        "apiKey": "{env:AGENTSKY_API_KEY}"
      },
      "models": { "zai/glm-5.3-flash": {} }
    }
  }
}
```

## Run it with an agent

- [Hermes + GLM-5.3-Flash](https://agentsky.dev/agents/hermes/with/glm-5.3-flash)
- [Claude Code + GLM-5.3-Flash](https://agentsky.dev/agents/claude-code/with/glm-5.3-flash)
- [Codex + GLM-5.3-Flash](https://agentsky.dev/agents/codex/with/glm-5.3-flash)
- [OpenClaw + GLM-5.3-Flash](https://agentsky.dev/agents/openclaw/with/glm-5.3-flash)
- [pi + GLM-5.3-Flash](https://agentsky.dev/agents/pi/with/glm-5.3-flash)
- [DeepSeek Harness + GLM-5.3-Flash](https://agentsky.dev/agents/dsh/with/glm-5.3-flash)
- [Kimi Code + GLM-5.3-Flash](https://agentsky.dev/agents/kimi-code/with/glm-5.3-flash)
- [OpenCode + GLM-5.3-Flash](https://agentsky.dev/agents/opencode/with/glm-5.3-flash)
- [Cline + GLM-5.3-Flash](https://agentsky.dev/agents/cline/with/glm-5.3-flash)
- [DeepAgents + GLM-5.3-Flash](https://agentsky.dev/agents/deepagents/with/glm-5.3-flash)
- [goose + GLM-5.3-Flash](https://agentsky.dev/agents/goose/with/glm-5.3-flash)
- [Grok Build + GLM-5.3-Flash](https://agentsky.dev/agents/grok-build/with/glm-5.3-flash)
- [Kilo + GLM-5.3-Flash](https://agentsky.dev/agents/kilo/with/glm-5.3-flash)
- [MiniMax Code + GLM-5.3-Flash](https://agentsky.dev/agents/minimax-code/with/glm-5.3-flash)
- [Mistral Vibe + GLM-5.3-Flash](https://agentsky.dev/agents/mistral-vibe/with/glm-5.3-flash)
- [Qwen Code + GLM-5.3-Flash](https://agentsky.dev/agents/qwen-code/with/glm-5.3-flash)
- [OpenHands + GLM-5.3-Flash](https://agentsky.dev/agents/openhands/with/glm-5.3-flash)

## Questions

### What is GLM-5.3-Flash?

GLM-5.3-Flash is a model from Z.ai. A natively multimodal Flash model for efficient coding and long-horizon agent tasks, taking text, images, and video.

### How much does GLM-5.3-Flash cost?

$0.105 / $0.35 per million tokens at the prices shown, for input and output respectively. The exact price of every call comes back in the response as usage.cost, so you never have to compute it.

### What is the context length of GLM-5.3-Flash?

1M tokens, and it writes up to 131K tokens in one reply. These are the limits listed for this model in the current AgentSky catalog.

### Which clients can call GLM-5.3-Flash?

Anything that speaks the OpenAI-compatible request format. Point the client's base URL at the gateway, use an AgentSky key, and pass zai/glm-5.3-flash as the model.

### How do I name GLM-5.3-Flash in a request?

The gateway accepts zai/glm-5.3-flash, glm-5.3-flash. Any of them resolves to the same model, so an existing integration usually needs no change to its model string.

### Can GLM-5.3-Flash read images?

Yes. Its listed input types are text, image, video. Include the image with your request; image input does not imply image generation.

### What output can GLM-5.3-Flash produce?

The listed output types are text. This model returns text. Producing image, video or audio files requires a suitable tool or another model; it is not included in text generation.

### How should I plan a long prompt for GLM-5.3-Flash?

Plan your instructions, conversation history and source material around the 1M-token context limit, leaving room for the response. The listed response ceiling is 131K tokens. A larger window lets you supply more relevant material; it does not make unrelated content useful.

### What would 10,000 input tokens and 2,000 output tokens cost with GLM-5.3-Flash?

At the displayed input and output rates, the model-token subtotal is $0.00175. This example assumes uncached input and excludes additional pricing categories, tool calls and agent runtime. Actual usage determines the final charge.

### How is cached input priced for GLM-5.3-Flash?

The catalog lists $0.021 per million cache-read tokens. Cache writes are listed at $0.105 per million tokens. Repeating a prompt does not by itself guarantee a cache hit; only usage reported as cached receives that rate.

### Does the GLM-5.3-Flash token price cover an entire agent task?

No. The model price covers the model usage described above. A task can also incur tool and runtime charges, and several model calls may be needed to complete it. Compare total task usage when evaluating cost.

### How do I use GLM-5.3-Flash on AgentSky?

The composer above preselects GLM-5.3-Flash for a compatible agent. Enter a concrete task, select any tools or connectors it needs, and send. Sign in if prompted; paid execution requires available credits.
