Home/Models/GLM-5.2
Zhipu AI·Chat LLMAvailable

GLM-5.2

glm-5.2
Available via NovAI
01

Model introduction

Zhipu GLM-5.2 (2026). Dramatically enhanced coding. Autonomous long-horizon tasks plan-execute-iterate up to 8 hours. Transparent NovAI pricing.

Zhipu's newest flagship. Top reasoning & agentic coding.

Zhipu's newest flagship (2026). Dramatically enhanced coding. Autonomously plans, executes, and iterates for up to 8 hours in a single task, delivering engineering-grade results.

Highlights

  • Long-horizon autonomous execution - single task can run 8+ hours with self-planning, execution, and iterative refinement
  • SOTA coding - major uplift over GLM-5, benchmark-leading on real-world engineering tasks
  • Engineering-grade delivery - designed to produce production-ready code, not just snippets
  • 200K context - full-repo reasoning and cross-file refactoring
  • Agentic Engineering paradigm - built for the shift from "vibe coding" to autonomous software agents
  • Hong Kong low-latency access through NovAI's NovAI gateway

Best use cases

  • Autonomous software engineering agents (full-feature delivery)
  • Multi-file refactoring and repo-level migrations
  • Long-running research agents with plan-execute-revise loops
  • CI-integrated code review and auto-fix agents

Capabilities

ReasoningCodingAgents
02

NovAI pricing

NovAI current price$1.19 input / $3.74 outputper 1M tokens (input/output)
NovAI current billing configuration
Billing formulainput tokens ÷ 1,000,000 × $1.19 + output tokens ÷ 1,000,000 × $3.74

Token rates

UsageNovAI current rate
Input$1.19/ 1M tokens
Output$3.74/ 1M tokens
CacheNot supported

Cost examples

1M input + 1M output tokens$4.931,000,000 ÷ 1,000,000 × $1.19 + 1,000,000 ÷ 1,000,000 × $3.74

Estimate note:Final charge is based on actual input and output tokens.

03

API quickstart

Endpoint

POST https://aiapi-pro.com/v1/chat/completions
curl https://aiapi-pro.com/v1/chat/completions \
  -H "Authorization: Bearer $NOVAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "glm-5.2", "messages": [{"role": "user", "content": "Hello"}]}'
import requests

response = requests.post(
    "https://aiapi-pro.com/v1/chat/completions",
    headers={"Authorization": "Bearer NOVAI_API_KEY"},
    json={
  "model": "glm-5.2",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ]
},
    timeout=120,
)
print(response.json())

Build with GLM-5.2

OpenAI-compatible API. Credits never expire.