Z.ai · in Borg

GLM-5.2

GLM-5.2 is the long-context successor to GLM-5.1, retaining a focus on sustained engineering but substantially expanding how much project material one request can hold.

Reasoning1,048,576 tokenstext

1,048,576 tokensContext window
7068 msMedian time to first token (gateway proxy)
25.7Output tokens per second (whole turn)
$1.4 / $4.4Vendor API price in / out · per 1M

Included in Borg

Download Borg Borg for Business

At a glance

SpecificationValue
ProviderZ.ai
FamilyGLM
Release date2026-06-16 Vendor source
Context window1,048,576 tokens Vendor source
Input modalitiestext
Output modalitiestext
ReasoningYes
Open weightsYes
Borg lane idsglm-5.2, z-ai/glm-5.2
Versions in BorgGLM-4.5 · GLM-4.6 · GLM-4.7 · GLM-5 · GLM-5.1 · GLM-5.2 · GLM-5.3
Median time to first token (gateway proxy) on Borg7068 ms
Median tokens per second (end to end) on Borg25.7 output tokens per second

Not published by the vendor: thinking modes, knowledge cutoff, fusion roles.

What GLM-5.2 is good for

GLM-5.2 is the long-context successor to GLM-5.1, retaining a focus on sustained engineering but substantially expanding how much project material one request can hold. Z.ai describes whole-codebase understanding, preservation of module boundaries and architectural constraints, and end-to-end refactoring as primary uses. It is a text-in/text-out flagship with thinking and tool calling, not a vision endpoint. Its bigger window distinguishes it from GLM-5 and GLM-5.1; GLM-5.3 later reuses its base model while improving complex coding through post-training. This model is well suited to repository audits, cross-file migrations and agents that need to keep a technical plan coherent over long sessions. Borg includes it in the subscription; Fusion can route suitable work to it, or you can pick its lane directly.

How Borg uses it

GLM-5.2 is available as a subscription catalog lane in Borg. The catalog does not publish which Fusion profiles route to this model, so no routing role is claimed here. You can pick it directly by setting the OpenAI-compatible gateway model field to a listed lane id. Check the current catalog for availability before building a workflow around a lane.

model: "glm-5.2"

Measured on Borg

MetricMedian95th percentileSamples
Time to first token (gateway proxy)7068 ms22326 ms32197
Tokens per second (end to end)25.7 output tokens per second72.9 output tokens per second304255

Time to first token (gateway proxy)

Output tokens per second (whole turn)

Completion speed covers the whole turn including queueing and reasoning time; it is not a streaming tokens-per-second figure.

Measured on Borg: SearchAtlas AI Gateway production request logs. 30-day window ending 2026-10-08; 333985 requests. Minimum 100 samples per published request metric.

Benchmarks

BenchmarkVendor-reported scoreSource
Terminal-Bench 2.181Vendor source
SWE-bench Pro62.1Vendor source
AIME 202699.2Vendor source
GPQA-Diamond91.2Vendor source

Borg coding bench

Hard-graded with tests plus lint, no LLM judge; 3 tasks, 15 runs, 2026-09-20.

MetricPass rate
Overall pass rate47%
Hidden-test pass rate53%

Source: Borg coding bench, hard-graded by tests and ruff; no LLM judge

Pricing

Included in Borg subscription. Vendor API list price: $1.4 input / $4.4 output per 1M tokens. Vendor price source.

Compare subscription and API pricing · Cost Savings Calculator

FAQ

What is GLM-5.2?

GLM-5.2 is listed in Borg's subscription catalog as glm-5.2. GLM-5.2 is the long-context successor to GLM-5.1, retaining a focus on sustained engineering but substantially expanding how much project material one request can hold.

Is GLM-5.2 in Borg?

Yes. GLM-5.2 is listed in Borg's subscription catalog under the lane glm-5.2. You can choose the lane directly, or explore the available Fusion profiles. Availability and model details can change; check the current catalog before deployment.

What context window does GLM-5.2 have?

The published context window is 1,048,576 tokens. Consult the cited sources for details and current limits. Vendor source

Is GLM-5.2 good for coding?

Vendor-published evaluations appear in the benchmarks section; their settings may differ from your tasks. Its listed uses include whole-repository architecture audits, cross-file refactoring, long-context engineering agents, requirements-to-deployment planning. Try the lane for your own tasks, and compare the output with your requirements before choosing a default.

How fast is GLM-5.2 on Borg?

Measured on Borg: SearchAtlas AI Gateway production request logs. 30-day window ending 2026-10-08; 333985 requests. Minimum 100 samples per published request metric.

How does GLM-5.2 do on Borg's coding bench?

GLM-5.2 passed 47% overall and 53% of hidden tests across 15 runs.

How much does GLM-5.2 cost on Borg vs the API?

This model is included in the Borg subscription. The vendor API list prices appear below with a source link. See the pricing explainer and cost savings calculator to compare billing approaches.

Sources