Cerebras 提供高速、兼容 OpenAI 的推理服务。Documentation Index
Fetch the complete documentation index at: https://openclaw.zhcndoc.com/llms.txt
Use this file to discover all available pages before exploring further.
| Property | Value |
|---|---|
| Provider | cerebras |
| Auth | CEREBRAS_API_KEY |
| API | OpenAI-compatible |
| Base URL | https://api.cerebras.ai/v1 |
入门指南
非交互式设置
内置目录
OpenClaw 为公开的 OpenAI 兼容端点提供了一个静态的 Cerebras 目录:| Model ref | Name | Notes |
|---|---|---|
cerebras/zai-glm-4.7 | Z.ai GLM 4.7 | 默认模型;预览推理模型 |
cerebras/gpt-oss-120b | GPT OSS 120B | 生产推理模型 |
cerebras/qwen-3-235b-a22b-instruct-2507 | Qwen 3 235B Instruct | 预览非推理模型 |
cerebras/llama3.1-8b | Llama 3.1 8B | 面向速度的生产模型 |
手动配置
通常,内置插件意味着你只需要 API 密钥。如果你想覆盖模型元数据,可以使用显式的models.providers.cerebras 配置:
如果 Gateway 作为守护进程运行(launchd/systemd),请确保
CEREBRAS_API_KEY
对该进程可用,例如放在 ~/.openclaw/.env 中,或通过
env.shellEnv 提供。