z-ai logo
z-ai

Z.ai: GLM 4.6

Compared with GLM-4.5, this generation brings several key improvements: Longer context window: The context window has been expanded from 128K to 200K tokens, enabling the model to handle more complex agentic tasks. $0.43 per million input tokens, $1.75 per million output tokens. 204,800 token context window, maximum output of 16,384 tokens. Higher uptime with 5 providers. Includes independent benchmarks from Artificial Analysis.

Visão geral

Especificações do modelo

Contexto
204.800 tokens
Saída máxima
16.384 tokens
Arquitetura
text->text
Tokenizador
Other
Limite de conhecimento
2025-03-31
Moderado
Não
OPENROUTER

Preços completos

Tarifas sincronizadas do OpenRouter, por milhão de tokens.

Entrada
$0.43
/M tokens
Saída
$1.75
/M tokens
Leitura de cache
$0.08
/M tokens
API

Configuração do modelo

Parâmetros padrão

temperature
0.6

Raciocínio

Moderado
Não
Parâmetros padrão
Não
API

Início rápido

Use este modelo pela API compatível com OpenAI do OpenRouter.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"z-ai/glm-4.6","messages":[{"role":"user","content":"Hello!"}]}'
Recursos e modalidades

EntradaSaída

Entrada
text
Saída
text
Raciocínio

Não

API

Parâmetros de API compatíveis

frequency_penaltyinclude_reasoninglogit_biasmax_tokensmin_ppresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_p
Provedores disponíveis

5 provedores

Provedores ao vivo no OpenRouter

Disponibilidade, latência, throughput e roteamento mudam continuamente. Consulte a fonte para dados atuais.

OpenRouter

Venice

fp4
Contexto
198K
Saída máxima
16K
Entrada
$0.430
Saída
$1.75
Leitura de cache
$0.080
Gravação de cache
Não informado

DeepInfra

fp4
Contexto
203K
Saída máxima
131K
Entrada
$0.500
Saída
$2.00
Leitura de cache
$0.100
Gravação de cache
Não informado

Novita

bf16
Contexto
205K
Saída máxima
131K
Entrada
$0.550
Saída
$2.20
Leitura de cache
$0.110
Gravação de cache
Não informado

AtlasCloud

fp8
Contexto
203K
Saída máxima
182K
Entrada
$0.600
Saída
$2.20
Leitura de cache
$0.110
Gravação de cache
Não informado

Z.AI

fp4
Contexto
203K
Saída máxima
131K
Entrada
$0.600
Saída
$2.20
Leitura de cache
$0.110
Gravação de cache
Não informado
z-ai logoz-ai

Z.ai: GLM 5.3 Flash (batch)

GLM-5.3-Flash is a native multimodal model from Z.ai. It is suited for efficient coding and long-horizon agent tasks. Its hybrid sparse and linear attention architecture maintains accurate long-context behavior while...

Contexto
1.0M
Entrada
text · image · video
Saída
text
Entrada: $0.150Saída: $0.500por milhão de tokens
Ver detalhes do modelo
z-ai logoz-ai

Z.ai: GLM 5.2

GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...

Contexto
1.0M
Entrada
text
Saída
text
Entrada: $1.19Saída: $3.74por milhão de tokens
Ver detalhes do modelo
z-ai logoz-ai

Z.ai: GLM 5.2 (free)

GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...

Contexto
256K
Entrada
text
Saída
text
Entrada: GrátisSaída: Grátispor milhão de tokens
Ver detalhes do modelo
z-ai logoz-ai

Z.ai: GLM 5.1

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...

Contexto
205K
Entrada
text
Saída
text
Entrada: $0.966Saída: $3.04por milhão de tokens
Ver detalhes do modelo