Zhipu AI: GLM 4.7 Flash

Coming soonQuick Start

GLM 4.7 Flash is Zhipu AI's 30B-class model, released 2026-01, balancing performance and efficiency. It is optimized for agentic coding, with strengthened coding capabilities, long-horizon planning, and tool collaboration. It leads open-source models of similar size on current public benchmarks.

This model is not routed on MirAPI yet — prices shown are the official list prices. Create an account to get notified when it goes live.

Modalities
inTextoutText
Price / 1M
$0.06 / $0.40
Context
203K
Knowledge cutoff

Capabilities

ReasoningTool useLong contextPrompt cachingStructured output

Benchmarks

bar = score (0–100) · ▏ median

Scores from vendor reports and public leaderboards. No private evals.

GPQA Diamond
Science QA
51.9
#89
τ-bench (airline)
Agentic tool use
61.3
#66

Showcase

Three fixed prompts, identical for every chat model. Outputs are archived verbatim — copy the prompt to reproduce.

Task prompt · identical for all models
Build a single-file HTML page using three.js from a CDN: a low-poly planet with a tilted ring of ~200 orbiting particles, a soft key light plus rim light, slow auto-rotation, and drag-to-orbit controls. No build tools — one file only.
Archived output
Archive not published yet

Every model will run this exact prompt; the output lands here verbatim, with tokens and per-run cost.

Quick Start

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.mirapi.ai/v1",   # changed
    api_key=os.environ["MIRAPI_API_KEY"],   # changed
)

resp = client.chat.completions.create(
    model="z-ai/glm-4.7-flash",
    messages=[{"role": "user", "content": "Hello"}],
)
Wire GLM 4.7 Flash into your product

1M free tokens to start · no card · OpenAI-compatible, one base_url change

Start free