Prerequisites
Before you begin, ensure you have a Cerebras API Key. Get a free API key here.Configure OpenCode
Available Models
OpenCode supports all Cerebras models for AI coding assistance:| Model | Parameters | Best For |
|---|---|---|
| llama3.1-8b | 8B | Fastest option for simple tasks and high-throughput scenarios |
| gpt-oss-120b | 120B | Largest model for the most demanding tasks |
| zai-glm-4.7 | 357B | Advanced 357B parameter model with strong reasoning capabilities |
/models command in OpenCode.




