GLM 4.7

z-ai/glm-4.7-20251222

This model processes text and generates text. It has a context length of 204,800 tokens and supports tools and reasoning. Input costs $0.40 per million tokens, while output costs $1.75 per million tokens. It is an open-weight model released on December 22, 2025.

  • tool use
  • structured outputs
  • reasoning
  • open-weight

At a glance

providerz-ai
releasedDec 22, 2025
context203K
input / M$0.40

Specifications

What the API gives you

Context window
203K tokens
Max output
131K tokens
Input price
$0.40 / 1M tokens
Output price
$1.75 / 1M tokens
Cache read
$0.080 / 1M tokens
Modalities
text → text
Knowledge cutoff
—
Released
Dec 22, 2025

Measured evidence

Public benchmark record

Design Arena Coding
1259 Elo2026-12-03
Design Arena UI
1181 Elo2026-12-03
Design Arena Website
1266 Elo2026-12-03
GPQA Diamond (Epoch AI)
83.3% ± 2.42026-01-29evaluated 2026-01-29
LMArena Creative Writing
1402 Elo2026-11-22
LMArena Long Query
1432 Elo2026-11-22
LMArena Math
1423 Elo2026-11-22
LMArena Text
1441 Elo2026-11-22
LMArena Text Factuality
1444 Elo2026-11-22
LMArena WebDev
1436 Elo2026-12-02
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.

  • 59% of intended weighted task evidence across 2 independent sources. 6 of 6 configured evaluation feeds currently have results.

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.