- Model
grok-build-0.1- Provider
opencode- API
openai-completions- Base URL
https://opencode.ai/zen/v1- Input
- text, image
- Reasoning
- Yes
- Context window
- 256,000
- Max tokens
- 256,000
- Cost / million input
- $1
- Cost / million output
- $2
- Cost / million cache read
- $0.2
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"opencode": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "grok-build-0.1",
"name": "Grok Build 0.1",
"reasoning": true,
"input": [
"text",
"image"
],
"contextWindow": 256000,
"maxTokens": 256000,
"cost": {
"input": 1,
"output": 2,
"cacheRead": 0.2,
"cacheWrite": 0
}
}
],
"api": "openai-completions",
"baseUrl": "https://opencode.ai/zen/v1"
}
}
}