GLM 4.7
z-ai/glm-4.7-20251222
The Z.ai: GLM 4.7 model processes text inputs and outputs. It has a context length of 204,800 tokens and supports tools and reasoning. Input pricing is $0.54 per million tokens, while output pricing is $1.98 per million tokens.
- tool use
- structured outputs
- reasoning
At a glance
Specifications
What the API gives you
- Context window
- 205K tokens
- Max output
- 131K tokens
- Input price
- $0.54 / 1M tokens
- Output price
- $1.98 / 1M tokens
- Cache read
- $0.099 / 1M tokens
- Modalities
- text → text
- Knowledge cutoff
- —
- Released
- Dec 22, 2025
Measured evidence
Public benchmark record
- Design Arena Coding
- 1218 Elo2026-10-20
- Design Arena Full-stack Agent
- 1050 Elo2026-10-14
- Design Arena UI
- 1200 Elo2026-10-20
- Design Arena Website
- 1227 Elo2026-10-20
- GPQA Diamond (Epoch AI)
- 83.3% ± 2.42026-01-29evaluated 2026-01-29
- LMArena Creative Writing
- 1401 Elo2026-10-15
- LMArena Instruction Following
- 1412 Elo2026-10-15
- LMArena Long Query
- 1433 Elo2026-10-15
- LMArena Math
- 1424 Elo2026-10-15
- LMArena Text
- 1441 Elo2026-10-15
- LMArena Text Factuality
- 1444 Elo2026-10-15
- LMArena WebDev
- 1435 Elo2026-10-19
- OTIS Mock AIME (Epoch AI)
- 83.3% ± 4.82026-01-29evaluated 2026-01-29
- SimpleQA Verified (Epoch AI)
- 32.2% ± 1.52026-08-27evaluated 2026-08-27
LMArena data licensed CC-BY-4.0. Aider (Apache-2.0) and SWE-bench (MIT) are open. Design Arena uses blind human preference.
Open-weight model on Hugging Face.
Task evidence
How broad is the support?
Each status is exact to this model version and the selected task. Official release claims remain provisional.
- Best LLM for Frontend & UIEstablished evidence
82% of intended weighted task evidence across 2 independent sources. 6 of 6 configured evaluation feeds currently have results.
- Best LLM for a General AssistantEstablished evidence
59% of intended weighted task evidence across 2 independent sources. 6 of 6 configured evaluation feeds currently have results.
- Best LLM for Logic & Problem SolvingEstablished evidence
55% of intended weighted task evidence across 2 independent sources. 5 of 5 configured evaluation feeds currently have results.
- Best LLM for Math & ReasoningEstablished evidence
44% of intended weighted task evidence across 3 independent sources. 7 of 7 configured evaluation feeds currently have results.
- Best LLM for Competition MathEstablished evidence
37% of intended weighted task evidence across 2 independent sources. 6 of 6 configured evaluation feeds currently have results.
- Best LLM for CodingEstablished evidence
36% of intended weighted task evidence across 2 independent sources. 7 of 7 configured evaluation feeds currently have results.
Show all 31 tasks
- Best LLM for Grounded RAGEstablished evidence
29% of intended weighted task evidence across 2 independent sources. 5 of 7 configured evaluation feeds currently have results.
- Best LLM for Business WritingProvisional evidence
67% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following. 4 of 4 configured evaluation feeds currently have results.
- Best LLM for Marketing CopyProvisional evidence
67% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following. 4 of 4 configured evaluation feeds currently have results.
- Best LLM for Chat & RoleplayProvisional evidence
67% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following or LiveBench Language. 4 of 4 configured evaluation feeds currently have results.
- Best LLM for Roleplay & CharacterProvisional evidence
67% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following or LiveBench Language. 4 of 4 configured evaluation feeds currently have results.
- Best LLM for Creative WritingProvisional evidence
56% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following or LiveBench Language. 4 of 4 configured evaluation feeds currently have results.
- Best LLM for WritingProvisional evidence
56% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following or LiveBench Language. 4 of 4 configured evaluation feeds currently have results.
- Best LLM for Code CompletionProvisional evidence
36% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from Aider Polyglot or LiveBench Coding. 3 of 3 configured evaluation feeds currently have results.
- Best Open-Weight LLM for Self-HostingProvisional evidence
27% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following or Route reliability. 2 of 3 configured evaluation feeds currently have results.
- Best Value LLMProvisional evidence
25% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following or Route reliability. 2 of 3 configured evaluation feeds currently have results.
- Best LLM for RAG & Long ContextProvisional evidence
22% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from FACTS Grounding or LMArena Document. 5 of 6 configured evaluation feeds currently have results.
- Best Local LLM for CodingProvisional evidence
21% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from Aider Polyglot or LiveBench Coding. 4 of 4 configured evaluation feeds currently have results.
- Best LLM for Document SummarizationProvisional evidence
20% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from FACTS Grounding or LiveBench Instruction Following. 5 of 6 configured evaluation feeds currently have results.
- Best LLM for SummarizationProvisional evidence
20% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from FACTS Grounding or LiveBench Instruction Following. 5 of 6 configured evaluation feeds currently have results.
- Best LLM for Massive ContextProvisional evidence
20% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Document or LongBench v2. 2 of 3 configured evaluation feeds currently have results.
- Best LLM for Debugging & Code ReviewProvisional evidence
17% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from Aider Polyglot or LiveBench Coding. 5 of 5 configured evaluation feeds currently have results.
- Best LLM for Fast SummariesProvisional evidence
17% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following or Route reliability. 2 of 3 configured evaluation feeds currently have results.
- Best LLM for Literary TranslationProvisional evidence
17% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following or LiveBench Language. 3 of 4 configured evaluation feeds currently have results.
- Best LLM for Everyday TranslationProvisional evidence
17% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following or LiveBench Language. 3 of 4 configured evaluation feeds currently have results.
- Best LLM for TranslationProvisional evidence
17% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following or LiveBench Language. 3 of 4 configured evaluation feeds currently have results.
- Best LLM for JSON & Schema OutputProvisional evidence
12% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from Berkeley Function Calling or LiveBench Data Analysis. 3 of 4 configured evaluation feeds currently have results.
- Best LLM for Structured Data ExtractionProvisional evidence
12% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from Berkeley Function Calling or LiveBench Data Analysis. 3 of 4 configured evaluation feeds currently have results.
- Best LLM for Agentic CodingProvisional evidence
11% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from Design Arena Web-apps or LiveBench Agentic Coding. 7 of 7 configured evaluation feeds currently have results.
- Best Cheap LLM for High VolumeProvisional evidence
10% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following or Route reliability. 2 of 3 configured evaluation feeds currently have results.
- Cheapest Capable LLMProvisional evidence
10% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following or Route reliability. 2 of 3 configured evaluation feeds currently have results.
Recommendation coverage
Where this model appears
Not currently included in a published recommendation. The task evidence panel above says exactly what is confirmed and what is still missing.
Catalog data via OpenRouter and models.dev. Last checked within the past 6 hours.