Z.ai: GLM-4.7-Flash

zai/glm-4.7-flash

Z.ai GLM-4.7-Flash API pricing

GLM-4.7-Flash is free to call on Oxyy. It accepts text and returns text. For every Z.ai model and rate, see GLM API pricing.

Free tier text model from the GLM-4.7 generation.
ModalitiesTextText

Providers

Where this model runs, and what each route costs. Requests are sent to a healthy provider automatically; if one errors, the gateway retries against another serving the same model.

ProviderInput /MOutput /MCache read /MLatencyThroughput
Z.ai$0$0$05.28s93 tps

Capabilities (5)

StreamingTool callingStructured outputThinkingPrompt caching

Supported parameters (2)

toolsresponse_format

A parameter not listed here may be removed before the request reaches the model. When it is, the request still succeeds and the response names it, with the reason, in provider_specific_fields.dropped_params. Thinking controls work as described below whether or not they are listed.

Thinking

Thinking can be turned off: send reasoning_effort: "none", or thinking: {type: "disabled"}. reasoning_effort takes minimal, low, medium, high, xhigh, max, each mapped to the level the model uses for it where the model's levels are known (sometimes a higher level than the word asked for, or off); when it differs, the response names the level used in provider_specific_fields.dropped_params.

Pricing

What this model costs on Oxyy, pay as you go, with no subscription.

Price
Free
No charge per request
RateStandard priceChargedUnit
Input$0$0per 1M input tokens
Output$0$0per 1M output tokens
Cached input$0$0per 1M cached input tokens
UTC

Specifications

Model ID
glm-4.7-flash
Developer
Z.ai
Type
Text
Input
Text
Output
Text
Series
GLM-4
Endpoint
/v1/chat/completions

Best for

FreeOpen weights

Quickstart

Call glm-4.7-flash with a POST to /v1/chat/completions on https://api.oxyy.ai, using your Oxyy API key from the OXYY_API_KEY environment variable. The same key works for every model in the catalog.

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.oxyy.ai/v1",
    api_key=os.environ["OXYY_API_KEY"],
)

response = client.chat.completions.create(
    model="glm-4.7-flash",
    messages=[
        {"role": "user", "content": "Explain unified AI APIs in one sentence."},
    ],
)
print(response.choices[0].message.content)

Performance

Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better). Throughput and TTFT are measured on streaming requests, which are the only ones with a first-token moment to time.

Throughput
93tok/s
P50, streaming requests
Latency
5.28s
P50, end to end
UTC

Throughput

P99119 tok/s
P95117 tok/s
P5093 tok/s

Latency

P505281ms
P7515.4s
P9523.5s
P9925.1s

Time to first token

P502268ms
P953254ms

Cache hit rate

0.00%
Share of input tokens served from the prompt cache over the window.

Availability

The share of requests to this model that completed successfully over the last 30 days. Requests the caller cancelled, and requests still in flight, are not counted. When an upstream provider errors, the gateway retries against another provider serving the same model, so a single provider incident does not necessarily show up here.

Requests (30 days)
31
A success rate is shown from 100 completed requests
Days with traffic
10
of the last 30 days

Activity

Token volume and request traffic to this model over time. Daily totals, UTC.

Prompt65.9K
Completion17.5K

Prompt tokens measure input size. Completion tokens reflect total output length. Reasoning is not priced separately for this model, so it is not itemised here.

Frequently asked questions

What is GLM-4.7-Flash?
Free tier text model from the GLM-4.7 generation.
How much does GLM-4.7-Flash cost?
GLM-4.7-Flash is free to call on Oxyy.
Does GLM-4.7-Flash support tool calling and structured outputs?
Yes — GLM-4.7-Flash supports both tool calling and structured outputs.
What inputs and outputs does GLM-4.7-Flash support?
GLM-4.7-Flash accepts text as input and returns text.
Which API endpoint does GLM-4.7-Flash use?
Send a POST request to https://api.oxyy.ai/v1/chat/completions with "model": "glm-4.7-flash", authenticated with your Oxyy API key. It is also served on /v1/responses (Responses API).
What other models does Z.ai have?
Z.ai also offers GLM-4-32B-0414-128K, GLM-4.5, GLM-4.5-Air and GLM-4.5-AirX through Oxyy.

Alternatives to GLM-4.7-Flash

Models of the same kind from other vendors, closest in price first. Prices are pay-as-you-go on Oxyy, through the same API key.

Explore more models

More models from Z.ai