Z.ai — Coding Model

GLM 5.3 Flash API — 1M tokens context.

GLM 5.3 Flash pairs a 1M-token context window with strong instruction following at a fraction of frontier pricing. It is available from the Starter plan upward and is what the smart router selects for code generation on Starter.

Model ID

glm-5.3-flash

$0.15Input / 1M
$0.50Output / 1M

GLM 5.3 Flash specifications

Model IDglm-5.3-flash
VendorZ.ai
Usage tierTier 1
Context window1M tokens
QuantizationFP8
Input$0.15 per 1M tokens
Output$0.50 per 1M tokens
Cache read$0.03 per 1M tokens
Approx. output speed~90 tokens/sec

Why run GLM 5.3 Flash on IN2PETA

  • 1M-token context window
  • Strong instruction following
  • Available from Starter upward
  • OpenAI-compatible endpoint — switch providers by changing one base URL, not by rewriting your client.

Calling the GLM 5.3 Flash API

GLM 5.3 Flash is served from an OpenAI-compatible gateway. Change your base URL and API key, and existing OpenAI clients work unchanged.

curl https://code.in2peta.com/v1/coding/chat/completions \
  -H "Authorization: Bearer $IN2PETA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5.3-flash",
    "messages": [{"role": "user", "content": "Explain this function"}]
  }'

Set ANTHROPIC_BASE_URL to the same host to point Claude Code at the same gateway. See Getting Started for key setup, and Coding Endpoints for the full API reference.

Plans that include GLM 5.3 Flash

FreeFree

Not included

Starter$2/mo

Includes this model

Go$5/mo

Includes this model

Pro$15/mo

Includes this model

Frequently asked questions

How do I access the GLM 5.3 Flash API?

Point any OpenAI-compatible client at https://code.in2peta.com and send requests to /v1/coding/chat/completions with "model": "glm-5.3-flash". The gateway is OpenAI-compatible, so existing SDKs work by changing the base URL and API key.

How much does the GLM 5.3 Flash API cost?

GLM 5.3 Flash is $0.15 per million input tokens and $0.5 per million output tokens, with cache reads at $0.03 per million. There is no per-request fee on top of token usage.

Which IN2PETA plans include GLM 5.3 Flash?

GLM 5.3 Flash is available on Starter ($2/mo), Go ($5/mo), Pro ($15/mo). Requests for a model outside your plan return HTTP 403 with the allowed model list in the error body.

What is the context window of GLM 5.3 Flash?

GLM 5.3 Flash serves a 1M tokens context window and runs FP8 quantised on IN2PETA.

Start with GLM 5.3 Flash today

GLM 5.3 Flash is available from the Starter plan at $2/month.