GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Home
  • Help a friend save
  • LLM API models and pricing
  • Connect your AI coding tools
  • Plan prices
  • Billing rules
  • Company-wide LLM API purchasing

This view

  • Original page
  • New address

GeezerVison is showing visioncoder.cn — glm-5.2 API pricing and access - VisionCoder

glm-5.2 API pricing and access

glm-5.2 (GLM, domestic model) API pricing on VisionCoder: input ¥6.80 / output ¥23.80 (CNY per million tokens), context 1M, API types: Chat / Responses, OpenAI-compatible. Output price is tied for 5th lowest among domestic text models here.

Home / Models / glm-5.2

Vendor: GLM; region: domestic; context: 1M

Itemized pricing

The current price has applied since 2026-10-15.

Input, output, cache reads and cache writes are priced separately, and failed requests are free. Unit: yuan (CNY) per million tokens.

ItemPrice
Input¥6.80
Output¥23.80
Cache hit¥1.70

Region and access

Region: domestic

Access: Available to spaces in domestic model mode

Example request

Use this model name in the request. Find your gateway address on the API keys page after signing in.

Chat

curl https://<gateway-host>/v1/chat/completions \
  -H "Authorization: Bearer sk-..." \
  -H "Content-Type: application/json" \
  -d '{"model":"glm-5.2","messages":[{"role":"user","content":"Hello"}]}'

Responses

curl https://<gateway-host>/v1/responses \
  -H "Authorization: Bearer sk-..." \
  -H "Content-Type: application/json" \
  -d '{"model":"glm-5.2","input":"Hello"}'

Cost estimate

Typical calls priced at this page's current rates. An estimate, not a bill; the billing rules page governs.

One chat turn

8,000 input + 1,000 output tokens: ¥0.0782

8,000 × 6.80 ÷ 1M; + 1,000 × 23.80 ÷ 1M; = 0.0782

Long document

200,000 input + 4,000 output tokens: ¥1.4552

200,000 × 6.80 ÷ 1M; + 4,000 × 23.80 ÷ 1M; = 1.4552

80% cache hits

1,000,000 input tokens, 80% served from cache: ¥2.72

200,000 × 6.80 ÷ 1M; + 800,000 × 1.70 ÷ 1M; = 2.72; 60% less than no cache (¥6.80)

Where it sits

Among public models in the same region and billing type (10 domestic text models).

  • Output price, low to high: Tied 5th of 10
  • Input price, low to high: Tied 5th of 10
  • Context, long to short: Tied 1st of 10

Compare similar models

Public models in the same region and billing type, sorted by price: two on each side of this one.

ModelInput (CNY / 1M tokens)Output (CNY / 1M tokens)ContextOutput vs. this page
qwen3.7-plus-2026-05-26¥1.70¥6.801M0.29×
deepseek-v4-pro¥5.85¥17.551M0.74×
glm-5.2 (this page)¥6.80¥23.801M–
glm-5.3¥6.80¥23.801M1.00×
qwen3.7-max-2026-06-08¥10.20¥30.601M1.29×

FAQ

How much does the glm-5.2 API cost?

input ¥6.80, output ¥23.80, cache reads ¥1.70 (CNY per million tokens), effective 2026-10-15. Failed requests with no output are free.

Which protocols are supported, and in which tools can I use it?

Supports Chat, Responses. Works with Cline, Codex CLI, Continue, OpenAI SDK. Claude Code use a protocol this model does not declare, so it is not in their guide tables.

How long is the context window?

1M tokens, tied for longest among domestic text models here.

How do I get access?

Available to spaces in domestic model mode; sign in and create a key on the API keys page to call it.

Setup guides

glm-5.2 can be called through these tools:

  • Cline (Protocol: Chat)
  • Codex CLI (Protocol: Responses; read the notice in the guide first)
  • Continue (Protocol: Chat)
  • OpenAI SDK (Protocol: Chat)

More from this vendor

ModelInput (CNY / 1M tokens)Output (CNY / 1M tokens)
glm-5.3¥6.80¥23.80

Billing and failover

See billing rules for how usage is billed: requests that produce no output are not charged. See routing and failover for how upstream errors are retried and switched.

中文

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.