zai

glm-5.1

zai-org/Glm-5.1
Context

200K

Input

text

Output

text

Tool calling

Supported

About this model

string

Input modalities

text

Accepted as model input

Providers

Available routing options for this model through OneInfer.

Available

Input tokens

$1.400 / 1M tokens

Output tokens

$4.400 / 1M tokens

Routing

OneInfer optimized

Available

Input tokens

$1.380 / 1M tokens

Output tokens

$4.400 / 1M tokens

Routing

OneInfer optimized

Pricing

Current OneInfer pricing for this model.

UsagePrice
Input tokens$1.400 / 1M tokens
Output tokens$4.400 / 1M tokens
Cached input tokens$0.260 / 1M tokens

Performance

Published evaluation results associated with this model.

Coding

SWE-bench Verified77.8
Terminal-Bench 2.056.2
LiveCodeBench52

Reasoning

GPQA Diamond86
AIME 202592.7
HLE (Humanity Last Exam)30.5

Agentic

CC-Bench-V288.4
Vending-Bench 281.2

API example

curl https://api.oneinfer.ai/v1/ula/chat/completions \
  -H "Authorization: Bearer $JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "zai-org/Glm-5.1",
    "messages": [
      { "role": "user", "content": "Hello!" }
    ]
  }'