Skip to content

GLM 5.3 Prime

GLM-5.3-Prime is the high-speed variant of Z.ai's GLM-5.3, inheriting its full capabilities while delivering 1.5–2× the output throughput through inference acceleration.

Pricing

Input
$2.94per 1M tokens
Output
$9.24per 1M tokens
Cache read
$0.588per 1M tokens
Max output
131,072tokens

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-prime": { "limit": { "context": 1000000, "output": 131072 } } }
    }
  }
}
OpenCode, set up for GLM 5.3 Prime

Find us on