GLM-4.7 Flash API
Free tier GLM model. Currently in open beta — perfect for testing and prototyping.
💰 Save up to 70% vs official Zhipu AI pricingTechnical Specifications
| Provider | Zhipu AI |
| Model Family | GLM-4.7 Flash |
| Release Date | 2026-05 |
| Context Window | 128K |
| Max Output Tokens | 4,096 |
| Input Price | $0.00 / 1M tokens |
| Output Price | $0.00 / 1M tokens |
| Vision Support | No |
| Function Calling | No |
| JSON Mode | No |
| Streaming | Yes ✓ |
| Fine Tuning | Not Available |
| Status | Active ✓ |
Overview
GLM-4.7 Flash is Zhipu AI's current glm-class AI model, released in 2026-05. Free tier GLM model. Currently in open beta — perfect for testing and prototyping.
With a 128K context window and maximum output of 4,096 tokens, GLM-4.7 Flash is well-suited for free and fast. At $0.00/1M input and $0.00/1M output, it offers extremely competitive pricing within the Zhipu AI ecosystem.
GLM-4.7 Flash supports 2 capabilities: Bilingual, Streaming. Fine-tuning is not available for this model. The model serves as an free solution for developers building text-based AI applications.
Through AI API Hub, you can access GLM-4.7 Flash with USDT & USDC payments, no credit card required. All via a fully OpenAI-compatible API — just change your base URL and start building in 30 seconds.
API Examples
Python
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.apiyihe.org/v1"
)
response = client.chat.completions.create(
model="glm-4.7-flash",
messages=[
{"role": "user", "content": "Hello"}
]
)
print(response.choices[0].message.content)JavaScript / Node.js
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.API_KEY,
baseURL: "https://api.apiyihe.org/v1"
});
const response = await client.chat.completions.create({
model: "glm-4.7-flash",
messages: [
{ role: "user", content: "Hello" }
]
});
console.log(response.choices[0].message.content);cURL
curl https://api.apiyihe.org/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "glm-4.7-flash",
"messages": [
{"role": "user", "content": "Hello"}
]
}'Compare Alternatives
Frequently Asked Questions
What is GLM-4.7 Flash?
GLM-4.7 Flash is Zhipu AI's current glm model. Free tier GLM model. Currently in open beta — perfect for testing and prototyping.. It features a 128K context window, supports Bilingual, Streaming, and is available through AI API Hub with USDT/USDC payments.
How much does GLM-4.7 Flash cost?
GLM-4.7 Flash pricing: $0.00 per 1M input tokens, $0.00 per 1M output tokens. Pay-as-you-go with no minimum commitment. Sign up at AI API Hub and start with as little as $5.
GLM-4.7 Flash vs GPT-5.5?
GLM-4.7 Flash: $0.00/$1M input, 128K context. GPT-5.5: $5.00/$1M input, 256K context. GLM-4.7 Flash is more cost-effective. Free. Compare them at /compare/glm-4.7-flash-vs-gpt-5.5/.
GLM-4.7 Flash context window?
GLM-4.7 Flash has a 128K context window, capable of processing up to 128,000 tokens in a single request. Maximum output tokens: 4,096.
Does GLM-4.7 Flash support function calling?
No, GLM-4.7 Flash does not natively support function calling. For function calling use cases, consider Zhipu AI's flagship models.
Is GLM-4.7 Flash multimodal?
No, GLM-4.7 Flash is a text-only model. For multimodal use cases, consider models with vision/audio capabilities.
GLM-4.7 Flash API rate limits?
GLM-4.7 Flash rate limits: 10K RPM. Higher tier plans offer increased throughput. For high-volume production use, consider Zhipu AI's faster variant models.
How to access GLM-4.7 Flash API?
Access GLM-4.7 Flash through AI API Hub: (1) Register at api.apiyihe.org/register?aff=8JZC, (2) Deposit USDT/USDC, (3) Get your API key instantly, (4) Use the OpenAI-compatible endpoint https://api.apiyihe.org/v1 with model name "glm-4.7-flash". Start building in under 30 seconds.