Cerebras

Cerebras · zai-glm-4.7

🟢 115ms 10 RPM, 100 RPD, 1M TPD 📏 128K 10 RPM 🧠 Deep Reasoning

🛡️ 🛡️ Free Tier Policy & Rate Limits

World-Record Wafer Scale Speed Credit Card Required Email Only · No ID Daily Replenish
Context Window 128K
Rate Limit RPM 10 RPM
Daily Quota & Reset 100 RPD · Initial Credits Pack
Auth & Card Requirement Credit Card Required
Supported Capabilities:
🧠 Deep Reasoning 📝 Text Generation

📋 Core Endpoint & Model Parameters

OpenAI API Compatible
Base URL
https://api.cerebras.ai/v1
Model ID
zai-glm-4.7
🟢【免绑卡注册】直接获取官方 API Key
👉 30s Quick Link: Cerebras Console

💡 Caveats & Rate Limits

🎯 Official Free Tier Endpoint · 128K Context · 10 RPM, 100 RPD, 1M TPD

📋 Free Tier Quota Rules and Constraints

  • Driven by CS-3 wafer processors surpassing 1800+ tok/s record
  • Offers $5 trial credit equivalent to around 1M tokens
  • Supports standard OpenAI streaming protocol

🛡️ Zero-Billing Protection and Risk Prevention

Blazing throughput. Card validation required. Monitor usage to avoid overdraft.

Quick Integration Code and Client Setup

🍒 Connect Cherry Studio
curl https://api.cerebras.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "zai-glm-4.7",
    "messages": [{"role": "user", "content": "Hello!"}],
    "stream": true
  }'
from openai import OpenAI

client = OpenAI(
    base_url="https://api.cerebras.ai/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="zai-glm-4.7",
    messages=[{"role": "user", "content": "Hello!"}],
    stream=True
)

for chunk in response:
    content = chunk.choices[0].delta.content or ""
    print(content, end="", flush=True)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.cerebras.ai/v1",
  apiKey: "YOUR_API_KEY"
});

const stream = await client.chat.completions.create({
  model: "zai-glm-4.7",
  messages: [{ role: "user", content: "Hello!" }],
  stream: true,
});

for await (const chunk of stream) {
  process.stdout.write(chunk.choices[0]?.delta?.content || "");
}
{
  "apiProvider": "openai",
  "openAiBaseUrl": "https://api.cerebras.ai/v1",
  "openAiApiKey": "YOUR_API_KEY",
  "openAiModelId": "zai-glm-4.7"
}
AUTHORITATIVE

Benchmark Overview

Authoritative Measured Benchmark Signals
Intelligence 22.2/100

General reasoning and instruction following

Coding 45.3/100

Programming and code generation

Agentic 46/100

Tool use and multi-step tasks

Speed 36 tok/s

Observed generation speed

Context 200K

Maximum listed context window

✓ ✓ Copied