Zhipu AI

Zhipu AI

GLM 4.7 Flash

GLM 4.7 Flash is a text-only model optimized for high-throughput, low-cost workloads with long context windows. Reach for it when you need fast, reliable processing of large documents or bulk chat tasks without paying premium rates.

Modalities

Text → Text

Input

$0.081 /1M

Output

$0.54 /1M

Cached input

$0.0081 /1M90% off

Context

203K

Speed

fast

Performance

Live production data from real requests on Kyma — not synthetic benchmarks.

Rank

#12

of 87 active models

Tokens served

50.8M

all-time

Success rate

100%

last 7 days

Median throughput49 tok/s
Total requests8,940
Platform share2.1%
Tokens · last 15 daysJul 19Aug 2

Top apps using this model

1Python App13.5M tok
2OpenAI Python4.9M tok
3OpenAI SDK190.4K tok

Public apps sending the most traffic to this model — a signal of what real workloads it fits.

Pricing

Pay per token. Cached input is billed at 10% of the input rate.

$0.081 /1M input$0.54 /1M output
Hobby10 req/day · 2K in / 500 out
~$0.13/mo
Production1,000 req/day · 2K in / 500 out
~$12.96/mo
Scale20,000 req/day · 2K in / 500 out
~$259/mo
+ Estimate your workload
1,000
2,000
500
30%

Estimated monthly cost

$11.65

$0.3883 / day on GLM 4.7 Flash

Same workload on:

GLM 5.2$162+1293%
GLM 5.1$203+1639%

Estimates use list pricing with cached input billed at the 90%-discount rate. Actual bills depend on real token counts — every response includes its exact cost.

When to use GLM 4.7 Flash

Updated 2026-07-29

Where this model earns its cost — and where it doesn't.

Created by Zhipu, GLM 4.7 Flash is an efficient language model that handles up to 203,000 input tokens and generates up to 65,536 output tokens. It operates in the cheap cost and fast speed tiers, delivering a median throughput of 74 tokens per second with a 100% success rate on Kyma.

The model supports tool calling, reasoning, and structured outputs, and runs on Kyma's OpenAI-compatible API. Prompt caching is available, billing repeated prefixes at 10% of the standard input rate. Every response includes exact token costs in the usage.cost field, and the X-Kyma-Model header confirms the active model.

It processes text only and does not support vision or multimodal inputs. While optimized for speed and cost efficiency, it sits in the efficient quality tier, so highly complex analytical tasks may require a higher-tier alternative.

Bulk Document Processing

Parse and summarize large text files quickly at low cost.

High-Volume Chat Routing

Handle thousands of concurrent conversational requests with fast response times.

Automated Tool Execution

Run structured workflows and function calling across long conversation histories.

Log Analysis Pipelines

Ingest and categorize extensive text logs using structured JSON outputs.

Not ideal for: Do not use this model for tasks requiring image understanding, advanced creative writing, or highly complex multi-step reasoning where maximum accuracy is critical.

How it compares

Against the peers people actually weigh it against.

SpecGLM 4.7 FlashGLM 5.2GLM 5.1
Input /1M$0.081$1.459$1.89
Output /1M$0.54$4.984$5.94
Context203K1M203K
ToolsYesYesYes
ReasoningYesYesYes
Speedfastmediummedium

Quick start

Up and running in under two minutes.

  1. 1

    Create an API key

    Sign up and grab a key from the dashboard — $0.50 free credit, no card required.

    Get API key →
  2. 2

    Make your first request

    Drop in your key and send a chat completion — fully OpenAI-compatible.

    curl https://kymaapi.com/v1/chat/completions \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "glm-4.7-flash",
        "messages": [
          {"role": "user", "content": "Explain prompt caching in one paragraph."}
        ]
      }'
  3. 3

    Stream responses

    Add "stream": true to receive tokens as they arrive.

    curl https://kymaapi.com/v1/chat/completions \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "glm-4.7-flash",
        "stream": true,
        "messages": [{"role": "user", "content": "Hello!"}]
      }'

FAQ

Common questions about this model.

What is the context window of GLM 4.7 Flash?

GLM 4.7 Flash has a 203K-token context window — roughly 299 pages of text in a single request.

How much does the GLM 4.7 Flash API cost?

$0.081 per 1M input tokens and $0.54 per 1M output tokens, with cached input at $0.0081/1M — a 90% discount on repeated prompt prefixes. No subscription; you pay only for what you use.

Does GLM 4.7 Flash support function calling?

Yes — GLM 4.7 Flash supports tool/function calling and structured outputs (JSON mode), so it works with agent frameworks out of the box.

How do I use GLM 4.7 Flash?

Kyma is OpenAI-compatible: point your SDK's base URL at https://kymaapi.com/v1, use your Kyma API key, and set the model to glm-4.7-flash. Signing up is free and includes $0.50 of credit — no card required.

Does this model support image inputs?

No, GLM 4.7 Flash is a text-only model. Use a multimodal model if you need to process images.

How does prompt caching affect my costs?

Kyma bills cached prompt prefixes at 10% of the standard input rate, which significantly reduces costs for repeated system prompts or long conversation histories.

What happens if the serving path degrades during a request?

Kyma automatically reroutes the request to a healthy serving path, ensuring your application maintains a high success rate without manual intervention.

Start with $0.50 free credit — no card required.Create account →

More models by Zhipu AI

ModelContextInputOutput
Zhipu AIGLM 5.21M$1.459$4.984
Zhipu AIGLM 5.1203K$1.89$5.94
Zhipu AIGLM 4.5 Air131K$0.176$1.148