Try MiniMax-Music3: Text and Lyrics to Full Songs with Vocals from Wiro →10% off
Models
Agents
Workflows
Studio
PricingBlogDocs
ExploreDiscover models by categoryDiscoverModels and effects built by WiroBrowse All ModelsBrowse the complete catalogSee FavoritesSign in to view saved modelsCompareRun models side by side
Generative Media AgentCreate and edit media by chattingWorkflow AgentBuild visual workflows with Agent
OverviewThe platform at a glanceLearnSkills, knowledge, guardrailsAnatomyWhat makes agents reasonBuild Your AgentPick skills, choose a plan, deploy, then connect your tools
Pre-built AgentsBrowse the catalogConnectorsConnect agents to your apps
Agent Usecases
Ad Campaign ManagerApp Event ManagerApp Review RepliesBarber BookingCustomer Win-BackEcommerce ListingsRestaurant Reviews
Sign InStart Building
Explore models/
LLM & ChatActive

GLM 5.2 Long-Context Coding LLM

byglm

GLM 5.2 is a text-only MoE model with a usable 1M-token context for long-horizon coding and agent workflows. It supports thinking effort and tool calling.

Partner LLMGlmLLM Tool Call
Model ID
5.2
Provider
glm
Updated
Dec 4, 2026, 22:27
5.2
0
Comments
Average rating : 0 (0 users)
Providerglm
Model5.2
Partner LLMGlmLLM Tool Call
wiro playground—glm/5.2

Required. Text only: this model does not accept image, video, or audio input.

Required for chat history. Numeric or string ID.

Required for chat history. Numeric or string ID.

GLM-5.2 pricing per 1M tokens: $1.40 input, $4.40 output, $0.26 cache hit. Reasoning tokens are billed as output, so enabling thinking or raising reasoning effort increases cost. Text only: image, video, and audio input are not supported.

Sample outputs

No samples yet

Run this model to create outputs and build up samples.

Updated Dec 4, 2026, 22:27

Overview

GLM 5.2 is a text-only large language model made by Z.ai in the GLM family. It uses a mixture-of-experts design, so a small set of experts activates per token. It can keep up to 1,000,000 tokens of context and generate up to 128,000 output tokens in one run. It’s built for long-horizon coding and agent tasks where the model must keep many files, rules, and decisions consistent.

What you can build

  • Full-repo architecture audits that map modules, APIs, and data flows
  • Long-horizon refactors across many files while keeping strict constraints
  • Coding agents that plan steps, call tools, and recover from errors
  • Migration guides (API v1 to v2, framework upgrades, directory restructures)
  • Structured extraction to JSON for tickets, changelogs, incident reports, and specs (prompt-driven; this model does not take a response format parameter)
  • Test generation plans and failure triage from large log dumps

Inputs

  • Your request as plain text. This model does not take image, video, or audio input.
  • Optional user and session identifiers, so Wiro can keep chat history across turns.
  • Optional system-level instructions that apply at the start of a session.
  • A thinking toggle that can enable or disable internal reasoning for the response.
  • A reasoning effort level that controls how deep the model thinks before it answers.
  • Randomness controls for generation, including a temperature value in the 0 to 1 range.
  • Nucleus sampling control (top-p) in the 0.01 to 1 range.
  • Optional repetition and topic-shift controls that can discourage loops or force novelty.
  • A maximum response length. Requests above the model’s cap will be truncated.

Outputs

The model returns a text response for the assistant turn. For tool-driven workflows, it can emit structured tool-call requests that your app can execute. It can also produce JSON-shaped text when you describe the shape in your instructions, but this model does not accept the response_format parameter, so the output is not schema-enforced. Many runtimes also report token usage metadata for prompt and completion tokens.

Recommended settings

  • For benchmark-style reasoning setups reported by the publisher, use temperature 1.0 and top-p 0.95.
  • For hard multi-step tasks, keep thinking enabled and choose a higher reasoning effort.
  • For quick short replies, disable thinking to keep the response focused and shorter.
  • When tuning sampling, change either temperature or top-p first, not both at once.

Limitations

  • Text-only input. If your workflow depends on images, video, or audio, use a multimodal GLM model instead.
  • Maximum output is 128K tokens per response. Long deliverables may need multiple turns.
  • Thinking can consume output tokens even when the reasoning text is not shown.
  • Very long prompts can still hurt accuracy. The model may miss details in noisy context.
  • Low-quality inputs can degrade results. This includes minified code, unstructured logs, OCR text, and inconsistent file dumps.
  • Tool calling can be brittle in long runs. Validate tool arguments before execution.

Safety & compliance

Follow all applicable laws and local policy requirements where you operate. Don’t use model outputs as the sole basis for high-stakes decisions in areas like healthcare, finance, insurance, employment, housing, or legal matters. Respect intellectual property rights when you provide prompts and when you publish generated outputs. If your app exposes outputs to end users, add your own safeguards for harmful or illegal content and provide a way to report abuse.

API quick start

Run 5.2 with a single API call.

POST https://api.wiro.ai/v1/Run/glm/5-2
{
  "prompt": "Tell me about Türkiye",
  "user_id": "...",
  "session_id": "...",
  "systemInstructions": "..."
}
curl
curl -X POST "https://api.wiro.ai/v1/Run/glm/5-2" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_WIRO_API_KEY" \
  --data-binary @- <<'JSON'
{
  "prompt": "Tell me about Türkiye",
  "user_id": "...",
  "session_id": "...",
  "systemInstructions": "..."
}
JSON

Other models you might like

Explore similar llm & chat models.

View all
5.4
Partner LLM

5.4

glm

5.3
Partner LLM

5.3

glm

v4.1 flash
Partner LLM

v4.1 flash

deepseek

gpt-5.4-nano
Partner LLM

gpt-5.4-nano

openai

  • seed-v2-probytedance
  • gpt-5-nanoopenai
  • gemini-3-progoogle
  • opus 5.5claude
  • fable 5.1claude
  • seed-v2.1-turbobytedance
  • gemini-3.7-flashgoogle
  • gemini 4 neongoogle

Discover, test, and run AI models, build workflows and agents with one unified API.

All systems operational
WiroModelsAgentsMCP ServerLLM GatewayBrowser ExtensionIntegrationsConnectorsPricingAboutBlogCareersContactPartnerChangelogStatusFAQ
CategoriesText to ImageImage to ImageImage EditingImage to TextText to VideoImage to VideoVideo to VideoText to SpeechSpeech to TextSpeech to SpeechVoice CloneRealtime ConversationMusic GenerationLLMUtilities
ModelsNano Banana 2GPT Image 2.5Seedream V5 ProSeedance 2.5Veo 3.1Kling V3FLUX 3FLUX.2 ProWan 3.0 PrimeGrok Imagine 1.5
PartnersGoogleOpenAIByteDanceBlack Forest LabsKling AIQwenAlibabaxAIMiniMaxElevenLabs
Getting StartedWiro ModelsWiro EffectsIntroductionAuthenticationProjectsCode ExamplesWiro MCP ServerSelf-Hosted MCPn8n IntegrationLLMs.txt
API ReferenceModelsRun a ModelModel ParametersTasksLLM & Chat StreamingWebSocketRealtime VoiceFiles
© 2026 Wiro AI. All rights reserved.
PrivacyTermsData Deletion