GLM-5

Model IntroductionText

GLM-5: Mature and stable, multiple scenarios

GLM-5 is part of the GLM lineup from Zhipu, designed for production workloads that need reliable quality at scale. Mature and stable, multiple scenarios.

It accepts Text inputs and produces Text outputs, with a context window of up to 200,000 input / 128,000 output tokens. The model is tuned for chat, analysis, and tool use in enterprise pipelines.

Balanced pre-training and alignment deliver solid instruction following, summarization, and structured JSON output.

Benchmarks

Benchmark (Area)Score*
AIME 2024 (Math)96.7% accuracy (Max)
LiveCodeBench (Coding)91.6 Pass@1 (Max)
Codeforces Rating (Coding)3052 rating (Max)
SWE-bench Verified (Coding)79.0% resolved (Max)
MMLU-Pro (Knowledge)86.2 EM (Max)
HMMT 2024 Feb (Math)94.8 Pass@1 (Max)
GPQA Diamond (Science)88.1 Pass@1 (Max)
MRCR 1M (Long Context)78.7 MMR (Max)
Terminal Bench 2.0 (Agent)56.9 Acc (Max)
Apex Shortlist (Agent)85.7 Pass@1 (Max)
Chinese-SimpleQA (Chinese)78.9 Pass@1 (Max)
SuperCLUE (Chinese)68.82 overall (Max)

API request example

Endpoint /v1/chat/completions. Replace <API_KEY> with a key from the console.

Standard OpenAI Chat Completions. Swap `model` for the target slug.

curl https://api.ravenrouter.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <API_KEY>" \
  -d '{
  "model": "GLM-5",
  "messages": [
    {
      "role": "user",
      "content": "Hello! Introduce yourself in one sentence."
    }
  ],
  "max_tokens": 64
}'

More models: API Reference → Examples by model

GLM-5 API — $0.72/1M input, $2.65/1M output | RavenRouter AI