← All models

glm-5

OpenRouter · chat model

glm-5 is listed here as a chat model from OpenRouter. This page shows simple API pricing, token limits, and capability flags so you can compare it with similar options.

Input
$0.8000 / 1M tokens
Output
$2.5600 / 1M tokens
Cached input
N/A
Context
128.0K

Quick read

Best for

Use this page when you need a fast view of cost, context size, and supported features before testing the model in your own workload.

Things to verify

Always check the provider page for discounts, cache pricing, region rules, and any model limits that may not appear in public metadata.

Pricing

Item Price
Input
$0.8000 / 1M tokens
Output
$2.5600 / 1M tokens
Embedding
$0.8000 / 1M tokens

Token limits

Context window
128.0K
Max input tokens
202.8K
Max output tokens
128.0K
Max tokens
128.0K

Capabilities

Capability Supported
Vision
Function calling
Parallel function calling
Tool choice
Prompt caching
Reasoning
Response schema
System messages
Audio input
Audio output
Web search
PDF input
Video input

Benchmarks

Most benchmark rows are attached to the base model family rather than this provider route. Open benchmark explorer

Benchmark Score Metric Scope Checked Source
Humanity's Last Exam 30.5 Score Base model: GLM-5 (GLM-5) 2026-05-31 Link
GPQA Diamond 86.0 Score Base model: GLM-5 (GLM-5) 2026-05-31 Link
SWE-bench Verified 77.8 Score Base model: GLM-5 (GLM-5) 2026-05-31 Link
MMLU 74.7 score Base model: GLM (GLM-4-9B) 2026-05-31 Link
C-Eval 77.1 score Base model: GLM (GLM-4-9B) 2026-05-31 Link
GPQA 34.3 score Base model: GLM (GLM-4-9B) 2026-05-31 Link
GSM8K 84.0 score Base model: GLM (GLM-4-9B) 2026-05-31 Link
MATH 30.4 score Base model: GLM (GLM-4-9B) 2026-05-31 Link
HumanEval 70.1 score Base model: GLM (GLM-4-9B) 2026-05-31 Link

Sources

Source links
Pricing data LiteLLM model cost map
Synced at 2026-05-28

Docs

Official docs

Similar models

This list is ranked by overall similarity. Use filters to emphasize the lens that matters most for the replacement you are making.

Comparing from
Model Cost Input shape Features Context Why it is close
glm-5
OpenRouter
In $0.8000 / 1M tokens
Out $2.5600 / 1M tokens
text
Output: text
Function callingTool choiceReasoning
128.0K
Current model
Reference row

Overall blends cost, modality overlap, capabilities, and context.

Model Cost Input shape Features Context Why it is close
deepseek.v3.2
Bedrock
In $0.7400 / 1M tokens
Out $2.2200 / 1M tokens
text
Output: text
Function callingTool choiceReasoning
163.8K
Text covered
Overall 95%
deepseek.v3.2
Bedrock
In $0.7400 / 1M tokens
Out $2.2200 / 1M tokens
text
Output: text
Function callingTool choiceReasoning
163.8K
Text covered
Overall 95%
deepseek.v3.2
Bedrock
In $0.7400 / 1M tokens
Out $2.2200 / 1M tokens
text
Output: text
Function callingTool choiceReasoning
163.8K
Text covered
Overall 95%
deepseek.v3.2
Bedrock
In $0.7400 / 1M tokens
Out $2.2200 / 1M tokens
text
Output: text
Function callingTool choiceReasoning
163.8K
Text covered
Overall 95%
deepseek.v3.2
Bedrock
In $0.7400 / 1M tokens
Out $2.2200 / 1M tokens
text
Output: text
Function callingTool choiceReasoning
163.8K
Text covered
Overall 95%
deepseek.v3.2
Bedrock
In $0.6200 / 1M tokens
Out $1.8500 / 1M tokens
text
Output: text
Function callingTool choiceReasoning
163.8K
Text covered
Overall 92%
qwen3-coder-plus
OpenRouter
In $1.0000 / 1M tokens
Out $5.0000 / 1M tokens
text
Output: text
Function callingTool choiceReasoning
65.5K
Same provider
Overall 86%
glm-4.6
OpenRouter
In $0.4000 / 1M tokens
Out $1.7500 / 1M tokens
text
Output: text
Function callingTool choiceReasoning
131.0K
Same provider
Overall 85%
router
OpenRouter
In $0.8500 / 1M tokens
Out $3.4000 / 1M tokens
text
Output: text
Tool choice
131.1K
Same provider
Overall 80%
glm-4.7
OpenRouter
In $0.4000 / 1M tokens
Out $1.5000 / 1M tokens
text
Output: text
Function callingTool choiceReasoning
64.0K
Same provider
Overall 77%
deepseek-chat-v3.1
OpenRouter
In $0.2000 / 1M tokens
Out $0.8000 / 1M tokens
text
Output: text
Function callingTool choiceReasoning
163.8K
Same provider
Overall 76%
qwen3-235b-a22b-thinking-2507
OpenRouter
In $0.1100 / 1M tokens
Out $0.6000 / 1M tokens
text
Output: text
Function callingTool choiceReasoning
262.1K
Same provider
Overall 76%
deepseek-r1-turbo
novita
In $0.7000 / 1M tokens
Out $2.5000 / 1M tokens
text
Output: text
Function callingTool choiceReasoning
16.0K
Text covered
Overall 75%
deepseek-r1-0528
novita
In $0.7000 / 1M tokens
Out $2.5000 / 1M tokens
text
Output: text
Function callingTool choiceReasoning
32.8K
Text covered
Overall 75%
deepseek-prover-v2-671b
novita
In $0.7000 / 1M tokens
Out $2.5000 / 1M tokens
text
Output: text
Low overlap
160.0K
Text covered
Overall 71%
Phi-4-reasoning
azure_ai
In $0.1250 / 1M tokens
Out $0.5000 / 1M tokens
text
Output: text
Function callingTool choiceReasoning
4.1K
Text covered
Overall 69%
anthropic.claude-instant-v1
Bedrock
In $0.8000 / 1M tokens
Out $2.4000 / 1M tokens
text
Output: text
Tool choice
8.2K
Text covered
Overall 69%
anthropic.claude-instant-v1
Bedrock
In $0.8000 / 1M tokens
Out $2.4000 / 1M tokens
text
Output: text
Tool choice
8.2K
Text covered
Overall 69%
anthropic.claude-instant-v1
Bedrock
In $0.8000 / 1M tokens
Out $2.4000 / 1M tokens
text
Output: text
Tool choice
8.2K
Text covered
Overall 69%