All models
Model card

GLM 5.2

lx1-glm-5.2Coding flagshipLive in the catalog

The highest-quality GLM in the catalog, tuned for depth over speed. It thinks before it writes, and it shows: stronger plans, fewer wrong turns on gnarly refactors. Expect higher and more variable latency — this is the model you pick when the answer matters more than the stopwatch.

Context window131K tokens
Input · per Mtok$1
Output · per Mtok$3.2
Served byLayer X1 engine
Where it earns its keep[01/03]
  • 01Deep, deliberate coding on hard problems
  • 02Strong plans and fewer wrong turns on refactors
  • 03Full reasoning + tool calling
Capabilities
Tool callingYes

Strict, schema-faithful tool calls, enforced by the engine on every request — safe to build an agent loop on.

ReasoningYes

Thinks before it answers. Budget max_tokens generously — hidden reasoning counts against it.

VisionNo

Text-only.

Behind the endpoint[02/03]

One endpoint. Served by our engine.

GLM 5.2 is served through the Layer X1 engine — zero-downtime serving is the design target, not a status-page apology. You request it by name; everything else is our problem.

Call it by name
curl https://api.layerx1.in/v1/messages \
  -H "x-api-key: lx1_your_key" \
  -H "content-type: application/json" \
  -d '{
    "model": "lx1-glm-5.2",
    "max_tokens": 1024,
    "messages": [{ "role": "user", "content": "Hello" }]
  }'

OpenAI-style clients work too — send the same model name to /v1/chat/completions with a Bearer key. See the docs for both dialects.

Put your agent on real infrastructure

Your agent doesn't change.
Everything underneath does.

$export ANTHROPIC_BASE_URL=https://api.layerx1.in

Start free · no card · Starter from $5/mo