GLM 4.7 Flash API Pricing Calculator & Benchmarks

GLM-4.7-Flash is Z.ai’s lightweight 30B-A3B open-source reasoning model optimized for coding, agents, tool use, long-context tasks, and efficient deployment.

GLM 4.7 Flash, released 19 January 2026, is a chat model from Z.ai. It is free to use through Z.ai, with no charge for input tokens. The context window holds 200,000 tokens, with up to 131,072 returned per response; the model takes text input and returns text. It reasons step by step.

Last updated Dec 4, 2026

Never miss an AI pricing or launch update

Get notified about new model launches, pricing changes, provider updates, deprecations, and cost-saving insights.

🔒 We respect your privacy. Unsubscribe anytime.

Model Details

Released
Jan 19, 2026
Context Length
200,000
Max Output
131,072
Modalities
Text → Text
Capabilities
Tool use Structured outputs Prompt caching Code execution Open weights

Where is GLM 4.7 Flash a perfect fit?

GLM-4.7-Flash delivers strong reasoning and coding performance from a 30B-A3B mixture-of-experts architecture, combining 200K context, agentic tool use, preserved thinking, and low-cost inference. GLM-4.7-Flash is the perfect fit for below use-cases:
- Coding assistants and coding agents
- Software engineering and code generation
- High-volume agentic workloads
- Tool/function-calling applications
- Long-form text processing
- Chinese/English writing and translation
- Research and browsing agents
- Terminal-based coding agents
- Cost-sensitive reasoning workloads
- Self-hosted AI applications
- Subagents where a full-size frontier model would be excessive
Z.ai positions it as a lightweight deployment option that balances performance and efficiency, while its benchmark results show particularly strong performance for coding and agentic tasks.

Quick Model Estimate

(Free)
(Free)

Your GLM 4.7 Flash Cost Estimate

💰 Total Cost

—

for 1000 input + 1000 output tokens

📥 Input (1000 × Free) —
📤 Output (1000 × Free) —

Cost Breakdown

📥 Input 📤 Output

Prices are watched for changes and checked against the provider's own page.

Pricing

Provider ↕
Modality ↕
Service Tier ↕
Input Price
(per 1M tokens)
↕
Output Price
(per 1M tokens)
↕
Cached Input
(per 1M tokens)
↕
Context Size ↕
View
Z.ai LogoZ.aiTextStandardFreeFreeFree200,000 tokens→

Benchmarks

Scores from standardized evaluations by Artificial Analysis and Design Arena. Higher is better — the indices summarize overall ability, while the detailed scores break down performance on individual benchmarks.

Artificial Analysis

Higher is better · benchmarked by Artificial Analysis
Detailed scores
—
Intelligence Index
Overall intelligence across reasoning, knowledge & math evals
—
Coding Index
Coding ability across software-engineering evals
—
Agentic Index
Tool use & multi-step agent task performance
Reasoning
Humanity's Last Exam 5%

Expert-level questions across many academic domains

IFBench 46.3%

Precise following of detailed instructions

CritPt 0%

Unpublished physics research reasoning problems

Coding
Terminal-Bench Hard 3.8%

Complex command-line and terminal workflows

All variants
Variant Humanity's Last Exam IFBench Terminal-Bench Hard CritPt
GLM-4.7-Flash (Non-reasoning) 5% 46.3% 3.8% 0%
GLM-4.7-Flash (Reasoning) 7.6% 60.8% 22% 0.3%

Design Arena

Elo rating by arena & category
Variant Arena Category Elo Win % Percentile Avg time (ms)
glm-4.7-flash models 3d 1,085 51.2% 34 116,926
glm-4.7-flash models codecategories 1,218 53% 49 149,954
glm-4.7-flash models dataviz 1,117 45.5% 26 125,218
glm-4.7-flash models gamedev 1,106 49.7% 35 153,715
glm-4.7-flash models svg 1,078 44.2% 16 81,729
glm-4.7-flash models uicomponent 1,190 57.6% 56 116,336
glm-4.7-flash models website 1,235 54% 54 158,900

Compare GLM 4.7 Flash with

Two models side by side: worked costs, every rate, and every benchmark figure both of them report.

GLM 4.7 FlashX Z.ai Full comparison → GLM 4.7 Z.ai Full comparison →

Every comparison we publish →

FAQs about GLM 4.7 Flash

How much does GLM 4.7 Flash cost per 1M tokens?

GLM 4.7 Flash costs nothing for input tokens, and nothing for output tokens.

What does a typical workload cost with GLM 4.7 Flash?

1,000 requests of 2,000 input and 500 output tokens each — 2,000,000 input and 500,000 output tokens in total — costs nothing with GLM 4.7 Flash at its lowest rates. Use the calculator on this page for your own volumes.

Where can I use GLM 4.7 Flash?

GLM 4.7 Flash is available through Z.ai, free of charge for input tokens.

What is GLM 4.7 Flash's context window?

GLM 4.7 Flash has a context window of 200,000 tokens, and returns up to 131,072 tokens in a single response.

What input types does GLM 4.7 Flash support?

GLM 4.7 Flash accepts text input, and returns text.