PROVEDOR

Z.ai

Z.ai's GLM — MIT-licensed MoE LLMs from 128K to 200K context, top open-weight SWE-bench scores, via one RunAPI key.

1 models · 7 variants · a partir de $0.010
VISÃO GERAL

Z.ai builds the GLM family of MIT-licensed Mixture-of-Experts language models for coding and agentic workflows. The line spans GLM-4.5 (355B / 32B active, 128K context) through GLM-5.1 (754B / 40B active, 200K context), which holds the top open-weight SWE-bench Pro score at 58.4%. All are available through RunAPI from the OpenAI and Anthropic SDKs with per-token billing.

  • Uma API key compartilhada entre provedores
  • Model skills levam documentação e schemas ao seu workspace
  • Cobrança por chamada, sem compromisso
  • Gerações com falha não são cobradas
RECURSOS

Destaques

MODELOS

Todos os modelos de Z.ai

INÍCIO RÁPIDO

Instale um model skill de Z.ai.

Escolha um modelo e adicione seu skill para que sua ferramenta de código tenha documentação, schemas, notas de preço e etapas de setup.

runapi.ai
# Base URL
https://runapi.ai

# Endpoints
POST /v1/chat/completions
curl https://runapi.ai/v1/chat/completions \
  -H "Authorization: Bearer $RUNAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "glm-5.1",
  "messages": [
    {
      "role": "user",
      "content": "Read this multi-file repository, find the failing integration test, and propose a patch with an explanation of the root cause."
    }
  ]
}'
from openai import OpenAI

client = OpenAI(
    base_url="https://runapi.ai/v1",
    api_key="your-runapi-key"
)

response = client.chat.completions.create(
    model="glm-5.1",
    messages=[{"role": "user", "content": "Read this multi-file repository, find the failing integration test, and propose a patch with an explanation of the root cause."}]
)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://runapi.ai/v1",
  apiKey: "your-runapi-key"
});

const response = await client.chat.completions.create({
  model: "glm-5.1",
  messages: [{ role: "user", content: "Read this multi-file repository, find the failing integration test, and propose a patch with an explanation of the root cause." }]
});
https://runapi.ai /v1/chat/completions
REFERÊNCIA

Todas as variantes de Z.ai

Tabela completa de preços →
Model Variant Billing From
GLM
glm-4.5 1K tokens $0.020 Ver →
glm-4.5-air 1K tokens $0.010 Ver →
glm-4.6 1K tokens $0.020 Ver →
glm-4.7 1K tokens $0.020 Ver →
glm-5 1K tokens $0.020 Ver →
glm-5-turbo 1K tokens $0.020 Ver →
glm-5.1 1K tokens $0.030 Ver →
FAQ

Perguntas frequentes sobre Z.ai

Esta é uma integração oficial de Z.ai?

RunAPI expõe uma superfície API gerenciada com preços, capacidades e comportamento de erros transparentes.

Preciso de uma conta Z.ai?

Não. Sua chave RunAPI é suficiente para o acesso gerenciado.

Como os preços são cobrados?

Por chamada ou por unidade medida, sem cobrança por gerações com falha.

COMEÇAR

Comece a chamar modelos Z.ai por uma única API.