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.4

byglm

Z.ai's flagship LLM for agents and multi-file coding, with a 1M-token context, image and video understanding, tool calling and structured output.

Partner LLMGlmLLM Tool CallLLM Response Format
Model ID
5.4
Provider
glm
Updated
Dec 2, 2026, 13:04
5.4
0
Comments
Average rating : 0 (0 users)
Providerglm
Model5.4
Partner LLMGlmLLM Tool CallLLM Response Format
wiro playground—glm/5.4
0 / 10
Maximum 10 image allowed
Delete All

Optional. Images for the model to read along with the prompt. JPEG, PNG or WEBP. Images are billed as input tokens.

Required. The message to the model. Attach images or videos to ask about them.

0 / 3
Maximum 3 video allowed
Delete All

Optional. Videos for the model to watch along with the prompt. MP4 recommended. Sampled at 1 frame per second, roughly 1K input tokens per second of video.

Optional. Needed for chat history. Numeric or string ID.

Optional. Needed for chat history. Numeric or string ID.

GLM-5.4 pricing per 1M tokens: $1.40 input, $4.40 output, $0.26 cache hit. Images and videos are billed as input tokens; a video costs roughly 1K tokens per second. Reasoning tokens are billed as output, so raising reasoning effort increases cost.

Sample outputs

No samples yet

Run this model to create outputs and build up samples.

Updated Dec 2, 2026, 13:04

## Overview

GLM-5.4 is Z.ai's flagship large language model, built for long-horizon agents and complex multi-file coding. It reads text, images and video, always reasons before answering, and keeps up to 1,048,576 tokens of context in one conversation.

## What you can build

- Coding agents that refactor across many files, build features end to end and diagnose bugs

- Whole-repository analysis and cross-module changes in a single long context

- Code that generates games, interactive 3D scenes, video edits or CAD scripts

- Turning charts, UI screenshots, mockups and design files into code or revisions

- Answers about video clips: what happens, who does what, step-by-step summaries

- Tool-using assistants that call your functions and return structured JSON

## Inputs

- Prompt or messages: the conversation for the model

- Input Image: up to 10 images (JPEG, PNG or WEBP)

- Input Video: up to 3 videos, sampled at 1 frame per second

- Tools, tool choice and parallel tool calls: function definitions the model can call

- Response format: plain text, any valid JSON, or a strict JSON schema

- Reasoning effort: low, high or max

- Temperature, top p, frequency penalty, presence penalty and max completion tokens

## Outputs

- The model's text answer, streamed as it is written

- Its reasoning, shown separately from the answer

- Tool calls with their arguments, when tools are given

- JSON that follows your schema, when a response format is set

## Recommended settings

- Low reasoning effort for quick questions and chat; high or max for hard coding and multi-step reasoning

- Keep max completion tokens high enough for both reasoning and the answer, since reasoning counts toward it

- Use a strict JSON schema when another program reads the answer

- Pass a user ID and session ID to keep chat history between turns

## Limitations

- Reasoning cannot be turned off; it is billed as output tokens

- Text, images and video only: no audio or document (PDF) input

- No built-in web search; it answers from what it was trained on and what you send

- Up to 131,072 output tokens per answer, reasoning included

## Safety & compliance

- Requests and attached media pass the provider's content checks; a refused prompt or file returns an error and is not charged

- Review generated code and answers before using them in production

API quick start

Run 5.4 with a single API call.

POST https://api.wiro.ai/v1/Run/glm/5-4
{
  "prompt": "how do i keep my sourdough starter alive …",
  "inputImage": "https://your-cdn.com/input.png",
  "inputVideo": "https://your-cdn.com/input.mp4",
  "user_id": "..."
}
curl
curl -X POST "https://api.wiro.ai/v1/Run/glm/5-4" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_WIRO_API_KEY" \
  --data-binary @- <<'JSON'
{
  "prompt": "how do i keep my sourdough starter alive …",
  "inputImage": "https://your-cdn.com/input.png",
  "inputVideo": "https://your-cdn.com/input.mp4",
  "user_id": "..."
}
JSON

Other models you might like

Explore similar llm & chat models.

View all
5.2
Partner LLM

5.2

glm

5.3
Partner LLM

5.3

glm

gemini 4 neon
Partner LLM

gemini 4 neon

google

seed-v2.1-turbo
Partner LLM

seed-v2.1-turbo

bytedance

  • v4.1 flash economydeepseek
  • opus-5claude
  • gemini-3.8-flashgoogle
  • fable-5claude
  • v4-prodeepseek
  • gpt-5-miniopenai
  • v4.1 flashdeepseek
  • opus 5.5claude

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