Qora API

GLM-5.2 API at $0.42 / $1.32 per 1M tokens

Zhipu Z.ai's GLM-5.2, a flagship model for long-horizon tasks with a 1M-token context window and up to 128K output tokens. On Qora API you call glm-5.2 through one OpenAI-compatible endpoint at least 70% below Z.ai's official price.

Last updated

Get an API keySee all 350+ model prices

GLM-5.2 pricing vs official

ProviderInput / 1M tokensOutput / 1M tokens
Z.ai official$1.40$4.40
Qora API (default group)$0.42$1.32

Official prices from Z.ai; Qora prices from qoraapi.com/pricing, both checked November 9, 2026.

What GLM-5.2 is good for

Z.ai positions GLM-5.2 for project-scale engineering: it is designed to keep module boundaries, API contracts and earlier decisions in view across long, multi-round agent runs. It is a strong open-weight-family alternative to Claude Sonnet or GPT-5.x for coding agents when cost matters.

On Qora GLM-5.2 costs $0.42 input and $1.32 output per 1M tokens, 70% below Z.ai's official $1.40 / $4.40.

What it costs in practice

A long-running engineering agent: 60M input tokens and 6M output tokens in a month: $110.40 at Z.ai's official price (standard rate) and $33.12 on Qora API, a saving of $77.28.

Quick start

Python (OpenAI SDK)

from openai import OpenAI

client = OpenAI(base_url="https://qoraapi.com/v1", api_key="YOUR_QORA_KEY")
resp = client.chat.completions.create(
    model="glm-5.2",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)

cURL

curl https://qoraapi.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_QORA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "glm-5.2", "messages": [{"role": "user", "content": "Hello!"}]}'

The same key works in Cursor, Cline, Continue, SillyTavern and any tool that accepts a custom OpenAI base URL. See the docs or this setup guide.

FAQ

How much does the GLM-5.2 API cost on Qora API?

$0.42 per 1M input tokens and $1.32 per 1M output tokens in the default group, at least 70% below Z.ai's official $1.40 / $4.40. Prices checked November 9, 2026; the live price is always on qoraapi.com/pricing.

What is the model ID for GLM-5.2?

Use "glm-5.2" as the model name with the OpenAI-compatible base URL https://qoraapi.com/v1.

How big is the GLM-5.2 context window?

1M tokens of context, with up to 128K output tokens per response, according to Z.ai's GLM-5.2 documentation.

Do I need a subscription?

No. Qora API is pay as you go in USD. You top up a balance and pay per token used.

Is there a free trial?

New users can get $5 of trial credit by messaging @QoraAPI on X or emailing support@qoraapi.com.

Related model prices

GLM-5.1 API$0.48 / $1.92 per 1MGLM-5 API$0.48 / $1.92 per 1MDeepSeek V4 Pro API$0.51 / $1.05 per 1MQwen3.8 Max API$0.60 / $1.80 per 1MAll model pricesClaude, GPT, Gemini, Grok, DeepSeek, GLM, Qwen