Models/阿里云百炼/GLM 5

zhipu

GLM 5

glm-52026-02-12T00:00:00+08:00203K context$4 / $18 per Mtool callingreasoning

Context Window

203K

Input Price / M

$4

Output Price / M

$18

Max Completion

Input Modalities

text

Output Modalities

text

About This Model

智谱新一代旗舰模型,编程、科学和推理全面提升

Available Providers

AllToken can route requests to the providers below based on route priority and policy.

Provider
Context Length
Input Price
Output Price
Cache Read
Priority

Status Snapshot

Quick route status for this model. Open the full Status page to compare it against the wider market and current incident patterns.

Open Status

Effective Pricing

Input

$4

per 1M input tokens

Output

$18

per 1M output tokens

Cached Read

$0

if prompt caching applies

Best For

Programming, Science, Translation

ChatReasoningToolsStreaming

How To Use This Model

Use the exact model ID shown below. This is the safest way to avoid call failures, variant mismatches, or incorrect route assumptions.

Exact request field

"model": "glm-5"
curl https://api.alltoken.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-your-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5",
    "messages": [
      {"role": "user", "content": "Hello, help me compare these models."}
    ]
  }'

Supported Parameters

temperaturetop_pmax_tokenstoolsreasoning_effort

API Key Setup

Smart Routing

Let the platform choose the best provider path automatically.

Default Model

If a request does not specify a model, default the key to glm-5.

Forced Model

Always override incoming requests and lock the key to glm-5.