> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.deepmask.io/llms.txt
> Use this file to discover all available pages before exploring further.

# GLM-4.7 & GLM-4.7 

> GLM-4.7 and GLM-4.7 Flash on DeepMask. Z.ai's bilingual models for advanced reasoning, agentic coding, UI generation, and high-speed automation workflows.

Z.ai's GLM-4.7 family brings two complementary models to DeepMask: the 358B flagship GLM-4.7 for deep reasoning, preserved thinking across long agentic workflows, and high-fidelity UI generation; and the lightweight GLM-4.7 Flash for high-volume, real-time automation where hundreds of small decisions are needed per minute. Both models offer strong bilingual (English/Chinese) performance and native support for interleaved thinking.

<Tabs>
  <Tab title="GLM-4.7">
    ## About

    GLM-4.7 is the 358B parameter flagship model from Z.ai. It achieves coding scores aligned with Claude Sonnet 4.5 and features "Preserved Thinking" for agentic workflows — maintaining a complex logical plan across hundreds of individual tool calls without losing track of the goal. It is particularly strong at bilingual English/Chinese reasoning, full-stack prototype generation, and high-fidelity UI/UX code generation.

    <Note>
      GLM-4.7 is an open-source model from Z.ai. Its 200K context window and preserved thinking architecture make it a strong choice for long-horizon agentic tasks.
    </Note>

    ## Key Capabilities

    <CardGroup cols={2}>
      <Card title="Agentic Coding" icon="code">
        Focuses on task completion rather than snippets — builds whole executable frameworks and app skeletons.
      </Card>

      <Card title="UI/UX Generation" icon="pen-to-square">
        Strong understanding of UI/UX principles, producing well-structured and visually polished web layouts.
      </Card>

      <Card title="Bilingual Mastery" icon="language">
        Leading performance in technical and legal English/Chinese translation and cross-language reasoning.
      </Card>

      <Card title="Long-Horizon Planning" icon="diagram-project">
        Executes 300+ sequential tool calls without losing track of the original goal or accumulated context.
      </Card>
    </CardGroup>

    ## Use Cases

    * **Full-stack prototype generation** — Create structurally complete, ready-to-run application skeletons from a description or diagram.
    * **Multi-document content creation** — Generate 16:9 presentations and posters with coherent visual and logical structure.
    * **Technical research** — Synthesize cross-border research papers across multiple languages into unified summaries.
    * **Complex workflow automation** — Execute long multi-step agent workflows involving search, code execution, and document generation.

    <Tip>
      GLM-4.7 is the right choice when you need a model that can sustain a complex plan across many tool calls. Its preserved thinking architecture makes it particularly reliable for multi-step agentic tasks that would cause other models to drift.
    </Tip>

    ## Specifications

    | Specification    | Value                                                     |
    | ---------------- | --------------------------------------------------------- |
    | Model Provider   | Z.ai                                                      |
    | Main Use Cases   | Expert Coding, Complex Workflow Automation, STEM Research |
    | Reasoning Effort | Adaptive (Standard/High)                                  |
    | GPQA Diamond     | 85.7%                                                     |
    | Max Context      | 200K Tokens                                               |
    | Latency (TTFT)   | 0.65s                                                     |
    | Throughput       | 76 Tokens/sec                                             |
  </Tab>

  <Tab title="GLM-4.7 Flash">
    ## About

    GLM-4.7 Flash is the lightweight, high-speed variant of Z.ai's 4.7 series. It is engineered for action-first scenarios where a model needs to make hundreds of small decisions per minute. Its interleaved thinking capability allows it to output reasoning steps while performing tasks with minimal speed penalty, making it one of the most affordable and fastest options available on DeepMask for agent swarm deployments.

    <Note>
      GLM-4.7 Flash is optimized for high-volume parallel deployments. Its low cost-per-token makes it practical to run dozens of instances simultaneously in agent swarm configurations.
    </Note>

    ## Key Capabilities

    <CardGroup cols={2}>
      <Card title="Interleaved Thinking" icon="brain">
        Outputs reasoning steps while performing tasks without a major speed penalty — reasoning and action in one pass.
      </Card>

      <Card title="Bilingual Performance" icon="language">
        Optimized for efficient generation in both English and Chinese for bilingual workflows.
      </Card>

      <Card title="Agentic Tool Use" icon="wrench">
        Specifically tuned for repetitive search-and-extract workflows and high-frequency tool-calling patterns.
      </Card>

      <Card title="Low Latency" icon="bolt">
        Designed for real-time chat and interactive applications where response speed is critical.
      </Card>
    </CardGroup>

    ## Use Cases

    * **Real-time data entry** — Process thousands of invoices or forms into structured databases at high throughput.
    * **Massive web scrapers** — Summarize hundreds of search results in parallel across multiple agent instances.
    * **Bilingual customer support** — Provide instant, context-aware translation and support in English and Mandarin.
    * **Agent swarms** — Run dozens of parallel GLM-4.7 Flash instances for distributed task execution at low cost.

    <Tip>
      Use GLM-4.7 Flash when you need high-frequency, low-cost reasoning — especially for search-and-extract loops, bilingual support bots, or any scenario where you run many model instances in parallel. For tasks requiring deeper reasoning or UI generation, use GLM-4.7 instead.
    </Tip>

    ## Specifications

    | Specification    | Value                                                  |
    | ---------------- | ------------------------------------------------------ |
    | Model Provider   | Z.ai                                                   |
    | Main Use Cases   | Real-time Agents, Local UI Gen, High-Speed Translation |
    | Reasoning Effort | Standard                                               |
    | GPQA Diamond     | 58.1%                                                  |
    | Max Context      | 203K Tokens                                            |
    | Latency (TTFT)   | 0.59s                                                  |
    | Throughput       | 91 Tokens/sec                                          |
  </Tab>
</Tabs>
