Prerequisites
Before you begin, ensure you have a Cerebras API Key. Get an API key here.Paid tier required. This integration is only available on paid Cerebras plans. Visit the Cloud Console to upgrade your plan.
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 inside the OpenCode interface.




