Skip to content

GLM 5.3 Flash

GLM-5.3-Flash is a native multimodal model from Z.ai.

Pricing

Input
$0.0504per 1M tokens
Output
$0.168per 1M tokens
Cache read
$0.0063per 1M tokens
Max output
943,718tokens

OpenRouter's price plus OpenRouter's 5% platform fee. Deference adds no markup.

opencode.json

{
  "provider": {
    "deference": {
      "npm": "@ai-sdk/openai-compatible",
      "options": { "baseURL": "https://deference.si/v1", "apiKey": "{env:DEFERENCE_API_KEY}" },
      "models": { "z-ai/glm-5.3-flash": { "limit": { "context": 1048576, "output": 943718 } } }
    }
  }
}
OpenCode, set up for GLM 5.3 Flash

Overview

It is suited for efficient coding and long-horizon agent tasks.

Find us on