Cerebras¶
Cerebras is the primary provider for QUASAR - best for tool calling and reliability.
Get API Key¶
- Go to cloud.cerebras.ai
- Sign up or log in
- Navigate to API Keys
- Create a new API key
Configuration¶
Add to your .env file:
Available Models¶
| Model | Description | Tool Calling |
|---|---|---|
zai-glm-4.7 |
Primary, balanced | ✅ Excellent |
qwen-3-235b-a22b-instruct-2507 |
Large, powerful | ✅ Excellent |
Recommended
zai-glm-4.7 is the default and recommended model.
Usage¶
# Auto mode (Cerebras is primary)
quasar "your request"
# Force Cerebras
quasar --model cerebras/zai-glm-4.7 "your request"
Why Cerebras?¶
| Feature | Cerebras | Others |
|---|---|---|
| Tool Calling | ✅ Excellent | ⚠️ Variable |
| Reliability | ✅ High | ⚠️ Variable |
| Speed | ✅ Fast | ✅ Fast |
| Context Length | ✅ Large | ✅ Large |
Rate Limits¶
Cerebras free tier includes:
- Generous request limits
- High token limits
Tip: Add multiple keys for heavy usage: