GLM-4.7-Flash pricing & specs

Z.AI (Zhipu) · released 2026-01-19 · ● verified 2026-11-17 · deprecated

This model is deprecated. Cheapest compatible replacement: Gemma 4 E2B IT.

input / 1M$0.06via DeepInfra
output / 1M$0.40via DeepInfra
context202.8K
max output16.4K

GLM-4.7-Flash is a Z.AI (Zhipu) model released on 2026-01-19. At $0.06 per million input tokens and $0.40 per million output tokens, its blended price of $0.145 per 1M tokens is lower than 88% of the 185 models we track. It offers text input, a 202.8K-token context window, built-in reasoning, tool calling and structured output. Its weights are open, and it is available from 4 tracked hosting providers.

// price history ($/1M tokens)

$0.46
input $/1Moutput $/1M2026-01-19 → 2026-11-17

// cheaper or similar alternatives

modelinoutctxvs GLM-4.7-Flash
Gemma 4 E2B IT$0.04$0.08131.1K−65.5%
Qwen3.7 Flash$0.03$0.131M−62.1%
GPT OSS 20B$0.03$0.14131.1K−60.3%
GPT OSS 120B$0.037$0.17131.1K−51.5%
DeepSeek V4 Flash 0731$0.06$0.181.05M−37.9%
GLM-4.7-Flash vs GLM-5.3-Flash →

// price by host

hostin $/1Mout $/1M
DeepInfra$0.06$0.40
Cloudflare Workers AI$0.0605$0.40
Amazon Bedrock$0.07$0.40
Novita AI$0.07$0.40

// embed this price badge

Show the live price of GLM-4.7-Flash in your README or docs (updated daily):

GLM-4.7-Flash API price badge
[![GLM-4.7-Flash price](https://aisignals.dev/badge/zhipuai/glm-4.7-flash.svg)](https://aisignals.dev/models/zhipuai/glm-4.7-flash)

// faq

How much does GLM-4.7-Flash cost?

GLM-4.7-Flash costs $0.06 per million input tokens and $0.40 per million output tokens (cheapest tracked host: DeepInfra). At 50M input and 10M output tokens per month that is about $7.00.

What is the context window of GLM-4.7-Flash?

202.8K tokens, with up to 16.4K output tokens per request.

Does GLM-4.7-Flash support prompt caching?

Yes. Cached input tokens cost $0.01 per million.

What are cheaper alternatives to GLM-4.7-Flash?

Gemma 4 E2B IT ($0.04 in / $0.08 out), Qwen3.7 Flash ($0.03 in / $0.13 out), GPT OSS 20B ($0.03 in / $0.14 out) offer the same input types and capabilities for less.

Is GLM-4.7-Flash open weights?

Yes. It is available from 4 tracked hosts; the cheapest is DeepInfra at $0.06 input and $0.40 output per million tokens.

// spec sheet

input / 1M
$0.06
output / 1M
$0.40
cache read / 1M
$0.01
blended (3:1)
$0.145
context
202.8K
max output
16.4K
input types
text
reasoning
yes
tool calling
yes
structured output
yes
open weights
yes
knowledge cutoff
2025-04
price source
DeepInfra

report a data error

// cost calculator

modelin $/1Mout $/1M= monthly
Gemma 4 E2B IT$0.04$0.08$2.80
Qwen3.7 Flash$0.03$0.13$2.80
GPT OSS 20B$0.03$0.14$2.90
GLM-4.7-Flash$0.06$0.40$7.00

Base-tier list prices. Long-context tiers, caching and batch discounts are not included.