aiapicompareaiapicompare
aiapicompare › All models › GLM 4.7 Flash

GLM 4.7 Flash: API pricing compared

GLM 4.7 Flash is available from 5 provider(s). Cheapest: DeepInfra at $0.060 per 1M input tokens and $0.400 per 1M output tokens. Context window: up to 203 000 tokens. Developer: Z.ai.

ProviderInput $/1MOutput $/1MContext
DeepInfra
zai-org/GLM-4.7-Flash
$0.060$0.400203KGo to provider ↗ Set up
NanoGPT
z-ai/glm-4.7-flash
$0.060 +1 %$0.400200KGo to provider ↗ Set up
OpenRouter
z-ai/glm-4.7-flash
$0.060 +1 %$0.400131KGo to provider ↗ Set up
Novita AI
zai-org/glm-4.7-flash
$0.070 +17 %$0.400200KGo to provider ↗ Set up
Kyma API
glm-4.7-flash
$0.081 +35 %$0.540203KGo to provider ↗ Set up

Sorted by price only – there are no paid placements. Data as of 2026-11-25 09:03 UTC. Prices in USD, excluding taxes. No guarantee.

Reference price: $0.145 per 1M tokens (blended 3:1), median of all providers · How we compare → · Wrong price? Report it

Price history (cheapest provider)

Price history is recorded daily – the chart appears after the first price change.

Quick start with DeepInfra

from openai import OpenAI
import os

client = OpenAI(base_url="https://api.deepinfra.com/v1/openai", api_key=os.environ["DEEPINFRA_API_KEY"])
r = client.chat.completions.create(
    model="zai-org/GLM-4.7-Flash",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)

FAQ

Where is GLM 4.7 Flash cheapest?

Currently at DeepInfra ($0.060 / 1M). Prices are updated daily; the provider’s website is authoritative.

How do I use GLM 4.7 Flash in my tools?

All listed providers offer an OpenAI-compatible API. See the setup guide for Hermes Agent, VS Code, Cursor and more.

More models from Z.ai

GLM 5.3GLM 5.3 FlashGLM 5.2GLM 5.1GLM 5GLM 4.7GLM 4.6VGLM 4.5 AirGLM 5.3 FlashXGLM 4.5GLM 4.6GLM-5.3 Flash Uncensored